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

Add NAN Dmesg event
<Describe here the change summary in detail>

Change-Id: Ia56fd95adcccc74afc05cdf7200bf1292dd59546
CRs-Fixed: 2262693
This commit is contained in:
spuligil 2020-02-09 06:00:38 -08:00
commit 1e6b9ae941
3 changed files with 19 additions and 1 deletions

View file

@ -1048,6 +1048,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_roam_scan_channel_list_event_fixed_param,
WMITLV_TAG_STRUC_wmi_vdev_get_big_data_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_vdev_send_big_data_event_fixed_param,
WMITLV_TAG_STRUC_wmi_nan_dmesg_event_fixed_param,
} WMITLV_TAG_ID;
/*
@ -1722,6 +1723,7 @@ typedef enum {
OP(WMI_PDEV_MULTIPLE_VDEV_RESTART_RESP_EVENTID) \
OP(WMI_ROAM_SCAN_CHANNEL_LIST_EVENTID) \
OP(WMI_VDEV_SEND_BIG_DATA_EVENTID) \
OP(WMI_NAN_DMESG_EVENTID) \
/* add new EVT_LIST elements above this line */
@ -5777,6 +5779,10 @@ WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_CHANNEL_LIST_EVENTID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_send_big_data_event_fixed_param, wmi_vdev_send_big_data_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SEND_BIG_DATA_EVENTID);
#define WMITLV_TABLE_WMI_NAN_DMESG_EVENTID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nan_dmesg_event_fixed_param, wmi_nan_dmesg_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, msg, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_NAN_DMESG_EVENTID);
#ifdef __cplusplus
}

View file

@ -1860,6 +1860,7 @@ typedef enum {
WMI_NAN_DISC_IFACE_DELETED_EVENTID,
WMI_NAN_STARTED_CLUSTER_EVENTID,
WMI_NAN_JOINED_CLUSTER_EVENTID,
WMI_NAN_DMESG_EVENTID,
/* Coex Event */
WMI_COEX_REPORT_ANTENNA_ISOLATION_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_COEX),
@ -18352,6 +18353,17 @@ typedef struct {
#define wmi_nan_joined_cluster_event_fixed_param wmi_nan_joined_cluster_event_fixed_param_PROTOTYPE
typedef struct {
/** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_nan_dmesg_event_fixed_param */
A_UINT32 tlv_header;
/** length in byte of msg[]. */
A_UINT32 msg_len;
/* Following this structure is the TLV:
* A_UINT8 msg[]; <-- length in byte given by field data_len.
* This data contains the string message which will be given to Host to dump it to kernel logs.
*/
} wmi_nan_dmesg_event_fixed_param;
/** NAN DATA CMD's */
/**

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