summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_var.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-07-21 02:49:42 +0000
committersam <sam@FreeBSD.org>2003-07-21 02:49:42 +0000
commit7629ee78c2690dbb82ef90911af70cefaa3d3abe (patch)
tree8060f11bec255543e1af7e87e47197b4051ca598 /sys/net80211/ieee80211_var.h
parent814422725b8d31c1541f7e4484bbb66250f11f73 (diff)
downloadFreeBSD-src-7629ee78c2690dbb82ef90911af70cefaa3d3abe.zip
FreeBSD-src-7629ee78c2690dbb82ef90911af70cefaa3d3abe.tar.gz
add monitor mode
Diffstat (limited to 'sys/net80211/ieee80211_var.h')
-rw-r--r--sys/net80211/ieee80211_var.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h
index 2b2f0b0..af47773 100644
--- a/sys/net80211/ieee80211_var.h
+++ b/sys/net80211/ieee80211_var.h
@@ -70,7 +70,8 @@ enum ieee80211_opmode {
IEEE80211_M_STA = 1, /* infrastructure station */
IEEE80211_M_IBSS = 0, /* IBSS (adhoc) station */
IEEE80211_M_AHDEMO = 3, /* Old lucent compatible adhoc demo */
- IEEE80211_M_HOSTAP = 6 /* Software Access Point */
+ IEEE80211_M_HOSTAP = 6, /* Software Access Point */
+ IEEE80211_M_MONITOR = 8 /* Monitor mode */
};
/*
@@ -222,6 +223,7 @@ struct ieee80211com {
#define IEEE80211_C_TXPMGT 0x00000040 /* CAPABILITY: tx power mgmt */
#define IEEE80211_C_SHSLOT 0x00000080 /* CAPABILITY: short slottime */
#define IEEE80211_C_SHPREAMBLE 0x00000100 /* CAPABILITY: short preamble */
+#define IEEE80211_C_MONITOR 0x00000200 /* CAPABILITY: monitor mode */
/* flags for ieee80211_fix_rate() */
#define IEEE80211_F_DOSORT 0x00000001 /* sort rate list */
OpenPOWER on IntegriCloud