path: root/net/mac80211/rc80211_minstrel_ht.h
diff options
authorFelix Fietkau <>2021-01-27 06:57:32 +0100
committerJohannes Berg <>2021-02-12 08:57:24 +0100
commit7aece471a0e6e3cb84a89ce09de075c91f58d357 (patch)
treea882e99c8953ec24ac565e7f72107767d5309e5e /net/mac80211/rc80211_minstrel_ht.h
parent2012a2f7bcd2aa515430a75f1227471ab4ebd7df (diff)
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 <> Link: Signed-off-by: Johannes Berg <>
Diffstat (limited to 'net/mac80211/rc80211_minstrel_ht.h')
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/rc80211_minstrel_ht.h b/net/mac80211/rc80211_minstrel_ht.h
index 5912f7dc5267..ebb2b88f44d9 100644
--- a/net/mac80211/rc80211_minstrel_ht.h
+++ b/net/mac80211/rc80211_minstrel_ht.h
@@ -123,7 +123,6 @@ struct minstrel_rate_stats {
u8 retry_count;
u8 retry_count_rtscts;
- u8 sample_skipped;
bool retry_updated;
@@ -179,7 +178,6 @@ struct minstrel_ht_sta {
u8 sample_wait;
u8 sample_tries;
u8 sample_count;
- u8 sample_slow;
enum minstrel_sample_mode sample_mode;
u16 sample_rate;