| /Linux-v5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
| D | coex.c | 149 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_get_coex_type() local 164 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_get_coex_type() 166 if (!chanctx_conf || in iwl_get_coex_type() 167 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ) { in iwl_get_coex_type() 179 phy_ctx_id = *((u16 *)chanctx_conf->drv_priv); in iwl_get_coex_type() 322 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_bt_notif_iterator() local 341 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_bt_notif_iterator() 344 if ((!chanctx_conf || in iwl_mvm_bt_notif_iterator() 345 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ)) { in iwl_mvm_bt_notif_iterator() 389 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator() [all …]
|
| D | debugfs-vif.c | 229 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_mac_params_read() local 292 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_dbgfs_mac_params_read() 293 if (chanctx_conf) in iwl_dbgfs_mac_params_read() 296 chanctx_conf->rx_chains_static, in iwl_dbgfs_mac_params_read() 297 chanctx_conf->rx_chains_dynamic); in iwl_dbgfs_mac_params_read() 640 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_rx_phyinfo_write() local 652 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_dbgfs_rx_phyinfo_write() 654 if (!chanctx_conf) { in iwl_dbgfs_rx_phyinfo_write() 660 phy_ctxt = &mvm->phy_ctxts[*(u16 *)chanctx_conf->drv_priv]; in iwl_dbgfs_rx_phyinfo_write() 665 ret = iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, &chanctx_conf->min_def, in iwl_dbgfs_rx_phyinfo_write() [all …]
|
| D | power.c | 339 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_power_is_radar() local 344 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_power_is_radar() 345 WARN_ON(!chanctx_conf); in iwl_mvm_power_is_radar() 346 if (chanctx_conf) { in iwl_mvm_power_is_radar() 347 chan = chanctx_conf->def.chan; in iwl_mvm_power_is_radar()
|
| D | tx.c | 1872 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in iwl_mvm_tx_reclaim() local 1875 chanctx_conf = in iwl_mvm_tx_reclaim() 1876 rcu_dereference(mvmsta->vif->chanctx_conf); in iwl_mvm_tx_reclaim() 1878 if (WARN_ON_ONCE(!chanctx_conf)) in iwl_mvm_tx_reclaim() 1881 ba_info->band = chanctx_conf->def.chan->band; in iwl_mvm_tx_reclaim()
|
| D | ftm-responder.c | 410 pctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_ftm_start_responder()
|
| D | tdls.c | 439 rcu_dereference(vif->chanctx_conf); in iwl_mvm_tdls_config_channel_switch()
|
| D | rs.c | 2012 struct ieee80211_chanctx_conf *chanctx_conf; in rs_tpc_perform() local 2033 chanctx_conf = rcu_dereference(vif->chanctx_conf); in rs_tpc_perform() 2034 if (WARN_ON(!chanctx_conf)) in rs_tpc_perform() 2037 band = chanctx_conf->def.chan->band; in rs_tpc_perform()
|
| /Linux-v5.10/net/mac80211/ |
| D | ocb.c | 44 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()
|
| D | ethtool.c | 69 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()
|
| D | chan.c | 73 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_vif_get_chanctx() 257 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_get_chanctx_max_required_bw() 295 if (sdata && rcu_access_pointer(sdata->vif.chanctx_conf) == conf) in ieee80211_get_chanctx_max_required_bw() 438 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_chanctx_radar_required() 594 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype() 664 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_assign_vif_chanctx() 686 rcu_assign_pointer(sdata->vif.chanctx_conf, conf); in ieee80211_assign_vif_chanctx() 730 if (rcu_access_pointer(sdata->vif.chanctx_conf) != in ieee80211_recalc_smps_chanctx() 780 rcu_access_pointer(sdata->vif.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx() 823 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in __ieee80211_vif_copy_chanctx_to_vlans() [all …]
|
| D | tx.c | 61 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_duration() local 69 chanctx_conf = rcu_dereference(tx->sdata->vif.chanctx_conf); in ieee80211_duration() 70 if (chanctx_conf) { in ieee80211_duration() 71 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_duration() 72 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_duration() 2227 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local 2319 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_monitor_start_xmit() 2320 if (!chanctx_conf) { in ieee80211_monitor_start_xmit() 2323 chanctx_conf = in ieee80211_monitor_start_xmit() 2324 rcu_dereference(tmp_sdata->vif.chanctx_conf); in ieee80211_monitor_start_xmit() [all …]
|
| D | mesh.c | 393 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 …]
|
| D | rate.c | 37 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()
|
| D | ieee80211_i.h | 1057 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_vif_get_shift() local 1061 chanctx_conf = rcu_dereference(vif->chanctx_conf); in ieee80211_vif_get_shift() 1062 if (chanctx_conf) in ieee80211_vif_get_shift() 1063 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_vif_get_shift() 1454 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local 1458 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_sband() 1460 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_get_sband() 1465 band = chanctx_conf->def.chan->band; in ieee80211_get_sband() 2016 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_tx_skb_tid() local 2019 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_tx_skb_tid() [all …]
|
| D | ibss.c | 605 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_add_sta() local 632 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ibss_add_sta() 633 if (WARN_ON_ONCE(!chanctx_conf)) in ieee80211_ibss_add_sta() 635 band = chanctx_conf->def.chan->band; in ieee80211_ibss_add_sta() 636 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_add_sta() 1208 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local 1230 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ibss_rx_no_sta() 1231 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta() 1235 band = chanctx_conf->def.chan->band; in ieee80211_ibss_rx_no_sta() 1236 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_rx_no_sta()
|
| D | util.c | 1521 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_regulatory_limit_wmm_params() local 1531 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_regulatory_limit_wmm_params() 1532 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params() 1533 center_freq = chanctx_conf->def.chan->center_freq; in ieee80211_regulatory_limit_wmm_params() 1563 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local 1578 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_set_wmm_default() 1579 use_11b = (chanctx_conf && in ieee80211_set_wmm_default() 1580 chanctx_conf->def.chan->band == NL80211_BAND_2GHZ) && in ieee80211_set_wmm_default() 2202 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_assign_chanctx() 2711 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_smps() local [all …]
|
| D | offchannel.c | 845 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()
|
| D | mlme.c | 666 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_add_he_ie() local 671 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_add_he_ie() 672 if (!WARN_ON_ONCE(!chanctx_conf)) in ieee80211_add_he_ie() 674 &chanctx_conf->def, in ieee80211_add_he_ie() 710 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_assoc() local 725 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_assoc() 726 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_assoc() 730 chan = chanctx_conf->def.chan; in ieee80211_send_assoc() 742 rates_len = ieee80211_parse_bitrates(&chanctx_conf->def, sband, in ieee80211_send_assoc() 874 *pos++ = ieee80211_chandef_max_power(&chanctx_conf->def); in ieee80211_send_assoc() [all …]
|
| D | iface.c | 49 struct ieee80211_chanctx_conf *chanctx_conf; in __ieee80211_recalc_txpower() local 53 chanctx_conf = rcu_dereference(sdata->vif.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() 514 RCU_INIT_POINTER(sdata->vif.chanctx_conf, NULL); in ieee80211_do_stop()
|
| D | cfg.c | 2932 if (rcu_access_pointer(sdata->vif.chanctx_conf) && in ieee80211_set_bitrate_mask() 3408 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in __ieee80211_channel_switch() 3615 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local 3623 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_probe_client() 3624 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client() 3628 band = chanctx_conf->def.chan->band; in ieee80211_probe_client() 3701 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local 3705 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_cfg_get_channel() 3706 if (chanctx_conf) { in ieee80211_cfg_get_channel()
|
| D | sta_info.c | 1395 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local 1462 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_null_response() 1463 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response() 1469 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
|
| D | airtime.c | 643 conf = rcu_dereference(vif->chanctx_conf); in ieee80211_calc_expected_tx_airtime()
|
| D | main.c | 150 if (!rcu_access_pointer(sdata->vif.chanctx_conf)) in ieee80211_hw_conf_chan()
|
| /Linux-v5.10/drivers/net/wireless/ |
| D | mac80211_hwsim.c | 767 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_ps_poll() 800 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_nullfunc() 1319 if (!vif->chanctx_conf) in mac80211_hwsim_tx_iter() 1323 rcu_dereference(vif->chanctx_conf)->def.chan)) in mac80211_hwsim_tx_iter() 1523 struct ieee80211_chanctx_conf *chanctx_conf; in mac80211_hwsim_tx() local 1539 chanctx_conf = rcu_dereference(txi->control.vif->chanctx_conf); in mac80211_hwsim_tx() 1540 if (chanctx_conf) in mac80211_hwsim_tx() 1541 channel = chanctx_conf->def.chan; in mac80211_hwsim_tx() 1760 rcu_dereference(vif->chanctx_conf)->def.chan); in mac80211_hwsim_beacon_tx() 1764 rcu_dereference(vif->chanctx_conf)->def.chan); in mac80211_hwsim_beacon_tx()
|
| /Linux-v5.10/include/net/ |
| D | mac80211.h | 1716 struct ieee80211_chanctx_conf __rcu *chanctx_conf; member 5831 struct ieee80211_chanctx_conf *chanctx_conf,
|