OSDN Git Service

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)
commit506dbf90c1ba98d998b26e17a2e3e69bffef52f4
treec4476f0b470499290908109f3259d192e71ee1b5
parentf4ec7cb0f9ea65a7622b001bb48dbac1a7e6ad1e
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