diff options
author | Zhu Yi <yi.zhu@intel.com> | 2006-04-13 05:20:54 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-04-24 16:15:57 -0400 |
commit | 34f8ae467b066ab4cf90bdf85efd10e7d43f2ff0 (patch) | |
tree | be89041e69e3bceaf9b86503849f17f6b951b330 /drivers/net/wireless | |
parent | e43e3c1e900ec5b6662cf1901b27975c111289bf (diff) |
[PATCH] wireless Kconfig add IPW2200_RADIOTAP
Makefile both IPW2200_RADIOTAP and IPW2200_PROMISCUOUS depend on
IPW2200_MONITOR. Let IPW2200_PROMISCUOUS select IPW2200_RADIOTAP.
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/Kconfig | 52 |
1 files changed, 28 insertions, 24 deletions
diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig index 19bc09970be6..d7691c482835 100644 --- a/drivers/net/wireless/Kconfig +++ b/drivers/net/wireless/Kconfig | |||
@@ -235,6 +235,34 @@ config IPW2200_MONITOR | |||
235 | promiscuous mode via the Wireless Tool's Monitor mode. While in this | 235 | promiscuous mode via the Wireless Tool's Monitor mode. While in this |
236 | mode, no packets can be sent. | 236 | mode, no packets can be sent. |
237 | 237 | ||
238 | config IPW2200_RADIOTAP | ||
239 | bool "Enable radiotap format 802.11 raw packet support" | ||
240 | depends on IPW2200_MONITOR | ||
241 | |||
242 | config IPW2200_PROMISCUOUS | ||
243 | bool "Enable creation of a RF radiotap promiscuous interface" | ||
244 | depends on IPW2200_MONITOR | ||
245 | select IPW2200_RADIOTAP | ||
246 | ---help--- | ||
247 | Enables the creation of a second interface prefixed 'rtap'. | ||
248 | This second interface will provide every received in radiotap | ||
249 | format. | ||
250 | |||
251 | This is useful for performing wireless network analysis while | ||
252 | maintaining an active association. | ||
253 | |||
254 | Example usage: | ||
255 | |||
256 | % modprobe ipw2200 rtap_iface=1 | ||
257 | % ifconfig rtap0 up | ||
258 | % tethereal -i rtap0 | ||
259 | |||
260 | If you do not specify 'rtap_iface=1' as a module parameter then | ||
261 | the rtap interface will not be created and you will need to turn | ||
262 | it on via sysfs: | ||
263 | |||
264 | % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface | ||
265 | |||
238 | config IPW2200_QOS | 266 | config IPW2200_QOS |
239 | bool "Enable QoS support" | 267 | bool "Enable QoS support" |
240 | depends on IPW2200 && EXPERIMENTAL | 268 | depends on IPW2200 && EXPERIMENTAL |
@@ -263,30 +291,6 @@ config IPW2200_DEBUG | |||
263 | If you are not trying to debug or develop the IPW2200 driver, you | 291 | If you are not trying to debug or develop the IPW2200 driver, you |
264 | most likely want to say N here. | 292 | most likely want to say N here. |
265 | 293 | ||
266 | config IPW2200_PROMISCUOUS | ||
267 | bool "Enable creation of a RF radiotap promiscuous interface." | ||
268 | depends on IPW2200 | ||
269 | select IEEE80211_RADIOTAP | ||
270 | ---help--- | ||
271 | Enables the creation of a second interface prefixed 'rtap'. | ||
272 | This second interface will provide every received in radiotap | ||
273 | format. | ||
274 | |||
275 | This is useful for performing wireless network analysis while | ||
276 | maintaining an active association. | ||
277 | |||
278 | Example usage: | ||
279 | |||
280 | % modprobe ipw2200 rtap_iface=1 | ||
281 | % ifconfig rtap0 up | ||
282 | % tethereal -i rtap0 | ||
283 | |||
284 | If you do not specify 'rtap_iface=1' as a module parameter then | ||
285 | the rtap interface will not be created and you will need to turn | ||
286 | it on via sysfs: | ||
287 | |||
288 | % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface | ||
289 | |||
290 | config AIRO | 294 | config AIRO |
291 | tristate "Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards" | 295 | tristate "Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards" |
292 | depends on NET_RADIO && ISA_DMA_API && (PCI || BROKEN) | 296 | depends on NET_RADIO && ISA_DMA_API && (PCI || BROKEN) |