Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
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 …]
Ddebugfs-vif.c174 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_mac_params_read() local
237 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_dbgfs_mac_params_read()
238 if (chanctx_conf) in iwl_dbgfs_mac_params_read()
241 chanctx_conf->rx_chains_static, in iwl_dbgfs_mac_params_read()
242 chanctx_conf->rx_chains_dynamic); in iwl_dbgfs_mac_params_read()
594 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_rx_phyinfo_write() local
600 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_dbgfs_rx_phyinfo_write()
601 if (!chanctx_conf) { in iwl_dbgfs_rx_phyinfo_write()
608 min_def = chanctx_conf->min_def; in iwl_dbgfs_rx_phyinfo_write()
609 ap_def = chanctx_conf->ap; in iwl_dbgfs_rx_phyinfo_write()
[all …]
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()
Dmld-mac80211.c437 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_esr_mode_inactive() local
445 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_esr_mode_inactive()
448 if (!chanctx_conf || !phy_ctxt) { in iwl_mvm_esr_mode_inactive()
454 static_chains = chanctx_conf->rx_chains_static; in iwl_mvm_esr_mode_inactive()
455 dynamic_chains = chanctx_conf->rx_chains_dynamic; in iwl_mvm_esr_mode_inactive()
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()
Dftm-responder.c437 pctx = rcu_dereference(bss_conf->chanctx_conf); in iwl_mvm_ftm_start_responder()
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()
Dtdls.c383 rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_tdls_config_channel_switch()
/linux-6.12.1/net/mac80211/
Docb.c45 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ocb_rx_no_sta() local
62 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ocb_rx_no_sta()
63 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ocb_rx_no_sta()
67 band = chanctx_conf->def.chan->band; in ieee80211_ocb_rx_no_sta()
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()
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()
362 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &ctx->conf) in ieee80211_get_chanctx_max_required_bw()
445 if (rcu_access_pointer(link_conf->chanctx_conf) != &ctx->conf) in ieee80211_chan_bw_change()
653 if (rcu_access_pointer(link->conf->chanctx_conf) != conf) in ieee80211_chanctx_radar_required()
790 if (rcu_access_pointer(link_conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
822 if (rcu_access_pointer(link->conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
868 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_assign_link_chanctx()
898 rcu_assign_pointer(link->conf->chanctx_conf, conf); in ieee80211_assign_link_chanctx()
919 if (rcu_access_pointer(tmp->conf->chanctx_conf)) { in ieee80211_assign_link_chanctx()
[all …]
Drate.c38 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_init() local
47 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); in rate_control_rate_init()
48 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_init()
53 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
63 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, in rate_control_rate_init()
102 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_update() local
109 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); in rate_control_rate_update()
110 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_update()
116 ref->ops->rate_update(ref->priv, sband, &chanctx_conf->def, in rate_control_rate_update()
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()
2305 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local
2388 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit()
2389 if (!chanctx_conf) { in ieee80211_monitor_start_xmit()
2392 chanctx_conf = in ieee80211_monitor_start_xmit()
2393 rcu_dereference(tmp_sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit()
2396 if (chanctx_conf) in ieee80211_monitor_start_xmit()
[all …]
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()
Dutil.c940 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_regulatory_limit_wmm_params() local
950 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_regulatory_limit_wmm_params()
951 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params()
952 center_freq = chanctx_conf->def.chan->center_freq; in ieee80211_regulatory_limit_wmm_params()
983 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local
998 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_set_wmm_default()
999 use_11b = (chanctx_conf && in ieee80211_set_wmm_default()
1000 chanctx_conf->def.chan->band == NL80211_BAND_2GHZ) && in ieee80211_set_wmm_default()
1671 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_assign_chanctx()
2294 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_smps() local
[all …]
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 …]
Dibss.c588 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_add_sta() local
614 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ibss_add_sta()
615 if (WARN_ON_ONCE(!chanctx_conf)) in ieee80211_ibss_add_sta()
617 band = chanctx_conf->def.chan->band; in ieee80211_ibss_add_sta()
1182 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local
1203 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ibss_rx_no_sta()
1204 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta()
1208 band = chanctx_conf->def.chan->band; in ieee80211_ibss_rx_no_sta()
Dieee80211_i.h1634 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local
1640 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_sband()
1642 if (!chanctx_conf) { in ieee80211_get_sband()
1647 band = chanctx_conf->def.chan->band; in ieee80211_get_sband()
1657 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_link_sband() local
1661 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_get_link_sband()
1662 if (!chanctx_conf) { in ieee80211_get_link_sband()
1667 band = chanctx_conf->def.chan->band; in ieee80211_get_link_sband()
Diface.c49 struct ieee80211_chanctx_conf *chanctx_conf; in __ieee80211_recalc_txpower() local
53 chanctx_conf = rcu_dereference(sdata->vif.bss_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()
588 RCU_INIT_POINTER(sdata->vif.bss_conf.chanctx_conf, NULL); in ieee80211_do_stop()
Dcfg.c3417 if (rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) && in ieee80211_set_bitrate_mask()
3996 conf = wiphy_dereference(wiphy, link_conf->chanctx_conf); in __ieee80211_channel_switch()
4208 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local
4224 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_probe_client()
4225 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client()
4229 band = chanctx_conf->def.chan->band; in ieee80211_probe_client()
4295 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local
4306 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_cfg_get_channel()
4307 if (chanctx_conf) { in ieee80211_cfg_get_channel()
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()
Dmlme.c1436 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_assoc_link_elems() local
1465 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_assoc_link_elems()
1466 if (chanctx_conf) in ieee80211_assoc_link_elems()
1467 width = chanctx_conf->def.width; in ieee80211_assoc_link_elems()
2554 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_sta_process_chanswitch()
6689 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_rx_mgmt_beacon() local
6727 chanctx_conf = rcu_dereference(bss_conf->chanctx_conf); in ieee80211_rx_mgmt_beacon()
6728 if (!chanctx_conf) { in ieee80211_rx_mgmt_beacon()
6734 ieee80211_channel_to_khz(chanctx_conf->def.chan)) { in ieee80211_rx_mgmt_beacon()
6738 chan = chanctx_conf->def.chan; in ieee80211_rx_mgmt_beacon()
Dairtime.c771 conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ieee80211_calc_expected_tx_airtime()
/linux-6.12.1/drivers/net/wireless/virtual/
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-6.12.1/include/net/
Dmac80211.h817 struct ieee80211_chanctx_conf __rcu *chanctx_conf; member
6629 struct ieee80211_chanctx_conf *chanctx_conf,
6755 struct ieee80211_chanctx_conf *chanctx_conf);

12