Home
last modified time | relevance | path

Searched refs:chanctx_conf (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dcoex.c94 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_get_coex_type() local
109 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_get_coex_type()
111 if (!chanctx_conf || in iwl_get_coex_type()
112 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ) { in iwl_get_coex_type()
119 phy_ctx_id = *((u16 *)chanctx_conf->drv_priv); in iwl_get_coex_type()
352 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_bt_notif_per_link() local
371 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_bt_notif_per_link()
374 if ((!chanctx_conf || in iwl_mvm_bt_notif_per_link()
375 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ)) { in iwl_mvm_bt_notif_per_link()
423 data->primary = chanctx_conf; in iwl_mvm_bt_notif_per_link()
[all …]
H A Dpower.c287 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_power_is_radar() local
289 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_power_is_radar()
292 if (!chanctx_conf) in iwl_mvm_power_is_radar()
295 return chanctx_conf->def.chan->flags & IEEE80211_CHAN_RADAR; in iwl_mvm_power_is_radar()
H A Dmld-mac80211.c424 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_esr_mode_inactive() local
432 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_esr_mode_inactive()
435 if (!chanctx_conf || !phy_ctxt) { in iwl_mvm_esr_mode_inactive()
441 static_chains = chanctx_conf->rx_chains_static; in iwl_mvm_esr_mode_inactive()
442 dynamic_chains = chanctx_conf->rx_chains_dynamic; in iwl_mvm_esr_mode_inactive()
H A Dtx.c2157 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in iwl_mvm_tx_reclaim() local
2161 chanctx_conf = in iwl_mvm_tx_reclaim()
2162 rcu_dereference(mvmsta->vif->bss_conf.chanctx_conf); in iwl_mvm_tx_reclaim()
2164 if (WARN_ON_ONCE(!chanctx_conf)) in iwl_mvm_tx_reclaim()
2167 tx_info->band = chanctx_conf->def.chan->band; in iwl_mvm_tx_reclaim()
H A Drs.c1966 struct ieee80211_chanctx_conf *chanctx_conf; in rs_tpc_perform() local
1987 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in rs_tpc_perform()
1988 if (WARN_ON(!chanctx_conf)) in rs_tpc_perform()
1991 band = chanctx_conf->def.chan->band; in rs_tpc_perform()
H A Dlink.c327 ctx = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_link_changed()
H A Dmac-ctxt.c1122 ctx = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_mac_ctxt_send_beacon_v9()
/linux/net/mac80211/
H A Dethtool.c80 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_stats() local
160 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_stats()
161 if (chanctx_conf) in ieee80211_get_stats()
162 channel = chanctx_conf->def.chan; in ieee80211_get_stats()
H A Dchan.c81 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_link_get_chanctx()
322 rcu_access_pointer(link->conf->chanctx_conf) != &ctx->conf) in ieee80211_get_chanctx_max_required_bw()
373 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &ctx->conf) in ieee80211_get_chanctx_max_required_bw()
456 if (rcu_access_pointer(link_conf->chanctx_conf) != &ctx->conf) in ieee80211_chan_bw_change()
664 if (rcu_access_pointer(link->conf->chanctx_conf) != conf) in ieee80211_chanctx_radar_required()
801 if (rcu_access_pointer(link_conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
833 if (rcu_access_pointer(link->conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
879 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_assign_link_chanctx()
909 rcu_assign_pointer(link->conf->chanctx_conf, conf); in ieee80211_assign_link_chanctx()
930 if (rcu_access_pointer(tmp->conf->chanctx_conf)) { in ieee80211_assign_link_chanctx()
[all …]
H A Drate.c39 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_init() local
52 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); in rate_control_rate_init()
53 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_init()
58 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
68 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, in rate_control_rate_init()
123 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_update() local
128 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); in rate_control_rate_update()
129 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_update()
135 ref->ops->rate_update(ref->priv, sband, &chanctx_conf->def, in rate_control_rate_update()
H A Dtx.c52 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_duration() local
60 chanctx_conf = rcu_dereference(tx->sdata->vif.bss_conf.chanctx_conf); in ieee80211_duration()
61 if (chanctx_conf) in ieee80211_duration()
62 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_duration()
2306 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local
2389 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit()
2390 if (!chanctx_conf) { in ieee80211_monitor_start_xmit()
2393 chanctx_conf = in ieee80211_monitor_start_xmit()
2394 rcu_dereference(tmp_sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit()
2397 if (chanctx_conf) in ieee80211_monitor_start_xmit()
[all …]
H A Doffchannel.c911 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in ieee80211_mgmt_tx() local
923 chanctx_conf = rcu_dereference(conf->chanctx_conf); in ieee80211_mgmt_tx()
924 if (!chanctx_conf) in ieee80211_mgmt_tx()
927 if (mlo_sta && params->chan == chanctx_conf->def.chan && in ieee80211_mgmt_tx()
940 params->chan == chanctx_conf->def.chan) in ieee80211_mgmt_tx()
946 chanctx_conf = NULL; in ieee80211_mgmt_tx()
949 if (chanctx_conf) { in ieee80211_mgmt_tx()
952 chanctx_conf->def.chan); in ieee80211_mgmt_tx()
H A Dutil.c924 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_regulatory_limit_wmm_params() local
934 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_regulatory_limit_wmm_params()
935 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params()
936 center_freq = chanctx_conf->def.chan->center_freq; in ieee80211_regulatory_limit_wmm_params()
967 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local
982 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_set_wmm_default()
983 use_11b = (chanctx_conf && in ieee80211_set_wmm_default()
984 chanctx_conf->def.chan->band == NL80211_BAND_2GHZ) && in ieee80211_set_wmm_default()
1655 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_assign_chanctx()
2286 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_smps() local
[all …]
H A Dmesh.c400 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ds_params_ie() local
408 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ds_params_ie()
409 if (WARN_ON(!chanctx_conf)) { in mesh_add_ds_params_ie()
413 chan = chanctx_conf->def.chan; in mesh_add_ds_params_ie()
457 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ht_oper_ie() local
464 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ht_oper_ie()
465 if (WARN_ON(!chanctx_conf)) { in mesh_add_ht_oper_ie()
469 channel = chanctx_conf->def.chan; in mesh_add_ht_oper_ie()
529 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_vht_oper_ie() local
536 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_vht_oper_ie()
[all …]
H A Dieee80211_i.h1630 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local
1636 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_sband()
1638 if (!chanctx_conf) { in ieee80211_get_sband()
1643 band = chanctx_conf->def.chan->band; in ieee80211_get_sband()
1653 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_link_sband() local
1657 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_get_link_sband()
1658 if (!chanctx_conf) { in ieee80211_get_link_sband()
1663 band = chanctx_conf->def.chan->band; in ieee80211_get_link_sband()
H A Diface.c49 struct ieee80211_chanctx_conf *chanctx_conf; in __ieee80211_recalc_txpower() local
53 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in __ieee80211_recalc_txpower()
54 if (!chanctx_conf) { in __ieee80211_recalc_txpower()
59 power = ieee80211_chandef_max_power(&chanctx_conf->def); in __ieee80211_recalc_txpower()
587 RCU_INIT_POINTER(sdata->vif.bss_conf.chanctx_conf, NULL); in ieee80211_do_stop()
H A Dcfg.c926 if (rcu_access_pointer(sdata->deflink.conf->chanctx_conf) && in ieee80211_set_monitor_channel()
3469 if (rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) && in ieee80211_set_bitrate_mask()
4047 conf = wiphy_dereference(wiphy, link_conf->chanctx_conf); in __ieee80211_channel_switch()
4259 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local
4275 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_probe_client()
4276 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client()
4280 band = chanctx_conf->def.chan->band; in ieee80211_probe_client()
4346 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local
4357 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_cfg_get_channel()
4358 if (chanctx_conf) { in ieee80211_cfg_get_channel()
H A Dsta_info.c1783 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local
1845 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_send_null_response()
1846 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response()
1852 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
H A Dmlme.c1438 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_assoc_link_elems() local
1467 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_assoc_link_elems()
1468 if (chanctx_conf) in ieee80211_assoc_link_elems()
1469 width = chanctx_conf->def.width; in ieee80211_assoc_link_elems()
2556 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_sta_process_chanswitch()
6779 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_rx_mgmt_beacon() local
6817 chanctx_conf = rcu_dereference(bss_conf->chanctx_conf); in ieee80211_rx_mgmt_beacon()
6818 if (!chanctx_conf) { in ieee80211_rx_mgmt_beacon()
6824 ieee80211_channel_to_khz(chanctx_conf->def.chan)) { in ieee80211_rx_mgmt_beacon()
6828 chan = chanctx_conf->def.chan; in ieee80211_rx_mgmt_beacon()
H A Dairtime.c771 conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ieee80211_calc_expected_tx_airtime()
H A Dmain.c175 if (!rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf)) in ieee80211_calc_hw_conf_chan()
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c1041 rcu_dereference(vif->bss_conf.chanctx_conf)->def.chan); in hwsim_send_ps_poll()
1079 rcu_dereference(vif->bss_conf.chanctx_conf)->def.chan); in hwsim_send_nullfunc()
1650 chanctx = rcu_dereference(conf->chanctx_conf); in mac80211_hwsim_tx_iter()
1923 if (!rcu_access_pointer(bss_conf->chanctx_conf)) in mac80211_hwsim_select_tx_link()
1940 struct ieee80211_chanctx_conf *chanctx_conf; in mac80211_hwsim_tx() local
2005 chanctx_conf = rcu_dereference(bss_conf->chanctx_conf); in mac80211_hwsim_tx()
2006 if (chanctx_conf) { in mac80211_hwsim_tx()
2007 channel = chanctx_conf->def.chan; in mac80211_hwsim_tx()
2008 confbw = chanctx_conf->def.width; in mac80211_hwsim_tx()
2266 rcu_dereference(link_conf->chanctx_conf)->def.chan); in __mac80211_hwsim_beacon_tx()
[all …]
/linux/include/net/
H A Dmac80211.h830 struct ieee80211_chanctx_conf __rcu *chanctx_conf; member
6657 struct ieee80211_chanctx_conf *chanctx_conf,
6783 struct ieee80211_chanctx_conf *chanctx_conf);
/linux/drivers/net/wireless/ath/ath11k/
H A Dmac.c510 conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ath11k_mac_vif_chan()
7279 if (rcu_access_pointer(vif->bss_conf.chanctx_conf) != arg->ctx) in ath11k_mac_change_chanctx_cnt_iter()
7292 ctx = rcu_access_pointer(vif->bss_conf.chanctx_conf); in ath11k_mac_change_chanctx_fill_iter()
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c493 conf = rcu_dereference(link_conf->chanctx_conf); in ath12k_mac_vif_link_chan()
7790 if (rcu_access_pointer(vif->bss_conf.chanctx_conf) != arg->ctx) in ath12k_mac_change_chanctx_cnt_iter()
7812 ctx = rcu_access_pointer(vif->bss_conf.chanctx_conf); in ath12k_mac_change_chanctx_fill_iter()

12