qcacmn: Define macro for maximum mcs value for 11AX and 11BE

Define macro for maximum mcs values for 11AX and 11BE.
Also move bandwidth enums to cdp header file.

Change-Id: Ic24b9fa459b160702fa35162955c6bcdf678c97f
CRs-Fixed: 3134964
This commit is contained in:
Harsh Kumar Bijlani
2022-02-21 13:54:12 +05:30
committed by Madan Koyyalamudi
parent ff71f151fc
commit a8a078e59a
3 changed files with 16 additions and 21 deletions

View File

@@ -22,22 +22,6 @@
#define CMN_DP_ASSERT(__bool)
/*
*Band Width Types
*/
enum CMN_BW_TYPES {
CMN_BW_20MHZ,
CMN_BW_40MHZ,
CMN_BW_80MHZ,
CMN_BW_160MHZ,
CMN_BW_80_80MHZ,
#ifdef WLAN_FEATURE_11BE
CMN_BW_320MHZ,
#endif
CMN_BW_CNT,
CMN_BW_IDLE = 0xFF, /*default BW state */
};
/*
* Modes Types
*/

View File

@@ -95,11 +95,20 @@ enum {
CDP_RX_TYPE_MU_OFDMA_MIMO,
};
enum {
CDP_FULL_RX_BW_20 = 0,
CDP_FULL_RX_BW_40,
CDP_FULL_RX_BW_80,
CDP_FULL_RX_BW_160,
/*
*Band Width Types
*/
enum CMN_BW_TYPES {
CMN_BW_20MHZ,
CMN_BW_40MHZ,
CMN_BW_80MHZ,
CMN_BW_160MHZ,
CMN_BW_80_80MHZ,
#ifdef WLAN_FEATURE_11BE
CMN_BW_320MHZ,
#endif
CMN_BW_CNT,
CMN_BW_IDLE = 0xFF, /*default BW state */
};
struct cdp_mon_status {

View File

@@ -46,12 +46,14 @@
/* 1 additional MCS is for invalid values */
#ifdef WLAN_FEATURE_11BE
#define MAX_MCS (16 + 1)
#define MAX_MCS_11BE 16
#else
#define MAX_MCS (14 + 1)
#endif
#define MAX_MCS_11A 8
#define MAX_MCS_11B 7
#define MAX_MCS_11AC 12
#define MAX_MCS_11AX 14
/* 1 additional GI is for invalid values */
#define MAX_GI (4 + 1)
#define SS_COUNT 8