[PATCH] ath10k: Fix getting stats from firmware.
greearb at candelatech.com
greearb at candelatech.com
Thu Mar 20 20:05:24 EDT 2014
From: Ben Greear <greearb at candelatech.com>
Make the request command object the right size so that
firmware will not just throw it away.
Tested customized and upstream firmware.
Signed-off-by: Ben Greear <greearb at candelatech.com>
---
drivers/net/wireless/ath/ath10k/wmi.h | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/net/wireless/ath/ath10k/wmi.h b/drivers/net/wireless/ath/ath10k/wmi.h
index fa1b9e0..4946471 100644
--- a/drivers/net/wireless/ath/ath10k/wmi.h
+++ b/drivers/net/wireless/ath/ath10k/wmi.h
@@ -2766,6 +2766,11 @@ 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;
@@ -2773,6 +2778,12 @@ struct wmi_request_stats_cmd {
* 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 */
--
1.7.11.7
More information about the ath10k
mailing list