aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2011-08-15 13:39:51 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-24 14:41:42 -0400
commitf5e2289a142c714732aef67cadbb0a8843565507 (patch)
treecab9ffcc4ffd19353fda90af155b1fb4934cbf40
parent7ccc83b0fc69d5b18602aa250c10be0d3ae920c6 (diff)
carl9170: import updated firmware headers
Import new headers from our firmware branch: git://git.kernel.org/pub/scm/linux/kernel/git/chr/carl9170fw.git Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/carl9170/fwcmd.h11
-rw-r--r--drivers/net/wireless/ath/carl9170/version.h4
2 files changed, 13 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/carl9170/fwcmd.h b/drivers/net/wireless/ath/carl9170/fwcmd.h
index 0a6dec529b59..9443c802b25b 100644
--- a/drivers/net/wireless/ath/carl9170/fwcmd.h
+++ b/drivers/net/wireless/ath/carl9170/fwcmd.h
@@ -55,6 +55,7 @@ enum carl9170_cmd_oids {
55 CARL9170_CMD_READ_TSF = 0x06, 55 CARL9170_CMD_READ_TSF = 0x06,
56 CARL9170_CMD_RX_FILTER = 0x07, 56 CARL9170_CMD_RX_FILTER = 0x07,
57 CARL9170_CMD_WOL = 0x08, 57 CARL9170_CMD_WOL = 0x08,
58 CARL9170_CMD_TALLY = 0x09,
58 59
59 /* CAM */ 60 /* CAM */
60 CARL9170_CMD_EKEY = 0x10, 61 CARL9170_CMD_EKEY = 0x10,
@@ -286,6 +287,15 @@ struct carl9170_tsf_rsp {
286} __packed; 287} __packed;
287#define CARL9170_TSF_RSP_SIZE 8 288#define CARL9170_TSF_RSP_SIZE 8
288 289
290struct carl9170_tally_rsp {
291 __le32 active;
292 __le32 cca;
293 __le32 tx_time;
294 __le32 rx_total;
295 __le32 rx_overrun;
296 __le32 tick;
297} __packed;
298
289struct carl9170_rsp { 299struct carl9170_rsp {
290 struct carl9170_cmd_head hdr; 300 struct carl9170_cmd_head hdr;
291 301
@@ -300,6 +310,7 @@ struct carl9170_rsp {
300 struct carl9170_gpio gpio; 310 struct carl9170_gpio gpio;
301 struct carl9170_tsf_rsp tsf; 311 struct carl9170_tsf_rsp tsf;
302 struct carl9170_psm psm; 312 struct carl9170_psm psm;
313 struct carl9170_tally_rsp tally;
303 u8 data[CARL9170_MAX_CMD_PAYLOAD_LEN]; 314 u8 data[CARL9170_MAX_CMD_PAYLOAD_LEN];
304 } __packed; 315 } __packed;
305} __packed __aligned(4); 316} __packed __aligned(4);
diff --git a/drivers/net/wireless/ath/carl9170/version.h b/drivers/net/wireless/ath/carl9170/version.h
index 64703778cfea..e651db856344 100644
--- a/drivers/net/wireless/ath/carl9170/version.h
+++ b/drivers/net/wireless/ath/carl9170/version.h
@@ -1,7 +1,7 @@
1#ifndef __CARL9170_SHARED_VERSION_H 1#ifndef __CARL9170_SHARED_VERSION_H
2#define __CARL9170_SHARED_VERSION_H 2#define __CARL9170_SHARED_VERSION_H
3#define CARL9170FW_VERSION_YEAR 11 3#define CARL9170FW_VERSION_YEAR 11
4#define CARL9170FW_VERSION_MONTH 6 4#define CARL9170FW_VERSION_MONTH 8
5#define CARL9170FW_VERSION_DAY 30 5#define CARL9170FW_VERSION_DAY 15
6#define CARL9170FW_VERSION_GIT "1.9.4" 6#define CARL9170FW_VERSION_GIT "1.9.4"
7#endif /* __CARL9170_SHARED_VERSION_H */ 7#endif /* __CARL9170_SHARED_VERSION_H */