diff options
author | sam <sam@FreeBSD.org> | 2005-12-12 17:57:00 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-12-12 17:57:00 +0000 |
commit | 8c5ce57de47aee09b1f0055747544c25e39f41e5 (patch) | |
tree | 5bda2a31a398bdc8de9b5511d40e67f9f7499a95 | |
parent | 9b57399d9c80a38cd6b74718b6d472674344b49a (diff) | |
download | FreeBSD-src-8c5ce57de47aee09b1f0055747544c25e39f41e5.zip FreeBSD-src-8c5ce57de47aee09b1f0055747544c25e39f41e5.tar.gz |
add some useful definitions that'll be used soon
-rw-r--r-- | sys/net80211/_ieee80211.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/net80211/_ieee80211.h b/sys/net80211/_ieee80211.h index 24da6ff..0872c5d 100644 --- a/sys/net80211/_ieee80211.h +++ b/sys/net80211/_ieee80211.h @@ -142,6 +142,12 @@ struct ieee80211_channel { #define IEEE80211_CHAN_108G \ (IEEE80211_CHAN_2GHZ | IEEE80211_CHAN_OFDM | IEEE80211_CHAN_TURBO) +#define IEEE80211_CHAN_ALL \ + (IEEE80211_CHAN_2GHZ | IEEE80211_CHAN_5GHZ | IEEE80211_CHAN_GFSK | \ + IEEE80211_CHAN_CCK | IEEE80211_CHAN_OFDM | IEEE80211_CHAN_DYN) +#define IEEE80211_CHAN_ALLTURBO \ + (IEEE80211_CHAN_ALL | IEEE80211_CHAN_TURBO) + #define IEEE80211_IS_CHAN_FHSS(_c) \ (((_c)->ic_flags & IEEE80211_CHAN_FHSS) == IEEE80211_CHAN_FHSS) #define IEEE80211_IS_CHAN_A(_c) \ |