Lines Matching refs:cur_chan
75 list = &sc->cur_chan->acq[txq->mac80211_qnum]; in ath9k_has_pending_frames()
236 ath9k_calculate_summary_state(sc, sc->cur_chan); in ath_complete_reset()
238 ath9k_cmn_update_txpow(ah, sc->cur_chan->cur_txpower, in ath_complete_reset()
239 sc->cur_chan->txpower, in ath_complete_reset()
240 &sc->cur_chan->cur_txpower); in ath_complete_reset()
243 if (!sc->cur_chan->offchannel && start) { in ath_complete_reset()
245 if (sc->cur_chan->tsf_val) { in ath_complete_reset()
248 offset = ath9k_hw_get_tsf_offset(&sc->cur_chan->tsf_ts, in ath_complete_reset()
250 ath9k_hw_settsf64(ah, sc->cur_chan->tsf_val + offset); in ath_complete_reset()
295 if (!sc->cur_chan->offchannel) { in ath_reset_internal()
297 caldata = &sc->cur_chan->caldata; in ath_reset_internal()
312 sc->cur_chandef = sc->cur_chan->chandef; in ath_reset_internal()
330 sc->cur_chan->offchannel) in ath_reset_internal()
652 struct ieee80211_channel *curchan = sc->cur_chan->chandef.chan; in ath9k_start()
653 struct ath_chanctx *ctx = sc->cur_chan; in ath9k_start()
881 &sc->cur_chan->chandef); in ath9k_stop()
1089 if (ctx != sc->cur_chan) in ath9k_calculate_summary_state()
1208 sc->cur_chan->txpower = 2 * power; in ath9k_set_txpower()
1209 ath9k_hw_set_txpowerlimit(ah, sc->cur_chan->txpower, false); in ath9k_set_txpower()
1210 sc->cur_chan->cur_txpower = reg->max_power_level; in ath9k_set_txpower()
1244 if (sc->cur_chan->nvifs >= 1) { in ath9k_add_interface()
1252 sc->cur_chan->nvifs++; in ath9k_add_interface()
1259 avp->chanctx = sc->cur_chan; in ath9k_add_interface()
1328 sc->cur_chan->nvifs--; in ath9k_remove_interface()
1394 struct ath_chanctx *ctx = sc->cur_chan; in ath9k_config()
1783 if ((avp->chanctx == sc->cur_chan) && in ath9k_bss_info_changed()
2071 timeout = sc->cur_chan->flush_timeout; in __ath9k_flush()
2529 if (sc->next_chan || (sc->cur_chan != avp->chanctx)) in ath9k_mgd_prepare_tx()
2612 *dbm = sc->cur_chan->cur_txpower; in ath9k_get_txpower()