qcacmn: Add bss membership selectors to wlan_cmn_ieee80211.h

These defines are used by Supported Rates or Extended Supported Rates
IE to set additional information beside rate.

Change-Id: I44eac41a9a07d368a6fe3abc76e341915b3249b9
CRs-Fixed: 3034939
This commit is contained in:
wadesong 2021-09-13 13:05:06 +08:00 • committed by Liangwei Dong
commit 5f60fdf1a3

View file

@ -210,9 +210,15 @@
#define WLAN_HE_6GHZ_CHWIDTH_160_80_80 3 /* 160/80+80 MHz Oper Ch width */
#define WLAN_RATE_VAL 0x7f
#define WLAN_BASIC_RATE_MASK 0x80
#define WLAN_RV(v) ((v) & WLAN_RATE_VAL)
#define WLAN_BSS_MEMBERSHIP_SELECTOR_HT_PHY 127
#define WLAN_BSS_MEMBERSHIP_SELECTOR_VHT_PHY 126
#define WLAN_BSS_MEMBERSHIP_SELECTOR_SAE_H2E 123
#define WLAN_BSS_MEMBERSHIP_SELECTOR_HE_PHY 122
#define WLAN_CHAN_IS_5GHZ(chanidx) \
((chanidx > 30) ? true : false)
#define WLAN_CHAN_IS_2GHZ(chanidx) \