aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2010-04-15 17:39:34 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 15:43:47 -0400
commit5088c2f1a2475546d9a79b515bde6d65b8681e51 (patch)
tree64b925a80e8d8d7e7b0a8824a471646ceaf5bd79 /drivers/net/wireless/ath/ath9k/ath9k.h
parent4adfcdedd4e0c05c1b659da5f2b8bc4e2d4a86df (diff)
ath9k: Initialize and configure tx status for EDMA
Also add a function to clean up tx status ring. Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ath9k.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index f67be52591d5..2d3e42ad3b05 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -114,8 +114,10 @@ enum buffer_type {
114#define bf_isretried(bf) (bf->bf_state.bf_type & BUF_RETRY) 114#define bf_isretried(bf) (bf->bf_state.bf_type & BUF_RETRY)
115#define bf_isxretried(bf) (bf->bf_state.bf_type & BUF_XRETRY) 115#define bf_isxretried(bf) (bf->bf_state.bf_type & BUF_XRETRY)
116 116
117#define ATH_TXSTATUS_RING_SIZE 64
118
117struct ath_descdma { 119struct ath_descdma {
118 struct ath_desc *dd_desc; 120 void *dd_desc;
119 dma_addr_t dd_desc_paddr; 121 dma_addr_t dd_desc_paddr;
120 u32 dd_desc_len; 122 u32 dd_desc_len;
121 struct ath_buf *dd_bufptr; 123 struct ath_buf *dd_bufptr;
@@ -515,6 +517,8 @@ struct ath_softc {
515 struct ath_beacon_config cur_beacon_conf; 517 struct ath_beacon_config cur_beacon_conf;
516 struct delayed_work tx_complete_work; 518 struct delayed_work tx_complete_work;
517 struct ath_btcoex btcoex; 519 struct ath_btcoex btcoex;
520
521 struct ath_descdma txsdma;
518}; 522};
519 523
520struct ath_wiphy { 524struct ath_wiphy {