summaryrefslogtreecommitdiffstats
path: root/net/wireless/radiotap.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>2016-02-19 11:43:04 +0100
committerJohannes Berg <johannes.berg@intel.com>2016-02-24 09:04:41 +0100
commit7837a7778268191dae5f6622f2b92b8b37cb8d7f (patch)
treed0b7601abde957a21a431f80902ff83de254be1f /net/wireless/radiotap.c
parent0c9ca11b1ae8eb16c1b6bbae91991392d2321372 (diff)
downloadlinux-stable-7837a7778268191dae5f6622f2b92b8b37cb8d7f.tar.gz
linux-stable-7837a7778268191dae5f6622f2b92b8b37cb8d7f.tar.bz2
linux-stable-7837a7778268191dae5f6622f2b92b8b37cb8d7f.zip
cfg80211: add radiotap VHT info to rtap_namespace_sizes
Add IEEE80211_RADIOTAP_VHT entry to rtap_namespace_sizes array in order to define alignment and size of VHT info in tx radiotap Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/radiotap.c')
-rw-r--r--net/wireless/radiotap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/radiotap.c b/net/wireless/radiotap.c
index 722da616438c..6582d155e2fc 100644
--- a/net/wireless/radiotap.c
+++ b/net/wireless/radiotap.c
@@ -43,6 +43,7 @@ static const struct radiotap_align_size rtap_namespace_sizes[] = {
[IEEE80211_RADIOTAP_DATA_RETRIES] = { .align = 1, .size = 1, },
[IEEE80211_RADIOTAP_MCS] = { .align = 1, .size = 3, },
[IEEE80211_RADIOTAP_AMPDU_STATUS] = { .align = 4, .size = 8, },
+ [IEEE80211_RADIOTAP_VHT] = { .align = 2, .size = 12, },
/*
* add more here as they are defined in radiotap.h
*/