Bläddra i källkod

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

Change-Id: I4fd5aab78a6915374323bf4358771a705342cabf
WMI: add SOC_TQM_RESET_ENABLE_DISABLE_CMD msg def
CRs-Fixed: 2262693
Sandeep Puligilla 3 år sedan
förälder
incheckning
4a40495f60
3 ändrade filer med 20 tillägg och 1 borttagningar
  1. 7 0
      fw/wmi_tlv_defs.h
  2. 12 0
      fw/wmi_unified.h
  3. 1 1
      fw/wmi_version.h

+ 7 - 0
fw/wmi_tlv_defs.h

@@ -1223,6 +1223,7 @@ typedef enum {
     WMITLV_TAG_STRUC_wmi_resmgr_chan_time_quota_changed_event_fixed_param,
     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_ID;
 
 /*
@@ -1706,6 +1707,7 @@ typedef enum {
     OP(WMI_VDEV_UPDATE_MAC_ADDR_CMDID) \
     OP(WMI_SAWF_SVC_CLASS_CFG_CMDID) \
     OP(WMI_SAWF_SVC_CLASS_DISABLE_CMDID) \
+    OP(WMI_SOC_TQM_RESET_ENABLE_DISABLE_CMDID) \
     /* add new CMD_LIST elements above this line */
 
 
@@ -4883,6 +4885,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_SAWF_SVC_CLASS_CFG_CMDID);
     WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sawf_svc_class_disable_cmd_fixed_param, wmi_sawf_svc_class_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
 WMITLV_CREATE_PARAM_STRUC(WMI_SAWF_SVC_CLASS_DISABLE_CMDID);
 
+/* WMI CMD used to Enable/Disable Cmd for TQM reset feature */
+#define WMITLV_TABLE_WMI_SOC_TQM_RESET_ENABLE_DISABLE_CMDID(id,op,buf,len) \
+    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_soc_tqm_reset_enable_disable_cmd_fixed_param, wmi_soc_tqm_reset_enable_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
+WMITLV_CREATE_PARAM_STRUC(WMI_SOC_TQM_RESET_ENABLE_DISABLE_CMDID);
+
 
 
 /************************** TLV definitions of WMI events *******************************/

+ 12 - 0
fw/wmi_unified.h

@@ -1311,6 +1311,8 @@ typedef enum {
     WMI_SOC_SET_HW_MODE_CMDID,
     WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID,
     WMI_SOC_SET_ANTENNA_MODE_CMDID,
+    /** enable/disable TQM reset (SOC level) feature */
+    WMI_SOC_TQM_RESET_ENABLE_DISABLE_CMDID,
 
     /* packet filter commands */
     WMI_PACKET_FILTER_CONFIG_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_PKT_FILTER),
@@ -30232,6 +30234,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
         WMI_RETURN_STRING(WMI_SAWF_SVC_CLASS_CFG_CMDID);
         WMI_RETURN_STRING(WMI_SAWF_SVC_CLASS_DISABLE_CMDID);
         WMI_RETURN_STRING(WMI_VDEV_UPDATE_MAC_ADDR_CMDID);
+        WMI_RETURN_STRING(WMI_SOC_TQM_RESET_ENABLE_DISABLE_CMDID);
     }
 
     return (A_UINT8 *) "Invalid WMI cmd";
@@ -36935,6 +36938,15 @@ typedef struct {
     A_UINT32 status;      /* Return status. 0 for success, non-zero otherwise */
 } wmi_sw_cal_ver_cap;
 
+typedef struct {
+    /** TLV tag and len; tag equals
+      * WMITLV_TAG_STRUC_wmi_soc_tqm_reset_enable_disable_cmd_fixed_param
+      */
+    A_UINT32 tlv_header;
+    /** 0 - disable TQM-reset feature, 1 - enable TQM-reset feature */
+    A_UINT32 enable;
+} wmi_soc_tqm_reset_enable_disable_cmd_fixed_param;
+
 
 
 /* ADD NEW DEFS HERE */

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