Explorar el Código

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

WMI support for beacon count and beacon outage statistics

Change-Id: I10239bc5a7c8dc13d44f737c810b1588dc236008
CRs-Fixed: 1107600
spuligil hace 7 años
padre
commit
f94473721d
Se han modificado 2 ficheros con 16 adiciones y 1 borrados
  1. 15 0
      fw/wmi_unified.h
  2. 1 1
      fw/wmi_version.h

+ 15 - 0
fw/wmi_unified.h

@@ -5087,6 +5087,7 @@ typedef enum {
     WMI_REQUEST_RSSI_PER_CHAIN_STAT = 0x100,
     WMI_REQUEST_CONGESTION_STAT = 0x200,
     WMI_REQUEST_PEER_EXTD_STAT = 0x400,
+    WMI_REQUEST_VDEV_EXTD_STAT = 0x800,
 } wmi_stats_id;
 
 /*
@@ -5698,6 +5699,8 @@ typedef struct {
     /** number of MIB stats event structures (wmi_mib_stats) */
     A_UINT32 num_mib_stats;
     A_UINT32 pdev_id; /** pdev_id for identifying the MAC.  See macros starting with WMI_PDEV_ID_ for values. In non-DBDC case host should set it to 0. */
+    /** number of extended vdev stats event structures (wmi_vdev_extd_stats) */
+    A_UINT32 num_vdev_extd_stats;
 
 /* This TLV is followed by another TLV of array of bytes
  *   A_UINT8 data[];
@@ -5708,6 +5711,7 @@ typedef struct {
  *   num_bcnflt_stats * size_of()
  *   num_chan_stats * size of(struct wmi_chan_stats)
  *   num_mib_stats * size of(struct wmi_mib_stats)
+ *   num_vdev_extd_stats * size of(struct wmi_vdev_extd_stats)
  */
 /* If WMI_REQUEST_PEER_EXTD_STAT is set in stats_id,
  * the data[] array also contains num_peer_stats * size of wmi_peer_extd_stats
@@ -6312,6 +6316,17 @@ typedef struct {
     A_UINT32 bcn_rssi_history[MAX_RSSI_VALUES];/*History of last ten Beacon rssi of the connected Bss*/
 } wmi_vdev_stats;
 
+/*
+ * vdev ext stats with additonal bcn stats
+ * (Due to backward compatiblity requirements, these new stats fields cannot be
+ * added inside wmi_vdev_stats.)
+ */
+typedef struct {
+    A_UINT32 vdev_id;
+    A_UINT32 tx_bcn_succ_cnt; /* Total number of beacon frame transmitted successfully */
+    A_UINT32 tx_bcn_outage_cnt; /* Total number of failed beacons */
+} wmi_vdev_extd_stats;
+
 /**
  *  peer statistics.
  */

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