aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw-ops.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-09-14 15:24:23 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-09-16 16:45:40 -0400
commit66ac69c8c3bd176b49c19e52c37449dec24c9588 (patch)
treea6cacb30430799efca26ee5e872d43a25356ac30 /drivers/net/wireless/ath/ath9k/hw-ops.h
parent493cf04fd37bf265dc3c9aad357e3e34654c86e3 (diff)
ath9k_hw: remove the old tx descriptor API
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw-ops.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw-ops.h58
1 files changed, 0 insertions, 58 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw-ops.h b/drivers/net/wireless/ath/ath9k/hw-ops.h
index 5310f9616506..41f4bf363d3d 100644
--- a/drivers/net/wireless/ath/ath9k/hw-ops.h
+++ b/drivers/net/wireless/ath/ath9k/hw-ops.h
@@ -60,70 +60,12 @@ static inline void ath9k_hw_set_txdesc(struct ath_hw *ah, void *ds,
60 return ath9k_hw_ops(ah)->set_txdesc(ah, ds, i); 60 return ath9k_hw_ops(ah)->set_txdesc(ah, ds, i);
61} 61}
62 62
63static inline void ath9k_hw_filltxdesc(struct ath_hw *ah, void *ds, u32 seglen,
64 bool is_firstseg, bool is_lastseg,
65 const void *ds0, dma_addr_t buf_addr,
66 unsigned int qcu)
67{
68 ath9k_hw_ops(ah)->fill_txdesc(ah, ds, seglen, is_firstseg, is_lastseg,
69 ds0, buf_addr, qcu);
70}
71
72static inline int ath9k_hw_txprocdesc(struct ath_hw *ah, void *ds, 63static inline int ath9k_hw_txprocdesc(struct ath_hw *ah, void *ds,
73 struct ath_tx_status *ts) 64 struct ath_tx_status *ts)
74{ 65{
75 return ath9k_hw_ops(ah)->proc_txdesc(ah, ds, ts); 66 return ath9k_hw_ops(ah)->proc_txdesc(ah, ds, ts);
76} 67}
77 68
78static inline void ath9k_hw_set11n_txdesc(struct ath_hw *ah, void *ds,
79 u32 pktLen, enum ath9k_pkt_type type,
80 u32 txPower, u32 keyIx,
81 enum ath9k_key_type keyType,
82 u32 flags)
83{
84 ath9k_hw_ops(ah)->set11n_txdesc(ah, ds, pktLen, type, txPower, keyIx,
85 keyType, flags);
86}
87
88static inline void ath9k_hw_set11n_ratescenario(struct ath_hw *ah, void *ds,
89 void *lastds,
90 u32 durUpdateEn, u32 rtsctsRate,
91 u32 rtsctsDuration,
92 struct ath9k_11n_rate_series series[],
93 u32 nseries, u32 flags)
94{
95 ath9k_hw_ops(ah)->set11n_ratescenario(ah, ds, lastds, durUpdateEn,
96 rtsctsRate, rtsctsDuration, series,
97 nseries, flags);
98}
99
100static inline void ath9k_hw_set11n_aggr_first(struct ath_hw *ah, void *ds,
101 u32 aggrLen)
102{
103 ath9k_hw_ops(ah)->set11n_aggr_first(ah, ds, aggrLen);
104}
105
106static inline void ath9k_hw_set11n_aggr_middle(struct ath_hw *ah, void *ds,
107 u32 numDelims)
108{
109 ath9k_hw_ops(ah)->set11n_aggr_middle(ah, ds, numDelims);
110}
111
112static inline void ath9k_hw_set11n_aggr_last(struct ath_hw *ah, void *ds)
113{
114 ath9k_hw_ops(ah)->set11n_aggr_last(ah, ds);
115}
116
117static inline void ath9k_hw_clr11n_aggr(struct ath_hw *ah, void *ds)
118{
119 ath9k_hw_ops(ah)->clr11n_aggr(ah, ds);
120}
121
122static inline void ath9k_hw_set_clrdmask(struct ath_hw *ah, void *ds, bool val)
123{
124 ath9k_hw_ops(ah)->set_clrdmask(ah, ds, val);
125}
126
127static inline void ath9k_hw_antdiv_comb_conf_get(struct ath_hw *ah, 69static inline void ath9k_hw_antdiv_comb_conf_get(struct ath_hw *ah,
128 struct ath_hw_antcomb_conf *antconf) 70 struct ath_hw_antcomb_conf *antconf)
129{ 71{