diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-03-02 21:20:14 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-03-06 16:35:53 +0100 |
commit | 96d4ac3f2f287a143adb1926eae86dbe255a7cce (patch) | |
tree | e4cd1d0325292eb9f559319c68990fc6ed3cde2f /net | |
parent | mac80211/minstrel_ht: improve max_prob_rate selection (diff) | |
download | linux-96d4ac3f2f287a143adb1926eae86dbe255a7cce.tar.xz linux-96d4ac3f2f287a143adb1926eae86dbe255a7cce.zip |
minstrel_ht: increase sampling frequency
Try to sample all available rates, as sample attempts do not cost much
airtime and are appropriately spaced based on the average A-MPDU length.
This helps with faster recovery on rate fluctuations.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/rc80211_minstrel_ht.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/rc80211_minstrel_ht.c b/net/mac80211/rc80211_minstrel_ht.c index 6c735e0d66a3..4d35bc5a575b 100644 --- a/net/mac80211/rc80211_minstrel_ht.c +++ b/net/mac80211/rc80211_minstrel_ht.c @@ -312,8 +312,8 @@ minstrel_ht_update_stats(struct minstrel_priv *mp, struct minstrel_ht_sta *mi) } } - /* try to sample up to half of the available rates during each interval */ - mi->sample_count *= 4; + /* try to sample all available rates during each interval */ + mi->sample_count *= 8; cur_prob = 0; cur_prob_tp = 0; |