diff options
| author | Zhang Qian <zhangq@codeaurora.org> | 2019-04-04 16:14:07 +0800 |
|---|---|---|
| committer | Zhang Qian <zhangq@codeaurora.org> | 2019-04-11 17:55:18 +0800 |
| commit | 0263cba29b42c11240cf70b19de7febbbf7fcede (patch) | |
| tree | f3b6201e4d146a08db80e8adfabcec3b93922336 | |
| parent | 48a705b7a7a3eb3bcd91ae39ffc1b5f943ca7e13 (diff) | |
qcacld-2.0: CL 6438294 - Update fw common interface files
WMI: add more WMi_HECAP_xxx macros (D2, D3 versions)
Change-Id: Ia495cd5423f02539ab16af68f1e6573de33c2d63
CRs-Fixed: 2433619
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_unified.h | 59 | ||||
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_version.h | 2 |
2 files changed, 57 insertions, 4 deletions
diff --git a/CORE/SERVICES/COMMON/wmi_unified.h b/CORE/SERVICES/COMMON/wmi_unified.h index 259bc4c361e8..ce718cbaf055 100644 --- a/CORE/SERVICES/COMMON/wmi_unified.h +++ b/CORE/SERVICES/COMMON/wmi_unified.h @@ -8547,6 +8547,7 @@ typedef struct { #define WMI_HECAP_PHY_40MHZNSS_GET_D2(he_cap_phy)(0) #define WMI_HECAP_PHY_40MHZNSS_SET_D2(he_cap_phy, value) {;} + /* START TEMPORARY WORKAROUND - * Leave legacy names as aliases for new names, until all references to the * legacy names have been removed. @@ -8574,6 +8575,24 @@ typedef struct { #define WMI_HECAP_PHY_NSTSGT80MHZ_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 8, 3) #define WMI_HECAP_PHY_NSTSGT80MHZ_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 8, 3, value) +/* + * Indicates the spatial multiplexing power save mode after receiving a + * Trigger frame that is in operation immediately after (re)association. + */ +#define WMI_HECAP_MAC_DYNSMPWRSAVE_GET_D2(he_cap2) (0) +#define WMI_HECAP_MAC_DYNSMPWRSAVE_SET_D2(he_cap2, value) {;} + +/* Indicates support for Punctured Sounding */ +#define WMI_HECAP_MAC_PUNCSOUNDING_GET_D2(he_cap2) (0) +#define WMI_HECAP_MAC_PUNCSOUNDING_SET_D2(he_cap2, value) {;} + +/* + * Indicates support for receiving a Trigger frame in an HT PPDU and + * receiving a Trigger frame in a VHT PPDU + */ +#define WMI_HECAP_MAC_HTVHTTRIGRX_GET_D2(he_cap2) (0) +#define WMI_HECAP_MAC_HTVHTTRIGRX_SET_D2(he_cap2, value) {;} + #define WMI_GET_HW_RATECODE_PREAM_V1(_rcode) (((_rcode) >> 8) & 0x7) #define WMI_GET_HW_RATECODE_NSS_V1(_rcode) (((_rcode) >> 5) & 0x7) #define WMI_GET_HW_RATECODE_RATE_V1(_rcode) (((_rcode) >> 0) & 0x1F) @@ -25023,7 +25042,11 @@ typedef struct { #define WMI_HECAP_PHY_LTFGIFORNDP_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 17, 1) #define WMI_HECAP_PHY_LTFGIFORNDP_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 17, 1, value) -/* indicates support for the transmission of HE PPDUs using STBC with one spatial stream for <= 80MHz Tx */ +/* + * indicates support for the transmission of an HE TB PPDU that has a + * bandwidth less than or equal to 80 MHz and is using STBC and with + * one spatial stream + */ #define WMI_HECAP_PHY_TXSTBC_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 18, 1) #define WMI_HECAP_PHY_TXSTBC_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 18, 1, value) @@ -25510,6 +25533,22 @@ typedef struct { #define WMI_HECAP_MAC_OMCULMUDDIS_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 12, 1) #define WMI_HECAP_MAC_OMCULMUDDIS_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 12, 1, value) +/* Indicates the spatial multiplexing power save mode after receiving a + * Trigger frame that is in operation immediately after (re)association. + */ +#define WMI_HECAP_MAC_DYNSMPWRSAVE_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 13, 1) +#define WMI_HECAP_MAC_DYNSMPWRSAVE_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 13, 1, value) + +/* Indicates support for Punctured Sounding */ +#define WMI_HECAP_MAC_PUNCSOUNDING_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 14, 1) +#define WMI_HECAP_MAC_PUNCSOUNDING_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 14, 1, value) + +/* Indicates support for receiving a Trigger frame in an HT PPDU and + * receiving a Trigger frame in a VHT PPDU + */ +#define WMI_HECAP_MAC_HTVHTTRIGRX_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 15, 1) +#define WMI_HECAP_MAC_HTVHTTRIGRX_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 15, 1, value) + /* * The following conditionally-defined macros can be used in systems * which only support either 802.11ax draft 2 or 802.11ax draft 3, @@ -25730,6 +25769,12 @@ typedef struct { #define WMI_HECAP_MAC_HELKAD_SET(he_cap, value) /* DEPRECATED, DO NOT USE */ #define WMI_HECAP_PHY_MIDAMBLERXMAXNSTS_GET WMI_HECAP_PHY_MIDAMBLETXRXMAXNSTS_GET_D3 /* DEPRECATED - DO NOT USE */ #define WMI_HECAP_PHY_MIDAMBLERXMAXNSTS_SET WMI_HECAP_PHY_MIDAMBLETXRXMAXNSTS_SET_D3 /* DEPRECATED - DO NOT USE */ + #define WMI_HECAP_MAC_DYNSMPWRSAVE_GET WMI_HECAP_MAC_DYNSMPWRSAVE_GET_D3 + #define WMI_HECAP_MAC_DYNSMPWRSAVE_SET WMI_HECAP_MAC_DYNSMPWRSAVE_SET_D3 + #define WMI_HECAP_MAC_PUNCSOUNDING_GET WMI_HECAP_MAC_PUNCSOUNDING_GET_D3 + #define WMI_HECAP_MAC_PUNCSOUNDING_SET WMI_HECAP_MAC_PUNCSOUNDING_SET_D3 + #define WMI_HECAP_MAC_HTVHTTRIGRX_GET WMI_HECAP_MAC_HTVHTTRIGRX_GET_D3 + #define WMI_HECAP_MAC_HTVHTTRIGRX_SET WMI_HECAP_MAC_HTVHTTRIGRX_SET_D3 #else /* SUPPORT_11AX_D3 vs. D2 */ /* D2 and D2- */ #define WMI_HEOPS_COLOR_GET WMI_HEOPS_COLOR_GET_D2 @@ -25932,18 +25977,26 @@ typedef struct { #define WMI_HECAP_PHY_NSTSLT80MHZ_SET WMI_HECAP_PHY_NSTSLT80MHZ_SET_D2 #define WMI_HECAP_PHY_NSTSGT80MHZ_GET WMI_HECAP_PHY_NSTSGT80MHZ_GET_D2 #define WMI_HECAP_PHY_NSTSGT80MHZ_SET WMI_HECAP_PHY_NSTSGT80MHZ_SET_D2 + #define WMI_HECAP_MAC_DYNSMPWRSAVE_GET WMI_HECAP_MAC_DYNSMPWRSAVE_GET_D2 + #define WMI_HECAP_MAC_DYNSMPWRSAVE_SET WMI_HECAP_MAC_DYNSMPWRSAVE_SET_D2 + #define WMI_HECAP_MAC_PUNCSOUNDING_GET WMI_HECAP_MAC_PUNCSOUNDING_GET_D2 + #define WMI_HECAP_MAC_PUNCSOUNDING_SET WMI_HECAP_MAC_PUNCSOUNDING_SET_D2 + #define WMI_HECAP_MAC_HTVHTTRIGRX_GET WMI_HECAP_MAC_HTVHTTRIGRX_GET_D2 + #define WMI_HECAP_MAC_HTVHTTRIGRX_SET WMI_HECAP_MAC_HTVHTTRIGRX_SET_D2 #endif /* SUPPORT_11AX_D3 */ + + /* ADD NEW DEFS HERE */ + /***************************************************************************** * The following structures are deprecated. DO NOT USE THEM! */ - /** Max number of channels in the schedule. */ #define OCB_CHANNEL_MAX (5) -/* NOTE: Make sure these data structures are identical to those 9235 +/* NOTE: Make sure these data structures are identical to those * defined in sirApi.h */ typedef struct diff --git a/CORE/SERVICES/COMMON/wmi_version.h b/CORE/SERVICES/COMMON/wmi_version.h index 23a5b09852eb..46adf59b8e8d 100644 --- a/CORE/SERVICES/COMMON/wmi_version.h +++ b/CORE/SERVICES/COMMON/wmi_version.h @@ -36,7 +36,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 624 +#define __WMI_REVISION_ 625 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work |
