]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211/minstrel_ht: fix spacing between sample attempts
authorFelix Fietkau <nbd@openwrt.org>
Sun, 3 Mar 2013 11:49:52 +0000 (12:49 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Mar 2013 15:35:54 +0000 (16:35 +0100)
commita5e3b8ba28a05ca5cd1ceb6439f7011e0efdd1e8
treede0945308ca9f74779cf205dc3f6acb797008b27
parente04222b18c07cd04755cf2a6696b4eebd7b4da68
mac80211/minstrel_ht: fix spacing between sample attempts

A sample attempt should only count in mi->sample_tries if the sample
attempt wasn't skipped based on slower rate criteria.
This patch increases the sampling frequency for potentially desirable
rates and thus enables faster recovery from interference or collisions.

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