]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
cfg80211: add radiotap VHT info to rtap_namespace_sizes
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Fri, 19 Feb 2016 10:43:04 +0000 (11:43 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 24 Feb 2016 08:04:41 +0000 (09:04 +0100)
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>
net/wireless/radiotap.c

index 722da616438cd1e933fb4d5e60a2c4846f44d186..6582d155e2fce5417bc498a438ae9a19a3eca35f 100644 (file)
@@ -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
         */