aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/mac.h
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2010-04-15 17:39:26 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 15:43:44 -0400
commitcc610ac0557b0ad0dcffdff1230cef28a970d755 (patch)
tree975cd15e3d2b42a2b1a5b7a178c595dd35a1b77c /drivers/net/wireless/ath/ath9k/mac.h
parentd8903a5361817bd96ceed212ad27a380e7ef4d8e (diff)
ath9k_hw: Define abstraction for tx desc access
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/mac.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/mac.h27
1 files changed, 1 insertions, 26 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mac.h b/drivers/net/wireless/ath/ath9k/mac.h
index 7c0d7549021..0d492192de9 100644
--- a/drivers/net/wireless/ath/ath9k/mac.h
+++ b/drivers/net/wireless/ath/ath9k/mac.h
@@ -687,35 +687,10 @@ struct ath9k_channel;
687u32 ath9k_hw_gettxbuf(struct ath_hw *ah, u32 q); 687u32 ath9k_hw_gettxbuf(struct ath_hw *ah, u32 q);
688void ath9k_hw_puttxbuf(struct ath_hw *ah, u32 q, u32 txdp); 688void ath9k_hw_puttxbuf(struct ath_hw *ah, u32 q, u32 txdp);
689void ath9k_hw_txstart(struct ath_hw *ah, u32 q); 689void ath9k_hw_txstart(struct ath_hw *ah, u32 q);
690void ath9k_hw_cleartxdesc(struct ath_hw *ah, void *ds);
690u32 ath9k_hw_numtxpending(struct ath_hw *ah, u32 q); 691u32 ath9k_hw_numtxpending(struct ath_hw *ah, u32 q);
691bool ath9k_hw_updatetxtriglevel(struct ath_hw *ah, bool bIncTrigLevel); 692bool ath9k_hw_updatetxtriglevel(struct ath_hw *ah, bool bIncTrigLevel);
692bool ath9k_hw_stoptxdma(struct ath_hw *ah, u32 q); 693bool ath9k_hw_stoptxdma(struct ath_hw *ah, u32 q);
693void ath9k_hw_filltxdesc(struct ath_hw *ah, struct ath_desc *ds,
694 u32 segLen, bool firstSeg,
695 bool lastSeg, const struct ath_desc *ds0,
696 dma_addr_t buf_addr);
697void ath9k_hw_cleartxdesc(struct ath_hw *ah, struct ath_desc *ds);
698int ath9k_hw_txprocdesc(struct ath_hw *ah, struct ath_desc *ds,
699 struct ath_tx_status *ts);
700void ath9k_hw_set11n_txdesc(struct ath_hw *ah, struct ath_desc *ds,
701 u32 pktLen, enum ath9k_pkt_type type, u32 txPower,
702 u32 keyIx, enum ath9k_key_type keyType, u32 flags);
703void ath9k_hw_set11n_ratescenario(struct ath_hw *ah, struct ath_desc *ds,
704 struct ath_desc *lastds,
705 u32 durUpdateEn, u32 rtsctsRate,
706 u32 rtsctsDuration,
707 struct ath9k_11n_rate_series series[],
708 u32 nseries, u32 flags);
709void ath9k_hw_set11n_aggr_first(struct ath_hw *ah, struct ath_desc *ds,
710 u32 aggrLen);
711void ath9k_hw_set11n_aggr_middle(struct ath_hw *ah, struct ath_desc *ds,
712 u32 numDelims);
713void ath9k_hw_set11n_aggr_last(struct ath_hw *ah, struct ath_desc *ds);
714void ath9k_hw_clr11n_aggr(struct ath_hw *ah, struct ath_desc *ds);
715void ath9k_hw_set11n_burstduration(struct ath_hw *ah, struct ath_desc *ds,
716 u32 burstDuration);
717void ath9k_hw_set11n_virtualmorefrag(struct ath_hw *ah, struct ath_desc *ds,
718 u32 vmf);
719void ath9k_hw_gettxintrtxqs(struct ath_hw *ah, u32 *txqs); 694void ath9k_hw_gettxintrtxqs(struct ath_hw *ah, u32 *txqs);
720bool ath9k_hw_set_txq_props(struct ath_hw *ah, int q, 695bool ath9k_hw_set_txq_props(struct ath_hw *ah, int q,
721 const struct ath9k_tx_queue_info *qinfo); 696 const struct ath9k_tx_queue_info *qinfo);