summaryrefslogtreecommitdiffstats
path: root/net/mac80211/sta_info.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2022-10-05 13:52:26 +0200
committerJohannes Berg <johannes.berg@intel.com>2022-10-07 15:23:45 +0200
commit9b41a9d7dca0159723172a47097b3f2352e37e44 (patch)
treec09ff70ce96611fde74ad527fd24dc7d33bf79ff /net/mac80211/sta_info.h
parentc2b6b1c13e17cdef76e01349f4aa6f035cfad063 (diff)
downloadlinux-9b41a9d7dca0159723172a47097b3f2352e37e44.tar.bz2
wifi: mac80211: recalc station aggregate data during link switch
During link switching, the active links change, so we need to recalculate the aggregate data in the stations. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r--net/mac80211/sta_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h
index 6e672bf9c79d..69820b551668 100644
--- a/net/mac80211/sta_info.h
+++ b/net/mac80211/sta_info.h
@@ -927,6 +927,8 @@ void ieee80211_sta_set_max_amsdu_subframes(struct sta_info *sta,
const u8 *ext_capab,
unsigned int ext_capab_len);
+void __ieee80211_sta_recalc_aggregates(struct sta_info *sta, u16 active_links);
+
enum sta_stats_type {
STA_STATS_RATE_TYPE_INVALID = 0,
STA_STATS_RATE_TYPE_LEGACY,