wifi: iwlwifi: updates intended for v6.4 2023-05-08
cover wifi: iwlwifi: updates intended for v6.4 2023-05-08
From: Gregory Greenman <[email protected]>
Hi,
Here's the first set of patches for v6.5
It contains the continuation of MLO work (mostly small fixes and adjustments) as well as a few other small changes.
Thanks,
Gregory
Avraham Stern (1):
wifi: iwlwifi: mvm: support PASN for MLO
Emmanuel Grumbach (2):
wifi: iwlwifi: mvm: update the FW apis for LINK and MAC commands
wifi: iwlwifi: pass the esr_transition_timeout to the firmware
Golan Ben Ami (1):
wifi: iwlwifi: cfg: freeze 22500 devices FW API
Gregory Greenman (1):
wifi: iwlwifi: mvm: adjust csa notifications and commands to MLO
Haim Dreyfuss (1):
wifi: iwlwifi: don't silently ignore missing suspend or resume ops
Johannes Berg (6):
wifi: iwlwifi: mvm: make internal callback structs const
wifi: iwlwifi: mvm: always free dup_data
wifi: iwlwifi: mvm: dissolve iwl_mvm_mac_add_interface_common()
wifi: iwlwifi: mvm: don't double-init spinlock
wifi: iwlwifi: mvm: fix cancel_delayed_work_sync() deadlock
wifi: iwlwifi: mvm: fix number of concurrent link checks
Miri Korenblit (1):
wifi: iwlwifi: mvm: Make iwl_mvm_diversity_iter() MLO aware
Yedidya Benshimol (1):
wifi: iwlwifi: mvm: use link ID in missed beacon notification
.../net/wireless/intel/iwlwifi/cfg/22000.c | 20 +-- .../wireless/intel/iwlwifi/fw/api/mac-cfg.h | 57 ++++++-- .../net/wireless/intel/iwlwifi/fw/api/mac.h | 22 +++- .../net/wireless/intel/iwlwifi/iwl-trans.h | 4 +- drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 3 + drivers/net/wireless/intel/iwlwifi/mvm/link.c | 18 ++- .../net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 94 +++++++++---- .../net/wireless/intel/iwlwifi/mvm/mac80211.c | 123 ++++++++---------- .../net/wireless/intel/iwlwifi/mvm/mld-key.c | 27 ++-- .../net/wireless/intel/iwlwifi/mvm/mld-mac.c | 13 +- .../wireless/intel/iwlwifi/mvm/mld-mac80211.c | 15 ++- .../net/wireless/intel/iwlwifi/mvm/mld-sta.c | 22 ++-- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 31 ++++- drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 2 +- drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 46 +++++-- drivers/net/wireless/intel/iwlwifi/mvm/sta.h | 9 +- .../net/wireless/intel/iwlwifi/mvm/utils.c | 20 +-- 17 files changed, 342 insertions(+), 184 deletions(-)
Signature · 1 line
2.38.1
PATCH 1/14 wifi: iwlwifi: cfg: freeze 22500 devices FW API
From: Golan Ben Ami <[email protected]>
FW version is now frozen for 22500 devices. Don't
allow newer versions in the driver.
--- .../net/wireless/intel/iwlwifi/cfg/22000.c | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-)
drivers/net/wireless/intel/iwlwifi/cfg/22000.c +11 -9
@@ -11,6 +11,7 @@/* Highest firmware API version supported */ #define IWL_22000_UCODE_API_MAX 78 +#define IWL_22500_UCODE_API_MAX 77/* Lowest firmware API version supported */ #define IWL_22000_UCODE_API_MIN 39
@@ -222,7 +223,6 @@ static const struct iwl_ht_params iwl_gl_a_ht_params = { };#define IWL_DEVICE_22000_COMMON \ - .ucode_api_max = IWL_22000_UCODE_API_MAX, \ .ucode_api_min = IWL_22000_UCODE_API_MIN, \ .led_mode = IWL_LED_RF_STATE, \ .nvm_hw_section_num = 10, \
@@ -261,6 +261,7 @@ static const struct iwl_ht_params iwl_gl_a_ht_params = {#define IWL_DEVICE_22500 \ IWL_DEVICE_22000_COMMON, \ + .ucode_api_max = IWL_22500_UCODE_API_MAX, \ .trans.device_family = IWL_DEVICE_FAMILY_22000, \ .trans.base_params = &iwl_22000_base_params, \ .gp2_reg_addr = 0xa02c68, \
@@ -277,6 +278,7 @@ static const struct iwl_ht_params iwl_gl_a_ht_params = {#define IWL_DEVICE_AX210 \ IWL_DEVICE_22000_COMMON, \ + .ucode_api_max = IWL_22000_UCODE_API_MAX, \ .trans.umac_prph_offset = 0x300000, \ .trans.device_family = IWL_DEVICE_FAMILY_AX210, \ .trans.base_params = &iwl_ax210_base_params, \
@@ -1178,14 +1180,14 @@ const struct iwl_cfg iwl_cfg_bnj_b0_fm_b0 = { .features = IWL_TX_CSUM_NETIF_FLAGS_BZ | NETIF_F_RXCSUM, .num_rbds = IWL_NUM_RBDS_AX210_HE, }; -MODULE_FIRMWARE (IWL_QU_B_HR_B_MODULE_FIRMWARE (IWL_22000_UCODE_API_MAX )); -MODULE_FIRMWARE (IWL_QNJ_B_HR_B_MODULE_FIRMWARE (IWL_22000_UCODE_API_MAX )); -MODULE_FIRMWARE (IWL_QU_C_HR_B_MODULE_FIRMWARE (IWL_22000_UCODE_API_MAX )); -MODULE_FIRMWARE (IWL_QU_B_JF_B_MODULE_FIRMWARE (IWL_22000_UCODE_API_MAX )); -MODULE_FIRMWARE (IWL_QUZ_A_HR_B_MODULE_FIRMWARE (IWL_22000_UCODE_API_MAX )); -MODULE_FIRMWARE (IWL_QUZ_A_JF_B_MODULE_FIRMWARE (IWL_22000_UCODE_API_MAX )); -MODULE_FIRMWARE (IWL_QNJ_B_JF_B_MODULE_FIRMWARE (IWL_22000_UCODE_API_MAX )); -MODULE_FIRMWARE (IWL_CC_A_MODULE_FIRMWARE (IWL_22000_UCODE_API_MAX )); +MODULE_FIRMWARE (IWL_QU_B_HR_B_MODULE_FIRMWARE (IWL_22500_UCODE_API_MAX )); +MODULE_FIRMWARE (IWL_QNJ_B_HR_B_MODULE_FIRMWARE (IWL_22500_UCODE_API_MAX )); +MODULE_FIRMWARE (IWL_QU_C_HR_B_MODULE_FIRMWARE (IWL_22500_UCODE_API_MAX )); +MODULE_FIRMWARE (IWL_QU_B_JF_B_MODULE_FIRMWARE (IWL_22500_UCODE_API_MAX )); +MODULE_FIRMWARE (IWL_QUZ_A_HR_B_MODULE_FIRMWARE (IWL_22500_UCODE_API_MAX )); +MODULE_FIRMWARE (IWL_QUZ_A_JF_B_MODULE_FIRMWARE (IWL_22500_UCODE_API_MAX )); +MODULE_FIRMWARE (IWL_QNJ_B_JF_B_MODULE_FIRMWARE (IWL_22500_UCODE_API_MAX )); +MODULE_FIRMWARE (IWL_CC_A_MODULE_FIRMWARE (IWL_22500_UCODE_API_MAX ));MODULE_FIRMWARE (IWL_SO_A_JF_B_MODULE_FIRMWARE (IWL_22000_UCODE_API_MAX ));MODULE_FIRMWARE (IWL_SO_A_HR_B_MODULE_FIRMWARE (IWL_22000_UCODE_API_MAX ));MODULE_FIRMWARE (IWL_SO_A_GF_A_MODULE_FIRMWARE (IWL_22000_UCODE_API_MAX ));
Signature · 1 line
2.38.1
PATCH 2/14 wifi: iwlwifi: mvm: use link ID in missed beacon notification
In reply to [email protected]From: Yedidya Benshimol <[email protected]>
This new version of missed beacon notification uses link_id instead of mac_id. Also add an option to use link id for retrieving vif.
--- .../net/wireless/intel/iwlwifi/fw/api/mac.h | 22 ++++++++++++-- drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 3 ++ drivers/net/wireless/intel/iwlwifi/mvm/link.c | 5 ++++ .../net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 29 +++++++++++++++---- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 15 ++++++++++ 5 files changed, 66 insertions(+), 8 deletions(-)
drivers/net/wireless/intel/iwlwifi/fw/api/mac.h +20 -2
@@ -353,7 +353,7 @@ struct iwl_nonqos_seq_query_cmd { } __packed;/* NON_QOS_TX_COUNTER_GET_SET_API_S_VER_1 */ /** -* struct iwl_missed_beacons_notif - information on missed beacons +* struct iwl_missed_beacons_notif_ver_3 - information on missed beacons * ( MISSED_BEACONS_NOTIFICATION = 0xa2 ) * @mac_id: interface ID * @consec_missed_beacons_since_last_rx: number of consecutive missed
@@ -362,7 +362,7 @@ struct iwl_nonqos_seq_query_cmd {* @num_expected_beacons: number of expected beacons * @num_recvd_beacons: number of received beacons */ -struct iwl_missed_beacons_notif { +struct iwl_missed_beacons_notif_ver_3 {__le32 mac_id;__le32 consec_missed_beacons_since_last_rx;__le32 consec_missed_beacons;
@@ -370,6 +370,24 @@ struct iwl_missed_beacons_notif {__le32 num_recvd_beacons; } __packed;/* MISSED_BEACON_NTFY_API_S_VER_3 */ +/** +* struct iwl_missed_beacons_notif - information on missed beacons +* ( MISSED_BEACONS_NOTIFICATION = 0xa2 ) +* @link_id: fw link ID +* @consec_missed_beacons_since_last_rx: number of consecutive missed +* beacons since last RX. +* @consec_missed_beacons: number of consecutive missed beacons +* @num_expected_beacons: number of expected beacons +* @num_recvd_beacons: number of received beacons +*/ +struct iwl_missed_beacons_notif { +__le32 link_id; +__le32 consec_missed_beacons_since_last_rx; +__le32 consec_missed_beacons; +__le32 num_expected_beacons; +__le32 num_recvd_beacons; +} __packed;/* MISSED_BEACON_NTFY_API_S_VER_4 */ +/** * struct iwl_he_backoff_conf - used for backoff configuration * Per each trigger-based AC, (set by MU EDCA Parameter set info-element)
drivers/net/wireless/intel/iwlwifi/mvm/fw.c +3 -0
@@ -1591,6 +1591,9 @@ int iwl_mvm_up(struct iwl_mvm *mvm)RCU_INIT_POINTER (mvm->fw_id_to_link_sta[i],NULL ); } +for (i =0 ; i <IWL_MVM_FW_MAX_LINK_ID +1 ; i++) +RCU_INIT_POINTER (mvm->link_id_to_link_conf[i],NULL ); +memset (&mvm->fw_link_ids_map,0 ,sizeof (mvm->fw_link_ids_map)); mvm->tdls_cs.peer.sta_id =IWL_MVM_INVALID_STA ;
drivers/net/wireless/intel/iwlwifi/mvm/link.c +5 -0
@@ -63,6 +63,9 @@ int iwl_mvm_add_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif, mvmvif);if (link_info->fw_link_id ==IWL_MVM_FW_LINK_ID_INVALID )return -EINVAL ; + +rcu_assign_pointer (mvm->link_id_to_link_conf[link_info->fw_link_id], + link_conf); }/* Update SF - Disable if needed. if this fails, SF might still be on
@@ -260,6 +263,8 @@ int iwl_mvm_remove_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif, link_info->fw_link_id == IWL_MVM_FW_LINK_ID_INVALID))return -EINVAL ; +RCU_INIT_POINTER (mvm->link_id_to_link_conf[link_info->fw_link_id], +NULL ); cmd.link_id =cpu_to_le32 (link_info->fw_link_id);iwl_mvm_release_fw_link_id (mvm, link_info->fw_link_id); link_info->fw_link_id =IWL_MVM_FW_LINK_ID_INVALID ;
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c +23 -6
@@ -1555,21 +1555,38 @@ void iwl_mvm_rx_missed_beacons_notif(struct iwl_mvm *mvm,u32 stop_trig_missed_bcon, stop_trig_missed_bcon_since_rx;u32 rx_missed_bcon, rx_missed_bcon_since_rx;struct ieee80211_vif *vif; -u32 id =le32_to_cpu (mb->mac_id); +/* Id can be mac/link id depending on the notification version */ +u32 id =le32_to_cpu (mb->link_id);union iwl_dbg_tlv_tp_data tp_data = { .fw_pkt = pkt };u32 mac_type; +u8 notif_ver =iwl_fw_lookup_notif_ver (mvm->fw,LEGACY_GROUP , +MISSED_BEACONS_NOTIFICATION , +0 ); + +rcu_read_lock (); + +/* before version four the ID in the notification refers to mac ID */ +if (notif_ver <4 ) { + vif =iwl_mvm_rcu_dereference_vif_id (mvm, id, true); + }else { +struct ieee80211_bss_conf *bss_conf = +iwl_mvm_rcu_fw_link_id_to_link_conf (mvm, id, true); + +if (!bss_conf) + goto out; + + vif = bss_conf->vif; + }IWL_DEBUG_INFO (mvm, -"missed bcn mac_id=%u, consecutive=%u (%u, %u, %u)\n" , -le32_to_cpu (mb->mac_id), +"missed bcn %s_id=%u, consecutive=%u (%u, %u, %u)\n" , + notif_ver <4 ?"mac" :"link" , + id,le32_to_cpu (mb->consec_missed_beacons),le32_to_cpu (mb->consec_missed_beacons_since_last_rx),le32_to_cpu (mb->num_recvd_beacons),le32_to_cpu (mb->num_expected_beacons)); -rcu_read_lock (); - - vif =iwl_mvm_rcu_dereference_vif_id (mvm, id, true);if (!vif) goto out;
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h +15 -0
@@ -1003,6 +1003,8 @@ struct iwl_mvm {struct ieee80211_vif __rcu *vif_id_to_mac[NUM_MAC_INDEX_DRIVER ]; +struct ieee80211_bss_conf __rcu *link_id_to_link_conf[IWL_MVM_FW_MAX_LINK_ID +1 ]; +/* -1 for always, 0 for never, >0 for that many times */ s8 fw_restart;u8 *error_recovery_buf;
@@ -1302,6 +1304,19 @@ iwl_mvm_rcu_dereference_vif_id(struct iwl_mvm *mvm, u8 vif_id, bool rcu) lockdep_is_held(&mvm->mutex)); } +static inline struct ieee80211_bss_conf * +iwl_mvm_rcu_fw_link_id_to_link_conf (struct iwl_mvm *mvm,u8 link_id,bool rcu) +{ +if (WARN_ON (link_id >=ARRAY_SIZE (mvm->link_id_to_link_conf))) +return NULL ; + +if (rcu) +return rcu_dereference (mvm->link_id_to_link_conf[link_id]); + +return rcu_dereference_protected (mvm->link_id_to_link_conf[link_id], +lockdep_is_held (&mvm->mutex)); +} +static inline bool iwl_mvm_is_adaptive_dwell_supported (struct iwl_mvm *mvm) { return fw_has_api(&mvm->fw->ucode_capa,
Signature · 1 line
2.38.1
PATCH 3/14 wifi: iwlwifi: mvm: make internal callback structs const
In reply to [email protected]From: Johannes Berg <[email protected]>
There's no need for these to be writable, so they can be const (and static).
--- .../net/wireless/intel/iwlwifi/mvm/mac80211.c | 28 +++++++++---------- .../wireless/intel/iwlwifi/mvm/mld-mac80211.c | 6 ++-- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 6 ++-- drivers/net/wireless/intel/iwlwifi/mvm/sta.h | 2 +- 4 files changed, 21 insertions(+), 21 deletions(-)
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +14 -14
@@ -3054,7 +3054,7 @@ static void iwl_mvm_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_bss_conf *bss_conf, u64 changes) { -struct iwl_mvm_bss_info_changed_ops callbacks = { +static const struct iwl_mvm_bss_info_changed_ops callbacks = { .bss_info_changed_sta = iwl_mvm_bss_info_changed_station, .bss_info_changed_ap_ibss = iwl_mvm_bss_info_changed_ap_ibss, };
@@ -3067,7 +3067,7 @@ void iwl_mvm_bss_info_changed_common(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, - struct iwl_mvm_bss_info_changed_ops *callbacks, + const struct iwl_mvm_bss_info_changed_ops *callbacks, u64 changes) { struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw);
@@ -3564,7 +3564,7 @@ static int iwl_mvm_mac_sta_state(struct ieee80211_hw *hw, enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state) { - struct iwl_mvm_sta_state_ops callbacks = { +static const struct iwl_mvm_sta_state_ops callbacks = { .add_sta = iwl_mvm_add_sta, .update_sta = iwl_mvm_update_sta, .rm_sta = iwl_mvm_rm_sta,
@@ -3672,7 +3672,7 @@ static int iwl_mvm_sta_state_notexist_to_none(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, - struct iwl_mvm_sta_state_ops *callbacks) + const struct iwl_mvm_sta_state_ops *callbacks) { struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);unsigned int i;
@@ -3721,7 +3721,7 @@ iwl_mvm_sta_state_auth_to_assoc(struct ieee80211_hw *hw,struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, - struct iwl_mvm_sta_state_ops *callbacks) + const struct iwl_mvm_sta_state_ops *callbacks) { struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);struct iwl_mvm_sta *mvm_sta =iwl_mvm_sta_from_mac80211 (sta);
@@ -3778,7 +3778,7 @@ static int iwl_mvm_sta_state_assoc_to_authorized(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, - struct iwl_mvm_sta_state_ops *callbacks) + const struct iwl_mvm_sta_state_ops *callbacks) { struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);struct iwl_mvm_sta *mvm_sta =iwl_mvm_sta_from_mac80211 (sta);
@@ -3813,7 +3813,7 @@ static int iwl_mvm_sta_state_authorized_to_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, - struct iwl_mvm_sta_state_ops *callbacks) + const struct iwl_mvm_sta_state_ops *callbacks) { struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);struct iwl_mvm_sta *mvmsta =iwl_mvm_sta_from_mac80211 (sta);
@@ -3851,7 +3851,7 @@ int iwl_mvm_mac_sta_state_common(struct ieee80211_hw *hw,struct ieee80211_sta *sta, enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state, - struct iwl_mvm_sta_state_ops *callbacks) + const struct iwl_mvm_sta_state_ops *callbacks) { struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw);struct iwl_mvm_vif *mvmvif =iwl_mvm_vif_from_mac80211 (vif);
@@ -4578,7 +4578,7 @@ static int iwl_mvm_roc(struct ieee80211_hw *hw, int duration, enum ieee80211_roc_type type) { -struct iwl_mvm_roc_ops ops = { +static const struct iwl_mvm_roc_ops ops = { .add_aux_sta_for_hs20 = iwl_mvm_add_aux_sta_for_hs20, .switch_phy_ctxt = iwl_mvm_roc_switch_binding, };
@@ -4590,7 +4590,7 @@ static int iwl_mvm_roc(struct ieee80211_hw *hw,int iwl_mvm_roc_common (struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_channel *channel,int duration,enum ieee80211_roc_type type, -struct iwl_mvm_roc_ops *ops) +const struct iwl_mvm_roc_ops *ops) {struct iwl_mvm *mvm =IWL_MAC80211_GET_MVM (hw);struct iwl_mvm_vif *mvmvif =iwl_mvm_vif_from_mac80211 (vif);
@@ -5097,7 +5097,7 @@ static void iwl_mvm_unassign_vif_chanctx(struct ieee80211_hw *hw,static int iwl_mvm_switch_vif_chanctx_swap (struct iwl_mvm *mvm,struct ieee80211_vif_chanctx_switch *vifs, -struct iwl_mvm_switch_vif_chanctx_ops *ops) +const struct iwl_mvm_switch_vif_chanctx_ops *ops) {int ret;
@@ -5156,7 +5156,7 @@ iwl_mvm_switch_vif_chanctx_swap(struct iwl_mvm *mvm,static int iwl_mvm_switch_vif_chanctx_reassign (struct iwl_mvm *mvm,struct ieee80211_vif_chanctx_switch *vifs, -struct iwl_mvm_switch_vif_chanctx_ops *ops) +const struct iwl_mvm_switch_vif_chanctx_ops *ops) {int ret;
@@ -5199,7 +5199,7 @@ iwl_mvm_switch_vif_chanctx_common(struct ieee80211_hw *hw,struct ieee80211_vif_chanctx_switch *vifs, int n_vifs, enum ieee80211_chanctx_switch_mode mode, - struct iwl_mvm_switch_vif_chanctx_ops *ops) + const struct iwl_mvm_switch_vif_chanctx_ops *ops) { struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw);int ret;
@@ -5228,7 +5228,7 @@ static int iwl_mvm_switch_vif_chanctx(struct ieee80211_hw *hw, int n_vifs, enum ieee80211_chanctx_switch_mode mode) { -struct iwl_mvm_switch_vif_chanctx_ops ops = { +static const struct iwl_mvm_switch_vif_chanctx_ops ops = { .__assign_vif_chanctx = __iwl_mvm_assign_vif_chanctx, .__unassign_vif_chanctx = __iwl_mvm_unassign_vif_chanctx, };
drivers/net/wireless/intel/iwlwifi/mvm/mld-mac80211.c +3 -3
@@ -492,7 +492,7 @@ static int iwl_mvm_mld_mac_sta_state(struct ieee80211_hw *hw, enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state) { - struct iwl_mvm_sta_state_ops callbacks = { +static const struct iwl_mvm_sta_state_ops callbacks = { .add_sta = iwl_mvm_mld_add_sta, .update_sta = iwl_mvm_mld_update_sta, .rm_sta = iwl_mvm_mld_rm_sta,
@@ -779,7 +779,7 @@ iwl_mvm_mld_switch_vif_chanctx(struct ieee80211_hw *hw, int n_vifs, enum ieee80211_chanctx_switch_mode mode) { -struct iwl_mvm_switch_vif_chanctx_ops ops = { +static const struct iwl_mvm_switch_vif_chanctx_ops ops = { .__assign_vif_chanctx = __iwl_mvm_mld_assign_vif_chanctx, .__unassign_vif_chanctx = __iwl_mvm_mld_unassign_vif_chanctx, };
@@ -871,7 +871,7 @@ static int iwl_mvm_mld_roc(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_channel *channel, int duration, enum ieee80211_roc_type type) { - struct iwl_mvm_roc_ops ops = { + static const struct iwl_mvm_roc_ops ops = { .add_aux_sta_for_hs20 = iwl_mvm_mld_add_aux_sta, .switch_phy_ctxt = iwl_mvm_link_switch_phy_ctx, };
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h +3 -3
@@ -1888,7 +1888,7 @@ void iwl_mvm_bss_info_changed_common(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, - struct iwl_mvm_bss_info_changed_ops *callbacks, + const struct iwl_mvm_bss_info_changed_ops *callbacks, u64 changes); void iwl_mvm_bss_info_changed_station_common(struct iwl_mvm *mvm,
@@ -1922,7 +1922,7 @@ struct iwl_mvm_roc_ops {int iwl_mvm_roc_common (struct ieee80211_hw *hw,struct ieee80211_vif *vif,struct ieee80211_channel *channel,int duration,enum ieee80211_roc_type type, -struct iwl_mvm_roc_ops *ops); +const struct iwl_mvm_roc_ops *ops);int iwl_mvm_cancel_roc (struct ieee80211_hw *hw,struct ieee80211_vif *vif);/*Session Protection */
@@ -2420,7 +2420,7 @@ iwl_mvm_switch_vif_chanctx_common(struct ieee80211_hw *hw,struct ieee80211_vif_chanctx_switch *vifs, int n_vifs, enum ieee80211_chanctx_switch_mode mode, - struct iwl_mvm_switch_vif_chanctx_ops *ops); + const struct iwl_mvm_switch_vif_chanctx_ops *ops);/* Channel info utils */ static inline bool iwl_mvm_has_ultra_hb_channel (struct iwl_mvm *mvm)
drivers/net/wireless/intel/iwlwifi/mvm/sta.h +1 -1
@@ -616,7 +616,7 @@ int iwl_mvm_mac_sta_state_common(struct ieee80211_hw *hw,struct ieee80211_sta *sta, enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state, - struct iwl_mvm_sta_state_ops *callbacks); + const struct iwl_mvm_sta_state_ops *callbacks);/* New MLD STA related APIs */ /* STA */
Signature · 1 line
2.38.1
PATCH 4/14 wifi: iwlwifi: mvm: always free dup_data
In reply to [email protected]From: Johannes Berg <[email protected]>
There are some assertions in the STA removal code that can fail, and in that case we may leak memory since we skip the freeing.
Fix this by freeing the dup_data earlier in the function, we already have a check for when we free the station, and this we don't need to do it with and without MLD API, so it's a win all around.
--- drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 3 +++ drivers/net/wireless/intel/iwlwifi/mvm/mld-sta.c | 2 -- drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 3 --- 3 files changed, 3 insertions(+), 5 deletions(-)
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +3 -0
@@ -3889,6 +3889,9 @@ int iwl_mvm_mac_sta_state_common(struct ieee80211_hw *hw,* from the AP now. */ iwl_mvm_reset_cca_40mhz_workaround (mvm, vif); + +/* Also free dup data just in case any assertions below fail */ +kfree (mvm_sta->dup_data); }mutex_lock (&mvm->mutex);
drivers/net/wireless/intel/iwlwifi/mvm/mld-sta.c +0 -2
@@ -791,8 +791,6 @@ int iwl_mvm_mld_rm_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif,lockdep_assert_held (&mvm->mutex); -kfree (mvm_sta->dup_data); -/* flush its queues here since we are freeing mvm_sta */ for_each_sta_active_link (vif, sta, link_sta, link_id) { struct iwl_mvm_link_sta *mvm_link_sta =
drivers/net/wireless/intel/iwlwifi/mvm/sta.c +0 -3
@@ -2089,9 +2089,6 @@ int iwl_mvm_rm_sta(struct iwl_mvm *mvm,lockdep_assert_held (&mvm->mutex); -if (iwl_mvm_has_new_rx_api (mvm)) -kfree (mvm_sta->dup_data); - ret =iwl_mvm_drain_sta (mvm, mvm_sta, true);if (ret)return ret;
Signature · 1 line
2.38.1
PATCH 5/14 wifi: iwlwifi: mvm: dissolve iwl_mvm_mac_add_interface_common()
In reply to [email protected]From: Johannes Berg <[email protected]>
This wasn't really common anymore, so dissolve it, it has a pretty strange calling convention that's confusing.
--- .../net/wireless/intel/iwlwifi/mvm/mac80211.c | 90 ++++++++----------- 1 file changed, 37 insertions(+), 53 deletions(-)
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +37 -53
@@ -1478,21 +1478,37 @@ iwl_mvm_chandef_get_primary_80(struct cfg80211_chan_def *chandef)return (control_start - data_start) /80 ; } -/* -* Returns true if addding the interface is done -* (either with success or failure) -* -* FIXME: remove this again and merge it in -*/ -static bool iwl_mvm_mac_add_interface_common (struct iwl_mvm *mvm, -struct ieee80211_hw *hw, -struct ieee80211_vif *vif, -int *ret) +static int iwl_mvm_alloc_bcast_mcast_sta (struct iwl_mvm *mvm, +struct ieee80211_vif *vif) {struct iwl_mvm_vif *mvmvif =iwl_mvm_vif_from_mac80211 (vif); +int ret;lockdep_assert_held (&mvm->mutex); + ret =iwl_mvm_alloc_bcast_sta (mvm, vif); +if (ret) { +IWL_ERR (mvm,"Failed to allocate bcast sta\n" ); +return ret; + } + +/* Only queue for this station is the mcast queue, +* which shouldn't be in TFD mask anyway +*/ +return iwl_mvm_allocate_int_sta (mvm, &mvmvif->deflink.mcast_sta,0 , + vif->type, +IWL_STA_MULTICAST ); +} + +static int iwl_mvm_mac_add_interface (struct ieee80211_hw *hw, +struct ieee80211_vif *vif) +{ +struct iwl_mvm *mvm =IWL_MAC80211_GET_MVM (hw); +struct iwl_mvm_vif *mvmvif =iwl_mvm_vif_from_mac80211 (vif); +int ret; + +mutex_lock (&mvm->mutex); + mvmvif->mvm = mvm;/* the first link always points to the default one */
@@ -1510,12 +1526,18 @@ static bool iwl_mvm_mac_add_interface_common(struct iwl_mvm *mvm, mvmvif->deflink.beacon_stats.num_beacons;/* Allocate resources for the MAC context, and add it to the fw */ - *ret =iwl_mvm_mac_ctxt_init (mvm, vif); -if (*ret) -return true; + ret =iwl_mvm_mac_ctxt_init (mvm, vif); +if (ret) + goto out;rcu_assign_pointer (mvm->vif_id_to_mac[mvmvif->id], vif); +/* Currently not much to do for NAN */ +if (vif->type ==NL80211_IFTYPE_NAN ) { + ret =0 ; + goto out; + } +/* * The AP binding flow can be done only after the beacon * template is configured (which happens only in the mac80211
@@ -1530,50 +1552,12 @@ static bool iwl_mvm_mac_add_interface_common(struct iwl_mvm *mvm,if (vif->type ==NL80211_IFTYPE_AP || vif->type ==NL80211_IFTYPE_ADHOC ) {iwl_mvm_vif_dbgfs_register (mvm, vif); -return true; + ret =0 ; + goto out; } mvmvif->features |= hw->netdev_features; -return false; -} - -static int iwl_mvm_alloc_bcast_mcast_sta (struct iwl_mvm *mvm, -struct ieee80211_vif *vif) -{ -struct iwl_mvm_vif *mvmvif =iwl_mvm_vif_from_mac80211 (vif); -int ret; - -lockdep_assert_held (&mvm->mutex); - - ret =iwl_mvm_alloc_bcast_sta (mvm, vif); -if (ret) { -IWL_ERR (mvm,"Failed to allocate bcast sta\n" ); -return ret; - } - -/* -* Only queue for this station is the mcast queue, -* which shouldn't be in TFD mask anyway -*/ -return iwl_mvm_allocate_int_sta (mvm, &mvmvif->deflink.mcast_sta,0 , - vif->type, -IWL_STA_MULTICAST ); -} - -static int iwl_mvm_mac_add_interface (struct ieee80211_hw *hw, -struct ieee80211_vif *vif) -{ -struct iwl_mvm *mvm =IWL_MAC80211_GET_MVM (hw); -struct iwl_mvm_vif *mvmvif =iwl_mvm_vif_from_mac80211 (vif); -int ret; - -mutex_lock (&mvm->mutex); - -/* Common for MLD and non-MLD API */ -if (iwl_mvm_mac_add_interface_common (mvm, hw, vif, &ret)) - goto out; - ret =iwl_mvm_mac_ctxt_add (mvm, vif);if (ret) goto out_unlock;
Signature · 1 line
2.38.1
PATCH 6/14 wifi: iwlwifi: mvm: don't double-init spinlock
In reply to [email protected]From: Johannes Berg <[email protected]>
We don't need to (and shouldn't) initialize the spinlock during HW restart that was already initialized, so move that into the correct if block. Since then we have two consecutive if statements with the same (though inverted) condition, unify those as well.
--- drivers/net/wireless/intel/iwlwifi/mvm/mld-sta.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/net/wireless/intel/iwlwifi/mvm/mld-sta.c +5 -5
@@ -667,15 +667,15 @@ int iwl_mvm_mld_add_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, ret =iwl_mvm_mld_alloc_sta_links (mvm, vif, sta);if (ret)return ret; - } -spin_lock_init (&mvm_sta->lock); +spin_lock_init (&mvm_sta->lock); -if (test_bit (IWL_MVM_STATUS_IN_HW_RESTART , &mvm->status)) - ret =iwl_mvm_alloc_sta_after_restart (mvm, vif, sta); -else ret =iwl_mvm_sta_init (mvm, vif, sta,IWL_MVM_INVALID_STA ,STATION_TYPE_PEER ); + }else { + ret =iwl_mvm_alloc_sta_after_restart (mvm, vif, sta); + } +if (ret) goto err;
Signature · 1 line
2.38.1
PATCH 7/14 wifi: iwlwifi: mvm: fix cancel_delayed_work_sync() deadlock
In reply to [email protected]From: Johannes Berg <[email protected]>
Lockdep points out that we can deadlock here by calling cancel_delayed_work_sync() because that might be already running and gotten interrupted by the NAPI soft-IRQ. Even just calling something that can sleep is wrong in this context though.
Luckily, it doesn't even really matter since the things we need to do are idempotent, so just drop the _sync().
--- drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c +1 -1
@@ -2512,7 +2512,7 @@ void iwl_mvm_rx_mpdu_mq(struct iwl_mvm *mvm, struct napi_struct *napi,RCU_INIT_POINTER (mvm->csa_tx_blocked_vif,NULL );/* Unblock BCAST / MCAST station */ iwl_mvm_modify_all_sta_disable_tx (mvm, mvmvif, false); -cancel_delayed_work_sync (&mvm->cs_tx_unblock_dwork); +cancel_delayed_work (&mvm->cs_tx_unblock_dwork); } }
Signature · 1 line
2.38.1
PATCH 8/14 wifi: iwlwifi: mvm: support PASN for MLO
In reply to [email protected]From: Avraham Stern <[email protected]>
When adding a PASN station, the non MLD API was used. This results in assert when operating as MLD. Fix it to use the MLD API when operating as MLD. For now, the default link is used for the added station.
--- .../net/wireless/intel/iwlwifi/mvm/mld-key.c | 27 ++++++++----- .../net/wireless/intel/iwlwifi/mvm/mld-sta.c | 10 ++--- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 6 +++ drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 39 +++++++++++++++---- drivers/net/wireless/intel/iwlwifi/mvm/sta.h | 5 +++ 5 files changed, 65 insertions(+), 22 deletions(-)
drivers/net/wireless/intel/iwlwifi/mvm/mld-key.c +17 -10
@@ -51,10 +51,10 @@ static u32 iwl_mvm_get_sec_sta_mask(struct iwl_mvm *mvm,return iwl_mvm_sta_fw_id_mask (mvm, sta, keyconf->link_id); } -static u32 iwl_mvm_get_sec_flags (struct iwl_mvm *mvm, -struct ieee80211_vif *vif, -struct ieee80211_sta *sta, -struct ieee80211_key_conf *keyconf) +u32 iwl_mvm_get_sec_flags (struct iwl_mvm *mvm, +struct ieee80211_vif *vif, +struct ieee80211_sta *sta, +struct ieee80211_key_conf *keyconf) {struct iwl_mvm_vif *mvmvif =iwl_mvm_vif_from_mac80211 (vif);u32 flags =0 ;
@@ -164,13 +164,9 @@ static int __iwl_mvm_sec_key_del(struct iwl_mvm *mvm, u32 sta_mask,return iwl_mvm_send_cmd_pdu (mvm, cmd_id, flags,sizeof (cmd), &cmd); } -int iwl_mvm_sec_key_add (struct iwl_mvm *mvm, -struct ieee80211_vif *vif, -struct ieee80211_sta *sta, -struct ieee80211_key_conf *keyconf) +int iwl_mvm_mld_send_key (struct iwl_mvm *mvm,u32 sta_mask,u32 key_flags, +struct ieee80211_key_conf *keyconf) { -u32 sta_mask =iwl_mvm_get_sec_sta_mask (mvm, vif, sta, keyconf); -u32 key_flags =iwl_mvm_get_sec_flags (mvm, vif, sta, keyconf);u32 cmd_id =WIDE_ID (DATA_PATH_GROUP ,SEC_KEY_CMD );struct iwl_sec_key_cmd cmd = { .action =cpu_to_le32 (FW_CTXT_ACTION_ADD ),
@@ -223,6 +219,17 @@ int iwl_mvm_sec_key_add(struct iwl_mvm *mvm,return ret; } +int iwl_mvm_sec_key_add (struct iwl_mvm *mvm, +struct ieee80211_vif *vif, +struct ieee80211_sta *sta, +struct ieee80211_key_conf *keyconf) +{ +u32 sta_mask =iwl_mvm_get_sec_sta_mask (mvm, vif, sta, keyconf); +u32 key_flags =iwl_mvm_get_sec_flags (mvm, vif, sta, keyconf); + +return iwl_mvm_mld_send_key (mvm, sta_mask, key_flags, keyconf); +} + static int _iwl_mvm_sec_key_del(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta,
drivers/net/wireless/intel/iwlwifi/mvm/mld-sta.c +5 -5
@@ -128,11 +128,11 @@ static int iwl_mvm_add_aux_sta_to_fw(struct iwl_mvm *mvm,/* * Adds an internal sta to the FW table with its queues */ -static int iwl_mvm_mld_add_int_sta_with_queue (struct iwl_mvm *mvm, -struct iwl_mvm_int_sta *sta, -const u8 *addr,int link_id, -u16 *queue,u8 tid, -unsigned int *_wdg_timeout) +int iwl_mvm_mld_add_int_sta_with_queue (struct iwl_mvm *mvm, +struct iwl_mvm_int_sta *sta, +const u8 *addr,int link_id, +u16 *queue,u8 tid, +unsigned int *_wdg_timeout) {int ret, txq; unsigned int wdg_timeout = _wdg_timeout ? *_wdg_timeout :
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h +6 -0
@@ -2361,6 +2361,12 @@ int iwl_mvm_mld_update_sta_keys(struct iwl_mvm *mvm,struct ieee80211_sta *sta, u32 old_sta_mask, u32 new_sta_mask); +int iwl_mvm_mld_send_key (struct iwl_mvm *mvm,u32 sta_mask,u32 key_flags, +struct ieee80211_key_conf *keyconf); +u32 iwl_mvm_get_sec_flags (struct iwl_mvm *mvm, +struct ieee80211_vif *vif, +struct ieee80211_sta *sta, +struct ieee80211_key_conf *keyconf);int iwl_rfi_send_config_cmd (struct iwl_mvm *mvm,struct iwl_rfi_lut_entry *rfi_table);
drivers/net/wireless/intel/iwlwifi/mvm/sta.c +32 -7
@@ -4298,16 +4298,27 @@ int iwl_mvm_add_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif,u16 queue;struct iwl_mvm_vif *mvmvif =iwl_mvm_vif_from_mac80211 (vif);struct ieee80211_key_conf *keyconf; +unsigned int wdg_timeout = +iwl_mvm_get_wd_timeout (mvm, vif, false, false); +bool mld =iwl_mvm_has_mld_api (mvm->fw); +u32 type = mld ?STATION_TYPE_PEER :IWL_STA_LINK ; ret =iwl_mvm_allocate_int_sta (mvm, sta,0 , -NL80211_IFTYPE_UNSPECIFIED , -IWL_STA_LINK ); +NL80211_IFTYPE_UNSPECIFIED , type);if (ret)return ret; - ret =iwl_mvm_add_int_sta_with_queue (mvm, mvmvif->id, mvmvif->color, - addr, sta, &queue, -IWL_MVM_TX_FIFO_BE ); +if (mld) + ret =iwl_mvm_mld_add_int_sta_with_queue (mvm, sta, addr, + mvmvif->deflink.fw_link_id, + &queue, +IWL_MAX_TID_COUNT , + &wdg_timeout); +else + ret =iwl_mvm_add_int_sta_with_queue (mvm, mvmvif->id, + mvmvif->color, addr, sta, + &queue, +IWL_MVM_TX_FIFO_BE );if (ret) goto out;
@@ -4320,9 +4331,23 @@ int iwl_mvm_add_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, keyconf->cipher = cipher;memcpy (keyconf->key, key, key_len); keyconf->keylen = key_len; + keyconf->flags =IEEE80211_KEY_FLAG_PAIRWISE ; + +if (mld) { +/* The MFP flag is set according to the station mfp field. Since +* we don't have a station, set it manually. +*/ +u32 key_flags = +iwl_mvm_get_sec_flags (mvm, vif,NULL , keyconf) | +IWL_SEC_KEY_FLAG_MFP ; +u32 sta_mask =BIT (sta->sta_id); + + ret =iwl_mvm_mld_send_key (mvm, sta_mask, key_flags, keyconf); + }else { + ret =iwl_mvm_send_sta_key (mvm, sta->sta_id, keyconf, false, +0 ,NULL ,0 ,0 , true); + } - ret =iwl_mvm_send_sta_key (mvm, sta->sta_id, keyconf, false, -0 ,NULL ,0 ,0 , true);kfree (keyconf);return 0 ; out:
drivers/net/wireless/intel/iwlwifi/mvm/sta.h +5 -0
@@ -646,6 +646,11 @@ int iwl_mvm_mld_update_sta_links(struct iwl_mvm *mvm, u16 old_links, u16 new_links);u32 iwl_mvm_sta_fw_id_mask (struct iwl_mvm *mvm,struct ieee80211_sta *sta,int filter_link_id); +int iwl_mvm_mld_add_int_sta_with_queue (struct iwl_mvm *mvm, +struct iwl_mvm_int_sta *sta, +const u8 *addr,int link_id, +u16 *queue,u8 tid, +unsigned int *_wdg_timeout);/* Queues */ void iwl_mvm_mld_modify_all_sta_disable_tx(struct iwl_mvm *mvm,
Signature · 1 line
2.38.1
PATCH 9/14 wifi: iwlwifi: don't silently ignore missing suspend or resume ops
In reply to [email protected]From: Haim Dreyfuss <[email protected]>
In case the driver doesn't implement suspend or resume operations on the transport layer, notify the driver's upper layer. Otherwise, we might access d3_status uninitialized.
--- drivers/net/wireless/intel/iwlwifi/iwl-trans.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/intel/iwlwifi/iwl-trans.h +2 -2
@@ -1160,7 +1160,7 @@ static inline int iwl_trans_d3_suspend(struct iwl_trans *trans, bool test, {might_sleep ();if (!trans->ops->d3_suspend) -return 0 ; +return -EOPNOTSUPP ;return trans->ops->d3_suspend (trans, test, reset); }
@@ -1171,7 +1171,7 @@ static inline int iwl_trans_d3_resume(struct iwl_trans *trans, {might_sleep ();if (!trans->ops->d3_resume) -return 0 ; +return -EOPNOTSUPP ;return trans->ops->d3_resume (trans, status, test, reset); }
Signature · 1 line
2.38.1
PATCH 10/14 wifi: iwlwifi: mvm: Make iwl_mvm_diversity_iter() MLO aware
In reply to [email protected]From: Miri Korenblit <[email protected]>
This function is MLO related, so it should iterate over all the links, and not only on deflink.
--- .../net/wireless/intel/iwlwifi/mvm/utils.c | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-)
drivers/net/wireless/intel/iwlwifi/mvm/utils.c +12 -8
@@ -413,16 +413,20 @@ static void iwl_mvm_diversity_iter(void *_data, u8 *mac, {struct iwl_mvm_vif *mvmvif =iwl_mvm_vif_from_mac80211 (vif);struct iwl_mvm_diversity_iter_data *data = _data; -int i; +int i, link_id; -if (mvmvif->deflink.phy_ctxt != data->ctxt) -return ; +for_each_mvm_vif_valid_link (mvmvif, link_id) { +struct iwl_mvm_vif_link_info *link_info = mvmvif->link[link_id]; -for (i =0 ; i <NUM_IWL_MVM_SMPS_REQ ; i++) { -if (mvmvif->deflink.smps_requests[i] ==IEEE80211_SMPS_STATIC || - mvmvif->deflink.smps_requests[i] ==IEEE80211_SMPS_DYNAMIC ) { - data->result = false; -break ; +if (link_info->phy_ctxt != data->ctxt) +continue ; + +for (i =0 ; i <NUM_IWL_MVM_SMPS_REQ ; i++) { +if (link_info->smps_requests[i] ==IEEE80211_SMPS_STATIC || + link_info->smps_requests[i] ==IEEE80211_SMPS_DYNAMIC ) { + data->result = false; +break ; + } } } }
Signature · 1 line
2.38.1
PATCH 11/14 wifi: iwlwifi: mvm: update the FW apis for LINK and MAC commands
In reply to [email protected]From: Emmanuel Grumbach <[email protected]>
The firmware added new fields to be able to pass the link_id as the AP knows it and the esr_transition_timeout.
For now, pass only the link_id since we don't have access to the esr_transition_timeout yet.
--- .../wireless/intel/iwlwifi/fw/api/mac-cfg.h | 29 ++++++++++++++----- drivers/net/wireless/intel/iwlwifi/mvm/link.c | 1 + .../net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 14 ++++----- .../net/wireless/intel/iwlwifi/mvm/mld-mac.c | 10 +++---- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 4 +-- 5 files changed, 37 insertions(+), 21 deletions(-)
drivers/net/wireless/intel/iwlwifi/fw/api/mac-cfg.h +22 -7
@@ -211,17 +211,30 @@ struct iwl_mac_low_latency_cmd {* struct iwl_mac_client_data - configuration data for client MAC context * * @is_assoc: 1 for associated state, 0 otherwise +* @esr_transition_timeout: the timeout required by the AP for the +* eSR transition. +* Available only from version 2 of the command. +* This values comes from the EMLSR transition delay in the EML +* Capabilities subfield. +* @reserved: alignment * @assoc_id: unique ID assigned by the AP during association +* @reserved1: alignment * @data_policy: see &enum iwl_mac_data_policy +* @reserved2: alignment * @ctwin: client traffic window in TU (period after TBTT when GO is present). * 0 indicates that there is no CT window. */ struct iwl_mac_client_data { -__le32 is_assoc; -__le32 assoc_id; -__le32 data_policy; +u8 is_assoc; +u8 esr_transition_timeout; +__le16 reserved; + +__le16 assoc_id; +__le16 reserved1; +__le16 data_policy; +__le16 reserved2;__le32 ctwin; -} __packed;/* MAC_CONTEXT_CONFIG_CLIENT_DATA_API_S_VER_1 */ +} __packed;/* MAC_CONTEXT_CONFIG_CLIENT_DATA_API_S_VER_2 */ /** * struct iwl_mac_p2p_dev_data - configuration data for P2P device MAC context
@@ -292,12 +305,12 @@ struct iwl_mac_config_cmd {__le16 he_ap_support;__le32 eht_support;__le32 nic_not_ack_enabled; -/* MAC_CONTEXT_CONFIG_SPECIFIC_DATA_API_U_VER_1 */ +/* MAC_CONTEXT_CONFIG_SPECIFIC_DATA_API_U_VER_2 */ union {struct iwl_mac_client_data client;struct iwl_mac_p2p_dev_data p2p_dev; }; -} __packed;/* MAC_CONTEXT_CONFIG_CMD_API_S_VER_1 */ +} __packed;/* MAC_CONTEXT_CONFIG_CMD_API_S_VER_2 */ /** * enum iwl_link_ctx_modify_flags - indicate to the fw what fields are being
@@ -430,6 +443,7 @@ enum iwl_link_ctx_flags {* @reserved_for_ref_bssid_addr: reserved * @bssid_index: index of the associated VAP * @bss_color: 11ax AP ID that is used in the HE SIG-A to mark inter BSS frame +* @spec_link_id: link_id as the AP knows it * @reserved: alignment * @ibss_bssid_addr: bssid for ibss * @reserved_for_ibss_bssid_addr: reserved
@@ -469,7 +483,8 @@ struct iwl_link_config_cmd {__le16 reserved_for_ref_bssid_addr;u8 bssid_index;u8 bss_color; -u8 reserved[2 ]; +u8 spec_link_id; +u8 reserved;u8 ibss_bssid_addr[6 ];__le16 reserved_for_ibss_bssid_addr;__le32 reserved1[8 ];
drivers/net/wireless/intel/iwlwifi/mvm/link.c +1 -0
@@ -76,6 +76,7 @@ int iwl_mvm_add_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif, cmd.link_id =cpu_to_le32 (link_info->fw_link_id); cmd.mac_id =cpu_to_le32 (mvmvif->id); + cmd.spec_link_id = link_conf->link_id;/* P2P-Device already has a valid PHY context during add */ phyctxt = link_info->phy_ctxt;if (phyctxt)
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c +7 -7
@@ -629,17 +629,17 @@ __le32 iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin(struct iwl_mvm *mvm, IEEE80211_P2P_OPPPS_CTWINDOW_MASK); } -__le32 iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy (struct iwl_mvm *mvm, -struct ieee80211_vif *vif) +u32 iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy (struct iwl_mvm *mvm, +struct ieee80211_vif *vif) { -__le32 twt_policy =cpu_to_le32 (0 ); +u32 twt_policy =0 ;if (vif->bss_conf.twt_requester &&IWL_MVM_USE_TWT ) - twt_policy |=cpu_to_le32 (TWT_SUPPORTED ); + twt_policy |=TWT_SUPPORTED ;if (vif->bss_conf.twt_protected) - twt_policy |=cpu_to_le32 (PROTECTED_TWT_SUPPORTED ); + twt_policy |=PROTECTED_TWT_SUPPORTED ;if (vif->bss_conf.twt_broadcast) - twt_policy |=cpu_to_le32 (BROADCAST_TWT_SUPPORTED ); + twt_policy |=BROADCAST_TWT_SUPPORTED ;return twt_policy; }
@@ -711,7 +711,7 @@ static int iwl_mvm_mac_ctxt_cmd_sta(struct iwl_mvm *mvm,if (vif->bss_conf.he_support && !iwlwifi_mod_params.disable_11ax) { cmd.filter_flags |=cpu_to_le32 (MAC_FILTER_IN_11AX ); ctxt_sta->data_policy |= -iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy (mvm, vif); +cpu_to_le32 (iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy (mvm, vif)); }
drivers/net/wireless/intel/iwlwifi/mvm/mld-mac.c +5 -5
@@ -115,16 +115,16 @@ static int iwl_mvm_mld_mac_ctxt_cmd_sta(struct iwl_mvm *mvm,if (vif->cfg.assoc && !force_assoc_off) {struct iwl_mvm_vif *mvmvif =iwl_mvm_vif_from_mac80211 (vif); - cmd.client.is_assoc =cpu_to_le32 (1 ); + cmd.client.is_assoc =1 ;if (!mvmvif->authorized &&fw_has_capa (&mvm->fw->ucode_capa,IWL_UCODE_TLV_CAPA_COEX_HIGH_PRIO )) cmd.client.data_policy |= -cpu_to_le32 (COEX_HIGH_PRIORITY_ENABLE ); +cpu_to_le16 (COEX_HIGH_PRIORITY_ENABLE ); }else { - cmd.client.is_assoc =cpu_to_le32 (0 ); + cmd.client.is_assoc =0 ;/* Allow beacons to pass through as long as we are not * associated, or we do not have dtim period information.
@@ -132,14 +132,14 @@ static int iwl_mvm_mld_mac_ctxt_cmd_sta(struct iwl_mvm *mvm, cmd.filter_flags |=cpu_to_le32 (MAC_CFG_FILTER_ACCEPT_BEACON ); } - cmd.client.assoc_id =cpu_to_le32 (vif->cfg.aid); + cmd.client.assoc_id =cpu_to_le16 (vif->cfg.aid);if (vif->probe_req_reg && vif->cfg.assoc && vif->p2p) cmd.filter_flags |=cpu_to_le32 (MAC_CFG_FILTER_ACCEPT_PROBE_REQ );if (vif->bss_conf.he_support && !iwlwifi_mod_params.disable_11ax) cmd.client.data_policy |= -iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy (mvm, vif); +cpu_to_le16 (iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy (mvm, vif));return iwl_mvm_mld_mac_ctxt_send_cmd (mvm, &cmd); }
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h +2 -2
@@ -1789,8 +1789,8 @@ void iwl_mvm_mac_ctxt_cmd_ap_set_filter_flags(struct iwl_mvm *mvm,int iwl_mvm_get_mac_type (struct ieee80211_vif *vif);__le32 iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin (struct iwl_mvm *mvm,struct ieee80211_vif *vif); -__le32 iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy (struct iwl_mvm *mvm, -struct ieee80211_vif *vif); +u32 iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy (struct iwl_mvm *mvm, +struct ieee80211_vif *vif);int iwl_mvm_mld_mac_ctxt_add (struct iwl_mvm *mvm,struct ieee80211_vif *vif);int iwl_mvm_mld_mac_ctxt_changed (struct iwl_mvm *mvm,struct ieee80211_vif *vif,bool force_assoc_off);
Signature · 1 line
2.38.1
PATCH 12/14 wifi: iwlwifi: mvm: adjust csa notifications and commands to MLO
In reply to [email protected]From: Gregory Greenman <[email protected]>
In the following notifications and commands mac_id was replaced with link_id:
* CANCEL_CHANNEL_SWITCH_CMD
* CHANNEL_SWITCH_START_NOTIF
* CHANNEL_SWITCH_ERROR_NOTIF
The logic around was not changed, so only adjust handling mac/link id.
--- .../wireless/intel/iwlwifi/fw/api/mac-cfg.h | 28 ++++++++-- .../net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 51 ++++++++++++++----- drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 4 +- drivers/net/wireless/intel/iwlwifi/mvm/sta.h | 2 +- 4 files changed, 65 insertions(+), 20 deletions(-)
drivers/net/wireless/intel/iwlwifi/fw/api/mac-cfg.h +24 -4
@@ -140,10 +140,19 @@ struct iwl_missed_vap_notif {* * @id_and_color: ID and color of the MAC */ -struct iwl_channel_switch_start_notif { +struct iwl_channel_switch_start_notif_v1 {__le32 id_and_color; } __packed;/* CHANNEL_SWITCH_START_NTFY_API_S_VER_1 */ +/** +* struct iwl_channel_switch_start_notif - Channel switch start notification +* +* @link_id: FW link id +*/ +struct iwl_channel_switch_start_notif { +__le32 link_id; +} __packed;/* CHANNEL_SWITCH_START_NTFY_API_S_VER_3 */ +#define CS_ERR_COUNT_ERROR BIT(0)#define CS_ERR_LONG_DELAY_AFTER_CS BIT(1)#define CS_ERR_LONG_TX_BLOCK BIT(2)
@@ -155,18 +164,29 @@ struct iwl_channel_switch_start_notif {* @mac_id: the mac for which the ucode sends the notification for * @csa_err_mask: mask of channel switch error that can occur */ -struct iwl_channel_switch_error_notif { +struct iwl_channel_switch_error_notif_v1 {__le32 mac_id;__le32 csa_err_mask; } __packed;/* CHANNEL_SWITCH_ERROR_NTFY_API_S_VER_1 */ +/** +* struct iwl_channel_switch_error_notif - Channel switch error notification +* +* @link_id: FW link id +* @csa_err_mask: mask of channel switch error that can occur +*/ +struct iwl_channel_switch_error_notif { +__le32 link_id; +__le32 csa_err_mask; +} __packed;/* CHANNEL_SWITCH_ERROR_NTFY_API_S_VER_2 */ +/** * struct iwl_cancel_channel_switch_cmd - Cancel Channel Switch command * -* @mac_id: the mac that should cancel the channel switch +* @id: the id of the link or mac that should cancel the channel switch */ struct iwl_cancel_channel_switch_cmd { -__le32 mac_id; +__le32 id; } __packed;/* MAC_CANCEL_CHANNEL_SWITCH_S_VER_1 */ /**
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c +38 -13
86 lines not on this page · raw message
drivers/net/wireless/intel/iwlwifi/mvm/sta.c +2 -2
@@ -4357,10 +4357,10 @@ int iwl_mvm_add_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif,void iwl_mvm_cancel_channel_switch (struct iwl_mvm *mvm,struct ieee80211_vif *vif, -u32 mac_id) +u32 id) {struct iwl_cancel_channel_switch_cmd cancel_channel_switch_cmd = { - .mac_id =cpu_to_le32 (mac_id), + .id =cpu_to_le32 (id), };int ret;
drivers/net/wireless/intel/iwlwifi/mvm/sta.h +1 -1
@@ -580,7 +580,7 @@ int iwl_mvm_add_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 *key, u32 key_len);void iwl_mvm_cancel_channel_switch (struct iwl_mvm *mvm,struct ieee80211_vif *vif, -u32 mac_id); +u32 id);/* Queues */ int iwl_mvm_tvqm_enable_txq(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
Signature · 1 line
2.38.1
PATCH 13/14 wifi: iwlwifi: mvm: fix number of concurrent link checks
In reply to [email protected]From: Johannes Berg <[email protected]>
The concurrent link checks need to correctly differentiate between AP and non-AP, fix that.
--- drivers/net/wireless/intel/iwlwifi/mvm/link.c | 12 +++++++----- .../net/wireless/intel/iwlwifi/mvm/mld-mac80211.c | 9 +++++---- 2 files changed, 12 insertions(+), 9 deletions(-)
drivers/net/wireless/intel/iwlwifi/mvm/link.c +7 -5
@@ -127,11 +127,13 @@ int iwl_mvm_link_changed(struct iwl_mvm *mvm, struct ieee80211_vif *vif,if (mvmvif->link[i]->phy_ctxt) count++; -/* FIXME: IWL_MVM_FW_MAX_ACTIVE_LINKS_NUM should be -* defined per HW -*/ -if (count >=IWL_MVM_FW_MAX_ACTIVE_LINKS_NUM ) -return -EINVAL ; +if (vif->type ==NL80211_IFTYPE_AP ) { +if (count > mvm->fw->ucode_capa.num_beacons) +return -EOPNOTSUPP ; +/* this should be per HW or such */ + }else if (count >=IWL_MVM_FW_MAX_ACTIVE_LINKS_NUM ) { +return -EOPNOTSUPP ; + } }/* Catch early if driver tries to activate or deactivate a link
drivers/net/wireless/intel/iwlwifi/mvm/mld-mac80211.c +5 -4
@@ -906,11 +906,12 @@ iwl_mvm_mld_change_vif_links(struct ieee80211_hw *hw, n_active++; } -if (vif->type ==NL80211_IFTYPE_AP && - n_active > mvm->fw->ucode_capa.num_beacons) -return -EOPNOTSUPP ; -else if (n_active >1 ) +if (vif->type ==NL80211_IFTYPE_AP ) { +if (n_active > mvm->fw->ucode_capa.num_beacons) +return -EOPNOTSUPP ; + }else if (n_active >1 ) {return -EOPNOTSUPP ; + } }for (i =0 ; i <IEEE80211_MLD_MAX_NUM_LINKS ; i++) {
Signature · 1 line
2.38.1
PATCH 14/14 wifi: iwlwifi: pass the esr_transition_timeout to the firmware
In reply to [email protected]From: Emmanuel Grumbach <[email protected]>
The firmware needs to know the esr_transtition_timeout to time the transition between EMLSR and single radio with the AP.
Add the EMLSR support bit to the wiphy extended capabilities so that it'll be sent in our association request frame.
We can set this field unconditionally since it'll be used only if the MLO is supported.
--- drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 2 ++ drivers/net/wireless/intel/iwlwifi/mvm/mld-mac.c | 3 +++ 2 files changed, 5 insertions(+)
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +2 -0
@@ -251,6 +251,8 @@ static const struct wiphy_iftype_ext_capab add_iftypes_ext_capa[] = { .extended_capabilities = he_if_types_ext_capa_sta, .extended_capabilities_mask = he_if_types_ext_capa_sta, .extended_capabilities_len = sizeof(he_if_types_ext_capa_sta), + /* relevant only if EHT is supported */ + .eml_capabilities = IEEE80211_EML_CAP_EMLSR_SUPP, }, { .iftype = NL80211_IFTYPE_STATION,
drivers/net/wireless/intel/iwlwifi/mvm/mld-mac.c +3 -0
@@ -133,6 +133,9 @@ static int iwl_mvm_mld_mac_ctxt_cmd_sta(struct iwl_mvm *mvm, } cmd.client.assoc_id =cpu_to_le16 (vif->cfg.aid); + cmd.client.esr_transition_timeout = +u16_get_bits (vif->cfg.eml_cap, +IEEE80211_EML_CAP_TRANSITION_TIMEOUT );if (vif->probe_req_reg && vif->cfg.assoc && vif->p2p) cmd.filter_flags |=cpu_to_le32 (MAC_CFG_FILTER_ACCEPT_PROBE_REQ );
Signature · 1 line
2.38.1
kernel test robot
build botRe: [PATCH 14/14] wifi: iwlwifi: pass the esr_transition_timeout to the firmware
kernel test robot noticed the following build errors:
Hi,
kernel test robot noticed the following build errors:
[auto build test ERROR on wireless-next/main]
[also build test ERROR on linus/master v6.4-rc1 next-20230508] [cannot apply to wireless/main]
[If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/gregory-greenman-intel-com/wifi-iwlwifi-cfg-freeze-22500-devices-FW-API/20230508-162844 base: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main patch link: https://lore.kernel.org/r/20230508082433.1349733-15-gregory.greenman%40intel.com patch subject: [PATCH 14/14] wifi: iwlwifi: pass the esr_transition_timeout to the firmware config: powerpc-randconfig-r021-20230507 (https://download.01.org/0day-ci/archive/20230508/[email protected]/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project b0fb98227c90adf2536c9ad644a74d5e92961111)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://github.com/intel-lab-lkp/linux/commit/1ac56fb6e9434d3a390309308d2c74f112fa1e2a
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review gregory-greenman-intel-com/wifi-iwlwifi-cfg-freeze-22500-devices-FW-API/20230508-162844 git checkout 1ac56fb6e9434d3a390309308d2c74f112fa1e2a
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/net/wireless/intel/iwlwifi/mvm/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
>> drivers/net/wireless/intel/iwlwifi/mvm/mld-mac.c:137:25: error: no member named 'eml_cap' in 'struct ieee80211_vif_cfg'
u16_get_bits(vif->cfg.eml_cap,
~~~~~~~~ ^1 error generated.
vim +137 drivers/net/wireless/intel/iwlwifi/mvm/mld-mac.c
93
94 static int iwl_mvm_mld_mac_ctxt_cmd_sta(struct iwl_mvm *mvm,
95 struct ieee80211_vif *vif,
96 u32 action, bool force_assoc_off)
97 {
98 struct iwl_mac_config_cmd cmd = {};
99
100 WARN_ON(vif->type != NL80211_IFTYPE_STATION);
101
102 /* Fill the common data for all mac context types */
103 iwl_mvm_mld_mac_ctxt_cmd_common(mvm, vif, &cmd, action);
104
105 /*
106 * We always want to hear MCAST frames, if we're not authorized yet,
107 * we'll drop them.
108 */
109 cmd.filter_flags |= cpu_to_le32(MAC_CFG_FILTER_ACCEPT_GRP);
110
111 if (vif->p2p)
112 cmd.client.ctwin =
113 iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin(mvm, vif);
114
115 if (vif->cfg.assoc && !force_assoc_off) {
116 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
117
118 cmd.client.is_assoc = 1;
119
120 if (!mvmvif->authorized &&
121 fw_has_capa(&mvm->fw->ucode_capa,
122 IWL_UCODE_TLV_CAPA_COEX_HIGH_PRIO))
123 cmd.client.data_policy |=
124 cpu_to_le16(COEX_HIGH_PRIORITY_ENABLE);
125
126 } else {
127 cmd.client.is_assoc = 0;
128
129 /* Allow beacons to pass through as long as we are not
130 * associated, or we do not have dtim period information.
131 */
132 cmd.filter_flags |= cpu_to_le32(MAC_CFG_FILTER_ACCEPT_BEACON);
133 }
134
135 cmd.client.assoc_id = cpu_to_le16(vif->cfg.aid);
136 cmd.client.esr_transition_timeout =
> 137 u16_get_bits(vif->cfg.eml_cap, 138 IEEE80211_EML_CAP_TRANSITION_TIMEOUT);
139
140 if (vif->probe_req_reg && vif->cfg.assoc && vif->p2p)
141 cmd.filter_flags |= cpu_to_le32(MAC_CFG_FILTER_ACCEPT_PROBE_REQ);
142
143 if (vif->bss_conf.he_support && !iwlwifi_mod_params.disable_11ax)
144 cmd.client.data_policy |=
145 cpu_to_le16(iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy(mvm, vif));
146
147 return iwl_mvm_mld_mac_ctxt_send_cmd(mvm, &cmd);
148 }
149
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Quoted 58 lines · On Mon, 2023-05-08 at 11:24 +0300, [email protected] wrote:
From: Gregory Greenman <[email protected]>
Hi,
Here's the first set of patches for v6.5
It contains the continuation of MLO work (mostly small fixes and adjustments) as well as a few other small changes.Thanks,
GregoryAvraham Stern (1):
wifi: iwlwifi: mvm: support PASN for MLOEmmanuel Grumbach (2):
wifi: iwlwifi: mvm: update the FW apis for LINK and MAC commands
wifi: iwlwifi: pass theesr_transition_timeoutto the firmwareGolan Ben Ami (1):
wifi: iwlwifi: cfg: freeze 22500 devices FW APIGregory Greenman (1):
wifi: iwlwifi: mvm: adjust csa notifications and commands to MLOHaim Dreyfuss (1):
wifi: iwlwifi: don't silently ignore missing suspend or resume opsJohannes Berg (6):
wifi: iwlwifi: mvm: make internal callback structs const
wifi: iwlwifi: mvm: always freedup_data
wifi: iwlwifi: mvm: dissolveiwl_mvm_mac_add_interface_common()
wifi: iwlwifi: mvm: don't double-init spinlock
wifi: iwlwifi: mvm: fixcancel_delayed_work_sync()deadlock
wifi: iwlwifi: mvm: fix number of concurrent link checksMiri Korenblit (1):
wifi: iwlwifi: mvm: Makeiwl_mvm_diversity_iter()MLO awareYedidya Benshimol (1):
wifi: iwlwifi: mvm: use link ID in missed beacon notification.../net/wireless/intel/iwlwifi/cfg/22000.c | 20 +-- .../wireless/intel/iwlwifi/fw/api/mac-cfg.h | 57 ++++++-- .../net/wireless/intel/iwlwifi/fw/api/mac.h | 22 +++- .../net/wireless/intel/iwlwifi/iwl-trans.h | 4 +- drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 3 +
drivers/net/wireless/intel/iwlwifi/mvm/link.c | 18 ++- .../net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 94 +++++++++---- .../net/wireless/intel/iwlwifi/mvm/mac80211.c | 123 ++++++++----------.../net/wireless/intel/iwlwifi/mvm/mld-key.c | 27 ++-- .../net/wireless/intel/iwlwifi/mvm/mld-mac.c | 13 +-
.../wireless/intel/iwlwifi/mvm/mld-mac80211.c| 15 ++- .../net/wireless/intel/iwlwifi/mvm/mld-sta.c | 22 ++-- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 31 ++++-drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c| 2 +- drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 46 +++++-- drivers/net/wireless/intel/iwlwifi/mvm/sta.h | 9 +- .../net/wireless/intel/iwlwifi/mvm/utils.c | 20 +--
Quoted 2 lines
17 files changed, 342 insertions(+), 184 deletions(-)
I had a typo in the subject, updates for v6.5 of course.