Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/ath/ath9k/
Dmain.c1359 avp->chanctx = sc->cur_chan; in ath9k_add_interface()
1360 list_add_tail(&avp->list, &avp->chanctx->vifs); in ath9k_add_interface()
1363 ath9k_calculate_summary_state(sc, avp->chanctx); in ath9k_add_interface()
1407 ath9k_calculate_summary_state(sc, avp->chanctx); in ath9k_change_interface()
1438 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.h447 for (ctx = &sc->chanctx[0]; \
448 ctx <= &sc->chanctx[ARRAY_SIZE(sc->chanctx) - 1]; \
639 struct ath_chanctx *chanctx; member
1031 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.6.21/net/mac80211/
Dchan.c832 struct ieee80211_chanctx *chanctx) in ieee80211_recalc_radar_chanctx() argument
840 radar_enabled = ieee80211_chanctx_radar_required(local, chanctx); in ieee80211_recalc_radar_chanctx()
842 if (radar_enabled == chanctx->conf.radar_enabled) in ieee80211_recalc_radar_chanctx()
845 chanctx->conf.radar_enabled = radar_enabled; in ieee80211_recalc_radar_chanctx()
848 local->hw.conf.radar_enabled = chanctx->conf.radar_enabled; in ieee80211_recalc_radar_chanctx()
852 drv_change_chanctx(local, chanctx, IEEE80211_CHANCTX_CHANGE_RADAR); in ieee80211_recalc_radar_chanctx()
918 struct ieee80211_chanctx *chanctx) in ieee80211_recalc_smps_chanctx() argument
958 if (rcu_access_pointer(link->conf->chanctx_conf) != &chanctx->conf) in ieee80211_recalc_smps_chanctx()
988 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
1003 if (rx_chains_static == chanctx->conf.rx_chains_static && in ieee80211_recalc_smps_chanctx()
[all …]
Dutil.c3028 struct ieee80211_chanctx *chanctx; in ieee80211_recalc_smps() local
3044 chanctx = container_of(chanctx_conf, struct ieee80211_chanctx, conf); in ieee80211_recalc_smps()
3045 ieee80211_recalc_smps_chanctx(local, chanctx); in ieee80211_recalc_smps()
3055 struct ieee80211_chanctx *chanctx; in ieee80211_recalc_min_chandef() local
3088 chanctx = container_of(chanctx_conf, struct ieee80211_chanctx, in ieee80211_recalc_min_chandef()
3090 ieee80211_recalc_chanctx_min_def(local, chanctx, NULL); in ieee80211_recalc_min_chandef()
Dcfg.c3898 struct ieee80211_chanctx *chanctx; in __ieee80211_channel_switch() local
3933 chanctx = container_of(conf, struct ieee80211_chanctx, conf); in __ieee80211_channel_switch()
3946 chanctx->mode, in __ieee80211_channel_switch()
3952 err = ieee80211_check_combinations(sdata, NULL, chanctx->mode, 0); in __ieee80211_channel_switch()
Dieee80211_i.h2562 struct ieee80211_chanctx *chanctx);
Dmlme.c1848 struct ieee80211_chanctx *chanctx; in ieee80211_sta_process_chanswitch() local
1948 chanctx = container_of(conf, struct ieee80211_chanctx, conf); in ieee80211_sta_process_chanswitch()
1964 chanctx->mode, false); in ieee80211_sta_process_chanswitch()
/linux-6.6.21/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.c407 struct ieee80211_chanctx_conf *chanctx; in iwl_mvm_set_fw_basic_rates() local
411 chanctx = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_set_fw_basic_rates()
412 iwl_mvm_ack_rates(mvm, vif, chanctx ? chanctx->def.chan->band in iwl_mvm_set_fw_basic_rates()
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Dcore.h237 struct ieee80211_chanctx_conf chanctx; member
Dmac.c6141 ret = ath12k_mac_vdev_start(arvif, &arvif->chanctx.def); in ath12k_start_vdev_delay()
6145 arvif->chanctx.def.chan->center_freq, ret); in ath12k_start_vdev_delay()
6188 memcpy(&arvif->chanctx, ctx, sizeof(*ctx)); in ath12k_mac_op_assign_vif_chanctx()
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Dcore.h365 struct ieee80211_chanctx_conf chanctx; member
Dmac.c7555 ret = ath11k_mac_vdev_start(arvif, &arvif->chanctx); in ath11k_start_vdev_delay()
7559 arvif->chanctx.def.chan->center_freq, ret); in ath11k_start_vdev_delay()
7614 memcpy(&arvif->chanctx, ctx, sizeof(*ctx)); in ath11k_mac_op_assign_vif_chanctx()
/linux-6.6.21/drivers/net/wireless/virtual/
Dmac80211_hwsim.c1616 struct ieee80211_chanctx_conf *chanctx; in mac80211_hwsim_tx_iter() local
1622 chanctx = rcu_dereference(conf->chanctx_conf); in mac80211_hwsim_tx_iter()
1623 if (!chanctx) in mac80211_hwsim_tx_iter()
1626 if (!hwsim_chans_compat(data->channel, chanctx->def.chan)) in mac80211_hwsim_tx_iter()