Home
last modified time | relevance | path

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

12

/Linux-v5.15/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->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->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->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->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->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.c1849 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in iwl_mvm_tx_reclaim() local
1852 chanctx_conf = in iwl_mvm_tx_reclaim()
1853 rcu_dereference(mvmsta->vif->chanctx_conf); in iwl_mvm_tx_reclaim()
1855 if (WARN_ON_ONCE(!chanctx_conf)) in iwl_mvm_tx_reclaim()
1858 tx_info->band = chanctx_conf->def.chan->band; in iwl_mvm_tx_reclaim()
Dftm-responder.c394 pctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_ftm_start_responder()
Dtdls.c383 rcu_dereference(vif->chanctx_conf); in iwl_mvm_tdls_config_channel_switch()
Drs.c2009 struct ieee80211_chanctx_conf *chanctx_conf; in rs_tpc_perform() local
2030 chanctx_conf = rcu_dereference(vif->chanctx_conf); in rs_tpc_perform()
2031 if (WARN_ON(!chanctx_conf)) in rs_tpc_perform()
2034 band = chanctx_conf->def.chan->band; in rs_tpc_perform()
Dmac-ctxt.c484 chanctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_mac_ctxt_cmd_common()
940 ctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_mac_ctxt_send_beacon_v9()
Dmac80211.c2013 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_cfg_he_sta() local
2018 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_cfg_he_sta()
2019 if (WARN_ON(!chanctx_conf)) { in iwl_mvm_cfg_he_sta()
2024 sband = mvm->hw->wiphy->bands[chanctx_conf->def.chan->band]; in iwl_mvm_cfg_he_sta()
3981 if (rcu_access_pointer(vif->chanctx_conf) == data->ctx && in iwl_mvm_ftm_responder_chanctx_iter()
/Linux-v5.15/net/mac80211/
Docb.c44 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ocb_rx_no_sta() local
62 chanctx_conf = rcu_dereference(sdata->vif.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()
68 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ocb_rx_no_sta()
Dethtool.c69 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_stats() local
149 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_stats()
150 if (chanctx_conf) in ieee80211_get_stats()
151 channel = chanctx_conf->def.chan; in ieee80211_get_stats()
Dchan.c75 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_vif_get_chanctx()
261 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_get_chanctx_max_required_bw()
299 if (sdata && rcu_access_pointer(sdata->vif.chanctx_conf) == conf) in ieee80211_get_chanctx_max_required_bw()
369 if (rcu_access_pointer(sta->sdata->vif.chanctx_conf) != in ieee80211_chan_bw_change()
533 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_chanctx_radar_required()
689 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
759 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_assign_vif_chanctx()
781 rcu_assign_pointer(sdata->vif.chanctx_conf, conf); in ieee80211_assign_vif_chanctx()
825 if (rcu_access_pointer(sdata->vif.chanctx_conf) != in ieee80211_recalc_smps_chanctx()
874 rcu_access_pointer(sdata->vif.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
[all …]
Dtx.c52 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_duration() local
60 chanctx_conf = rcu_dereference(tx->sdata->vif.chanctx_conf); in ieee80211_duration()
61 if (chanctx_conf) { in ieee80211_duration()
62 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_duration()
63 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_duration()
2275 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local
2356 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_monitor_start_xmit()
2357 if (!chanctx_conf) { in ieee80211_monitor_start_xmit()
2360 chanctx_conf = in ieee80211_monitor_start_xmit()
2361 rcu_dereference(tmp_sdata->vif.chanctx_conf); in ieee80211_monitor_start_xmit()
[all …]
Dmesh.c393 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ds_params_ie() local
401 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_ds_params_ie()
402 if (WARN_ON(!chanctx_conf)) { in mesh_add_ds_params_ie()
406 chan = chanctx_conf->def.chan; in mesh_add_ds_params_ie()
450 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ht_oper_ie() local
457 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_ht_oper_ie()
458 if (WARN_ON(!chanctx_conf)) { in mesh_add_ht_oper_ie()
462 channel = chanctx_conf->def.chan; in mesh_add_ht_oper_ie()
522 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_vht_oper_ie() local
529 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_vht_oper_ie()
[all …]
Drate.c37 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_init() local
46 chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); in rate_control_rate_init()
47 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_init()
52 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
62 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, in rate_control_rate_init()
98 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_update() local
103 chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); in rate_control_rate_update()
104 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_update()
110 ref->ops->rate_update(ref->priv, sband, &chanctx_conf->def, in rate_control_rate_update()
Dieee80211_i.h1050 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_vif_get_shift() local
1054 chanctx_conf = rcu_dereference(vif->chanctx_conf); in ieee80211_vif_get_shift()
1055 if (chanctx_conf) in ieee80211_vif_get_shift()
1056 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_vif_get_shift()
1479 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local
1483 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_sband()
1485 if (!chanctx_conf) { in ieee80211_get_sband()
1490 band = chanctx_conf->def.chan->band; in ieee80211_get_sband()
2175 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_tx_skb_tid() local
2178 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_tx_skb_tid()
[all …]
Dibss.c598 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_add_sta() local
625 chanctx_conf = rcu_dereference(sdata->vif.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()
1201 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local
1223 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ibss_rx_no_sta()
1224 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta()
1228 band = chanctx_conf->def.chan->band; in ieee80211_ibss_rx_no_sta()
1229 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_rx_no_sta()
Dutil.c1526 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_regulatory_limit_wmm_params() local
1536 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_regulatory_limit_wmm_params()
1537 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params()
1538 center_freq = chanctx_conf->def.chan->center_freq; in ieee80211_regulatory_limit_wmm_params()
1568 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local
1583 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_set_wmm_default()
1584 use_11b = (chanctx_conf && in ieee80211_set_wmm_default()
1585 chanctx_conf->def.chan->band == NL80211_BAND_2GHZ) && in ieee80211_set_wmm_default()
2221 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_assign_chanctx()
2730 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_smps() local
[all …]
Doffchannel.c845 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_mgmt_tx() local
848 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_mgmt_tx()
850 if (chanctx_conf) { in ieee80211_mgmt_tx()
853 chanctx_conf->def.chan); in ieee80211_mgmt_tx()
Dmlme.c634 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_add_he_ie() local
639 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_add_he_ie()
640 if (!WARN_ON_ONCE(!chanctx_conf)) in ieee80211_add_he_ie()
642 &chanctx_conf->def, in ieee80211_add_he_ie()
679 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_assoc() local
697 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_assoc()
698 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_assoc()
702 chan = chanctx_conf->def.chan; in ieee80211_send_assoc()
714 rates_len = ieee80211_parse_bitrates(&chanctx_conf->def, sband, in ieee80211_send_assoc()
851 *pos++ = ieee80211_chandef_max_power(&chanctx_conf->def); in ieee80211_send_assoc()
[all …]
Diface.c50 struct ieee80211_chanctx_conf *chanctx_conf; in __ieee80211_recalc_txpower() local
54 chanctx_conf = rcu_dereference(sdata->vif.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()
505 RCU_INIT_POINTER(sdata->vif.chanctx_conf, NULL); in ieee80211_do_stop()
Dcfg.c2975 if (rcu_access_pointer(sdata->vif.chanctx_conf) && in ieee80211_set_bitrate_mask()
3461 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in __ieee80211_channel_switch()
3672 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local
3680 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_probe_client()
3681 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client()
3685 band = chanctx_conf->def.chan->band; in ieee80211_probe_client()
3758 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local
3762 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_cfg_get_channel()
3763 if (chanctx_conf) { in ieee80211_cfg_get_channel()
Dsta_info.c1395 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local
1457 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_null_response()
1458 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response()
1464 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
Dairtime.c643 conf = rcu_dereference(vif->chanctx_conf); in ieee80211_calc_expected_tx_airtime()
/Linux-v5.15/drivers/net/wireless/
Dmac80211_hwsim.c838 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_ps_poll()
871 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_nullfunc()
1391 if (!vif->chanctx_conf) in mac80211_hwsim_tx_iter()
1395 rcu_dereference(vif->chanctx_conf)->def.chan)) in mac80211_hwsim_tx_iter()
1595 struct ieee80211_chanctx_conf *chanctx_conf; in mac80211_hwsim_tx() local
1611 chanctx_conf = rcu_dereference(txi->control.vif->chanctx_conf); in mac80211_hwsim_tx()
1612 if (chanctx_conf) in mac80211_hwsim_tx()
1613 channel = chanctx_conf->def.chan; in mac80211_hwsim_tx()
1839 rcu_dereference(vif->chanctx_conf)->def.chan); in mac80211_hwsim_beacon_tx()
1843 rcu_dereference(vif->chanctx_conf)->def.chan); in mac80211_hwsim_beacon_tx()

12