Commit e8e38607 authored by Sujith Manoharan's avatar Sujith Manoharan Committed by John W. Linville

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: default avatarSujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 15f6d6d5
...@@ -85,7 +85,8 @@ struct tx_frame_hdr { ...@@ -85,7 +85,8 @@ struct tx_frame_hdr {
__be32 flags; /* ATH9K_HTC_TX_* */ __be32 flags; /* ATH9K_HTC_TX_* */
u8 key_type; u8 key_type;
u8 keyix; u8 keyix;
u8 reserved[26]; u8 cookie;
u8 pad;
} __packed; } __packed;
struct tx_mgmt_hdr { struct tx_mgmt_hdr {
...@@ -95,7 +96,8 @@ struct tx_mgmt_hdr { ...@@ -95,7 +96,8 @@ struct tx_mgmt_hdr {
u8 flags; u8 flags;
u8 key_type; u8 key_type;
u8 keyix; u8 keyix;
u16 reserved; u8 cookie;
u8 pad;
} __packed; } __packed;
struct tx_beacon_header { struct tx_beacon_header {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment