[third_party/bcmdhd] Add WME counters struct

Test: None. Type definition only.
Change-Id: Ied03da23f192727e2ebfd7d3eba842b056293880
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/bcmdhd/+/621081
Reviewed-by: Karthik Krishnaswami <karthikrish@google.com>
diff --git a/crossdriver/wlioctl.h b/crossdriver/wlioctl.h
index f053ca0..5db24b8 100644
--- a/crossdriver/wlioctl.h
+++ b/crossdriver/wlioctl.h
@@ -26,6 +26,8 @@
 #ifndef THIRD_PARTY_BCMDHD_CROSSDRIVER_WLIOCTL_H_
 #define THIRD_PARTY_BCMDHD_CROSSDRIVER_WLIOCTL_H_
 
+#include "include/proto/802.11.h"
+
 typedef uint32_t uint32;
 typedef uint16_t uint16;
 
@@ -608,4 +610,25 @@
   uint32 rxaction;     /**< Number of RX action frame */
 
 } wl_cnt_ver_11_t;
+
+typedef struct {
+  uint32 packets;
+  uint32 bytes;
+} wl_traffic_stats_t;
+
+typedef struct {
+  uint16 version; /* see definition of WL_WME_CNT_VERSION */
+  uint16 length;  /* length of entire structure */
+
+  wl_traffic_stats_t tx[AC_COUNT];        /* Packets transmitted */
+  wl_traffic_stats_t tx_failed[AC_COUNT]; /* Packets dropped or failed to transmit */
+  wl_traffic_stats_t rx[AC_COUNT];        /* Packets received */
+  wl_traffic_stats_t rx_failed[AC_COUNT]; /* Packets failed to receive */
+
+  wl_traffic_stats_t forward[AC_COUNT]; /* Packets forwarded by AP */
+
+  wl_traffic_stats_t tx_expired[AC_COUNT]; /* packets dropped due to lifetime expiry */
+
+} wl_wme_cnt_t;
+
 #endif  // THIRD_PARTY_BCMDHD_CROSSDRIVER_WLIOCTL_H_