summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2004-04-13 19:23:46 +0000
committerfjoe <fjoe@FreeBSD.org>2004-04-13 19:23:46 +0000
commit43b27a4d763a19fe7f17d17b51864a649c25f95e (patch)
tree3ad8ee56fca1e18a0772c6fcc7a98eb1942b0ba7 /sys/net
parente745908f3556604c031d8de9b7d15b371a426ae9 (diff)
downloadFreeBSD-src-43b27a4d763a19fe7f17d17b51864a649c25f95e.zip
FreeBSD-src-43b27a4d763a19fe7f17d17b51864a649c25f95e.tar.gz
Add Direct Sequence 354K and 512K (needed for arl(4)).
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_media.h8
1 files changed, 8 insertions, 0 deletions
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 }, \
}
OpenPOWER on IntegriCloud