diff options
author | Benjamin Berg <benjamin.berg@intel.com> | 2022-09-02 17:12:54 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-09-06 11:17:08 +0300 |
commit | 4c51541ddb78cef2da9c4c30006c0d9d06ea9a77 (patch) | |
tree | c76070fbd0a5c2e02dd62d8dcdc74197818edb3f /drivers/net/wireless/realtek/rtw88 | |
parent | 189a0c52f3104d93ac40c3d5b2dcb96cf283d4fd (diff) | |
download | linux-4c51541ddb78cef2da9c4c30006c0d9d06ea9a77.tar.xz |
wifi: mac80211: keep A-MSDU data in sta and per-link
The A-MSDU data needs to be stored per-link and aggregated into a single
value for the station. Add a new struct ieee_80211_sta_aggregates in
order to store this data and a new function
ieee80211_sta_recalc_aggregates to update the current data for the STA.
Note that in the non MLO case the pointer in ieee80211_sta will directly
reference the data in deflink.agg, which means that recalculation may be
skipped in that case.
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/realtek/rtw88')
-rw-r--r-- | drivers/net/wireless/realtek/rtw88/fw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtw88/fw.c b/drivers/net/wireless/realtek/rtw88/fw.c index 7f6fdebae203..0b5f903c0f36 100644 --- a/drivers/net/wireless/realtek/rtw88/fw.c +++ b/drivers/net/wireless/realtek/rtw88/fw.c @@ -118,7 +118,7 @@ legacy: si->ra_report.desc_rate = rate; si->ra_report.bit_rate = bit_rate; - sta->max_rc_amsdu_len = get_max_amsdu_len(bit_rate); + sta->deflink.agg.max_rc_amsdu_len = get_max_amsdu_len(bit_rate); } static void rtw_fw_ra_report_handle(struct rtw_dev *rtwdev, u8 *payload, |