summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k
diff options
context:
space:
mode:
authorSujith Manoharan2011-04-13 07:55:12 +0200
committerJohn W. Linville2011-04-13 21:23:25 +0200
commite8e3860765641d5e9d1607ec50191cb33c28371d (patch)
treeb2319c3e217c621df390295eb5019774c0191f34 /drivers/net/wireless/ath/ath9k
parentath9k_htc: Reduce TX queue size (diff)
downloadkernel-qcow2-linux-e8e3860765641d5e9d1607ec50191cb33c28371d.tar.gz
kernel-qcow2-linux-e8e3860765641d5e9d1607ec50191cb33c28371d.tar.xz
kernel-qcow2-linux-e8e3860765641d5e9d1607ec50191cb33c28371d.zip
ath9k_htc: Sync MGMT/DATA packet headers with firmware
Add a new cookie field that would be filled by the host. This can be used to match the TX status WMI event with the appropriate packet. 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')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h
index 3af8a58d400f..3185fe7568cb 100644
--- a/drivers/net/wireless/ath/ath9k/htc.h
+++ b/drivers/net/wireless/ath/ath9k/htc.h
@@ -85,7 +85,8 @@ struct tx_frame_hdr {
__be32 flags; /* ATH9K_HTC_TX_* */
u8 key_type;
u8 keyix;
- u8 reserved[26];
+ u8 cookie;
+ u8 pad;
} __packed;
struct tx_mgmt_hdr {
@@ -95,7 +96,8 @@ struct tx_mgmt_hdr {
u8 flags;
u8 key_type;
u8 keyix;
- u16 reserved;
+ u8 cookie;
+ u8 pad;
} __packed;
struct tx_beacon_header {