Skip to contentSkip to conversation

ath10k: Fix getting stats from firmware.

PATCH Applied [email protected] 2 participants 2 messages Mar 21, 2014 – Mar 28, 2014 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ath10k: Fix getting stats from firmware.

From: Ben Greear <[email protected]>

Tested on 10.x firmware, and others report it at least makes older firmware no more broken than it already was.

---

v2: Remove spurious comment.

 drivers/net/wireless/ath/ath10k/wmi.h | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)
drivers/net/wireless/ath/ath10k/wmi.h +11 -4
index fa1b9e0..c11f49a 100644
@@ -2766,13 +2766,20 @@ enum wmi_stats_id {
 	WMI_REQUEST_AP_STAT	= 0x02
 };
 
+struct wlan_inst_rssi_args {
+	__le16 cfg_retry_count;
+	__le16 retry_count;
+};
+
 struct wmi_request_stats_cmd {
 	__le32 stats_id;
 
-	/*
-	 * Space to add parameters like
-	 * peer mac addr
-	 */
+	__le32 vdev_id;
+	/* peer MAC address */
+	struct wmi_mac_addr peer_macaddr;
+
+	/* Instantaneous RSSI arguments */
+	struct wlan_inst_rssi_args inst_rssi_args;
 } __packed;
 
 /* Suspend option */
Signature · 7 lines
1.7.11.7


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k