Skip to content

Commit

Permalink
ath9k_htc: Sync MGMT/DATA packet headers with firmware
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sujith Manoharan authored and John W. Linville committed Apr 13, 2011
1 parent 15f6d6d commit e8e3860
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/net/wireless/ath/ath9k/htc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit e8e3860

Please sign in to comment.