]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: minstrel_ht: reduce the need to sample slower rates
authorFelix Fietkau <nbd@nbd.name>
Wed, 27 Jan 2021 05:57:32 +0000 (06:57 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 12 Feb 2021 07:57:24 +0000 (08:57 +0100)
commit6398d4251940670435d283f926d814079349ade9
treea882e99c8953ec24ac565e7f72107767d5309e5e
parent27a1016070a539d1431045b0e044072888c07292
mac80211: minstrel_ht: reduce the need to sample slower rates

In order to more gracefully be able to fall back to lower rates without too
much throughput fluctuations, initialize all untested rates below tested ones
to the maximum probabilty of higher rates.
Usually this leads to untested lower rates getting initialized with a
probability value of 100%, making them better candidates for fallback without
having to rely on random probing

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20210127055735.78599-3-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel_ht.c
net/mac80211/rc80211_minstrel_ht.h