summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-02-24 05:33:11 +0000
committeradrian <adrian@FreeBSD.org>2012-02-24 05:33:11 +0000
commitadbf4b3074d8710ed88ef5fa661fdfa6f3562904 (patch)
tree5984ba02e38820db2636f521964518172fde1966 /sys/net80211
parentb7a3389035ea2e238bc89b642a0b83e4e5e8023c (diff)
downloadFreeBSD-src-adbf4b3074d8710ed88ef5fa661fdfa6f3562904.zip
FreeBSD-src-adbf4b3074d8710ed88ef5fa661fdfa6f3562904.tar.gz
Add a radiotap vendor header definition.
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_radiotap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_radiotap.h b/sys/net80211/ieee80211_radiotap.h
index 0c2c6b5..f11ba73 100644
--- a/sys/net80211/ieee80211_radiotap.h
+++ b/sys/net80211/ieee80211_radiotap.h
@@ -54,6 +54,12 @@
#define IEEE80211_RADIOTAP_HDRLEN 64 /* XXX deprecated */
+struct ieee80211_radiotap_vendor_header {
+ uint8_t vh_oui[3]; /* 3 byte vendor OUI */
+ uint8_t vh_sub_ns; /* Sub namespace of this section */
+ uint16_t vh_skip_len; /* Length of this vendor section */
+} __packed;
+
/*
* The radio capture header precedes the 802.11 header.
*
OpenPOWER on IntegriCloud