summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/wmi.h
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2014-03-28 16:35:15 +0400
committerKalle Valo <kvalo@qca.qualcomm.com>2014-03-28 18:56:14 +0400
commitdb9cdda6508d71099e5d3c5ad7f048bc715dac73 (patch)
treed21dc8b36ec69c3732800cb31506c2cda4375e3a /drivers/net/wireless/ath/ath10k/wmi.h
parent34d714e0cf8d83aa0b7ead833c6ccd05f700115e (diff)
downloadlinux-db9cdda6508d71099e5d3c5ad7f048bc715dac73.tar.xz
ath10k: fix getting stats from firmware
Tested on 10.x firmware, and others report it at least makes older firmware no more broken than it already was. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/wmi.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/wmi.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath10k/wmi.h b/drivers/net/wireless/ath/ath10k/wmi.h
index 8b07cebdd6de..65eb3439211f 100644
--- a/drivers/net/wireless/ath/ath10k/wmi.h
+++ b/drivers/net/wireless/ath/ath10k/wmi.h
@@ -2769,13 +2769,21 @@ 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 */