[net80211] add CHAN_VHT2G/CHAN_VHT5G macros.
This commit is contained in:
parent
8fde59a7da
commit
94338935ee
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=311857
@ -313,6 +313,12 @@ struct ieee80211_channel {
|
||||
|
||||
#define IEEE80211_IS_CHAN_VHT(_c) \
|
||||
(((_c)->ic_flags & IEEE80211_CHAN_VHT) != 0)
|
||||
#define IEEE80211_IS_CHAN_VHT_2GHZ(_c) \
|
||||
(IEEE80211_IS_CHAN_2GHZ(_c) && \
|
||||
((_c)->ic_flags & IEEE80211_CHAN_VHT) != 0)
|
||||
#define IEEE80211_IS_CHAN_VHT_5GHZ(_c) \
|
||||
(IEEE80211_IS_CHAN_5GHZ(_c) && \
|
||||
((_c)->ic_flags & IEEE80211_CHAN_VHT) != 0)
|
||||
#define IEEE80211_IS_CHAN_VHT20(_c) \
|
||||
(((_c)->ic_flags & IEEE80211_CHAN_VHT20) != 0)
|
||||
#define IEEE80211_IS_CHAN_VHT40(_c) \
|
||||
|
Loading…
Reference in New Issue
Block a user