summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_radiotap.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2004-12-08 17:26:47 +0000
committersam <sam@FreeBSD.org>2004-12-08 17:26:47 +0000
commit2843bf259ec9ca475410e4e9e53e7cd47cd55333 (patch)
tree704c955cb68020dd8237664b417e3ee6141f028b /sys/net80211/ieee80211_radiotap.h
parentd9ec783dcb4653bc5f6993ab5f154827f5a58922 (diff)
downloadFreeBSD-src-2843bf259ec9ca475410e4e9e53e7cd47cd55333.zip
FreeBSD-src-2843bf259ec9ca475410e4e9e53e7cd47cd55333.tar.gz
Update 802.11 support; too much new functionality to fully describe
here but it includes completed 802.11g, WPA, 802.11i, 802.1x, WME/WMM, AP-side power-save, crypto plugin framework, authenticator plugin framework, and access control plugin frameowrk.
Diffstat (limited to 'sys/net80211/ieee80211_radiotap.h')
-rw-r--r--sys/net80211/ieee80211_radiotap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_radiotap.h b/sys/net80211/ieee80211_radiotap.h
index 68e9367..e36a911 100644
--- a/sys/net80211/ieee80211_radiotap.h
+++ b/sys/net80211/ieee80211_radiotap.h
@@ -46,11 +46,11 @@
* function of...") that I cannot set false expectations for lawyerly
* readers.
*/
-#ifdef _KERNEL
+#if defined(__KERNEL__) || defined(_KERNEL)
#ifndef DLT_IEEE802_11_RADIO
#define DLT_IEEE802_11_RADIO 127 /* 802.11 plus WLAN header */
#endif
-#endif /* _KERNEL */
+#endif /* defined(__KERNEL__) || defined(_KERNEL) */
/* The radio capture header precedes the 802.11 header. */
struct ieee80211_radiotap_header {
OpenPOWER on IntegriCloud