commit | 4f0bc9c61bae9c74ffcf5dbdbd241cbf0ec3a44e | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@nbd.name> | Wed Dec 14 20:47:00 2016 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Thu Dec 15 11:07:52 2016 +0100 |
tree | 663224eb02449823db0b3ccef21d8deb14867194 | |
parent | 0217eefa64509d63fbe8d1205310bafb2355cf4d [diff] |
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>