linux/drivers/net/wireless/brcm80211/brcmfmac
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
..
bcmsdh.c brcmfmac: fix brcmf_sdcard_recv_chain() for host without sg support 2013-10-18 14:06:58 -04:00
bcmsdh_sdmmc.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-11-04 14:45:14 -05:00
btcoex.c brcmfmac: support critical protocol API for DHCP 2013-04-23 14:16:52 -04:00
btcoex.h brcmfmac: support critical protocol API for DHCP 2013-04-23 14:16:52 -04:00
dhd.h brcmfmac: sync firmware event list 2013-10-03 16:24:23 -04:00
dhd_bus.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-11-04 14:45:14 -05:00
dhd_cdc.c brcmfmac: add trace event for capturing BDC header 2013-06-12 15:06:24 -04:00
dhd_common.c brcmfmac: Turn off ARP offloading when configured for AP. 2013-05-28 13:43:08 -04:00
dhd_dbg.c PTR_RET is now PTR_ERR_OR_ZERO(): Replace most. 2013-07-15 11:25:01 +09:30
dhd_dbg.h brcmfmac: add debugfs statistics for firmware-signalling 2013-06-12 15:07:44 -04:00
dhd_linux.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-11-04 14:45:14 -05:00
dhd_proto.h brcmfmac: add parameter to brcmf_proto_hdrpush() for data offset 2013-03-06 16:28:50 -05:00
dhd_sdio.c brcmfmac: fix brcmf_sdcard_recv_chain() for host without sg support 2013-10-18 14:06:58 -04:00
fweh.c brcmfmac: ignore IF event if firmware indicates it 2013-08-15 16:07:54 -04:00
fweh.h brcmfmac: fix sparse error 'bad constant expression' 2013-10-03 16:24:25 -04:00
fwil.c brcmfmac: add hexadecimal trace of message payload 2013-04-08 15:28:43 -04:00
fwil.h brcmfmac: use struct brcmf_if as interface object for fwil functions 2012-10-29 15:28:27 -04:00
fwil_types.h brcmfmac: add support for manual TDLS operations 2013-08-15 16:07:54 -04:00
fwsignal.c brcmfmac: reserve memory for bus layer in sk_buff::cb 2013-10-03 16:24:25 -04:00
fwsignal.h brcmfmac: Take bus flowcontrol at credit mgmt into account. 2013-06-12 15:02:16 -04:00
Makefile brcmfmac: support critical protocol API for DHCP 2013-04-23 14:16:52 -04:00
p2p.c cfg80211: consolidate passive-scan and no-ibss flags 2013-11-25 20:49:35 +01:00
p2p.h brcmfmac: Add tx p2p off-channel support. 2013-02-08 14:51:43 -05:00
sdio_chip.c brcmfmac: add valid core index check in related functions 2013-10-03 16:24:24 -04:00
sdio_chip.h brcmfmac: add BCM4339 SDIO interface support 2013-10-03 16:24:24 -04:00
sdio_host.h brcmfmac: fix brcmf_sdcard_recv_chain() for host without sg support 2013-10-18 14:06:58 -04:00
tracepoint.c brcmfmac: introduce tracepoints for message logging 2013-03-06 16:28:31 -05:00
tracepoint.h brcmfmac: add tracepoint for capturing the SDPCM header 2013-10-18 14:06:57 -04:00
usb.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-11-04 14:45:14 -05:00
usb.h brcmfmac: usb suspend/resume. 2012-11-16 14:28:47 -05:00
usb_rdl.h brcm80211: fmac: add USB support for bcm43235/6/8 chipsets 2012-02-22 14:48:53 -05:00
wl_cfg80211.c cfg80211: move regulatory flags to their own variable 2013-11-25 20:51:46 +01:00
wl_cfg80211.h brcmfmac: add additional parameter to brcmf_free_vif() 2013-05-28 13:43:09 -04:00