[PATCH v3 8/9] mac80211: minstrel_ht: increase stats update interval

Felix Fietkau
2021-01-15T12:04:01Z

The shorter interval was leading to too many frames being used for probing

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
net/mac80211/rc80211_minstrel_ht.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/mac80211/rc80211_minstrel_ht.c b/net/mac80211/rc80211_minstrel_ht.c
index d3bead4b5b04..6496aa39f60b 100644
--- a/net/mac80211/rc80211_minstrel_ht.c
+++ b/net/mac80211/rc80211_minstrel_ht.c
@@ -1865,7 +1865,7 @@ minstrel_ht_alloc(struct ieee80211_hw *hw)
mp->has_mrr = true;

mp->hw = hw;
- mp->update_interval = HZ / 20;
+ mp->update_interval = HZ / 10;

minstrel_ht_init_cck_rates(mp);
for (i = 0; i < ARRAY_SIZE(mp->hw->wiphy->bands); i++)
--
2.28.0