]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211/minstrel_ht: increase sampling frequency of some slower rates
authorFelix Fietkau <nbd@openwrt.org>
Sun, 3 Mar 2013 11:49:51 +0000 (12:49 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Mar 2013 15:35:53 +0000 (16:35 +0100)
commite04222b18c07cd04755cf2a6696b4eebd7b4da68
tree37ad4fbf3dd0ad84b443134b2f51b20b631b13f6
parentec88e4ef852e9c850617e8719b2b14dadc50b119
mac80211/minstrel_ht: increase sampling frequency of some slower rates

If a rate is below the max_tp_rate, sample it frequently if:
- it is above max_tp_rate2, or
- it is above max_prob_rate and is a candidate for max_prob_rate
  (has fewer streams than max_tp_rate).
This helps the retry chain recover more quickly from bad statistics
caused by collisions or interference, and slightly reduces throughput
fluctuations with higher rates.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel_ht.c
net/mac80211/rc80211_minstrel_ht.h