|
@@ -5162,6 +5162,12 @@ typedef struct {
|
|
|
* */
|
|
|
#define WMI_HOST_WLAN_MAX_AC 4
|
|
|
|
|
|
+/* The WMI_HOST_MAX_CHAINS macro cannot be changed without breaking WMI
|
|
|
+ * compatibility.
|
|
|
+ * The maximum value of number of chains
|
|
|
+ */
|
|
|
+#define WMI_HOST_MAX_CHAINS 8
|
|
|
+
|
|
|
/**
|
|
|
* struct wmi_host_vdev_stats - vdev stats structure
|
|
|
* @vdev_id: unique id identifying the VDEV, generated by the caller
|
|
@@ -5263,6 +5269,21 @@ struct wmi_host_vdev_nac_rssi_event {
|
|
|
uint32_t rssi_seq_num;
|
|
|
};
|
|
|
|
|
|
+
|
|
|
+/**
|
|
|
+ * struct wmi_host_per_chain_rssi_stats - VDEV nac rssi stats
|
|
|
+ * @vdev_id: unique id identifying the VDEV, generated by the caller
|
|
|
+ * @rssi_avg_beacon: per chain avg rssi for beacon
|
|
|
+ * @rssi_avg_data: per chain avg rssi for data
|
|
|
+ * @peer_macaddr: peer macaddr
|
|
|
+ */
|
|
|
+struct wmi_host_per_chain_rssi_stats {
|
|
|
+ uint32_t vdev_id;
|
|
|
+ int32_t rssi_avg_beacon[WMI_HOST_MAX_CHAINS];
|
|
|
+ int32_t rssi_avg_data[WMI_HOST_MAX_CHAINS];
|
|
|
+ wmi_host_mac_addr peer_macaddr;
|
|
|
+};
|
|
|
+
|
|
|
/**
|
|
|
* struct wmi_host_peer_stats - peer stats
|
|
|
* @peer_macaddr: peer MAC address
|