mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 06:12:01 +01:00
Add a check for dynamic OFDM/CCK channel types.
This commit is contained in:
parent
df91468216
commit
64f3cab069
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=237871
@ -242,6 +242,8 @@ struct ieee80211_channel {
|
||||
(((_c)->ic_flags & (IEEE80211_CHAN_OFDM | IEEE80211_CHAN_DYN)) != 0)
|
||||
#define IEEE80211_IS_CHAN_CCK(_c) \
|
||||
(((_c)->ic_flags & (IEEE80211_CHAN_CCK | IEEE80211_CHAN_DYN)) != 0)
|
||||
#define IEEE80211_IS_CHAN_DYN(_c) \
|
||||
(((_c)->ic_flags & IEEE80211_CHAN_DYN) == IEEE80211_CHAN_DYN)
|
||||
#define IEEE80211_IS_CHAN_GFSK(_c) \
|
||||
(((_c)->ic_flags & IEEE80211_CHAN_GFSK) != 0)
|
||||
#define IEEE80211_IS_CHAN_TURBO(_c) \
|
||||
|
Loading…
Reference in New Issue
Block a user