OpenCloudOS-Kernel/drivers/net/wireless/ti/wlcore
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 Remove GENERIC_HARDIRQ config option 2013-09-13 15:09:52 +02:00
Makefile wlcore: move sysfs handling to a separate file 2013-06-17 11:56:59 +03:00
acx.c wlcore: fix interrogate command length 2013-10-23 09:47:40 +03:00
acx.h wlcore: report rssi from roaming statistics 2013-03-25 12:33:11 +02:00
boot.c wlcore: use single-role version when verifying the PLT firmware 2013-02-08 10:05:01 +02:00
boot.h wlcore: create private static_data area and add operation to parse it 2012-06-05 15:58:20 +03:00
cmd.c cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
cmd.h wlcore: fix interrogate command length 2013-10-23 09:47:40 +03:00
conf.h wlcore: fwlog dynamic mem_block control 2013-10-23 09:47:40 +03:00
debug.h wlcore: use print_hex_dump_debug() 2013-03-25 12:36:24 +02:00
debugfs.c wlcore: print active channel in the driver_state 2013-10-23 09:47:39 +03:00
debugfs.h wlcore: add debugfs macro to help print fw statistics arrays 2012-06-05 15:58:08 +03:00
event.c wlcore: add ap_event_mask 2013-10-23 09:47:39 +03:00
event.h wlcore: support scan reports during periodic scan 2012-12-11 12:37:23 +02:00
hw_ops.h wlcore/wl18xx/wl12xx: FW log params per chip arch 2013-10-23 09:47:42 +03:00
ini.h wlcore/wl12xx: add support for HP and SKW FEM radio manufacturers 2012-06-13 21:52:56 +03:00
init.c wlcore: add ap_event_mask 2013-10-23 09:47:39 +03:00
init.h
io.c wlcore: Prevent processing of work items during op_stop 2012-07-10 12:10:14 -04:00
io.h wlcore/wl18xx/wl12xx: FW log params per chip arch 2013-10-23 09:47:42 +03:00
main.c cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
ps.c wlcore: disable elp sleep while in plt mode 2013-09-30 21:12:18 +03:00
ps.h
rx.c wlcore: improve handling for Rx errors 2012-12-11 10:26:23 +02:00
rx.h wlcore: improve handling for Rx errors 2012-12-11 10:26:23 +02:00
scan.c cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
scan.h wlcore: support scan reports during periodic scan 2012-12-11 12:37:23 +02:00
sdio.c wlcore: remove newly introduced alloc/OOM messages 2013-02-11 15:34:58 -05:00
spi.c wireless: wlcore: use dev_get_platdata() 2013-09-26 15:13:40 -04:00
sysfs.c wlcore: move sysfs handling to a separate file 2013-06-17 11:56:59 +03:00
sysfs.h wlcore: move sysfs handling to a separate file 2013-06-17 11:56:59 +03:00
testmode.c wlcore: fix interrogate command length 2013-10-23 09:47:40 +03:00
testmode.h mac80211: add vif to testmode cmd 2013-08-12 14:11:42 +02:00
tx.c wlcore: fix unsafe dereference of the wlvif 2013-09-30 21:12:20 +03:00
tx.h wlcore: ROC on AP channel before auth reply 2013-09-30 21:12:17 +03:00
wl12xx_80211.h
wlcore.h wlcore/wl18xx/wl12xx: FW log params per chip arch 2013-10-23 09:47:42 +03:00
wlcore_i.h wlcore/wl18xx/wl12xx: FW log params per chip arch 2013-10-23 09:47:42 +03:00