/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | coex.c | 109 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_get_coex_type() 111 if (!chanctx_conf || in iwl_get_coex_type() 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() 334 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator() 341 if (chanctx_conf == data->primary) in iwl_mvm_bt_notif_iterator() 350 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator() 353 data->secondary = chanctx_conf; in iwl_mvm_bt_notif_iterator() 368 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator() 371 data->secondary = chanctx_conf; in iwl_mvm_bt_notif_iterator() [all …]
|
A D | debugfs-vif.c | 174 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() 581 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_rx_phyinfo_write() local 593 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_dbgfs_rx_phyinfo_write() 595 if (!chanctx_conf) { in iwl_dbgfs_rx_phyinfo_write() 601 phy_ctxt = &mvm->phy_ctxts[*(u16 *)chanctx_conf->drv_priv]; in iwl_dbgfs_rx_phyinfo_write() 607 chanctx_conf->rx_chains_static, in iwl_dbgfs_rx_phyinfo_write() [all …]
|
A D | power.c | 281 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()
|
A D | tx.c | 1978 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in iwl_mvm_tx_reclaim() local 1981 chanctx_conf = in iwl_mvm_tx_reclaim() 1982 rcu_dereference(mvmsta->vif->bss_conf.chanctx_conf); in iwl_mvm_tx_reclaim() 1984 if (WARN_ON_ONCE(!chanctx_conf)) in iwl_mvm_tx_reclaim() 1987 tx_info->band = chanctx_conf->def.chan->band; in iwl_mvm_tx_reclaim()
|
A D | ftm-responder.c | 401 pctx = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_ftm_start_responder()
|
A D | tdls.c | 383 rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_tdls_config_channel_switch()
|
A D | rs.c | 1963 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()
|
A D | mac-ctxt.c | 484 chanctx = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_mac_ctxt_cmd_common() 981 ctx = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_mac_ctxt_send_beacon_v9()
|
A D | mac80211.c | 1994 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_cfg_he_sta() local 2023 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_cfg_he_sta() 2024 if (WARN_ON(!chanctx_conf)) { in iwl_mvm_cfg_he_sta() 2029 sband = mvm->hw->wiphy->bands[chanctx_conf->def.chan->band]; in iwl_mvm_cfg_he_sta() 4188 if (rcu_access_pointer(vif->bss_conf.chanctx_conf) == data->ctx && in iwl_mvm_ftm_responder_chanctx_iter()
|
/linux-6.3-rc2/net/mac80211/ |
A D | ocb.c | 45 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()
|
A D | ethtool.c | 73 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()
|
A D | chan.c | 75 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() 776 if (rcu_access_pointer(link_conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype() 868 rcu_assign_pointer(link->conf->chanctx_conf, conf); in ieee80211_assign_link_chanctx() 1010 conf = rcu_dereference_protected(link_conf->chanctx_conf, in __ieee80211_link_copy_chanctx_to_vlans() 1025 rcu_assign_pointer(vlan_conf->chanctx_conf, conf); in __ieee80211_link_copy_chanctx_to_vlans() 1642 rcu_assign_pointer(link_conf->chanctx_conf, in ieee80211_vif_use_reserved_switch() 1996 if (rcu_access_pointer(link->conf->chanctx_conf)) { in ieee80211_link_release_channel() 2022 conf = rcu_dereference_protected(ap_conf->chanctx_conf, in ieee80211_link_vlan_copy_chanctx() 2024 rcu_assign_pointer(link_conf->chanctx_conf, conf); in ieee80211_link_vlan_copy_chanctx() [all …]
|
A D | mesh.c | 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() 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() 530 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_vht_oper_ie() 531 if (WARN_ON(!chanctx_conf)) { in mesh_add_vht_oper_ie() 535 channel = chanctx_conf->def.chan; in mesh_add_vht_oper_ie() 823 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_mesh_build_beacon() [all …]
|
A D | rate.c | 38 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()
|
A D | tx.c | 59 chanctx_conf = rcu_dereference(tx->sdata->vif.bss_conf.chanctx_conf); in ieee80211_duration() 60 if (chanctx_conf) { in ieee80211_duration() 2392 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit() 2396 chanctx_conf = in ieee80211_monitor_start_xmit() 2400 if (chanctx_conf) in ieee80211_monitor_start_xmit() 2632 chanctx_conf = in ieee80211_build_hdr() 2655 chanctx_conf = in ieee80211_build_hdr() 3059 chanctx_conf = in ieee80211_check_fast_xmit() 4759 chanctx_conf = in ieee80211_tx_pending_skb() 5285 chanctx_conf = in __ieee80211_beacon_get() [all …]
|
A D | offchannel.c | 864 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()
|
A D | ieee80211_i.h | 1157 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_vif_get_shift() local 1161 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ieee80211_vif_get_shift() 1162 if (chanctx_conf) in ieee80211_vif_get_shift() 1577 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local 1583 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_sband() 1585 if (!chanctx_conf) { in ieee80211_get_sband() 1590 band = chanctx_conf->def.chan->band; in ieee80211_get_sband() 1600 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_link_sband() local 1604 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_get_link_sband() 1605 if (!chanctx_conf) { in ieee80211_get_link_sband() [all …]
|
A D | ibss.c | 598 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()
|
A D | util.c | 1666 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_regulatory_limit_wmm_params() local 1676 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_regulatory_limit_wmm_params() 1677 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params() 1709 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local 1724 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_set_wmm_default() 1725 use_11b = (chanctx_conf && in ieee80211_set_wmm_default() 2944 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_smps() local 2949 chanctx_conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_recalc_smps() 2958 if (!chanctx_conf) in ieee80211_recalc_smps() 2990 chanctx_conf = rcu_dereference_protected(bss_conf->chanctx_conf, in ieee80211_recalc_min_chandef() [all …]
|
A D | iface.c | 50 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() 581 RCU_INIT_POINTER(sdata->vif.bss_conf.chanctx_conf, NULL); in ieee80211_do_stop()
|
A D | cfg.c | 3269 if (rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) && in ieee80211_set_bitrate_mask() 3816 conf = rcu_dereference_protected(sdata->vif.bss_conf.chanctx_conf, in __ieee80211_channel_switch() 4034 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local 4042 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_probe_client() 4043 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client() 4047 band = chanctx_conf->def.chan->band; in ieee80211_probe_client() 4121 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local 4132 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_cfg_get_channel() 4133 if (chanctx_conf) { in ieee80211_cfg_get_channel()
|
A D | sta_info.c | 1630 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local 1692 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_send_null_response() 1693 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response() 1699 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
|
A D | mlme.c | 1042 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_assoc_link_elems() local 1071 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_assoc_link_elems() 1072 if (chanctx_conf) in ieee80211_assoc_link_elems() 1073 width = chanctx_conf->def.width; in ieee80211_assoc_link_elems() 1946 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_sta_process_chanswitch() 5606 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_rx_mgmt_beacon() local 5643 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_rx_mgmt_beacon() 5644 if (!chanctx_conf) { in ieee80211_rx_mgmt_beacon() 5650 ieee80211_channel_to_khz(chanctx_conf->def.chan)) { in ieee80211_rx_mgmt_beacon() 5654 chan = chanctx_conf->def.chan; in ieee80211_rx_mgmt_beacon()
|
A D | airtime.c | 643 conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ieee80211_calc_expected_tx_airtime()
|
/linux-6.3-rc2/drivers/net/wireless/ |
A D | mac80211_hwsim.c | 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() 2418 struct ieee80211_chanctx_conf *chanctx_conf; in mac80211_hwsim_sta_rc_update() local 2424 chanctx_conf = rcu_dereference(vif_conf->chanctx_conf); in mac80211_hwsim_sta_rc_update() 2426 if (!WARN_ON(!chanctx_conf)) in mac80211_hwsim_sta_rc_update() [all …]
|