diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2010-04-15 17:39:26 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-16 15:43:44 -0400 |
commit | cc610ac0557b0ad0dcffdff1230cef28a970d755 (patch) | |
tree | 975cd15e3d2b42a2b1a5b7a178c595dd35a1b77c /drivers/net/wireless/ath/ath9k/mac.h | |
parent | d8903a5361817bd96ceed212ad27a380e7ef4d8e (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.h | 27 |
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; | |||
687 | u32 ath9k_hw_gettxbuf(struct ath_hw *ah, u32 q); | 687 | u32 ath9k_hw_gettxbuf(struct ath_hw *ah, u32 q); |
688 | void ath9k_hw_puttxbuf(struct ath_hw *ah, u32 q, u32 txdp); | 688 | void ath9k_hw_puttxbuf(struct ath_hw *ah, u32 q, u32 txdp); |
689 | void ath9k_hw_txstart(struct ath_hw *ah, u32 q); | 689 | void ath9k_hw_txstart(struct ath_hw *ah, u32 q); |
690 | void ath9k_hw_cleartxdesc(struct ath_hw *ah, void *ds); | ||
690 | u32 ath9k_hw_numtxpending(struct ath_hw *ah, u32 q); | 691 | u32 ath9k_hw_numtxpending(struct ath_hw *ah, u32 q); |
691 | bool ath9k_hw_updatetxtriglevel(struct ath_hw *ah, bool bIncTrigLevel); | 692 | bool ath9k_hw_updatetxtriglevel(struct ath_hw *ah, bool bIncTrigLevel); |
692 | bool ath9k_hw_stoptxdma(struct ath_hw *ah, u32 q); | 693 | bool ath9k_hw_stoptxdma(struct ath_hw *ah, u32 q); |
693 | void 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); | ||
697 | void ath9k_hw_cleartxdesc(struct ath_hw *ah, struct ath_desc *ds); | ||
698 | int ath9k_hw_txprocdesc(struct ath_hw *ah, struct ath_desc *ds, | ||
699 | struct ath_tx_status *ts); | ||
700 | void 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); | ||
703 | void 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); | ||
709 | void ath9k_hw_set11n_aggr_first(struct ath_hw *ah, struct ath_desc *ds, | ||
710 | u32 aggrLen); | ||
711 | void ath9k_hw_set11n_aggr_middle(struct ath_hw *ah, struct ath_desc *ds, | ||
712 | u32 numDelims); | ||
713 | void ath9k_hw_set11n_aggr_last(struct ath_hw *ah, struct ath_desc *ds); | ||
714 | void ath9k_hw_clr11n_aggr(struct ath_hw *ah, struct ath_desc *ds); | ||
715 | void ath9k_hw_set11n_burstduration(struct ath_hw *ah, struct ath_desc *ds, | ||
716 | u32 burstDuration); | ||
717 | void ath9k_hw_set11n_virtualmorefrag(struct ath_hw *ah, struct ath_desc *ds, | ||
718 | u32 vmf); | ||
719 | void ath9k_hw_gettxintrtxqs(struct ath_hw *ah, u32 *txqs); | 694 | void ath9k_hw_gettxintrtxqs(struct ath_hw *ah, u32 *txqs); |
720 | bool ath9k_hw_set_txq_props(struct ath_hw *ah, int q, | 695 | bool 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); |