Home
last modified time | relevance | path

Searched refs:chanctx (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dmain.c1358 avp->chanctx = sc->cur_chan; in ath9k_add_interface()
1359 list_add_tail(&avp->list, &avp->chanctx->vifs); in ath9k_add_interface()
1362 ath9k_calculate_summary_state(sc, avp->chanctx); in ath9k_add_interface()
1406 ath9k_calculate_summary_state(sc, avp->chanctx); in ath9k_change_interface()
1437 ath9k_calculate_summary_state(sc, avp->chanctx); in ath9k_remove_interface()
1891 ath9k_calculate_summary_state(sc, avp->chanctx); in ath9k_bss_info_changed()
1904 ath9k_calculate_summary_state(sc, avp->chanctx); in ath9k_bss_info_changed()
1907 if ((avp->chanctx == sc->cur_chan) && in ath9k_bss_info_changed()
1955 if (sc->cur_chan == avp->chanctx) { in ath9k_get_tsf()
1978 ktime_get_raw_ts64(&avp->chanctx->tsf_ts); in ath9k_set_tsf()
[all …]
Dbeacon.c294 avp->chanctx->tsf_val += tsfadjust; in ath9k_beacon_ensure_primary_slot()
295 if (sc->cur_chan == avp->chanctx) { in ath9k_beacon_ensure_primary_slot()
296 offset = ath9k_hw_get_tsf_offset(&avp->chanctx->tsf_ts, NULL); in ath9k_beacon_ensure_primary_slot()
297 ath9k_hw_settsf64(sc->sc_ah, avp->chanctx->tsf_val + offset); in ath9k_beacon_ensure_primary_slot()
647 ctx = avp->chanctx; in ath9k_beacon_config()
Dath9k.h446 for (ctx = &sc->chanctx[0]; \
447 ctx <= &sc->chanctx[ARRAY_SIZE(sc->chanctx) - 1]; \
638 struct ath_chanctx *chanctx; member
1030 struct ath_chanctx chanctx[ATH9K_NUM_CHANCTX]; member
Dchannel.c117 ctx = &sc->chanctx[i]; in ath_chanctx_init()
329 int idx = ctx - &sc->chanctx[0]; in ath_chanctx_get_next()
331 return &sc->chanctx[!idx]; in ath_chanctx_get_next()
529 if (avp->chanctx != sc->cur_chan) { in ath_chanctx_event()
702 avp->chanctx != sc->cur_chan) in ath_chanctx_event()
876 return &sc->chanctx[0]; in ath_chanctx_get_oper_chan()
1568 if (!avp || avp->chanctx != sc->cur_chan) in ath9k_p2p_ps_timer()
Dinit.c732 sc->cur_chan = &sc->chanctx[0]; in ath9k_init_softc()
/linux-6.1.9/net/mac80211/
Dchan.c811 struct ieee80211_chanctx *chanctx) in ieee80211_recalc_radar_chanctx() argument
819 radar_enabled = ieee80211_chanctx_radar_required(local, chanctx); in ieee80211_recalc_radar_chanctx()
821 if (radar_enabled == chanctx->conf.radar_enabled) in ieee80211_recalc_radar_chanctx()
824 chanctx->conf.radar_enabled = radar_enabled; in ieee80211_recalc_radar_chanctx()
827 local->hw.conf.radar_enabled = chanctx->conf.radar_enabled; in ieee80211_recalc_radar_chanctx()
831 drv_change_chanctx(local, chanctx, IEEE80211_CHANCTX_CHANGE_RADAR); in ieee80211_recalc_radar_chanctx()
894 struct ieee80211_chanctx *chanctx) in ieee80211_recalc_smps_chanctx() argument
934 if (rcu_access_pointer(link->conf->chanctx_conf) != &chanctx->conf) in ieee80211_recalc_smps_chanctx()
964 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
979 if (rx_chains_static == chanctx->conf.rx_chains_static && in ieee80211_recalc_smps_chanctx()
[all …]
Dutil.c2840 struct ieee80211_chanctx *chanctx; in ieee80211_recalc_smps() local
2856 chanctx = container_of(chanctx_conf, struct ieee80211_chanctx, conf); in ieee80211_recalc_smps()
2857 ieee80211_recalc_smps_chanctx(local, chanctx); in ieee80211_recalc_smps()
2867 struct ieee80211_chanctx *chanctx; in ieee80211_recalc_min_chandef() local
2900 chanctx = container_of(chanctx_conf, struct ieee80211_chanctx, in ieee80211_recalc_min_chandef()
2902 ieee80211_recalc_chanctx_min_def(local, chanctx); in ieee80211_recalc_min_chandef()
Dcfg.c3750 struct ieee80211_chanctx *chanctx; in __ieee80211_channel_switch() local
3785 chanctx = container_of(conf, struct ieee80211_chanctx, conf); in __ieee80211_channel_switch()
3798 chanctx->mode, in __ieee80211_channel_switch()
3804 err = ieee80211_check_combinations(sdata, NULL, chanctx->mode, 0); in __ieee80211_channel_switch()
Dieee80211_i.h2473 struct ieee80211_chanctx *chanctx);
Dmlme.c1778 struct ieee80211_chanctx *chanctx; in ieee80211_sta_process_chanswitch() local
1880 chanctx = container_of(conf, struct ieee80211_chanctx, conf); in ieee80211_sta_process_chanswitch()
1896 chanctx->mode, false); in ieee80211_sta_process_chanswitch()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dtdls.c382 struct ieee80211_chanctx_conf *chanctx = in iwl_mvm_tdls_config_channel_switch() local
385 if (WARN_ON_ONCE(!chanctx)) { in iwl_mvm_tdls_config_channel_switch()
390 chandef = &chanctx->def; in iwl_mvm_tdls_config_channel_switch()
Dmac-ctxt.c440 struct ieee80211_chanctx_conf *chanctx; in iwl_mvm_mac_ctxt_cmd_common() local
484 chanctx = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_mac_ctxt_cmd_common()
485 iwl_mvm_ack_rates(mvm, vif, chanctx ? chanctx->def.chan->band in iwl_mvm_mac_ctxt_cmd_common()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dcore.h354 struct ieee80211_chanctx_conf chanctx; member
Dmac.c7056 ret = ath11k_mac_vdev_start(arvif, &arvif->chanctx); in ath11k_start_vdev_delay()
7060 arvif->chanctx.def.chan->center_freq, ret); in ath11k_start_vdev_delay()
7114 memcpy(&arvif->chanctx, ctx, sizeof(*ctx)); in ath11k_mac_op_assign_vif_chanctx()
/linux-6.1.9/drivers/net/wireless/
Dmac80211_hwsim.c1506 struct ieee80211_chanctx_conf *chanctx; in mac80211_hwsim_tx_iter() local
1512 chanctx = rcu_dereference(conf->chanctx_conf); in mac80211_hwsim_tx_iter()
1513 if (!chanctx) in mac80211_hwsim_tx_iter()
1516 if (!hwsim_chans_compat(data->channel, chanctx->def.chan)) in mac80211_hwsim_tx_iter()