From 80c4cda5677426b8389a6f4cccce589eb7c86859 Mon Sep 17 00:00:00 2001 From: spuligil Date: Thu, 11 Jul 2019 18:00:38 -0700 Subject: [PATCH] fw-api: CL 7586774 - update fw common interface files Change-Id: Id4560080f4f90ffa610993f86e48774b51cd4ba9 WMI: add SERVICE_READY_EXT2_EVENT msg def CRs-Fixed: 2262693 --- fw/wmi_services.h | 1 + fw/wmi_tlv_defs.h | 7 +++++++ fw/wmi_unified.h | 7 +++++++ fw/wmi_version.h | 2 +- 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/fw/wmi_services.h b/fw/wmi_services.h index 095940f3f522..0ad167d2ca51 100644 --- a/fw/wmi_services.h +++ b/fw/wmi_services.h @@ -402,6 +402,7 @@ typedef enum { WMI_SERVICE_WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENT= 217, /* target will send WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENT */ WMI_SERVICE_RX_FSE_SUPPORT = 218, /* target supports flow search through RxOLE FSE hw block */ WMI_SERVICE_FREQINFO_IN_METADATA = 219, /* FW provides freq_info during spectral scan */ + WMI_SERVICE_EXT2_MSG = 220, /* WMI_SERVICE_READY_EXT2 msg is sent by target */ /******* ADD NEW SERVICES HERE *******/ diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index 984e69e44862..0e6cbf329805 100644 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -994,6 +994,7 @@ typedef enum { WMITLV_TAG_STRUC_wmi_chan_rf_characterization_info_event_fixed_param, WMITLV_TAG_STRUC_wmi_oem_data_cmd_fixed_param, WMITLV_TAG_STRUC_wmi_roam_enable_disable_trigger_reason_fixed_param, + WMITLV_TAG_STRUC_wmi_service_ready_ext2_event_fixed_param, } WMITLV_TAG_ID; /* @@ -1408,6 +1409,7 @@ typedef enum { #define WMITLV_ALL_EVT_LIST(OP) \ OP(WMI_SERVICE_READY_EVENTID) \ OP(WMI_SERVICE_READY_EXT_EVENTID) \ + OP(WMI_SERVICE_READY_EXT2_EVENTID) \ OP(WMI_READY_EVENTID) \ OP(WMI_SCAN_EVENTID) \ OP(WMI_PDEV_TPC_CONFIG_EVENTID) \ @@ -4059,6 +4061,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_AVAILABLE_EVENTID); WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_CHAN_RF_CHARACTERIZATION_INFO, wmi_chan_rf_characterization_info, WMITLV_SIZE_VAR) WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EXT_EVENTID); +/* SERVICE_READY_EXT2 event */ +#define WMITLV_TABLE_WMI_SERVICE_READY_EXT2_EVENTID(id,op,buf,len) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_service_ready_ext2_event_fixed_param, wmi_service_ready_ext2_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) +WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EXT2_EVENTID); + #define WMITLV_TABLE_WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID(id,op,buf,len) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chan_rf_characterization_info_event_fixed_param, wmi_chan_rf_characterization_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_CHAN_RF_CHARACTERIZATION_INFO, wmi_chan_rf_characterization_info, WMITLV_SIZE_VAR) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index fe9438cbdd47..e02013995267 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -1345,6 +1345,9 @@ typedef enum { WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID, + /** 2nd extension of SERVICE_READY msg with extra target capability info */ + WMI_SERVICE_READY_EXT2_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), @@ -2542,6 +2545,10 @@ typedef struct { */ } wmi_service_ready_ext_event_fixed_param; +typedef struct { + A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_service_ready_ext2_event_fixed_param.*/ +} wmi_service_ready_ext2_event_fixed_param; + typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_chan_rf_characterization_info_event_fixed_param */ /* diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 9788da4cb9f8..f1b683d930f2 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_ 692 +#define __WMI_REVISION_ 693 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work