diff options
| author | Warner Losh <imp@FreeBSD.org> | 2002-05-07 18:16:39 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2002-05-07 18:16:39 +0000 |
| commit | f6462e80ace78c638facefb4caf1acb243d090ad (patch) | |
| tree | a5953824157d174b0efda5af5904e68fe55df117 /sys/net | |
| parent | f0a8d5cb6cbfb170f21607e677f8c796bce09c71 (diff) | |
Notes
Diffstat (limited to 'sys/net')
| -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 03941d8a115b..26766001b4e8 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 }, \ } |
