mac80211: improve AQL aggregation estimation for low data rates
authorFelix Fietkau <nbd@nbd.name>
Fri, 21 Aug 2020 16:30:45 +0000 (18:30 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 27 Aug 2020 08:28:41 +0000 (10:28 +0200)
commitf01cfbaf9b2971126f094acfbda2589bd2394f4d
treead6f883d12ab24c5e7855dd94039bdbf0322a7a3
parent43cd72c5892c46fe69b8a1682fb4905cf158c39c
mac80211: improve AQL aggregation estimation for low data rates

Links with low data rates use much smaller aggregates and are much more
sensitive to latency added by bufferbloat.
Tune the assumed aggregation length based on the tx rate duration.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/r/20200821163045.62140-3-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/airtime.c