Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
124 phy_ctx_id = *((u16 *)chanctx_conf->drv_priv); in iwl_get_coex_type()
267 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_bt_notif_iterator() local
286 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_bt_notif_iterator()
289 if ((!chanctx_conf || in iwl_mvm_bt_notif_iterator()
290 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ)) { in iwl_mvm_bt_notif_iterator()
334 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
[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()
588 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_rx_phyinfo_write() local
600 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_dbgfs_rx_phyinfo_write()
602 if (!chanctx_conf) { in iwl_dbgfs_rx_phyinfo_write()
608 phy_ctxt = &mvm->phy_ctxts[*(u16 *)chanctx_conf->drv_priv]; in iwl_dbgfs_rx_phyinfo_write()
613 ret = iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, &chanctx_conf->min_def, in iwl_dbgfs_rx_phyinfo_write()
[all …]
Dpower.c281 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_power_is_radar() local
286 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_power_is_radar()
287 WARN_ON(!chanctx_conf); in iwl_mvm_power_is_radar()
288 if (chanctx_conf) { in iwl_mvm_power_is_radar()
289 chan = chanctx_conf->def.chan; in iwl_mvm_power_is_radar()
Dtx.c1974 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in iwl_mvm_tx_reclaim() local
1977 chanctx_conf = in iwl_mvm_tx_reclaim()
1978 rcu_dereference(mvmsta->vif->bss_conf.chanctx_conf); in iwl_mvm_tx_reclaim()
1980 if (WARN_ON_ONCE(!chanctx_conf)) in iwl_mvm_tx_reclaim()
1983 tx_info->band = chanctx_conf->def.chan->band; in iwl_mvm_tx_reclaim()
Dftm-responder.c401 pctx = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_ftm_start_responder()
Dtdls.c383 rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_tdls_config_channel_switch()
Drs.c1963 struct ieee80211_chanctx_conf *chanctx_conf; in rs_tpc_perform() local
1984 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in rs_tpc_perform()
1985 if (WARN_ON(!chanctx_conf)) in rs_tpc_perform()
1988 band = chanctx_conf->def.chan->band; in rs_tpc_perform()
Dmac-ctxt.c484 chanctx = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_mac_ctxt_cmd_common()
937 ctx = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_mac_ctxt_send_beacon_v9()
Dmac80211.c1940 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_cfg_he_sta() local
1968 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_cfg_he_sta()
1969 if (WARN_ON(!chanctx_conf)) { in iwl_mvm_cfg_he_sta()
1974 sband = mvm->hw->wiphy->bands[chanctx_conf->def.chan->band]; in iwl_mvm_cfg_he_sta()
4036 if (rcu_access_pointer(vif->bss_conf.chanctx_conf) == data->ctx && in iwl_mvm_ftm_responder_chanctx_iter()
/linux-6.1.9/net/mac80211/
Docb.c45 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ocb_rx_no_sta() local
63 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ocb_rx_no_sta()
64 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ocb_rx_no_sta()
68 band = chanctx_conf->def.chan->band; in ieee80211_ocb_rx_no_sta()
69 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ocb_rx_no_sta()
Dethtool.c73 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_stats() local
153 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_stats()
154 if (chanctx_conf) in ieee80211_get_stats()
155 channel = chanctx_conf->def.chan; in ieee80211_get_stats()
Dchan.c75 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_link_get_chanctx()
276 if (rcu_access_pointer(link_conf->chanctx_conf) != conf) in ieee80211_get_chanctx_vif_max_required_bw()
339 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == conf) in ieee80211_get_chanctx_max_required_bw()
419 if (rcu_access_pointer(link_conf->chanctx_conf) != &ctx->conf) in ieee80211_chan_bw_change()
605 if (rcu_access_pointer(link->conf->chanctx_conf) != conf) in ieee80211_chanctx_radar_required()
776 if (rcu_access_pointer(link_conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
846 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_assign_link_chanctx()
868 rcu_assign_pointer(link->conf->chanctx_conf, conf); in ieee80211_assign_link_chanctx()
934 if (rcu_access_pointer(link->conf->chanctx_conf) != &chanctx->conf) in ieee80211_recalc_smps_chanctx()
964 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
[all …]
Dmesh.c394 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ds_params_ie() local
402 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ds_params_ie()
403 if (WARN_ON(!chanctx_conf)) { in mesh_add_ds_params_ie()
407 chan = chanctx_conf->def.chan; in mesh_add_ds_params_ie()
451 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ht_oper_ie() local
458 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ht_oper_ie()
459 if (WARN_ON(!chanctx_conf)) { in mesh_add_ht_oper_ie()
463 channel = chanctx_conf->def.chan; in mesh_add_ht_oper_ie()
523 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_vht_oper_ie() local
530 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_vht_oper_ie()
[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.c51 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_duration() local
59 chanctx_conf = rcu_dereference(tx->sdata->vif.bss_conf.chanctx_conf); in ieee80211_duration()
60 if (chanctx_conf) { in ieee80211_duration()
61 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_duration()
62 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_duration()
2315 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local
2398 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit()
2399 if (!chanctx_conf) { in ieee80211_monitor_start_xmit()
2402 chanctx_conf = in ieee80211_monitor_start_xmit()
2403 rcu_dereference(tmp_sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit()
[all …]
Doffchannel.c864 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in ieee80211_mgmt_tx() local
876 chanctx_conf = rcu_dereference(conf->chanctx_conf); in ieee80211_mgmt_tx()
877 if (!chanctx_conf) in ieee80211_mgmt_tx()
880 if (mlo_sta && params->chan == chanctx_conf->def.chan && in ieee80211_mgmt_tx()
889 chanctx_conf = NULL; in ieee80211_mgmt_tx()
892 if (chanctx_conf) { in ieee80211_mgmt_tx()
895 chanctx_conf->def.chan); in ieee80211_mgmt_tx()
Dieee80211_i.h1154 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_vif_get_shift() local
1158 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ieee80211_vif_get_shift()
1159 if (chanctx_conf) in ieee80211_vif_get_shift()
1160 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_vif_get_shift()
1574 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local
1580 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_sband()
1582 if (!chanctx_conf) { in ieee80211_get_sband()
1587 band = chanctx_conf->def.chan->band; in ieee80211_get_sband()
1597 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_link_sband() local
1601 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_get_link_sband()
[all …]
Dibss.c598 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_add_sta() local
625 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ibss_add_sta()
626 if (WARN_ON_ONCE(!chanctx_conf)) in ieee80211_ibss_add_sta()
628 band = chanctx_conf->def.chan->band; in ieee80211_ibss_add_sta()
629 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_add_sta()
1202 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local
1224 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ibss_rx_no_sta()
1225 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta()
1229 band = chanctx_conf->def.chan->band; in ieee80211_ibss_rx_no_sta()
1230 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_rx_no_sta()
Dutil.c1561 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_regulatory_limit_wmm_params() local
1571 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_regulatory_limit_wmm_params()
1572 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params()
1573 center_freq = chanctx_conf->def.chan->center_freq; in ieee80211_regulatory_limit_wmm_params()
1604 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local
1619 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_set_wmm_default()
1620 use_11b = (chanctx_conf && in ieee80211_set_wmm_default()
1621 chanctx_conf->def.chan->band == NL80211_BAND_2GHZ) && in ieee80211_set_wmm_default()
2291 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_assign_chanctx()
2839 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_smps() local
[all …]
Diface.c50 struct ieee80211_chanctx_conf *chanctx_conf; in __ieee80211_recalc_txpower() local
54 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in __ieee80211_recalc_txpower()
55 if (!chanctx_conf) { in __ieee80211_recalc_txpower()
60 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()
Dcfg.c3232 if (rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) && in ieee80211_set_bitrate_mask()
3772 conf = rcu_dereference_protected(sdata->vif.bss_conf.chanctx_conf, in __ieee80211_channel_switch()
3985 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local
3993 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_probe_client()
3994 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client()
3998 band = chanctx_conf->def.chan->band; in ieee80211_probe_client()
4072 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local
4083 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_cfg_get_channel()
4084 if (chanctx_conf) { in ieee80211_cfg_get_channel()
Dsta_info.c1608 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local
1670 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_send_null_response()
1671 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response()
1677 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
Dmlme.c968 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_assoc_link_elems() local
997 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_assoc_link_elems()
998 if (chanctx_conf) in ieee80211_assoc_link_elems()
999 width = chanctx_conf->def.width; in ieee80211_assoc_link_elems()
1872 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_sta_process_chanswitch()
5438 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_rx_mgmt_beacon() local
5474 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_rx_mgmt_beacon()
5475 if (!chanctx_conf) { in ieee80211_rx_mgmt_beacon()
5481 ieee80211_channel_to_khz(chanctx_conf->def.chan)) { in ieee80211_rx_mgmt_beacon()
5485 chan = chanctx_conf->def.chan; in ieee80211_rx_mgmt_beacon()
Dairtime.c643 conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ieee80211_calc_expected_tx_airtime()
/linux-6.1.9/drivers/net/wireless/
Dmac80211_hwsim.c903 rcu_dereference(vif->bss_conf.chanctx_conf)->def.chan); in hwsim_send_ps_poll()
941 rcu_dereference(vif->bss_conf.chanctx_conf)->def.chan); in hwsim_send_nullfunc()
1512 chanctx = rcu_dereference(conf->chanctx_conf); in mac80211_hwsim_tx_iter()
1781 if (!rcu_access_pointer(bss_conf->chanctx_conf)) in mac80211_hwsim_select_tx_link()
1798 struct ieee80211_chanctx_conf *chanctx_conf; in mac80211_hwsim_tx() local
1856 chanctx_conf = rcu_dereference(bss_conf->chanctx_conf); in mac80211_hwsim_tx()
1857 if (chanctx_conf) { in mac80211_hwsim_tx()
1858 channel = chanctx_conf->def.chan; in mac80211_hwsim_tx()
1859 confbw = chanctx_conf->def.width; in mac80211_hwsim_tx()
2117 rcu_dereference(link_conf->chanctx_conf)->def.chan); in mac80211_hwsim_beacon_tx()
[all …]

12