23 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
112 ath5k_cw_validate(
u16 cw_req)
114 cw_req =
min(cw_req, (
u16)1023);
214 switch (queue_type) {
226 switch (queue_type) {
229 ah->
ah_txq[queue].tqi_type !=
256 if (queue_info !=
NULL) {
297 ath5k_hw_reg_write(ah,
310 ath5k_hw_reg_write(ah,
348 ath5k_hw_reg_write(ah,
570 u32 ack_tx_time, eifs, eifs_clock, sifs, sifs_clock;
608 rate = &ah->
sbands[band].bitrates[0];
612 eifs = ack_tx_time + sifs + 2 * slot_time;
617 u32 pifs, pifs_clock, difs, difs_clock;
626 pifs = slot_time + sifs;
631 difs = sifs + 2 * slot_time;
635 ath5k_hw_reg_write(ah, (difs_clock <<
640 ath5k_hw_reg_write(ah, pifs_clock | eifs_clock |
690 "failed to reset TX queue #%d\n", i);