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

Commit 5f60fdf1 authored by wadesong's avatar wadesong Committed by Liangwei Dong
Browse files

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
parent c8e095d9
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -210,9 +210,15 @@
#define WLAN_HE_6GHZ_CHWIDTH_160_80_80    3 /* 160/80+80 MHz Oper Ch width */
#define WLAN_HE_6GHZ_CHWIDTH_160_80_80    3 /* 160/80+80 MHz Oper Ch width */


#define WLAN_RATE_VAL              0x7f
#define WLAN_RATE_VAL              0x7f
#define WLAN_BASIC_RATE_MASK       0x80


#define WLAN_RV(v)     ((v) & WLAN_RATE_VAL)
#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) \
#define WLAN_CHAN_IS_5GHZ(chanidx) \
	((chanidx > 30) ? true : false)
	((chanidx > 30) ? true : false)
#define WLAN_CHAN_IS_2GHZ(chanidx) \
#define WLAN_CHAN_IS_2GHZ(chanidx) \