diff options
author | Felix Fietkau <nbd@nbd.name> | 2022-06-26 00:24:06 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-07-01 11:51:48 +0300 |
commit | 445452d438e2f40355e2ed1aa9894e7094237dc9 (patch) | |
tree | 0bfdc97bd1c707d6414baac9d9496229ef609fe7 /net/mac80211/sta_info.h | |
parent | 942741dabcb43236006f557178801ce2051e69f9 (diff) | |
download | linux-445452d438e2f40355e2ed1aa9894e7094237dc9.tar.xz |
wifi: mac80211: make sta airtime deficit field s32 instead of s64
32 bit is more than enough range for the airtime deficit
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-2-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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index 3e26ad3be800..44ebf17f2808 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h @@ -138,7 +138,7 @@ enum ieee80211_agg_stop_reason { struct airtime_info { u64 rx_airtime; u64 tx_airtime; - s64 deficit; + s32 deficit; atomic_t aql_tx_pending; /* Estimated airtime for frames pending */ u32 aql_limit_low; u32 aql_limit_high; |