mac80211: move station statistics into sub-structs
authorJohannes Berg <johannes.berg@intel.com>
Fri, 16 Oct 2015 15:54:47 +0000 (17:54 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Oct 2015 08:08:22 +0000 (10:08 +0200)
commite5a9f8d04660da7ef3a98260aa74c3976f9cb4cd
treeb1497de1b8ffd34b991cdf6e21de1c7a0a65f1de
parent976bd9efdae6a844079ba4a7898a38d229ef246c
mac80211: move station statistics into sub-structs

Group station statistics by where they're (mostly) updated
(TX, RX and TX-status) and group them into sub-structs of
the struct sta_info.

Also rename the variables since the grouping now makes it
obvious where they belong.

This makes it easier to identify where the statistics are
updated in the code, and thus easier to think about them.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/debugfs_sta.c
net/mac80211/ethtool.c
net/mac80211/ibss.c
net/mac80211/mesh_hwmp.c
net/mac80211/mesh_plink.c
net/mac80211/ocb.c
net/mac80211/rx.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h
net/mac80211/status.c
net/mac80211/tx.c