diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2003-07-21 02:49:42 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2003-07-21 02:49:42 +0000 |
| commit | 2bbe529d9cf901b7add15e131d90b2f644e3bf28 (patch) | |
| tree | 8060f11bec255543e1af7e87e47197b4051ca598 /sys/net | |
| parent | 78c3dbd90910f2ccb342b9a4da2a24fe4a51a0c0 (diff) | |
Notes
Diffstat (limited to 'sys/net')
| -rw-r--r-- | sys/net/if_media.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h index 49a41b074b02..efaa36a3a75d 100644 --- a/sys/net/if_media.h +++ b/sys/net/if_media.h @@ -194,6 +194,7 @@ int ifmedia_ioctl(struct ifnet *ifp, struct ifreq *ifr, #define IFM_IEEE80211_IBSS 0x00000400 /* Operate in IBSS mode */ #define IFM_IEEE80211_IBSSMASTER 0x00000800 /* Operate as an IBSS master */ #define IFM_IEEE80211_TURBO 0x00001000 /* Operate in turbo mode */ +#define IFM_IEEE80211_MONITOR 0x00002000 /* Operate in monitor mode */ /* operating mode for multi-mode devices */ #define IFM_IEEE80211_11A 1 /* 5Ghz, OFDM mode */ #define IFM_IEEE80211_11B 2 /* Direct Sequence mode */ @@ -443,6 +444,7 @@ struct ifmedia_description { { IFM_IEEE80211_IBSS, "ibss" }, \ { IFM_IEEE80211_IBSSMASTER, "ibss-master" }, \ { IFM_IEEE80211_TURBO, "turbo" }, \ + { IFM_IEEE80211_MONITOR, "monitor" }, \ { 0, NULL }, \ } |
