• Home
  • Raw
  • Download

Lines Matching refs:cur_chan

29 	struct cfg80211_chan_def *chandef = &sc->cur_chan->chandef;  in ath_set_channel()
57 if (!sc->cur_chan->offchannel && sc->cur_survey != &sc->survey[pos]) { in ath_set_channel()
134 bool cur_chan; in ath_chanctx_set_channel() local
139 cur_chan = sc->cur_chan == ctx; in ath_chanctx_set_channel()
142 if (!cur_chan) { in ath_chanctx_set_channel()
341 beacon_int = TU_TO_USEC(sc->cur_chan->beacon.beacon_interval); in ath_chanctx_adjust_tbtt_delta()
343 cur = sc->cur_chan; in ath_chanctx_adjust_tbtt_delta()
511 sc->cur_chan->chandef.center_freq1, in ath_chanctx_event()
529 if (avp->chanctx != sc->cur_chan) { in ath_chanctx_event()
543 ctx = ath_chanctx_get_next(sc, sc->cur_chan); in ath_chanctx_event()
584 cur_conf = &sc->cur_chan->beacon; in ath_chanctx_event()
590 sc->cur_chan->last_beacon = sc->sched.next_tbtt; in ath_chanctx_event()
664 if (!sc->cur_chan->switch_after_beacon && in ath_chanctx_event()
676 sc->cur_chan == &sc->offchannel.chan) in ath_chanctx_event()
684 !sc->cur_chan->tsf_val) in ath_chanctx_event()
693 tsf_time -= (u32) sc->cur_chan->tsf_val + in ath_chanctx_event()
694 ath9k_hw_get_tsf_offset(&sc->cur_chan->tsf_ts, NULL); in ath_chanctx_event()
702 avp->chanctx != sc->cur_chan) in ath_chanctx_event()
713 sc->cur_chan->switch_after_beacon || in ath_chanctx_event()
714 sc->cur_chan == &sc->offchannel.chan) in ath_chanctx_event()
720 sc->next_chan = ath_chanctx_get_next(sc, sc->cur_chan); in ath_chanctx_event()
721 cur_conf = &sc->cur_chan->beacon; in ath_chanctx_event()
745 if (sc->cur_chan == &sc->offchannel.chan || in ath_chanctx_event()
746 sc->cur_chan->switch_after_beacon) in ath_chanctx_event()
749 sc->next_chan = ath_chanctx_get_next(sc, sc->cur_chan); in ath_chanctx_event()
753 if (sc->cur_chan->assigned) { in ath_chanctx_event()
760 ctx = ath_chanctx_get_next(sc, sc->cur_chan); in ath_chanctx_event()
809 (sc->cur_chan != ctx) && (ctx == &sc->offchannel.chan)) { in ath_chanctx_switch()
1032 if (!(sc->cur_chan->chandef.chan->flags & IEEE80211_CHAN_NO_IR) && in ath_scan_channel_start()
1109 int band = sc->cur_chan->chandef.chan->band; in ath_chanctx_send_vif_ps_frame()
1154 list_for_each_entry(avp, &sc->cur_chan->vifs, list) { in ath_chanctx_send_ps_frame()
1167 if (sc->cur_chan == &sc->offchannel.chan) in ath_chanctx_defer_switch()
1174 if (!sc->cur_chan->switch_after_beacon) in ath_chanctx_defer_switch()
1201 if (sc->cur_chan->chandef.chan != in ath_offchannel_channel_change()
1214 if (sc->cur_chan != &sc->offchannel.chan) in ath_offchannel_channel_change()
1252 sc->cur_chan->chandef.center_freq1, in ath_chanctx_set_next()
1255 if (sc->cur_chan != sc->next_chan) { in ath_chanctx_set_next()
1258 sc->cur_chan->chandef.center_freq1); in ath_chanctx_set_next()
1259 sc->cur_chan->stopped = true; in ath_chanctx_set_next()
1267 ath9k_chanctx_stop_queues(sc, sc->cur_chan); in ath_chanctx_set_next()
1279 if (sc->cur_chan != &sc->offchannel.chan) { in ath_chanctx_set_next()
1280 ktime_get_raw_ts64(&sc->cur_chan->tsf_ts); in ath_chanctx_set_next()
1281 sc->cur_chan->tsf_val = ath9k_hw_gettsf64(sc->sc_ah); in ath_chanctx_set_next()
1284 old_ctx = sc->cur_chan; in ath_chanctx_set_next()
1285 sc->cur_chan = sc->next_chan; in ath_chanctx_set_next()
1286 sc->cur_chan->stopped = false; in ath_chanctx_set_next()
1298 memcmp(&sc->cur_chandef, &sc->cur_chan->chandef, in ath_chanctx_set_next()
1302 __func__, sc->cur_chan->chandef.center_freq1); in ath_chanctx_set_next()
1478 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath9k_get_ctwin()
1536 u32 interval = TU_TO_USEC(sc->cur_chan->beacon.beacon_interval); in ath9k_beacon_add_noa()
1568 if (!avp || avp->chanctx != sc->cur_chan) in ath9k_p2p_ps_timer()