mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Add hostap 802.11 media type.
From wi_hostap stuff by Thomas Skibo
This commit is contained in:
parent
4edac09c3e
commit
73ce5fac0e
1 changed files with 2 additions and 0 deletions
|
|
@ -178,6 +178,7 @@ int ifmedia_ioctl(struct ifnet *ifp, struct ifreq *ifr,
|
|||
#define IFM_IEEE80211_DS11 8 /* Direct Sequence 11Mbps */
|
||||
#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 */
|
||||
|
||||
/*
|
||||
* Shared media sub-types
|
||||
|
|
@ -375,6 +376,7 @@ struct ifmedia_description {
|
|||
|
||||
#define IFM_SUBTYPE_IEEE80211_OPTION_DESCRIPTIONS { \
|
||||
{ IFM_IEEE80211_ADHOC, "adhoc" }, \
|
||||
{ IFM_IEEE80211_HOSTAP, "hostap" }, \
|
||||
{ 0, NULL }, \
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue