summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/htc.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2012-03-25 17:15:24 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2012-03-26 16:36:45 +0300
commitcfc10f24576997b6f79e3348abc856c248eb3f07 (patch)
tree7edba2c2267a1d2475719fd42a4245019998e4af /drivers/net/wireless/ath/ath6kl/htc.h
parent900d6b3fea62a991cdb704bed6433ae72b424d96 (diff)
downloadtalos-op-linux-cfc10f24576997b6f79e3348abc856c248eb3f07.tar.gz
talos-op-linux-cfc10f24576997b6f79e3348abc856c248eb3f07.zip
ath6kl: add pointer to the skb in htc_packet
Needed by the USB code. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/htc.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/htc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/htc.h b/drivers/net/wireless/ath/ath6kl/htc.h
index 51f2485e29f5..e97ebc33aad1 100644
--- a/drivers/net/wireless/ath/ath6kl/htc.h
+++ b/drivers/net/wireless/ath/ath6kl/htc.h
@@ -311,6 +311,14 @@ struct htc_packet {
void (*completion) (struct htc_target *, struct htc_packet *);
struct htc_target *context;
+
+ /*
+ * optimization for network-oriented data, the HTC packet
+ * can pass the network buffer corresponding to the HTC packet
+ * lower layers may optimized the transfer knowing this is
+ * a network buffer
+ */
+ struct sk_buff *skb;
};
enum htc_send_full_action {
OpenPOWER on IntegriCloud