summaryrefslogtreecommitdiff
path: root/sys/net/if_media.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-28 18:23:08 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-28 18:23:08 +0000
commitd59def876bbe41324bc247f84a23d89d5fdb4b7e (patch)
tree7fb4c686a15c7fd0ce892de32fdf91a2802b0552 /sys/net/if_media.h
parent289dfc780967b4da0f7dd57c6a47f8467d6ff6a3 (diff)
i forgot these for if_wi
Diffstat (limited to 'sys/net/if_media.h')
-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 4ab75610aa1..8726a19fb66 100644
--- a/sys/net/if_media.h
+++ b/sys/net/if_media.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_media.h,v 1.8 2002/03/14 01:27:09 millert Exp $ */
+/* $OpenBSD: if_media.h,v 1.9 2002/03/28 18:23:07 mickey Exp $ */
/* $NetBSD: if_media.h,v 1.22 2000/02/17 21:53:16 sommerfeld Exp $ */
/*-
@@ -213,6 +213,7 @@ int ifmedia_baudrate(int);
#define IFM_IEEE80211_DS11 7 /* Direct Sequence 11Mbps*/
#define IFM_IEEE80211_DS1 8 /* Direct Sequence 1Mbps*/
#define IFM_IEEE80211_ADHOC 0x100 /* Operate in Adhoc mode */
+#define IFM_IEEE80211_HOSTAP 0x200 /* Operate in Host AP mode */
/*
* Shared media sub-types
@@ -402,6 +403,7 @@ struct ifmedia_description {
{ IFM_FDDI|IFM_FDDI_DA, "das" }, \
\
{ IFM_IEEE80211|IFM_IEEE80211_ADHOC, "adhoc" }, \
+ { IFM_IEEE80211|IFM_IEEE80211_HOSTAP, "hostap" }, \
\
{ 0, NULL }, \
}