summaryrefslogtreecommitdiff
path: root/net/wireless/radiotap.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-07-05 13:32:16 +0400
committerJohannes Berg <johannes.berg@intel.com>2012-08-20 15:53:09 +0400
commit48613ece3d6a2613caa376f51477435cc080f3cd (patch)
treeeb866526c28dd120c7da176c3140151b3ed06c96 /net/wireless/radiotap.c
parente687f61eedab8895e5669cb82cebe0253631cd8c (diff)
downloadlinux-48613ece3d6a2613caa376f51477435cc080f3cd.tar.xz
wireless: add radiotap A-MPDU status field
Define the A-MPDU status field in radiotap, also update the radiotap parser for it and the MCS field that was apparently missed last time. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/radiotap.c')
-rw-r--r--net/wireless/radiotap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/radiotap.c b/net/wireless/radiotap.c
index c4ad7958af52..7d604c06c3dc 100644
--- a/net/wireless/radiotap.c
+++ b/net/wireless/radiotap.c
@@ -41,6 +41,8 @@ static const struct radiotap_align_size rtap_namespace_sizes[] = {
[IEEE80211_RADIOTAP_TX_FLAGS] = { .align = 2, .size = 2, },
[IEEE80211_RADIOTAP_RTS_RETRIES] = { .align = 1, .size = 1, },
[IEEE80211_RADIOTAP_DATA_RETRIES] = { .align = 1, .size = 1, },
+ [IEEE80211_RADIOTAP_MCS] = { .align = 1, .size = 3, },
+ [IEEE80211_RADIOTAP_AMPDU_STATUS] = { .align = 4, .size = 8, },
/*
* add more here as they are defined in radiotap.h
*/