diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index 911dc612ed42..f36aee254151 100644 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -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 } diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index aacf00a93dad..80d3d70ba8c6 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -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 */ /** diff --git a/fw/wmi_version.h b/fw/wmi_version.h index f630bab1fb77..2ce1df022b57 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -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