mac80211: provide race-free 64-bit traffic counters
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Feb 2013 09:55:21 +0000 (10:55 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 7 Mar 2013 13:32:18 +0000 (14:32 +0100)
Make the TX bytes/packets counters race-free by keeping
them per AC so concurrent TX on queues can't cause lost
or wrong updates. This works since each station belongs
to a single interface. While at it also make the bytes
counters 64-bit.

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

Simple merge
Simple merge
Simple merge