]> 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)
commit5cebf0558b531a10447e9c38e7a2e6282dee53e4
treeb1497de1b8ffd34b991cdf6e21de1c7a0a65f1de
parentdecfab854d6639be8b7794fe4d803ff81ccd44d9
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