diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-14 15:24:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-16 16:45:40 -0400 |
commit | 66ac69c8c3bd176b49c19e52c37449dec24c9588 (patch) | |
tree | a6cacb30430799efca26ee5e872d43a25356ac30 /drivers/net/wireless/ath/ath9k/hw-ops.h | |
parent | 493cf04fd37bf265dc3c9aad357e3e34654c86e3 (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.h | 58 |
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 | ||
63 | static 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 | |||
72 | static inline int ath9k_hw_txprocdesc(struct ath_hw *ah, void *ds, | 63 | static 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 | ||
78 | static 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 | |||
88 | static 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 | |||
100 | static 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 | |||
106 | static 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 | |||
112 | static 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 | |||
117 | static inline void ath9k_hw_clr11n_aggr(struct ath_hw *ah, void *ds) | ||
118 | { | ||
119 | ath9k_hw_ops(ah)->clr11n_aggr(ah, ds); | ||
120 | } | ||
121 | |||
122 | static 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 | |||
127 | static inline void ath9k_hw_antdiv_comb_conf_get(struct ath_hw *ah, | 69 | static 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 | { |