Browse Source

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

Change-Id: I9d12ff78e0716dd11f2c3b0639e0f58a96de77fa
WMI: add PDEV_MEC_AGING_TIMER_CONFIG_CMD msg def
CRs-Fixed: 2262693
spuligil 3 years ago
parent
commit
86dab62fa8
3 changed files with 24 additions and 1 deletions
  1. 7 0
      fw/wmi_tlv_defs.h
  2. 16 0
      fw/wmi_unified.h
  3. 1 1
      fw/wmi_version.h

+ 7 - 0
fw/wmi_tlv_defs.h

@@ -1181,6 +1181,7 @@ typedef enum {
     WMITLV_TAG_STRUC_wmi_bcn_tmpl_ml_params,
     WMITLV_TAG_STRUC_wmi_vdev_bcn_offload_ml_quiet_config_params,
     WMITLV_TAG_STRUC_wmi_pdev_multiple_vdev_set_param_cmd_fixed_param,
+    WMITLV_TAG_STRUC_wmi_pdev_mec_aging_timer_config_cmd_fixed_param,
 } WMITLV_TAG_ID;
 
 /*
@@ -1650,6 +1651,7 @@ typedef enum {
     OP(WMI_PDEV_SET_HALPHY_CAL_BMAP_CMDID) \
     OP(WMI_AFC_CMDID) \
     OP(WMI_PDEV_MULTIPLE_VDEV_SET_PARAM_CMDID) \
+    OP(WMI_PDEV_MEC_AGING_TIMER_CONFIG_CMDID) \
     /* add new CMD_LIST elements above this line */
 
 
@@ -4738,6 +4740,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_RX_REO_FILTER_CONFIGURATION_CMDID);
     WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_ids, WMITLV_SIZE_VAR)
 WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_MULTIPLE_VDEV_SET_PARAM_CMDID);
 
+/* Configure MEC AGING TIMER */
+#define WMITLV_TABLE_WMI_PDEV_MEC_AGING_TIMER_CONFIG_CMDID(id,op,buf,len) \
+    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_mec_aging_timer_config_cmd_fixed_param, wmi_pdev_mec_aging_timer_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
+WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_MEC_AGING_TIMER_CONFIG_CMDID);
+
 
 
 /************************** TLV definitions of WMI events *******************************/

+ 16 - 0
fw/wmi_unified.h

@@ -458,6 +458,8 @@ typedef enum {
     WMI_PDEV_SET_HALPHY_CAL_BMAP_CMDID,
     /* WMI cmd to send vdev param for multiple vdev */
     WMI_PDEV_MULTIPLE_VDEV_SET_PARAM_CMDID,
+    /* Configure MEC AGING TIMER */
+    WMI_PDEV_MEC_AGING_TIMER_CONFIG_CMDID,
 
     /* VDEV (virtual device) specific commands */
     /** vdev create */
@@ -28871,6 +28873,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
         WMI_RETURN_STRING(WMI_PDEV_SET_HALPHY_CAL_BMAP_CMDID);
         WMI_RETURN_STRING(WMI_AFC_CMDID);
         WMI_RETURN_STRING(WMI_PDEV_MULTIPLE_VDEV_SET_PARAM_CMDID);
+        WMI_RETURN_STRING(WMI_PDEV_MEC_AGING_TIMER_CONFIG_CMDID);
     }
 
     return "Invalid WMI cmd";
@@ -33766,6 +33769,19 @@ typedef struct {
     A_UINT32 agg_relation;
 } wmi_audio_sync_trigger_cmd_fixed_param;
 
+typedef struct {
+    /** TLV tag and len; tag equals
+     * WMITLV_TAG_STRUC_wmi_pdev_mec_aging_timer_config_cmd_fixed_param
+     */
+    A_UINT32 tlv_header;
+    /** SOC level Command. pdev_id - WMI_PDEV_ID_SOC is used.
+     */
+    A_UINT32 pdev_id;
+    /* The Threshold for mec aging timer in ms
+     */
+    A_UINT32 mec_aging_timer_threshold;
+} wmi_pdev_mec_aging_timer_config_cmd_fixed_param;
+
 #define WMI_CFR_GROUP_TA_ADDR_VALID_BIT_POS           0
 #define WMI_CFR_GROUP_TA_ADDR_MASK_VALID_BIT_POS      1
 #define WMI_CFR_GROUP_RA_ADDR_VALID_BIT_POS           2

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