diff options
author | Felix Fietkau <nbd@nbd.name> | 2022-06-25 23:24:08 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-07-01 10:51:48 +0200 |
commit | 8ccc07028cb7aaa6ad313f24a9442c7796416e19 (patch) | |
tree | 8dcad40ca6eb99b98ce4dd9274eb9282697492bf /net/mac80211/sta_info.h | |
parent | wifi: mac80211: consider aql_tx_pending when checking airtime deficit (diff) | |
download | linux-8ccc07028cb7aaa6ad313f24a9442c7796416e19.tar.xz linux-8ccc07028cb7aaa6ad313f24a9442c7796416e19.zip |
wifi: mac80211: keep recently active tx queues in scheduling list
This allows proper deficit accounting to ensure that they don't carry their
deficit until the next time they become active
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Link: https://lore.kernel.org/r/20220625212411.36675-4-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r-- | net/mac80211/sta_info.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index 44ebf17f2808..70ee55ec5518 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h @@ -138,6 +138,7 @@ enum ieee80211_agg_stop_reason { struct airtime_info { u64 rx_airtime; u64 tx_airtime; + u32 last_active; s32 deficit; atomic_t aql_tx_pending; /* Estimated airtime for frames pending */ u32 aql_limit_low; |