summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_radiotap.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-01-11 01:09:08 +0000
committeradrian <adrian@FreeBSD.org>2012-01-11 01:09:08 +0000
commit5066d3d4e0d1e4fe3de910ae60f4a94b8e623b68 (patch)
tree874a5bda6c34bb7ae43ffb4342ea41ad7255fb09 /sys/net80211/ieee80211_radiotap.c
parent37abda79268d80eed2617d403ce64386743d3e9f (diff)
downloadFreeBSD-src-5066d3d4e0d1e4fe3de910ae60f4a94b8e623b68.zip
FreeBSD-src-5066d3d4e0d1e4fe3de910ae60f4a94b8e623b68.tar.gz
Add the MCS radiotype entry.
Diffstat (limited to 'sys/net80211/ieee80211_radiotap.c')
-rw-r--r--sys/net80211/ieee80211_radiotap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_radiotap.c b/sys/net80211/ieee80211_radiotap.c
index fc3dbdc..0ae6896 100644
--- a/sys/net80211/ieee80211_radiotap.c
+++ b/sys/net80211/ieee80211_radiotap.c
@@ -325,6 +325,10 @@ radiotap_offset(struct ieee80211_radiotap_header *rh, int item)
.align = sizeof(uint32_t),
.width = 2*sizeof(uint32_t),
},
+ [IEEE80211_RADIOTAP_MCS] = {
+ .align = sizeof(uint8_t),
+ .width = 3*sizeof(uint8_t),
+ },
};
uint32_t present = le32toh(rh->it_present);
int off, i;
OpenPOWER on IntegriCloud