Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A 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 …]
H A 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()
H A 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
H A 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()
H A Dinit.c732 sc->cur_chan = &sc->chanctx[0]; in ath9k_init_softc()
/openbmc/linux/net/mac80211/
H A 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 …]
H A Dutil.c3049 struct ieee80211_chanctx *chanctx; in ieee80211_recalc_smps() local
3065 chanctx = container_of(chanctx_conf, struct ieee80211_chanctx, conf); in ieee80211_recalc_smps()
3066 ieee80211_recalc_smps_chanctx(local, chanctx); in ieee80211_recalc_smps()
3076 struct ieee80211_chanctx *chanctx; in ieee80211_recalc_min_chandef() local
3109 chanctx = container_of(chanctx_conf, struct ieee80211_chanctx, in ieee80211_recalc_min_chandef()
3111 ieee80211_recalc_chanctx_min_def(local, chanctx, NULL); in ieee80211_recalc_min_chandef()
H A Dcfg.c3900 struct ieee80211_chanctx *chanctx; in __ieee80211_channel_switch() local
3935 chanctx = container_of(conf, struct ieee80211_chanctx, conf); in __ieee80211_channel_switch()
3948 chanctx->mode, in __ieee80211_channel_switch()
3954 err = ieee80211_check_combinations(sdata, NULL, chanctx->mode, 0); in __ieee80211_channel_switch()
H A Dieee80211_i.h2562 struct ieee80211_chanctx *chanctx);
H A 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()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A 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()
H A 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()
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dcore.h239 struct ieee80211_chanctx_conf chanctx; member
H A Dmac.c6165 ret = ath12k_mac_vdev_start(arvif, &arvif->chanctx.def); in ath12k_start_vdev_delay()
6169 arvif->chanctx.def.chan->center_freq, ret); in ath12k_start_vdev_delay()
6212 memcpy(&arvif->chanctx, ctx, sizeof(*ctx)); in ath12k_mac_op_assign_vif_chanctx()
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dcore.h365 struct ieee80211_chanctx_conf chanctx; member
H A Dmac.c7560 ret = ath11k_mac_vdev_start(arvif, &arvif->chanctx); in ath11k_start_vdev_delay()
7564 arvif->chanctx.def.chan->center_freq, ret); in ath11k_start_vdev_delay()
7619 memcpy(&arvif->chanctx, ctx, sizeof(*ctx)); in ath11k_mac_op_assign_vif_chanctx()
/openbmc/linux/drivers/net/wireless/virtual/
H A 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()