]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: only accumulate airtime deficit for active clients
authorFelix Fietkau <nbd@nbd.name>
Sat, 25 Jun 2022 21:24:11 +0000 (23:24 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 1 Jul 2022 08:51:48 +0000 (10:51 +0200)
commitd8dc76f6bad8e534389a0c376ff3f5457f719529
treed9c5ae3fab8c4588f5d43f83e75c18a79fdd1127
parent0cd7eee937326742c177b45b382be344c1e3f297
wifi: mac80211: only accumulate airtime deficit for active clients

When a client does not generate any local tx activity, accumulating airtime
deficit for the round-robin scheduler can be harmful. If this goes on for too
long, the deficit could grow quite large, which might cause unreasonable
initial latency once the client becomes 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-7-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c