]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9a2ca607598af6d80ba7899255733c63437c7dca
treeb1497de1b8ffd34b991cdf6e21de1c7a0a65f1de
parent719cdcbaaad573d5401c1f60f31652ddef6a142f
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