]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: treat minstrel success probabilities below 10% as implausible
authorThomas Huehn <thomas@net.t-labs.tu-berlin.de>
Mon, 4 Mar 2013 22:30:06 +0000 (23:30 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Mar 2013 15:36:09 +0000 (16:36 +0100)
commita90236f810020c0f7baeb8804b2ed8eaee5176ba
tree3041ab2e837a66792dec17505e1741c5b7fb3127
parentc0d9b689376c5d2e7a5dff659a5a24edbb44e2ff
mac80211: treat minstrel success probabilities below 10% as implausible

Based on minstrel_ht this patch treats success probabilities below 10% as
implausible values for throughput calculation in minstrel's statistics.
Current throughput per rate with such a low success probability is reset
to 0 MBit/s.

Acked-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel.c