fw-api: CL 12571320 - update fw common interface files

add WMI_VDEV_CUSTOM_AGGR_256_BA_EN and 1024 flag defs

Change-Id: I0468d150cad1035fe2d4131cbe9f82fd03dca003
CRs-Fixed: 2262693
This commit is contained in:
spuligil
2021-01-14 12:01:10 -08:00
parent aa2cc73eff
commit 1eb17dff76
2 changed files with 28 additions and 6 deletions

View File

@@ -5848,11 +5848,15 @@ typedef struct {
* Access Category (0x0=BE, 0x1=BK, 0x2=VI, 0x3=VO) * Access Category (0x0=BE, 0x1=BK, 0x2=VI, 0x3=VO)
* If tx_ac_enable bit is not set, tx_aggr_size is applied * If tx_ac_enable bit is not set, tx_aggr_size is applied
* for all Access Categories * for all Access Categories
* bit 2 (aggr_type): TX Aggregation Type (0=A-MPDU, 1=A-MSDU) * bit 2 (aggr_type): TX Aggregation Type (0=A-MPDU, 1=A-MSDU)
* bit 3 (tx_aggr_size_disable): If set tx_aggr_size is invalid * bit 3 (tx_aggr_size_disable): If set tx_aggr_size is invalid
* bit 4 (rx_aggr_size_disable): If set rx_aggr_size is invalid * bit 4 (rx_aggr_size_disable): If set rx_aggr_size is invalid
* bit 5 (tx_ac_enable): If set, above ac bitmap is valid. * bit 5 (tx_ac_enable): If set, above ac bitmap is valid.
* bits 31:6: Reserved bits. should be set to zero. * bit 6 (256 BA support enable) If set, Default 256 BA size is expected
* from host
* bit 7 (1024 BA support enable) If set, Default 1024 BA size is expected
* from host
* bits 31:8: Reserved bits. should be set to zero.
*/ */
A_UINT32 enable_bitmap; A_UINT32 enable_bitmap;
} wmi_vdev_set_custom_aggr_size_cmd_fixed_param; } wmi_vdev_set_custom_aggr_size_cmd_fixed_param;
@@ -5873,6 +5877,10 @@ typedef enum {
#define WMI_VDEV_CUSTOM_RX_AGGR_SZ_DIS_NUM_BITS 1 #define WMI_VDEV_CUSTOM_RX_AGGR_SZ_DIS_NUM_BITS 1
#define WMI_VDEV_CUSTOM_TX_AC_EN_BITPOS 5 #define WMI_VDEV_CUSTOM_TX_AC_EN_BITPOS 5
#define WMI_VDEV_CUSTOM_TX_AC_EN_NUM_BITS 1 #define WMI_VDEV_CUSTOM_TX_AC_EN_NUM_BITS 1
#define WMI_VDEV_CUSTOM_AGGR_256_BA_EN_BITPOS 6
#define WMI_VDEV_CUSTOM_AGGR_256_BA_EN_NUM_BITS 1
#define WMI_VDEV_CUSTOM_AGGR_1024_BA_EN_BITPOS 7
#define WMI_VDEV_CUSTOM_AGGR_1024_BA_EN_NUM_BITS 1
#define WMI_VDEV_CUSTOM_AGGR_AC_SET(param, value) \ #define WMI_VDEV_CUSTOM_AGGR_AC_SET(param, value) \
WMI_SET_BITS(param, WMI_VDEV_CUSTOM_AGGR_AC_BITPOS, \ WMI_SET_BITS(param, WMI_VDEV_CUSTOM_AGGR_AC_BITPOS, \
@@ -5909,6 +5917,20 @@ typedef enum {
WMI_GET_BITS(param, WMI_VDEV_CUSTOM_TX_AC_EN_BITPOS, \ WMI_GET_BITS(param, WMI_VDEV_CUSTOM_TX_AC_EN_BITPOS, \
WMI_VDEV_CUSTOM_TX_AC_EN_NUM_BITS) WMI_VDEV_CUSTOM_TX_AC_EN_NUM_BITS)
#define WMI_VDEV_CUSTOM_AGGR_256_BA_EN_SET(param, value) \
WMI_SET_BITS(param, WMI_VDEV_CUSTOM_AGGR_256_BA_EN_BITPOS, \
WMI_VDEV_CUSTOM_AGGR_256_BA_EN_NUM_BITS, value)
#define WMI_VDEV_CUSTOM_AGGR_256_BA_EN_GET(param) \
WMI_GET_BITS(param, WMI_VDEV_CUSTOM_AGGR_256_BA_EN_BITPOS, \
WMI_VDEV_CUSTOM_AGGR_256_BA_EN_NUM_BITS)
#define WMI_VDEV_CUSTOM_AGGR_1024_BA_EN_SET(param, value) \
WMI_SET_BITS(param, WMI_VDEV_CUSTOM_AGGR_1024_BA_EN_BITPOS, \
WMI_VDEV_CUSTOM_AGGR_1024_BA_EN_NUM_BITS, value)
#define WMI_VDEV_CUSTOM_AGGR_1024_BA_EN_GET(param) \
WMI_GET_BITS(param, WMI_VDEV_CUSTOM_AGGR_1024_BA_EN_BITPOS, \
WMI_VDEV_CUSTOM_AGGR_1024_BA_EN_NUM_BITS)
typedef enum { typedef enum {
WMI_VDEV_CUSTOM_SW_RETRY_TYPE_NONAGGR = 0, WMI_VDEV_CUSTOM_SW_RETRY_TYPE_NONAGGR = 0,
WMI_VDEV_CUSTOM_SW_RETRY_TYPE_AGGR = 1, WMI_VDEV_CUSTOM_SW_RETRY_TYPE_AGGR = 1,

View File

@@ -36,7 +36,7 @@
#define __WMI_VER_MINOR_ 0 #define __WMI_VER_MINOR_ 0
/** WMI revision number has to be incremented when there is a /** WMI revision number has to be incremented when there is a
* change that may or may not break compatibility. */ * change that may or may not break compatibility. */
#define __WMI_REVISION_ 950 #define __WMI_REVISION_ 951
/** The Version Namespace should not be normally changed. Only /** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work * host and firmware of the same WMI namespace will work