diff options
author | sam <sam@FreeBSD.org> | 2007-02-02 02:45:33 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2007-02-02 02:45:33 +0000 |
commit | fe499355a44bfeeb93443815c8a15c52d4d0d112 (patch) | |
tree | df0b418a47f2fa9168fb12ea1f4dce27630771be /sys/net80211 | |
parent | 9b195917de54cda7c59c8d15f8bde39b31af2e4c (diff) | |
download | FreeBSD-src-fe499355a44bfeeb93443815c8a15c52d4d0d112.zip FreeBSD-src-fe499355a44bfeeb93443815c8a15c52d4d0d112.tar.gz |
add IEEE80211_IS_CHAN_PASSIVE
MFC after: 1 week
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/_ieee80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net80211/_ieee80211.h b/sys/net80211/_ieee80211.h index 4f3fe29..04a5e7e 100644 --- a/sys/net80211/_ieee80211.h +++ b/sys/net80211/_ieee80211.h @@ -186,6 +186,8 @@ struct ieee80211_channel { (((_c)->ic_flags & (IEEE80211_CHAN_QUARTER | IEEE80211_CHAN_HALF)) == 0) #define IEEE80211_IS_CHAN_GSM(_c) \ (((_c)->ic_flags & IEEE80211_CHAN_GSM) != 0) +#define IEEE80211_IS_CHAN_PASSIVE(_c) \ + (((_c)->ic_flags & IEEE80211_CHAN_PASSIVE) != 0) /* ni_chan encoding for FH phy */ #define IEEE80211_FH_CHANMOD 80 |