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

Change-Id: I1d6555b67af18a1befb5766c5650b17b4b33ad83
WMI: add PDEV_PKTLOG_DECODE_INFO_EVENT msg def
CRs-Fixed: 2262693
This commit is contained in:
Sandeep Puligilla 2021-12-12 06:00:55 -08:00
commit 9f2d727be7
3 changed files with 33 additions and 1 deletions

View file

@ -1224,6 +1224,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_resmgr_chan_time_quota_tlv,
WMITLV_TAG_STRUC_wmi_sw_cal_ver_cap,
WMITLV_TAG_STRUC_wmi_soc_tqm_reset_enable_disable_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_pdev_pktlog_decode_info_evt_fixed_param,
} WMITLV_TAG_ID;
/*
@ -1985,6 +1986,7 @@ typedef enum {
OP(WMI_ROAM_FRAME_EVENTID) \
OP(WMI_QUIET_HANDLING_EVENTID) \
OP(WMI_RESMGR_CHAN_TIME_QUOTA_CHANGED_EVENTID) \
OP(WMI_PDEV_PKTLOG_DECODE_INFO_EVENTID) \
/* add new EVT_LIST elements above this line */
@ -6603,6 +6605,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_QUIET_HANDLING_EVENTID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_resmgr_chan_time_quota_tlv, chan_quota, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_RESMGR_CHAN_TIME_QUOTA_CHANGED_EVENTID);
/* PDev Packet Log Decode Info Event */
#define WMITLV_TABLE_WMI_PDEV_PKTLOG_DECODE_INFO_EVENTID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_pktlog_decode_info_evt_fixed_param, wmi_pdev_pktlog_decode_info_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_PKTLOG_DECODE_INFO_EVENTID);
#ifdef __cplusplus
}

View file

@ -1583,6 +1583,10 @@ typedef enum {
WMI_PDEV_FIPS_EXTEND_EVENTID,
/* Event to send packet log decode information */
WMI_PDEV_PKTLOG_DECODE_INFO_EVENTID,
/* VDEV specific events */
/** VDEV started event in response to VDEV_START request */
WMI_VDEV_START_RESP_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_VDEV),
@ -8628,6 +8632,27 @@ typedef struct {
*/
} wmi_pdev_pktlog_filter_cmd_fixed_param;
/**
* WMI event to send packet log decode information to Host.
* This sends the metadata which will be embedded by Host in the file-level
* header of the pktlog trace file (i.e. the ath_pktlog_bufhdr struct).
* This will be later used by the pktlog post-processing scripts to get
* prerequisite pktlog_defs*.JSON files for decoding the trace.
*/
typedef struct {
A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pdev_pktlog_decode_info_evt_fixed_param */
/** pdev_id for identifying the MAC
* See macros starting with WMI_PDEV_ID_ for values.
*/
A_UINT32 pdev_id;
/** Forty byte field for storing software image as null terminated string */
A_UINT8 software_image[40];
/** Forty byte field for storing chip info as null terminated string */
A_UINT8 chip_info[40];
/** Four byte field for storing JSON version */
A_UINT32 pktlog_defs_json_version;
} wmi_pdev_pktlog_decode_info_evt_fixed_param;
typedef enum {
WMI_ROGUE_AP_ON_STA_PS = 1, /* rogue ap on sta ps module */
} WMI_ROGUE_AP_TYPE;

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