Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dcoex.c109 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_get_coex_type()
111 if (!chanctx_conf || in iwl_get_coex_type()
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()
423 data->primary = chanctx_conf; in iwl_mvm_bt_notif_per_link()
439 data->primary = chanctx_conf; in iwl_mvm_bt_notif_per_link()
442 data->secondary = chanctx_conf; in iwl_mvm_bt_notif_per_link()
458 data->primary = chanctx_conf; in iwl_mvm_bt_notif_per_link()
461 data->secondary = chanctx_conf; in iwl_mvm_bt_notif_per_link()
464 if (data->primary == chanctx_conf) in iwl_mvm_bt_notif_per_link()
[all …]
H A 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()
628 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_rx_phyinfo_write() local
634 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_dbgfs_rx_phyinfo_write()
635 if (!chanctx_conf) { in iwl_dbgfs_rx_phyinfo_write()
642 min_def = chanctx_conf->min_def; in iwl_dbgfs_rx_phyinfo_write()
643 ap_def = chanctx_conf->ap; in iwl_dbgfs_rx_phyinfo_write()
[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.c389 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_esr_mode_inactive() local
397 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_esr_mode_inactive()
400 if (!chanctx_conf || !phy_ctxt) { in iwl_mvm_esr_mode_inactive()
406 static_chains = chanctx_conf->rx_chains_static; in iwl_mvm_esr_mode_inactive()
407 dynamic_chains = chanctx_conf->rx_chains_dynamic; in iwl_mvm_esr_mode_inactive()
H A Dtx.c2087 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in iwl_mvm_tx_reclaim() local
2091 chanctx_conf = in iwl_mvm_tx_reclaim()
2092 rcu_dereference(mvmsta->vif->bss_conf.chanctx_conf); in iwl_mvm_tx_reclaim()
2094 if (WARN_ON_ONCE(!chanctx_conf)) in iwl_mvm_tx_reclaim()
2097 tx_info->band = chanctx_conf->def.chan->band; in iwl_mvm_tx_reclaim()
/linux-6.15/net/mac80211/
H A 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()
H A Dethtool.c77 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_stats() local
157 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_stats()
158 if (chanctx_conf) in ieee80211_get_stats()
159 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()
808 if (rcu_access_pointer(link_conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
916 rcu_assign_pointer(link->conf->chanctx_conf, conf); in ieee80211_assign_link_chanctx()
937 if (rcu_access_pointer(tmp->conf->chanctx_conf)) { in ieee80211_assign_link_chanctx()
1073 rcu_assign_pointer(vlan_conf->chanctx_conf, conf); in __ieee80211_link_copy_chanctx_to_vlans()
1727 rcu_assign_pointer(link_conf->chanctx_conf, in ieee80211_vif_use_reserved_switch()
2136 if (rcu_access_pointer(link->conf->chanctx_conf)) in ieee80211_link_release_channel()
2160 ap_conf->chanctx_conf); in ieee80211_link_vlan_copy_chanctx()
2161 rcu_assign_pointer(link_conf->chanctx_conf, conf); in ieee80211_link_vlan_copy_chanctx()
2167 struct ieee80211_chanctx_conf *chanctx_conf, in ieee80211_iter_chan_contexts_atomic() argument
[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.c60 chanctx_conf = rcu_dereference(tx->sdata->vif.bss_conf.chanctx_conf); in ieee80211_duration()
61 if (chanctx_conf) in ieee80211_duration()
2390 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit()
2394 chanctx_conf = in ieee80211_monitor_start_xmit()
2398 if (chanctx_conf) in ieee80211_monitor_start_xmit()
2636 chanctx_conf = in ieee80211_build_hdr()
2659 chanctx_conf = in ieee80211_build_hdr()
3079 chanctx_conf = in ieee80211_check_fast_xmit()
4808 chanctx_conf = in ieee80211_tx_pending_skb()
5423 chanctx_conf = in __ieee80211_beacon_get()
[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.c937 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_regulatory_limit_wmm_params()
938 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params()
985 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_set_wmm_default()
986 use_11b = (chanctx_conf && in ieee80211_set_wmm_default()
2297 chanctx_conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_recalc_smps()
2306 if (!chanctx_conf) in ieee80211_recalc_smps()
2336 chanctx_conf = rcu_dereference_protected(bss_conf->chanctx_conf, in ieee80211_recalc_min_chandef()
2348 if (!chanctx_conf) in ieee80211_recalc_min_chandef()
3497 chanctx_conf = sdata_dereference(link->conf->chanctx_conf, in ieee80211_dfs_cac_cancel()
3555 if (data && data != chanctx_conf) in ieee80211_radar_mark_chan_ctx_iterator()
[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()
536 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_vht_oper_ie()
537 if (WARN_ON(!chanctx_conf)) { in mesh_add_vht_oper_ie()
[all …]
H A Dibss.c589 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_add_sta() local
615 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ibss_add_sta()
616 if (WARN_ON_ONCE(!chanctx_conf)) in ieee80211_ibss_add_sta()
618 band = chanctx_conf->def.chan->band; in ieee80211_ibss_add_sta()
1184 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local
1205 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ibss_rx_no_sta()
1206 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta()
1210 band = chanctx_conf->def.chan->band; in ieee80211_ibss_rx_no_sta()
H A Dieee80211_i.h1649 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local
1655 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_sband()
1657 if (!chanctx_conf) { in ieee80211_get_sband()
1662 band = chanctx_conf->def.chan->band; in ieee80211_get_sband()
1672 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_link_sband() local
1676 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_get_link_sband()
1677 if (!chanctx_conf) { in ieee80211_get_link_sband()
1682 band = chanctx_conf->def.chan->band; in ieee80211_get_link_sband()
H A Dhe.c291 conf = sdata_dereference(link->conf->chanctx_conf, sta->sdata); in ieee80211_prepare_rx_omi_bw()
343 conf = sdata_dereference(link->conf->chanctx_conf, sta->sdata); in ieee80211_finalize_rx_omi_bw()
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()
579 RCU_INIT_POINTER(sdata->vif.bss_conf.chanctx_conf, NULL); in ieee80211_do_stop()
H A Dcfg.c930 if (rcu_access_pointer(sdata->deflink.conf->chanctx_conf) && in ieee80211_set_monitor_channel()
3481 if (rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) && in ieee80211_set_bitrate_mask()
4059 conf = wiphy_dereference(wiphy, link_conf->chanctx_conf); in __ieee80211_channel_switch()
4271 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local
4287 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_probe_client()
4288 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client()
4292 band = chanctx_conf->def.chan->band; in ieee80211_probe_client()
4358 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local
4369 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_cfg_get_channel()
4370 if (chanctx_conf) { in ieee80211_cfg_get_channel()
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/
H A Dpower.c106 const struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mld_power_is_radar() local
108 chanctx_conf = wiphy_dereference(mld->wiphy, link_conf->chanctx_conf); in iwl_mld_power_is_radar()
110 if (WARN_ON(!chanctx_conf)) in iwl_mld_power_is_radar()
113 return chanctx_conf->def.chan->flags & IEEE80211_CHAN_RADAR; in iwl_mld_power_is_radar()
H A Dphy.c50 if (rcu_access_pointer(link_conf->chanctx_conf) != data->ctx) in iwl_mld_chanctx_usage_iter()
H A Dap.c110 ctx = wiphy_dereference(mld->wiphy, link->chanctx_conf); in iwl_mld_fill_beacon_template_cmd()
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/tests/
H A Dutils.c185 KUNIT_EXPECT_NULL(test, rcu_access_pointer(link->chanctx_conf)); in iwlmld_kunit_assign_chanctx_to_link()
186 rcu_assign_pointer(link->chanctx_conf, ctx); in iwlmld_kunit_assign_chanctx_to_link()
470 chanctx = wiphy_dereference(mld->wiphy, link->chanctx_conf); in iwlmld_kunit_get_phy_of_link()
H A Dlink-selection.c111 wiphy_dereference(mld->wiphy, link->chanctx_conf); in setup_link()
/linux-6.15/drivers/net/wireless/ath/ath12k/
H A Dmac.h64 struct ieee80211_chanctx_conf *chanctx_conf; member
/linux-6.15/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c1650 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
2007 chanctx_conf = rcu_dereference(bss_conf->chanctx_conf); in mac80211_hwsim_tx()
2008 if (chanctx_conf) { in mac80211_hwsim_tx()
2009 channel = chanctx_conf->def.chan; in mac80211_hwsim_tx()
2010 confbw = chanctx_conf->def.width; in mac80211_hwsim_tx()
2632 struct ieee80211_chanctx_conf *chanctx_conf; in mac80211_hwsim_sta_rc_update() local
2638 chanctx_conf = rcu_dereference(vif_conf->chanctx_conf); in mac80211_hwsim_sta_rc_update()
2640 if (!WARN_ON(!chanctx_conf)) in mac80211_hwsim_sta_rc_update()
[all …]

12