]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac80211/minstrel_ht: improve rate selection stability
authorFelix Fietkau <nbd@openwrt.org>
Sat, 16 Mar 2013 16:00:25 +0000 (17:00 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 18 Mar 2013 19:11:58 +0000 (20:11 +0100)
commit3e8b1eb21c8b9806928000bf733e5762a64a7f72
tree21ee0367d0a9d86b164b3bfb57c994cb894f3dbc
parentd260ff12e7768444b4da7612b785cfd7cbc1d1c1
mac80211/minstrel_ht: improve rate selection stability

Under load, otherwise stable rates can easily fluctuate because of
collisions. In my tests on a clean channel, the success probability of
the max throughput rate often stays somewhere between 90% and 100% under
load. This can cause some unnecessary switching to lower rates.
This patch improves stability by treating success probability values
between 90% and 100% the same.
In my tests on a 3x3 HT20 link with lots of TCP traffic, it improves the
average throughput by a few mbit/s.

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