aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/htc.h
diff options
context:
space:
mode:
authorSujith Manoharan <Sujith.Manoharan@atheros.com>2011-04-13 01:52:51 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-04-13 15:22:07 -0400
commit29bbfb2491316f9a3888e74b0de7fccdbde67aaa (patch)
tree9d5713e37d46cfae5618b0cd522b3ef0ee032630 /drivers/net/wireless/ath/ath9k/htc.h
parentce18f391aa872a910e7798c340b6cf22d02c77a2 (diff)
ath9k_htc: Add a WMI command to get the firmware version
Also, update the wiphy information and use the correct device pointer when registering. This would fix ethtool. Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h
index ec47be94b74f..9544cd7fd440 100644
--- a/drivers/net/wireless/ath/ath9k/htc.h
+++ b/drivers/net/wireless/ath/ath9k/htc.h
@@ -388,6 +388,9 @@ struct ath9k_htc_priv {
388 struct htc_target *htc; 388 struct htc_target *htc;
389 struct wmi *wmi; 389 struct wmi *wmi;
390 390
391 u16 fw_version_major;
392 u16 fw_version_minor;
393
391 enum htc_endpoint_id wmi_cmd_ep; 394 enum htc_endpoint_id wmi_cmd_ep;
392 enum htc_endpoint_id beacon_ep; 395 enum htc_endpoint_id beacon_ep;
393 enum htc_endpoint_id cab_ep; 396 enum htc_endpoint_id cab_ep;