Re: [PATCH v2 2/2] mac80211: parse VHT info in injected frames
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2016-02-23 10:10:52
On Fri, 2016-02-19 at 11:43 +0100, Lorenzo Bianconi wrote:
quoted hunk ↗ jump to hunk
Add VHT radiotap parsing support to ieee80211_parse_tx_radiotap(). That capability has been tested using a d-link dir-860l rev b1 running OpenWrt trunk and mt76 driver Signed-off-by: Lorenzo Bianconi <redacted> --- Documentation/networking/mac80211-injection.txt | 10 ++++++++ net/mac80211/tx.c | 31 +++++++++++++++++++++++++ 2 files changed, 41 insertions(+)diff --git a/Documentation/networking/mac80211-injection.txtb/Documentation/networking/mac80211-injection.txt index ec8f934..ef57cc0 100644--- a/Documentation/networking/mac80211-injection.txt +++ b/Documentation/networking/mac80211-injection.txt@@ -45,6 +45,16 @@ radiotap headers and used to control injection:number of retries when either IEEE80211_RADIOTAP_RATE or IEEE80211_RADIOTAP_MCS was used + * IEEE80211_RADIOTAP_VHT + + VHT rate for the transmission (only for devices without own rate control). + Also some flags are parsed + + IEEE80211_TX_RC_SHORT_GI: use short guard interval + IEEE80211_TX_RC_40_MHZ_WIDTH: send in HT40 mode + IEEE80211_TX_RC_80_MHZ_WIDTH: send in HT80 mode + IEEE80211_TX_RC_160_MHZ_WIDTH: send in HT160 mode
This makes no sense, those are mac80211 internal flags, should document the radiotap flags here, not what they map to internally. johannes