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

Commit 635a0760 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 a45a86d7
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -190,9 +190,15 @@
#define WLAN_VHTOP_CHWIDTH_REVSIG_80_80  1

#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) \