mac80211: Unify rate statistic variables between Minstrel & Minstrel_HT
authorThomas Huehn <thomas@net.t-labs.tu-berlin.de>
Tue, 9 Sep 2014 21:22:13 +0000 (23:22 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Sep 2014 10:08:31 +0000 (12:08 +0200)
commitca12c0c83334a84581bb01daaedf1009deb09204
treeb86999b79823ccbbd7fa04e1bade0b750e27fb12
parent5393b917bcbb0ce0338668c89397137bd2b7436e
mac80211: Unify rate statistic variables between Minstrel & Minstrel_HT

Minstrel and Mintrel_HT used there own structs to keep track of rate
statistics. Unify those variables in struct minstrel_rate_states and
move it to rc80211_minstrel.h for common usage. This is a clean-up
patch to prepare Minstrel and Minstrel_HT codebase for upcoming TPC.

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_debugfs.c
net/mac80211/rc80211_minstrel_ht.h