|
@@ -4796,6 +4796,7 @@ typedef enum {
|
|
|
WMI_REQUEST_MIB_STAT = 0x80,
|
|
|
WMI_REQUEST_RSSI_PER_CHAIN_STAT = 0x100,
|
|
|
WMI_REQUEST_CONGESTION_STAT = 0x200,
|
|
|
+ WMI_REQUEST_PEER_EXTD_STAT = 0x400,
|
|
|
} wmi_stats_id;
|
|
|
|
|
|
/*
|
|
@@ -5396,7 +5397,10 @@ 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)
|
|
|
- *
|
|
|
+ */
|
|
|
+/* 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
|
|
|
+ * following the information elements listed above.
|
|
|
*/
|
|
|
} wmi_stats_event_fixed_param;
|
|
|
|
|
@@ -5999,10 +6003,6 @@ typedef struct {
|
|
|
|
|
|
/**
|
|
|
* peer statistics.
|
|
|
- *
|
|
|
- * @todo
|
|
|
- * add more stats
|
|
|
- *
|
|
|
*/
|
|
|
typedef struct {
|
|
|
/** peer MAC address */
|
|
@@ -6015,6 +6015,25 @@ typedef struct {
|
|
|
A_UINT32 peer_rx_rate;
|
|
|
} wmi_peer_stats;
|
|
|
|
|
|
+/**
|
|
|
+ * Peer extension statistics
|
|
|
+ */
|
|
|
+typedef struct {
|
|
|
+ /** peer MAC address */
|
|
|
+ wmi_mac_addr peer_macaddr;
|
|
|
+ /* rx duration in microseconds*/
|
|
|
+ A_UINT32 rx_duration;
|
|
|
+ /** Total TX bytes (including dot11 header) sent to peer */
|
|
|
+ A_UINT32 peer_tx_bytes;
|
|
|
+ /** Total RX bytes (including dot11 header) received from peer */
|
|
|
+ A_UINT32 peer_rx_bytes;
|
|
|
+ /** last TX ratecode */
|
|
|
+ A_UINT32 last_tx_rate_code;
|
|
|
+ /** TX power used by peer - units are 0.5 dBm */
|
|
|
+ A_INT32 last_tx_power;
|
|
|
+ A_UINT32 reserved[4]; /** for future use - add new peer stats here */
|
|
|
+} wmi_peer_extd_stats;
|
|
|
+
|
|
|
typedef struct {
|
|
|
/** Primary channel freq of the channel for which stats are sent */
|
|
|
A_UINT32 chan_mhz;
|