1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless
Johannes Berg f276e20b18 wifi: mac80211: move interface config to new struct
We'll use bss_conf for per-link configuration later, so
move out all the non-link-specific data out into a new
struct ieee80211_vif_cfg used in the vif.

Some adjustments were done with the following spatch:

    @@
    expression sdata;
    struct ieee80211_vif *vifp;
    identifier var = { assoc, ibss_joined, aid, arp_addr_list, arp_addr_cnt, ssid, ssid_len, s1g, ibss_creator };
    @@
    (
    -sdata->vif.bss_conf.var
    +sdata->vif.cfg.var
    |
    -vifp->bss_conf.var
    +vifp->cfg.var
    )

    @bss_conf@
    struct ieee80211_bss_conf *bss_conf;
    identifier var = { assoc, ibss_joined, aid, arp_addr_list, arp_addr_cnt, ssid, ssid_len, s1g, ibss_creator };
    @@
    -bss_conf->var
    +vif_cfg->var

(though more manual fixups were needed, e.g. replacing
"vif_cfg->" by "vif->cfg." in many files.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2022-06-20 12:55:03 +02:00
..
admtek module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
ath wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
atmel atmel: use eth_hw_addr_set() 2021-10-20 12:39:44 +03:00
broadcom wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
cisco airo: fix typos in comments 2022-03-16 17:30:40 +02:00
intel wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
intersil wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
marvell wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
mediatek wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
microchip wifi: cfg80211: do some rework towards MLO link APIs 2022-06-20 12:54:58 +02:00
purelifi wifi: plfxlc: remove redundant NULL-check for GCC 12 2022-05-22 17:23:05 -07:00
quantenna wifi: cfg80211: do some rework towards MLO link APIs 2022-06-20 12:54:58 +02:00
ralink wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
realtek wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
rsi wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
silabs wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
st wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
ti wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
zydas zd1201: use kzalloc 2022-03-16 17:28:40 +02:00
Kconfig wireless: add plfxlc driver for pureLiFi X, XL, XC devices 2022-04-25 15:30:42 +03:00
mac80211_hwsim.c wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
mac80211_hwsim.h mac80211_hwsim: notify wmediumd of used MAC addresses 2020-04-24 11:45:47 +02:00
Makefile wireless: Fix Makefile to be in alphabetical order 2022-05-17 18:29:49 +03:00
ray_cs.c wifi: ray_cs: Drop useless status variable in parse_addr() 2022-06-08 11:08:34 +03:00
ray_cs.h
rayctl.h
rndis_wlan.c wireless: Remove redundant 'flush_workqueue()' calls 2021-10-13 09:22:19 +03:00
virt_wifi.c wifi: virt_wifi: fix typo in comment 2022-06-10 15:35:49 +02:00
wl3501.h wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join 2021-04-22 17:38:41 +03:00
wl3501_cs.c wl3501_cs: use eth_hw_addr_set() 2021-10-20 12:39:47 +03:00