]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: unify Minstrel & Minstrel-HTs calculation of rate statistics
authorThomas Huehn <thomas@net.t-labs.tu-berlin.de>
Tue, 24 Mar 2015 20:09:38 +0000 (21:09 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 1 Apr 2015 18:44:31 +0000 (20:44 +0200)
commit0feeb07df392b49b3cf8b6894f5baeb767227457
tree59cef7078d28c0371f00c46afbd7fb027e15e90a
parentd36567cd9a43b29a0c5b83bfcd50c5b2aaa16008
mac80211: unify Minstrel & Minstrel-HTs calculation of rate statistics

This patch unifies the calculation of Minstrels and Minstrel-HTs
per-rate statistic. The new common function minstrel_calc_rate_stats()
is called when a statistic update is performed.

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