]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: Add support for NL80211_STA_INFO_RX_DURATION netlink attribute
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Thu, 7 Apr 2016 14:30:20 +0000 (20:00 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 31 May 2016 09:39:42 +0000 (11:39 +0200)
commit045c1c6fd12b4b64bfb5774e2fe3008d791f8069
tree7035ca25e94c983629ce779db368684e412c84ee
parent7687d5963b5dcc1bb68a1ed8fe99d0a52b65d8b1
iw: Add support for NL80211_STA_INFO_RX_DURATION netlink attribute

Add support for new netlink attribute 'NL80211_STA_INFO_RX_DURATION'.
'NL80211_STA_INFO_RX_DURATION' accounts for aggregate PPDU duration
in microseconds for all the frames from a peer. Drivers can fill
'rx_duration' field and set the flag 'NL80211_STA_INFO_RX_DURATION'.
'rx_duration' will give an idea about the total time spent by our peer
with each of its connected peers.

This will get dumped as part of 'iw dev wlan#N station dump'

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
station.c