]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: support per-TID station statistics
authorJohannes Berg <johannes.berg@intel.com>
Fri, 19 Dec 2014 11:34:00 +0000 (12:34 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Jan 2015 14:28:18 +0000 (15:28 +0100)
commitcbae8a0031558883e8849959727b9769f3efc776
tree257f8e2c3bb35c1049c1b860454973ce4108b159
parent2a00f8df305e0bed2ea5c31ec11ac2a46dfe7159
nl80211: support per-TID station statistics

The base for the current statistics is pretty mixed up, support
exporting RX/TX statistics for MSDUs per TID. This (currently)
covers received MSDUs, transmitted MSDUs and retries/failures
thereof.

Doing it per TID for MSDUs makes more sense than say only per AC
because it's symmetric - we could export per-AC statistics for all
frames (which AC we used for transmission can be determined also
for management frames) but per TID is better and usually data
frames are really the ones we care about. Also, on RX we can't
determine the AC - but we do know the TID for any QoS MPDU we
received.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c