mac80211/minstrel_ht: improve max_prob_rate selection
authorFelix Fietkau <nbd@openwrt.org>
Sat, 2 Mar 2013 20:20:13 +0000 (21:20 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Mar 2013 15:35:52 +0000 (16:35 +0100)
commita299c6d591f8f6abfe42e77d70ed688067748135
tree6d0d49842ab545badf31240ff2beb254d579e0ab
parented97a13c540eb8fdbb6250eaa6471a4263204af8
mac80211/minstrel_ht: improve max_prob_rate selection

max_prob_rate should be selected to be very reliable, however limiting
it to single-stream on 3-stream devices is a bit much.
Allow max_prob_rate to use one stream less than the max_tp_rate.

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