summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-08-24 12:23:58 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-08-24 12:23:58 +0000
commit12ffd26cc538e865e25a12264d55af13f09c6997 (patch)
treefb6f5c2a2cef6a2a5356e0f7eef96504e9be7f0b /sys/net
parent57a8da4451d266f1c20587632c1da7a7e62e375f (diff)
defines and struct for the ieee80211 framework; deraadt@ ok.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_media.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h
index 5b3eda3ca79..5e8dd5f1b28 100644
--- a/sys/net/if_media.h
+++ b/sys/net/if_media.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_media.h,v 1.11 2002/11/26 06:01:28 nate Exp $ */
+/* $OpenBSD: if_media.h,v 1.12 2003/08/24 12:23:57 fgsch Exp $ */
/* $NetBSD: if_media.h,v 1.22 2000/02/17 21:53:16 sommerfeld Exp $ */
/*-
@@ -217,6 +217,7 @@ int ifmedia_baudrate(int);
#define IFM_IEEE80211_HOSTAP 0x200 /* Operate in Host AP mode */
#define IFM_IEEE80211_IBSS 0x400 /* Operate in IBSS mode */
#define IFM_IEEE80211_IBSSMASTER 0x800 /* Operate as an IBSS master */
+#define IFM_IEEE80211_MONITOR 0x1000 /* Operate in Monitor mode */
/*
* Shared media sub-types
@@ -411,6 +412,7 @@ struct ifmedia_description {
{ IFM_IEEE80211|IFM_IEEE80211_HOSTAP, "hostap" }, \
{ IFM_IEEE80211|IFM_IEEE80211_IBSS, "ibss" }, \
{ IFM_IEEE80211|IFM_IEEE80211_IBSSMASTER, "ibss-master" }, \
+ { IFM_IEEE80211|IFM_IEEE80211_MONITOR, "monitor" }, \
\
{ 0, NULL }, \
}