mac80211: report some VHT radiotap infos for tx status
authorKarl Beldan <karl.beldan@rivierawaves.com>
Sat, 27 Jul 2013 09:47:04 +0000 (11:47 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 1 Aug 2013 08:49:04 +0000 (10:49 +0200)
commita824131017a2c3c8f275c6eb46740cfb8a43f7c5
treef6d634a12d72cbd6dd7b5d38457b28a2604445cc
parent9e2bc79bce58a1ce0005015c9351b3bcaaa02e5c
mac80211: report some VHT radiotap infos for tx status

The radiotap VHT info is 12 bytes (required to be aligned on 2) :
u16 known - IEEE80211_RADIOTAP_VHT_KNOWN_*
u8 flags - IEEE80211_RADIOTAP_VHT_FLAG_*
u8 bandwidth
u8 mcs_nss[4]
u8 coding
u8 group_id
u16 partial_aid

ATM mac80211 can handle IEEE80211_RADIOTAP_VHT_KNOWN_{GI,BANDWIDTH} and
mcs_nss[0] (i.e single user) in simple cases.
This is more a placeholder to let sniffers give more clues for VHT,
since we don't have yet the proper infrastructure/conventions
in mac80211 for complete feedback (e.g consider dynamic BW).

Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/status.c