Browse Source

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

Change-Id: Id383dd4131989e205bbb7afa8a7510eb25db670d
WMI: add PDEV_SCHED_TIDQ_SUSP_INFO_EVENT msg def
CRs-Fixed: 2262693
spuligil 2 years ago
parent
commit
c561998452
3 changed files with 18 additions and 1 deletions
  1. 7 0
      fw/wmi_tlv_defs.h
  2. 10 0
      fw/wmi_unified.h
  3. 1 1
      fw/wmi_version.h

+ 7 - 0
fw/wmi_tlv_defs.h

@@ -1295,6 +1295,7 @@ typedef enum {
     WMITLV_TAG_STRUC_wmi_pdev_featureset_cmd_fixed_param,
     WMITLV_TAG_STRUC_wmi_regulatory_fcc_rule_struct,
     WMITLV_TAG_STRUC_wmi_vdev_param_enable_sr_prohibit_fixed_param,
+    WMITLV_TAG_STRUC_wmi_pdev_sched_tidq_susp_info_event_fixed_param,
 } WMITLV_TAG_ID;
 
 /*
@@ -2094,6 +2095,7 @@ typedef enum {
     OP(WMI_COEX_DBAM_COMPLETE_EVENTID) \
     OP(WMI_HEALTH_MON_INIT_DONE_EVENTID) \
     OP(WMI_IPA_LINK_STATS_EVENTID) \
+    OP(WMI_PDEV_SCHED_TIDQ_SUSP_INFO_EVENTID) \
     /* add new EVT_LIST elements above this line */
 
 
@@ -6763,6 +6765,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_COLD_BOOT_CAL_DATA_EVENTID);
     WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_rap_info_event_fixed_param, wmi_pdev_rap_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
 WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_RAP_INFO_EVENTID);
 
+/* sched tiqd suspended info event */
+#define WMITLV_TABLE_WMI_PDEV_SCHED_TIDQ_SUSP_INFO_EVENTID(id,op,buf,len) \
+    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_sched_tidq_susp_info_event_fixed_param, wmi_pdev_sched_tidq_susp_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
+WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SCHED_TIDQ_SUSP_INFO_EVENTID);
+
 /* Offload TX mgmt frames */
 #define WMITLV_TABLE_WMI_VDEV_MGMT_OFFLOAD_EVENTID(id,op,buf,len) \
     WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mgmt_hdr, wmi_mgmt_hdr, fixed_param, WMITLV_SIZE_FIX) \

+ 10 - 0
fw/wmi_unified.h

@@ -1686,6 +1686,9 @@ typedef enum {
      */
     WMI_PDEV_RSSI_DBM_CONVERSION_PARAMS_INFO_EVENTID,
 
+    /* Event to indicate Schedule tid queue suspended info */
+    WMI_PDEV_SCHED_TIDQ_SUSP_INFO_EVENTID,
+
 
     /* VDEV specific events */
     /** VDEV started event in response to VDEV_START request */
@@ -37684,6 +37687,13 @@ typedef struct {
     wmi_mac_addr bssid; /** bssid of the rogue ap */
 } wmi_pdev_rap_info_event_fixed_param;
 
+typedef struct {
+    A_UINT32 tlv_header;    /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pdev_sched_tidq_susp_info_event_fixed_param */
+    A_UINT32 pdev_id; /** pdev id */
+    A_UINT32 tid_num; /** tid_num that is suspended */
+    A_UINT32 suspended_time_ms; /** time for which tid has been suspended in ms */
+} wmi_pdev_sched_tidq_susp_info_event_fixed_param;
+
 /*
  * WMI API for Firmware to indicate iface combinations which Firmware
  * support to Host

+ 1 - 1
fw/wmi_version.h

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