Home
last modified time | relevance | path

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

/linux-5.19.10/net/mac80211/
Dchan.c728 struct ieee80211_chanctx *chanctx) in ieee80211_recalc_radar_chanctx() argument
736 radar_enabled = ieee80211_chanctx_radar_required(local, chanctx); in ieee80211_recalc_radar_chanctx()
738 if (radar_enabled == chanctx->conf.radar_enabled) in ieee80211_recalc_radar_chanctx()
741 chanctx->conf.radar_enabled = radar_enabled; in ieee80211_recalc_radar_chanctx()
744 local->hw.conf.radar_enabled = chanctx->conf.radar_enabled; in ieee80211_recalc_radar_chanctx()
748 drv_change_chanctx(local, chanctx, IEEE80211_CHANCTX_CHANGE_RADAR); in ieee80211_recalc_radar_chanctx()
811 struct ieee80211_chanctx *chanctx) in ieee80211_recalc_smps_chanctx() argument
829 &chanctx->conf) in ieee80211_recalc_smps_chanctx()
877 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
892 if (rx_chains_static == chanctx->conf.rx_chains_static && in ieee80211_recalc_smps_chanctx()
[all …]
Dutil.c2808 struct ieee80211_chanctx *chanctx; in ieee80211_recalc_smps() local
2824 chanctx = container_of(chanctx_conf, struct ieee80211_chanctx, conf); in ieee80211_recalc_smps()
2825 ieee80211_recalc_smps_chanctx(local, chanctx); in ieee80211_recalc_smps()
2834 struct ieee80211_chanctx *chanctx; in ieee80211_recalc_min_chandef() local
2844 chanctx = container_of(chanctx_conf, struct ieee80211_chanctx, conf); in ieee80211_recalc_min_chandef()
2845 ieee80211_recalc_chanctx_min_def(local, chanctx); in ieee80211_recalc_min_chandef()
Dcfg.c3604 struct ieee80211_chanctx *chanctx; in __ieee80211_channel_switch() local
3639 chanctx = container_of(conf, struct ieee80211_chanctx, conf); in __ieee80211_channel_switch()
3652 chanctx->mode, in __ieee80211_channel_switch()
3658 err = ieee80211_check_combinations(sdata, NULL, chanctx->mode, 0); in __ieee80211_channel_switch()
Dmlme.c1381 struct ieee80211_chanctx *chanctx; in ieee80211_sta_process_chanswitch() local
1482 chanctx = container_of(conf, struct ieee80211_chanctx, conf); in ieee80211_sta_process_chanswitch()
1498 chanctx->mode, false); in ieee80211_sta_process_chanswitch()
Dieee80211_i.h2474 struct ieee80211_chanctx *chanctx);
/linux-5.19.10/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()
1890 ath9k_calculate_summary_state(sc, avp->chanctx); in ath9k_bss_info_changed()
1903 ath9k_calculate_summary_state(sc, avp->chanctx); in ath9k_bss_info_changed()
1906 if ((avp->chanctx == sc->cur_chan) && in ath9k_bss_info_changed()
1954 if (sc->cur_chan == avp->chanctx) { in ath9k_get_tsf()
1977 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()
646 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-5.19.10/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-5.19.10/drivers/net/wireless/
Dmac80211_hwsim.c645 struct ieee80211_chanctx_conf *chanctx; member
2681 hwsim->chanctx = ctx; in mac80211_hwsim_add_chanctx()
2697 hwsim->chanctx = NULL; in mac80211_hwsim_remove_chanctx()
2714 hwsim->chanctx = ctx; in mac80211_hwsim_change_chanctx()
3649 data->chanctx = NULL; in mac80211_hwsim_new_radio()
4211 else if (data2->chanctx) in hwsim_cloned_frame_received_nl()
4212 channel = data2->chanctx->def.chan; in hwsim_cloned_frame_received_nl()
/linux-5.19.10/drivers/net/wireless/ath/ath11k/
Dcore.h353 struct ieee80211_chanctx_conf chanctx; member
Dmac.c7034 ret = ath11k_mac_vdev_start(arvif, &arvif->chanctx); in ath11k_start_vdev_delay()
7038 arvif->chanctx.def.chan->center_freq, ret); in ath11k_start_vdev_delay()
7091 memcpy(&arvif->chanctx, ctx, sizeof(*ctx)); in ath11k_mac_op_assign_vif_chanctx()