| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | From: Felix Fietkau <nbd@nbd.name> |
| 2 | Date: Sat, 26 Dec 2020 19:14:58 +0100 |
| 3 | Subject: [PATCH] mac80211: minstrel_ht: increase stats update interval |
| 4 | |
| 5 | The shorter interval was leading to too many frames being used for probing |
| 6 | |
| 7 | Signed-off-by: Felix Fietkau <nbd@nbd.name> |
| 8 | --- |
| 9 | |
| 10 | --- a/net/mac80211/rc80211_minstrel_ht.c |
| 11 | +++ b/net/mac80211/rc80211_minstrel_ht.c |
| 12 | @@ -1865,7 +1865,7 @@ minstrel_ht_alloc(struct ieee80211_hw *h |
| 13 | mp->has_mrr = true; |
| 14 | |
| 15 | mp->hw = hw; |
| 16 | - mp->update_interval = HZ / 20; |
| 17 | + mp->update_interval = HZ / 10; |
| 18 | |
| 19 | minstrel_ht_init_cck_rates(mp); |
| 20 | for (i = 0; i < ARRAY_SIZE(mp->hw->wiphy->bands); i++) |