diff options
| author | Miri Korenblit <[email protected]> | 2024-05-10 14:06:37 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2024-05-23 08:50:36 +0000 |
| commit | b79b56091d2456491f4471bea202453f9755a42d (patch) | |
| tree | 6c820351ede52ca5b13612c97b365718f9254a33 | |
| parent | wifi: iwlwifi: mvm: set A-MSDU size on the correct link (diff) | |
| download | kernel-b79b56091d2456491f4471bea202453f9755a42d.tar.gz kernel-b79b56091d2456491f4471bea202453f9755a42d.zip | |
wifi: iwlwifi: mvm: call ieee80211_sta_recalc_aggregates on A-MSDU size update
The driver needs to call this function when the A-MSDU size changes.
Signed-off-by: Miri Korenblit <[email protected]>
Link: https://msgid.link/20240510170500.632ee6612a79.Ice3a536a4cbfe60d0edfa231fcb79ee7ab9495dd@changeid
Signed-off-by: Johannes Berg <[email protected]>
| -rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c b/drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c index 031b5e70d181..05715e5af6ab 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c @@ -514,6 +514,8 @@ void iwl_mvm_tlc_update_notif(struct iwl_mvm *mvm, link_sta->agg.max_tid_amsdu_len[i] = 1; } + ieee80211_sta_recalc_aggregates(sta); + IWL_DEBUG_RATE(mvm, "AMSDU update. AMSDU size: %d, AMSDU selected size: %d, AMSDU TID bitmap 0x%X\n", le32_to_cpu(notif->amsdu_size), size, @@ -654,6 +656,7 @@ void iwl_mvm_rs_fw_rate_init(struct iwl_mvm *mvm, * that only vht/ht is used and also set it as station max amsdu */ link_sta->agg.max_amsdu_len = max_amsdu_len; + ieee80211_sta_recalc_aggregates(sta); cfg_cmd.max_tx_op = cpu_to_le16(mvmvif->max_tx_op); |
