linux/drivers/net/wireless/iwlegacy
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
..
3945-debug.c
3945-mac.c cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
3945-rs.c mac80211/rc80211: add chandef to rate initialization 2013-07-16 09:58:02 +03:00
3945.c iwl3945: better skb management in rx path 2013-07-24 11:02:04 -04:00
3945.h
4965-calib.c
4965-debug.c
4965-mac.c cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
4965-rs.c mac80211/rc80211: add chandef to rate initialization 2013-07-16 09:58:02 +03:00
4965.c
4965.h
commands.h wireless: move crypto constants to ieee80211.h 2013-05-16 22:39:41 +02:00
common.c cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
common.h iwlegacy: add il_{stop,wake}_queues_by_reason functions 2013-06-12 15:06:56 -04:00
csr.h
debug.c cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
iwl-spectrum.h
Kconfig
Makefile
prph.h