From 43b27a4d763a19fe7f17d17b51864a649c25f95e Mon Sep 17 00:00:00 2001 From: fjoe Date: Tue, 13 Apr 2004 19:23:46 +0000 Subject: Add Direct Sequence 354K and 512K (needed for arl(4)). --- sys/net/if_media.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys/net/if_media.h b/sys/net/if_media.h index 59ae4fe..c7ec1e8 100644 --- a/sys/net/if_media.h +++ b/sys/net/if_media.h @@ -189,6 +189,8 @@ int ifmedia_ioctl(struct ifnet *ifp, struct ifreq *ifr, #define IFM_IEEE80211_OFDM48 16 /* OFDM 48Mbps */ #define IFM_IEEE80211_OFDM54 17 /* OFDM 54Mbps */ #define IFM_IEEE80211_OFDM72 18 /* OFDM 72Mbps */ +#define IFM_IEEE80211_DS354k 19 /* Direct Sequence 354Kbps */ +#define IFM_IEEE80211_DS512k 20 /* Direct Sequence 512Kbps */ #define IFM_IEEE80211_ADHOC 0x00000100 /* Operate in Adhoc mode */ #define IFM_IEEE80211_HOSTAP 0x00000200 /* Operate in Host AP mode */ @@ -408,6 +410,8 @@ struct ifmedia_description { { IFM_IEEE80211_OFDM48, "OFDM/48Mbps" }, \ { IFM_IEEE80211_OFDM54, "OFDM/54Mbps" }, \ { IFM_IEEE80211_OFDM72, "OFDM/72Mbps" }, \ + { IFM_IEEE80211_DS354k, "DS/354Kbps" }, \ + { IFM_IEEE80211_DS512k, "DS/512Kbps" }, \ { 0, NULL }, \ } @@ -439,6 +443,10 @@ struct ifmedia_description { { IFM_IEEE80211_DS2, "CCK2" }, \ { IFM_IEEE80211_DS5, "CCK5.5" }, \ { IFM_IEEE80211_DS11, "CCK11" }, \ + { IFM_IEEE80211_DS354k, "DS354K" }, \ + { IFM_IEEE80211_DS354k, "DirectSequence/354Kbps" }, \ + { IFM_IEEE80211_DS512k, "DS512K" }, \ + { IFM_IEEE80211_DS512k, "DirectSequence/512Kbps" }, \ { 0, NULL }, \ } -- cgit v1.1