Skip to content

Commit

Permalink
mac80211: minstrel_ht: increase stats update interval
Browse files Browse the repository at this point in the history
The shorter interval was leading to too many frames being used for probing

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20210115120242.89616-9-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
  • Loading branch information
Felix Fietkau authored and Johannes Berg committed Jan 22, 2021
1 parent a7fca4e commit 7e2123a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mac80211/rc80211_minstrel_ht.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
Expand Down

0 comments on commit 7e2123a

Please sign in to comment.