linux/drivers/net/wireless
Luis R. Rodriguez 8fe02e167e cfg80211: consolidate passive-scan and no-ibss flags
These two flags are used for the same purpose, just
combine them into a no-ir flag to annotate no initiating
radiation is allowed.

Old userspace sending either flag will have it treated as
the no-ir flag. To be considerate to older userspace we
also send both the no-ir flag and the old no-ibss flags.
Newer userspace will have to be aware of older kernels.

Update all places in the tree using these flags with the
following semantic patch:

@@
@@
-NL80211_RRF_PASSIVE_SCAN
+NL80211_RRF_NO_IR
@@
@@
-NL80211_RRF_NO_IBSS
+NL80211_RRF_NO_IR
@@
@@
-IEEE80211_CHAN_PASSIVE_SCAN
+IEEE80211_CHAN_NO_IR
@@
@@
-IEEE80211_CHAN_NO_IBSS
+IEEE80211_CHAN_NO_IR
@@
@@
-NL80211_RRF_NO_IR | NL80211_RRF_NO_IR
+NL80211_RRF_NO_IR
@@
@@
-IEEE80211_CHAN_NO_IR | IEEE80211_CHAN_NO_IR
+IEEE80211_CHAN_NO_IR
@@
@@
-(NL80211_RRF_NO_IR)
+NL80211_RRF_NO_IR
@@
@@
-(IEEE80211_CHAN_NO_IR)
+IEEE80211_CHAN_NO_IR

Along with some hand-optimisations in documentation, to
remove duplicates and to fix some indentation.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
[do all the driver updates in one go]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-11-25 20:49:35 +01:00
..
ath cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
b43 drivers: net: wireless: b43: Fix possible NULL ptr dereference 2013-10-18 13:41:11 -04:00
b43legacy drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent 2013-08-29 21:55:23 -04:00
brcm80211 cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
cw1200 cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
hostap net: hostap: inherit addr_assign_type along with dev_addr 2013-09-03 20:57:49 -04:00
ipw2x00 cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
iwlegacy cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
iwlwifi cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
libertas libertas: move firmware lifetime handling to firmware.c 2013-10-18 14:03:54 -04:00
libertas_tf
mwifiex cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
orinoco wireless: orinoco: remove unnecessary pci_set_drvdata() 2013-09-26 15:13:44 -04:00
p54 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-11-04 14:45:14 -05:00
prism54
rt2x00 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-11-04 14:45:14 -05:00
rtl818x wireless: rtl818x: remove unnecessary pci_set_drvdata() 2013-09-26 15:13:45 -04:00
rtlwifi cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
ti cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
zd1211rw
adm8211.c wireless: adm8211: remove unnecessary pci_set_drvdata() 2013-09-26 15:13:42 -04:00
adm8211.h
airo_cs.c
airo.c wireless: airo: remove unnecessary pci_set_drvdata() 2013-09-26 15:13:42 -04:00
airo.h
at76c50x-usb.c
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c drivers: net: wireless: Fix wrong check for reassociation request retry counter 2013-10-18 14:06:58 -04:00
atmel.h
Kconfig cw1200: add driver for the ST-E CW1100 & CW1200 WLAN chipsets 2013-05-29 15:26:40 -04:00
mac80211_hwsim.c cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
mac80211_hwsim.h
Makefile cw1200: add driver for the ST-E CW1100 & CW1200 WLAN chipsets 2013-05-29 15:26:40 -04:00
mwl8k.c wireless: mwl8k: remove unnecessary pci_set_drvdata() 2013-09-26 15:13:44 -04:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c
wl3501_cs.c
wl3501.h
zd1201.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-08-28 10:36:09 -04:00
zd1201.h