]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: rc80211_minstrel: remove variance / stddev calculation
authorFelix Fietkau <nbd@nbd.name>
Sat, 6 Oct 2018 17:35:07 +0000 (19:35 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Oct 2018 14:01:05 +0000 (16:01 +0200)
commitfdef82cf22f1cf30c46ca696f665629c1eebc4ca
treec4476f0b470499290908109f3259d192e71ee1b5
parent97f8f20a2bcb3c6ab74aad6b9bb62d88657f7520
mac80211: rc80211_minstrel: remove variance / stddev calculation

When there are few packets (e.g. for sampling attempts), the exponentially
weighted variance is usually vastly overestimated, making the resulting data
essentially useless. As far as I know, there has not been any practical use
for this, so let's not waste any cycles on it.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel.c
net/mac80211/rc80211_minstrel.h
net/mac80211/rc80211_minstrel_debugfs.c
net/mac80211/rc80211_minstrel_ht_debugfs.c