Explorar el Código

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

Change-Id: Ief3272f790319e7ac49f09017e4319edf22d9183
WMI: reduce size of wmi_pdev_telemetry_stats
CRs-Fixed: 2262693
spuligil hace 3 años
padre
commit
286e4cf34e
Se han modificado 2 ficheros con 18 adiciones y 4 borrados
  1. 17 3
      fw/wmi_unified.h
  2. 1 1
      fw/wmi_version.h

+ 17 - 3
fw/wmi_unified.h

@@ -11564,10 +11564,24 @@ typedef struct {
 typedef struct{
     A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pdev_telemetry_stats */
     A_UINT32 pdev_id;
-    /* average channel latency, units in micro seconds */
+    /*
+     * Average channel latency per AC, units in micro seconds.
+     * avg_chan_lat_per_ac[0] : AC_VO
+     * avg_chan_lat_per_ac[1] : AC_VI
+     * avg_chan_lat_per_ac[2] : AC_BE
+     * avg_chan_lat_per_ac[3] : AC_BK
+     */
     A_UINT32 avg_chan_lat_per_ac[WMI_AC_MAX];
-    /* estimated airtime per access category, units in percentage */
-    A_UINT32 estimated_air_time_per_ac[WMI_AC_MAX];
+    /*
+     * Percentage of air time available for each AC, units in percentage.
+     * BIT[0-7]   : AC_BE
+     * BIT[8-15]  : AC_BK
+     * BIT[16-23] : AC_VI
+     * BIT[24-31] : AC_VO
+     * Please refer WMI_ESP_ESTIMATE_GET_* and WMI_ESP_ESTIMATE_SET_* macros
+     * to retrieve values for each access category in estimated_air_time_per_ac.
+     */
+    A_UINT32 estimated_air_time_per_ac;
 } wmi_pdev_telemetry_stats;
 
 /**

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