Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae293e2c authored by Will Huang's avatar Will Huang Committed by Gerrit - the friendly Code Review server
Browse files

qcacmn: Add bss membership selector defines 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
parent 08efbe22
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -204,9 +204,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) \