mac80211: add separate last_ack variable
authorJohannes Berg <johannes.berg@intel.com>
Thu, 31 Mar 2016 17:02:07 +0000 (20:02 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Apr 2016 11:18:16 +0000 (13:18 +0200)
commitb8da6b6a99b4b0d8d464b621ba7dcbcb08172b7d
tree706ea11b5ad9ba42d8ea9d3e83dee162e8f1443f
parent2df8bfd7240117b91241a01e3f50f2e83827ccab
mac80211: add separate last_ack variable

Instead of touching the rx_stats.last_rx from the status path, introduce
and use a status_stats.last_ack variable. This will make rx_stats.last_rx
indicate when the last frame was received, making it available for real
"last_rx" and statistics gathering; statistics, when done per-CPU, will
need to figure out which place was updated last for those items where the
"last" value is exposed.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ibss.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h
net/mac80211/status.c