Lines Matching refs:curchan
95 else if (!ah->curchan) /* should really check for CCK instead */ in ath9k_hw_set_clockrate()
107 if (ah->curchan) { in ath9k_hw_set_clockrate()
108 if (IS_CHAN_HALF_RATE(ah->curchan)) in ath9k_hw_set_clockrate()
110 if (IS_CHAN_QUARTER_RATE(ah->curchan)) in ath9k_hw_set_clockrate()
190 if (ah->curchan && IS_CHAN_QUARTER_RATE(ah->curchan)) { in ath9k_hw_computetxtime()
197 } else if (ah->curchan && in ath9k_hw_computetxtime()
198 IS_CHAN_HALF_RATE(ah->curchan)) { in ath9k_hw_computetxtime()
987 const struct ath9k_channel *chan = ah->curchan; in ath9k_hw_init_global_settings()
1435 (ah->curchan->channelFlags & (CHANNEL_2GHZ | in ath9k_hw_channel_change()
1437 mode_diff = (chan->chanmode != ah->curchan->chanmode); in ath9k_hw_channel_change()
1558 if (!ah->curchan) in ath9k_hw_do_fastcc()
1561 if (chan->channel == ah->curchan->channel) in ath9k_hw_do_fastcc()
1565 (ah->curchan->channelFlags & CHANNEL_ALL)) in ath9k_hw_do_fastcc()
1582 ah->curchan->channel, chan->channel); in ath9k_hw_do_fastcc()
1588 ath9k_hw_loadnf(ah, ah->curchan); in ath9k_hw_do_fastcc()
1624 if (ah->curchan && !ah->chip_fullsleep) in ath9k_hw_reset()
1625 ath9k_hw_getnf(ah, ah->curchan); in ath9k_hw_reset()
2699 struct ath9k_channel *chan = ah->curchan; in ath9k_hw_set_txpowerlimit()