Commit 7e2123ab authored by Felix Fietkau's avatar Felix Fietkau Committed by Johannes Berg

mac80211: minstrel_ht: increase stats update interval

The shorter interval was leading to too many frames being used for probing
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20210115120242.89616-9-nbd@nbd.nameSigned-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent a7fca4e4
...@@ -1865,7 +1865,7 @@ minstrel_ht_alloc(struct ieee80211_hw *hw) ...@@ -1865,7 +1865,7 @@ minstrel_ht_alloc(struct ieee80211_hw *hw)
mp->has_mrr = true; mp->has_mrr = true;
mp->hw = hw; mp->hw = hw;
mp->update_interval = HZ / 20; mp->update_interval = HZ / 10;
minstrel_ht_init_cck_rates(mp); minstrel_ht_init_cck_rates(mp);
for (i = 0; i < ARRAY_SIZE(mp->hw->wiphy->bands); i++) for (i = 0; i < ARRAY_SIZE(mp->hw->wiphy->bands); i++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment