ath9k_htc: Sync MGMT/DATA packet headers with firmware
authorSujith Manoharan <Sujith.Manoharan@atheros.com>
Wed, 13 Apr 2011 05:55:12 +0000 (11:25 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 Apr 2011 19:23:25 +0000 (15:23 -0400)
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>
drivers/net/wireless/ath/ath9k/htc.h

index 3af8a58d400fa81748366119667c8ba915237eff..3185fe7568cb95f94cda74fb8df4ed84be4de436 100644 (file)
@@ -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 {