diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2010-04-15 03:13:13 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-16 15:32:00 -0400 |
commit | 410866930ea1929b0fdfb533dd84ddaa234b06e4 (patch) | |
tree | fabd7bbb75d6825ff9854fef11ddf687b04bfd1b /drivers/net/wireless/rt2x00/rt2x00.h | |
parent | 7834704be4777fc0ed67c4486ef8c5691078d135 (diff) |
rt2x00: add txdesc parameter to write_tx_data
Extend the write_tx_data callback with a txdesc parameter to allow
access to the tx desciptor while preparing the tx data.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index 4de505b98331..4f9b666f7a7f 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -549,7 +549,8 @@ struct rt2x00lib_ops { | |||
549 | void (*write_tx_desc) (struct rt2x00_dev *rt2x00dev, | 549 | void (*write_tx_desc) (struct rt2x00_dev *rt2x00dev, |
550 | struct sk_buff *skb, | 550 | struct sk_buff *skb, |
551 | struct txentry_desc *txdesc); | 551 | struct txentry_desc *txdesc); |
552 | int (*write_tx_data) (struct queue_entry *entry); | 552 | int (*write_tx_data) (struct queue_entry *entry, |
553 | struct txentry_desc *txdesc); | ||
553 | void (*write_beacon) (struct queue_entry *entry); | 554 | void (*write_beacon) (struct queue_entry *entry); |
554 | int (*get_tx_data_len) (struct queue_entry *entry); | 555 | int (*get_tx_data_len) (struct queue_entry *entry); |
555 | void (*kick_tx_queue) (struct rt2x00_dev *rt2x00dev, | 556 | void (*kick_tx_queue) (struct rt2x00_dev *rt2x00dev, |