OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 Atheros Communications Inc. | 2 * Copyright (c) 2010 Atheros Communications Inc. |
3 * | 3 * |
4 * Permission to use, copy, modify, and/or distribute this software for any | 4 * Permission to use, copy, modify, and/or distribute this software for any |
5 * purpose with or without fee is hereby granted, provided that the above | 5 * purpose with or without fee is hereby granted, provided that the above |
6 * copyright notice and this permission notice appear in all copies. | 6 * copyright notice and this permission notice appear in all copies. |
7 * | 7 * |
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 static inline void ath9k_hw_filltxdesc(struct ath_hw *ah, void *ds, u32 seglen, | 60 static inline void ath9k_hw_filltxdesc(struct ath_hw *ah, void *ds, u32 seglen, |
61 bool is_firstseg, bool is_lastseg, | 61 bool is_firstseg, bool is_lastseg, |
62 const void *ds0, dma_addr_t buf_addr, | 62 const void *ds0, dma_addr_t buf_addr, |
63 unsigned int qcu) | 63 unsigned int qcu) |
64 { | 64 { |
65 ath9k_hw_ops(ah)->fill_txdesc(ah, ds, seglen, is_firstseg, is_lastseg, | 65 ath9k_hw_ops(ah)->fill_txdesc(ah, ds, seglen, is_firstseg, is_lastseg, |
66 ds0, buf_addr, qcu); | 66 ds0, buf_addr, qcu); |
67 } | 67 } |
68 | 68 |
69 static inline int ath9k_hw_txprocdesc(struct ath_hw *ah, void *ds, | 69 static inline int ath9k_hw_txprocdesc(struct ath_hw *ah, void *ds, |
70 » » » » struct ath_tx_status *ts) | 70 » » » » struct ath_tx_status *ts, |
| 71 » » » » void *txs_desc) |
71 { | 72 { |
72 » return ath9k_hw_ops(ah)->proc_txdesc(ah, ds, ts); | 73 » return ath9k_hw_ops(ah)->proc_txdesc(ah, ds, ts, txs_desc); |
73 } | 74 } |
74 | 75 |
75 static inline void ath9k_hw_set11n_txdesc(struct ath_hw *ah, void *ds, | 76 static inline void ath9k_hw_set11n_txdesc(struct ath_hw *ah, void *ds, |
76 u32 pktLen, enum ath9k_pkt_type type, | 77 u32 pktLen, enum ath9k_pkt_type type, |
77 u32 txPower, u32 keyIx, | 78 u32 txPower, u32 keyIx, |
78 enum ath9k_key_type keyType, | 79 enum ath9k_key_type keyType, |
79 u32 flags) | 80 u32 flags) |
80 { | 81 { |
81 ath9k_hw_ops(ah)->set11n_txdesc(ah, ds, pktLen, type, txPower, keyIx, | 82 ath9k_hw_ops(ah)->set11n_txdesc(ah, ds, pktLen, type, txPower, keyIx, |
82 keyType, flags); | 83 keyType, flags); |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 { | 282 { |
282 return ath9k_hw_private_ops(ah)->iscal_supported(ah, calType); | 283 return ath9k_hw_private_ops(ah)->iscal_supported(ah, calType); |
283 } | 284 } |
284 | 285 |
285 static inline void ath9k_ani_reset(struct ath_hw *ah, bool is_scanning) | 286 static inline void ath9k_ani_reset(struct ath_hw *ah, bool is_scanning) |
286 { | 287 { |
287 ath9k_hw_private_ops(ah)->ani_reset(ah, is_scanning); | 288 ath9k_hw_private_ops(ah)->ani_reset(ah, is_scanning); |
288 } | 289 } |
289 | 290 |
290 #endif /* ATH9K_HW_OPS_H */ | 291 #endif /* ATH9K_HW_OPS_H */ |
OLD | NEW |