aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/wmi.h
diff options
context:
space:
mode:
authorSujith Manoharan <Sujith.Manoharan@atheros.com>2011-04-13 01:52:59 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-04-13 15:22:11 -0400
commit1c165c972b040f9ce199b8d8d3cc4f619872cba5 (patch)
treeb3c6e46d5c070037d9231f2d278cb00aee05b521 /drivers/net/wireless/ath/ath9k/wmi.h
parent29bbfb2491316f9a3888e74b0de7fccdbde67aaa (diff)
ath9k_htc: Fix WMI and beacon header
Match the beacon header with that of the firmware. Also, the firmware reports the TSF for an SWBA, so store it. 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/wmi.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/wmi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/wmi.h b/drivers/net/wireless/ath/ath9k/wmi.h
index 6a36572b6fb..2fa91a941a7 100644
--- a/drivers/net/wireless/ath/ath9k/wmi.h
+++ b/drivers/net/wireless/ath/ath9k/wmi.h
@@ -36,6 +36,11 @@ struct wmi_fw_version {
36 __be16 minor; 36 __be16 minor;
37 37
38} __packed; 38} __packed;
39
40struct wmi_event_swba {
41 __be64 tsf;
42 u8 beacon_pending;
43};
39enum wmi_cmd_id { 44enum wmi_cmd_id {
40 WMI_ECHO_CMDID = 0x0001, 45 WMI_ECHO_CMDID = 0x0001,
41 WMI_ACCESS_MEMORY_CMDID, 46 WMI_ACCESS_MEMORY_CMDID,
@@ -106,6 +111,7 @@ struct wmi {
106 u32 cmd_rsp_len; 111 u32 cmd_rsp_len;
107 bool stopped; 112 bool stopped;
108 113
114 u64 tsf;
109 u8 beacon_pending; 115 u8 beacon_pending;
110 spinlock_t wmi_lock; 116 spinlock_t wmi_lock;
111 117