linux_dsm_epyc7002/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 iwlegacy: move debugfs_ops to il_priv 2012-02-22 14:51:13 -05:00
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 wireless: move sequence number arithmetic to ieee80211.h 2013-03-06 16:35:44 +01:00
4965-calib.c iwlegacy: remove enum iw_calib and related code 2012-02-29 14:14:55 -05:00
4965-debug.c iwlegacy: move debugfs_ops to il_priv 2012-02-22 14:51:13 -05:00
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 mac80211: support secondary channel offset in CSA 2013-04-16 15:29:44 +02:00
4965.h iwlegacy: Use standard #defines for PCIe Capability ASPM fields 2012-12-07 11:19:52 -07:00
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 iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00
debug.c cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
iwl-spectrum.h iwlegacy: rename iwl to il 2011-11-15 11:16:58 +01:00
Kconfig iwlegacy: Kconfig: Change Debug Option to be more clear 2012-02-29 14:14:55 -05:00
Makefile iwlegacy: rename iwl-debug.c to debug.c 2011-11-15 14:24:36 +01:00
prph.h iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00