OpenCloudOS-Kernel/drivers/net/wireless/ti/wl12xx
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
..
Kconfig wireless: TI wlxxx depends on MAC80211 2012-05-15 17:53:24 -04:00
Makefile wlcore: update events enum/struct to new fw api 2012-11-27 10:49:29 +02:00
acx.c wlcore/wl12xx: add hw_init operation 2012-04-12 08:44:00 +03:00
acx.h wl18xx: PG2.0 HW Watch dog interrupt support 2012-06-07 18:11:01 +03:00
cmd.c mac80211: support secondary channel offset in CSA 2013-04-16 15:29:44 +02:00
cmd.h wlcore: update channel_switch/stop_channel_switch commands 2012-11-27 10:49:28 +02:00
conf.h wlcore/wl12xx: use a single memory config and reset if using wl127x 2012-04-12 08:44:01 +03:00
debugfs.c wlcore/wl12xx/wl18xx: move lower driver debugfs to a subdir 2012-06-05 15:58:59 +03:00
debugfs.h wl12xx: implement fw status debugfs entries 2012-06-05 15:58:12 +03:00
event.c wlcore: support scan reports during periodic scan 2012-12-11 12:37:23 +02:00
event.h wlcore: update events enum/struct to new fw api 2012-11-27 10:49:29 +02:00
main.c wlcore/wl18xx/wl12xx: FW log params per chip arch 2013-10-23 09:47:42 +03:00
reg.h wlcore/wl12xx: add command trigger and event ack operations 2012-04-12 08:43:57 +03:00
scan.c cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
scan.h wl18xx: increase MAX_CHANNELS_5GHZ 2012-11-27 10:49:27 +02:00
wl12xx.h wl12xx: increase minimum singlerole firmware version required 2013-06-12 10:20:56 -04:00