From: Sujith Manoharan Date: Wed, 13 Apr 2011 05:55:12 +0000 (+0530) Subject: ath9k_htc: Sync MGMT/DATA packet headers with firmware X-Git-Tag: MMI-PSA29.97-13-9~19291^2~16^2~402 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e8e3860765641d5e9d1607ec50191cb33c28371d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: John W. Linville --- 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 {