diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-12-14 20:47:00 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-12-15 11:07:52 +0100 |
commit | 4f0bc9c61bae9c74ffcf5dbdbd241cbf0ec3a44e (patch) | |
tree | 663224eb02449823db0b3ccef21d8deb14867194 /net/decnet/dn_dev.c | |
parent | mac80211: minstrel: reduce MINSTREL_SCALE (diff) | |
download | linux-4f0bc9c61bae9c74ffcf5dbdbd241cbf0ec3a44e.tar.xz linux-4f0bc9c61bae9c74ffcf5dbdbd241cbf0ec3a44e.zip |
mac80211: minstrel: store probability variance instead of standard deviation
This avoids the costly int_sqrt calls in the statistics update and moves
it to the debugfs code instead.
This also fixes an overflow in the previous standard deviation
calculation.
Signed-off-by: Thomas Huehn <thomas.huehn@evernet-eg.de>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/decnet/dn_dev.c')
0 files changed, 0 insertions, 0 deletions