linux_dsm_epyc7002/drivers/net/wireless/brcm80211/brcmsmac
Luis R. Rodriguez a2f73b6c5d cfg80211: move regulatory flags to their own variable
We'll expand this later, this will make it easier to
classify and review what things are related to regulatory
or not.

Coccinelle only missed 4 hits, which I had to do manually,
supplying the SmPL in case of merge conflicts.

@@
struct wiphy *wiphy;
@@
-wiphy->flags |= WIPHY_FLAG_CUSTOM_REGULATORY
+wiphy->regulatory_flags |= REGULATORY_CUSTOM_REG
@@
expression e;
@@
-e->flags |= WIPHY_FLAG_CUSTOM_REGULATORY
+e->regulatory_flags |= REGULATORY_CUSTOM_REG
@@
struct wiphy *wiphy;
@@
-wiphy->flags &= ~WIPHY_FLAG_CUSTOM_REGULATORY
+wiphy->regulatory_flags &= ~REGULATORY_CUSTOM_REG
@@
struct wiphy *wiphy;
@@
-wiphy->flags & WIPHY_FLAG_CUSTOM_REGULATORY
+wiphy->regulatory_flags & REGULATORY_CUSTOM_REG

@@
struct wiphy *wiphy;
@@
-wiphy->flags |= WIPHY_FLAG_STRICT_REGULATORY
+wiphy->regulatory_flags |= REGULATORY_STRICT_REG
@@
expression e;
@@
-e->flags |= WIPHY_FLAG_STRICT_REGULATORY
+e->regulatory_flags |= REGULATORY_STRICT_REG
@@
struct wiphy *wiphy;
@@
-wiphy->flags &= ~WIPHY_FLAG_STRICT_REGULATORY
+wiphy->regulatory_flags &= ~REGULATORY_STRICT_REG
@@
struct wiphy *wiphy;
@@
-wiphy->flags & WIPHY_FLAG_STRICT_REGULATORY
+wiphy->regulatory_flags & REGULATORY_STRICT_REG

@@
struct wiphy *wiphy;
@@
-wiphy->flags |= WIPHY_FLAG_DISABLE_BEACON_HINTS
+wiphy->regulatory_flags |= REGULATORY_DISABLE_BEACON_HINTS
@@
expression e;
@@
-e->flags |= WIPHY_FLAG_DISABLE_BEACON_HINTS
+e->regulatory_flags |= REGULATORY_DISABLE_BEACON_HINTS
@@
struct wiphy *wiphy;
@@
-wiphy->flags &= ~WIPHY_FLAG_DISABLE_BEACON_HINTS
+wiphy->regulatory_flags &= ~REGULATORY_DISABLE_BEACON_HINTS
@@
struct wiphy *wiphy;
@@
-wiphy->flags & WIPHY_FLAG_DISABLE_BEACON_HINTS
+wiphy->regulatory_flags & REGULATORY_DISABLE_BEACON_HINTS

Generated-by: Coccinelle SmPL
Cc: Julia Lawall <julia.lawall@lip6.fr>
Cc: Peter Senna Tschudin <peter.senna@gmail.com>
Cc: Mihir Shete <smihir@qti.qualcomm.com>
Cc: Henri Bahini <hbahini@qca.qualcomm.com>
Cc: Tushnim Bhattacharyya <tushnimb@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
[fix up whitespace damage, overly long lines]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-11-25 20:51:46 +01:00
..
phy brcmsmac: add support for BCM4313 iPA variant 2013-08-22 14:30:35 -04:00
aiutils.c brcmsmac: use bcma PCIe up and down functions 2013-08-26 14:09:03 -04:00
aiutils.h brcmsmac: use bcma PCIe up and down functions 2013-08-26 14:09:03 -04:00
ampdu.c brcmsmac: Further reduce log spam from tx phy messages 2013-07-22 16:54:41 -04:00
ampdu.h brcmsmac: Remove internal tx queue 2012-11-20 14:04:23 -05:00
antsel.c brcmsmac: Use debug macros for general error and debug statements 2012-11-20 14:06:16 -05:00
antsel.h
brcms_trace_events.c
brcms_trace_events.h brcmsmac: Add tracepoint for AMPDU session information 2012-11-20 14:08:06 -05:00
channel.c cfg80211: move regulatory flags to their own variable 2013-11-25 20:51:46 +01:00
channel.h brcm80211: smac: use current regulatory domain when checking whether OFDM is allowed 2012-06-20 15:14:40 -04:00
d11.h brcmsmac: implement ieee80211_ops get_tsf and set_tsf 2013-03-27 13:37:33 -04:00
debug.c PTR_RET is now PTR_ERR_OR_ZERO(): Replace most. 2013-07-15 11:25:01 +09:30
debug.h brcmsmac: add copyright information for Canonical 2013-01-02 14:38:36 -05:00
dma.c brcmsmac: Fix WARNING caused by lack of calls to dma_mapping_error() 2013-08-15 16:08:09 -04:00
dma.h brcmsmac: Add brcms_dbg_dma() debug macro 2012-11-20 14:07:12 -05:00
led.c brcmsmac: radio on led support 2013-03-06 16:28:20 -05:00
led.h brcmsmac: radio on led support 2013-03-06 16:28:20 -05:00
mac80211_if.c cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
mac80211_if.h brcmsmac: radio on led support 2013-03-06 16:28:20 -05:00
main.c brcmsmac: add support for a BCM4313 with PCI id 0x4313 2013-10-10 13:46:00 -04:00
main.h brcmsmac: add support for probe response template 2013-03-27 13:37:36 -04:00
Makefile brcm80211: simplify makefiles 2013-04-12 15:29:04 -04:00
phy_shim.c brcmsmac: remove brcmsmac own sprom parsing 2012-05-16 12:45:23 -04:00
phy_shim.h brcmsmac: remove brcmsmac own sprom parsing 2012-05-16 12:45:23 -04:00
pmu.c brcmsmac: remove some pmu functions and use the bcma equivalents 2013-03-27 13:39:09 -04:00
pmu.h brcmsmac: remove some pmu functions and use the bcma equivalents 2013-03-27 13:39:09 -04:00
pub.h brcmsmac: add support for adhoc mode 2013-03-27 13:37:37 -04:00
rate.c
rate.h brcm80211: smac: remove phy api bypass in rate.h 2011-11-08 15:54:09 -05:00
scb.h brcmsmac: remove dead code 2013-01-07 15:16:55 -05:00
stf.c brcmsmac: Add brcms_dbg_ht() debug macro 2012-11-20 14:07:25 -05:00
stf.h
types.h brcm80211: Convert log message levels to debug levels 2012-11-20 14:05:37 -05:00
ucode_loader.c
ucode_loader.h