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

Add WMI_PDEV_CTL_FAILSAFE_CHECK_EVENT msg def

Change-Id: I46820739e9a994439fd9907821865ccdc39c041a
CRs-Fixed: 2262693
This commit is contained in:
spuligil 2018-10-05 00:03:20 -07:00 • committed by nshrivas
commit d12b857ca3
3 changed files with 17 additions and 3 deletions

View file

@ -934,6 +934,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_pdev_he_tb_action_frm_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_peer_extd2_stats,
WMITLV_TAG_STRUC_wmi_hpcs_pulse_start_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_pdev_ctl_failsafe_check_fixed_param,
} WMITLV_TAG_ID;
/*
@ -1527,6 +1528,7 @@ typedef enum {
OP(WMI_MOTION_DET_HOST_EVENTID) \
OP(WMI_MOTION_DET_BASE_LINE_HOST_EVENTID) \
OP(WMI_ESP_ESTIMATE_EVENTID) \
OP(WMI_PDEV_CTL_FAILSAFE_CHECK_EVENTID) \
/* add new EVT_LIST elements above this line */
@ -5034,6 +5036,10 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DMA_RING_CFG_RSP_EVENTID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dma_buf_release_spectral_meta_data, meta_data, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DMA_RING_BUF_RELEASE_EVENTID);
/* ctl failsafe check event */
#define WMITLV_TABLE_WMI_PDEV_CTL_FAILSAFE_CHECK_EVENTID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_ctl_failsafe_check_fixed_param, wmi_pdev_ctl_failsafe_check_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CTL_FAILSAFE_CHECK_EVENTID);
/* UNIT-TEST Event */
#define WMITLV_TABLE_WMI_UNIT_TEST_EVENTID(id,op,buf,len) \

View file

@ -1261,6 +1261,9 @@ typedef enum {
WMI_PDEV_DMA_RING_BUF_RELEASE_EVENTID,
/** WMI Event to deliver CTL Failsafe application */
WMI_PDEV_CTL_FAILSAFE_CHECK_EVENTID,
/* VDEV specific events */
/** VDEV started event in response to VDEV_START request */
@ -23280,8 +23283,7 @@ typedef enum {
AGC_GAIN_RSSI_CORR_BASED = 1,
} WMI_SPECTRAL_SCALING_FORMULA_ID;
typedef struct
{
typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_spectral_bin_scaling_params */
A_UINT32 pdev_id; /* ID of pdev to which the scaling parameters are to be applied */
WMI_SPECTRAL_SCALING_FORMULA_ID formula_id; /* Represets the formula to be used */
@ -23291,6 +23293,12 @@ typedef struct
A_UINT32 default_agc_max_gain;/* DEFAULT AGC MAX GAIN used. Fetched from register RXTD_RADAR_SBS_CTRL_1_L bits20:13 */
} wmi_spectral_bin_scaling_params;
typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pdev_ctl_failsafe_event_params */
A_UINT32 pdev_id; /* ID of pdev to which ctl failsafe status is sent */
A_UINT32 ctl_FailsafeStatus; /* To indicate if Failsafe value is imposed on CTL. 0- Success, 1- Failsafe imposed */
} wmi_pdev_ctl_failsafe_check_fixed_param;
typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_runtime_dpd_recal_cmd_fixed_param */
A_UINT32 enable; /* Enable/disable */

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