diff options
author | imp <imp@FreeBSD.org> | 2002-05-07 18:16:39 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-05-07 18:16:39 +0000 |
commit | 95ebf4bebbc67d7cc3cc35968c894076a2e81651 (patch) | |
tree | a5953824157d174b0efda5af5904e68fe55df117 /sys | |
parent | 186864a31c71ad217e013a85742d2b83f95f278b (diff) | |
download | FreeBSD-src-95ebf4bebbc67d7cc3cc35968c894076a2e81651.zip FreeBSD-src-95ebf4bebbc67d7cc3cc35968c894076a2e81651.tar.gz |
MFOpenBSD: ibss and ibss-master.
ibss is the modern ad-hoc mode. ibss-master is the same, except that
it creates the ibss network. This distinction is necessary because
some supported cards (symbol) support the former without supporting
the latter.
A seprate commit will introduce a demo-adhoc mode so that we can
disentwingle the multiple, mutually exclusive meandings of adhoc in
the present state of affairs.
Submitted by: jhay
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_media.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h index 03941d8..2676600 100644 --- a/sys/net/if_media.h +++ b/sys/net/if_media.h @@ -180,6 +180,8 @@ int ifmedia_ioctl(struct ifnet *ifp, struct ifreq *ifr, #define IFM_IEEE80211_DS22 9 /* Direct Sequence 22Mbps */ #define IFM_IEEE80211_ADHOC 0x00000100 /* Operate in Adhoc mode */ #define IFM_IEEE80211_HOSTAP 0x00000200 /* Operate in Host AP mode */ +#define IFM_IEEE80211_IBSS 0x00000400 /* Operate in IBSS mode */ +#define IFM_IEEE80211_IBSSMASTER 0x00000800 /* Operate as an IBSS master */ /* * Shared media sub-types @@ -377,6 +379,8 @@ struct ifmedia_description { #define IFM_SUBTYPE_IEEE80211_OPTION_DESCRIPTIONS { \ { IFM_IEEE80211_ADHOC, "adhoc" }, \ { IFM_IEEE80211_HOSTAP, "hostap" }, \ + { IFM_IEEE80211_IBSS, "ibss" }, \ + { IFM_IEEE80211_IBSSMASTER, "ibss-master" }, \ { 0, NULL }, \ } |