linux/drivers/net/wireless/intel/iwlwifi
Gregory Greenman 650cadb730 wifi: iwlwifi: mvm: vif preparation for MLO
In MLO, some fields of iwl_mvm_vif should be defined in the
context of a link. Define a separate structure for these fields and
add a deflink object to hold it as part of iwl_mvm_vif. Non-MLO legacy
code will use only deflink object while MLO related code will use the
corresponding link from the link array.

It follows the strategy applied in mac80211 for introducing MLO
changes.

The below spatch takes care of updating all driver code to access
fields separated into MLD specific data structure via deflink (need
to convert all references to the fields listed in var to deflink.var
and also to take care of calls like iwl_mvm_vif_from_mac80211(vif)->field).

  @iwl_mld_vif@
  struct iwl_mvm_vif *v;
  struct ieee80211_vif *vv;
  identifier fn;
  identifier var = {bssid, ap_sta_id, bcast_sta, mcast_sta,
                    beacon_stats, smps_requests, probe_resp_data,
		    he_ru_2mhz_block, cab_queue, phy_ctxt,
                    queue_params};
  @@

  (
    v->
  -    var
  +    deflink.var
  |
    fn(vv)->
  -    var
  +    deflink.var
  )

Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230328104948.4896576f0a9f.Ifaf0187c96b9fe52b24bd629331165831a877691@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2023-03-30 12:07:52 +02:00
..
cfg wifi: iwlwifi: Update configurations for Bnj device 2023-03-22 13:16:37 +01:00
dvm wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00
fw wifi: iwlwifi: mvm: Add debugfs to get TAS status 2023-03-22 13:19:29 +01:00
mei wifi: iwlwifi: mei: fix compilation errors in rfkill() 2023-01-30 13:00:25 +02:00
mvm wifi: iwlwifi: mvm: vif preparation for MLO 2023-03-30 12:07:52 +02:00
pcie wifi: iwlwifi: Update configurations for Bnj device 2023-03-22 13:16:37 +01:00
queue
iwl-agn-hw.h
iwl-config.h wifi: iwlwifi: Update configurations for Bnj device 2023-03-22 13:16:37 +01:00
iwl-context-info-gen3.h wifi: iwlwifi: mvm: Support STEP equalizer settings from BIOS. 2023-01-30 13:00:19 +02:00
iwl-context-info.h
iwl-csr.h wifi: iwlwifi: Adding the code to get RF name for MsP device 2023-03-07 17:13:38 +01:00
iwl-dbg-tlv.c wifi: iwlwifi: Update logs for yoyo reset sw changes 2023-03-07 20:15:18 +01:00
iwl-dbg-tlv.h
iwl-debug.c
iwl-debug.h
iwl-devtrace-data.h
iwl-devtrace-io.h
iwl-devtrace-iwlwifi.h
iwl-devtrace-msg.h
iwl-devtrace-ucode.h
iwl-devtrace.c wifi: iwlwifi: Avoid disabling GCC specific flag with clang 2023-03-16 08:51:56 +01:00
iwl-devtrace.h
iwl-drv.c wifi: iwlwifi: improve tag handling in iwl_request_firmware 2023-01-30 12:59:34 +02:00
iwl-drv.h
iwl-eeprom-parse.c
iwl-eeprom-parse.h wifi: iwlwifi: mvm: Advertise EHT capabilities 2022-11-28 17:52:51 +02:00
iwl-eeprom-read.c
iwl-eeprom-read.h
iwl-fh.h
iwl-io.c
iwl-io.h
iwl-modparams.h wifi: iwlwifi: mvm: Advertise EHT capabilities 2022-11-28 17:52:51 +02:00
iwl-nvm-parse.c wifi: iwlwifi: Remove prohibited spaces 2023-03-15 13:25:14 +01:00
iwl-nvm-parse.h
iwl-op-mode.h
iwl-phy-db.c
iwl-phy-db.h
iwl-prph.h wifi: iwlwifi: mvm: trigger PCI re-enumeration in case of PLDR sync 2022-11-28 17:53:58 +02:00
iwl-scd.h
iwl-trans.c
iwl-trans.h wifi: iwlwifi: yoyo: Add new tlv for dump file name extension 2023-03-15 13:25:12 +01:00
Kconfig
Makefile