339-cfg80211-add-radiotap-VHT-info-to-rtap_namespace_siz.patch 847 B

123456789101112131415161718192021
  1. From: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
  2. Date: Fri, 19 Feb 2016 11:43:04 +0100
  3. Subject: [PATCH] cfg80211: add radiotap VHT info to rtap_namespace_sizes
  4. Add IEEE80211_RADIOTAP_VHT entry to rtap_namespace_sizes array in order to
  5. define alignment and size of VHT info in tx radiotap
  6. Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
  7. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
  8. ---
  9. --- a/net/wireless/radiotap.c
  10. +++ b/net/wireless/radiotap.c
  11. @@ -43,6 +43,7 @@ static const struct radiotap_align_size
  12. [IEEE80211_RADIOTAP_DATA_RETRIES] = { .align = 1, .size = 1, },
  13. [IEEE80211_RADIOTAP_MCS] = { .align = 1, .size = 3, },
  14. [IEEE80211_RADIOTAP_AMPDU_STATUS] = { .align = 4, .size = 8, },
  15. + [IEEE80211_RADIOTAP_VHT] = { .align = 2, .size = 12, },
  16. /*
  17. * add more here as they are defined in radiotap.h
  18. */