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

Change-Id: I11f43a6c2af6216190a95df8cfaa0e3dfc4dc224
WMI: pdev params for MGMT,PROBE_RESP TTL, TBTT policy cfg
CRs-Fixed: 2262693
This commit is contained in:
spuligil 2019-01-25 12:02:28 -08:00
commit ab3af18d2b
2 changed files with 49 additions and 1 deletions

View file

@ -5520,6 +5520,32 @@ typedef enum {
*/
WMI_PDEV_PARAM_SUB_CHANNEL_MARKING,
/*
* Enable/Disable/Set MGMT_TTL in milliseconds.
* non_zero - Enable, with the specified value
* 0 - Disable
*/
WMI_PDEV_PARAM_SET_MGMT_TTL,
/*
* Enable/Disable/Set PROBE_RESP_TTL in milliseconds.
* non_zero - Enable, with the specified value
* 0 - Disable
*/
WMI_PDEV_PARAM_SET_PROBE_RESP_TTL,
/*
* TBTT_CTRL_CFG
* BITS 0 - 2 (refer to WMI_TBTT_CTRL_CFG enum)
* 0 - DEFAULT -> HW_TBTT
* 1 - SW_TBTT -> HW_TBTT disabled,
* software would truncate BURST near TBTT
* 2 - IGNORE_TBTT
*
* BITS 3 - 31 Reserved, must be set to 0x0
*/
WMI_PDEV_PARAM_SET_TBTT_CTRL,
} WMI_PDEV_PARAM;
typedef struct {
@ -5534,6 +5560,28 @@ typedef struct {
A_UINT32 param_value;
} wmi_pdev_set_param_cmd_fixed_param;
/* param values for WMI_PDEV_PARAM_SET_TBTT_CTRL's TBTT_CTRL_CFG bit-field */
typedef enum {
WMI_TBTT_CTRL_HW_TRUNCATE = 0,
WMI_TBTT_CTRL_SW_TRUNCATE,
WMI_TBTT_CTRL_IGNORE_TBTT,
WMI_TBTT_CTRL_MAX = 0x7,
} WMI_TBTT_CTRL_CFG;
/** MACRO to set / get TBTT_CTRL_CFG bit-field within
* WMI_PDEV_PARAM_SET_TBTT_CTRL:
* bits 0~2 : TBTT_CTRL_CFG
* bits 3~31: Reserved (set to 0x0)
*/
#define WMI_PDEV_PARAM_TBTT_CTRL_CFG_S 0
#define WMI_PDEV_PARAM_TBTT_CTRL_CFG 0x00000007
#define WMI_PDEV_PARAM_GET_TBTT_CTRL_CFG(word32) \
WMI_F_MS(word32, WMI_PDEV_PARAM_TBTT_CTRL_CFG)
#define WMI_PDEV_PARAM_SET_TBTT_CTRL_CFG(word32, value) \
WMI_F_RMW(word32,value,WMI_PDEV_PARAM_TBTT_CTRL_CFG)
/** MACRO define to set / get 11b and 11ag mode TX chain number:
* bit 0~15 : 11b mode TX chain number.
* bit 16~31: 11ag mode TX chain number.

View file

@ -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_ 620
#define __WMI_REVISION_ 621
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work