| /Linux-v5.4/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() 323 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_bt_notif_iterator() local 342 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_bt_notif_iterator() 345 if ((!chanctx_conf || in iwl_mvm_bt_notif_iterator() 346 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ)) { in iwl_mvm_bt_notif_iterator() 390 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 | ftm-responder.c | 178 pctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_ftm_start_responder()
|
| D | tx.c | 1866 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in iwl_mvm_tx_reclaim() local 1869 chanctx_conf = in iwl_mvm_tx_reclaim() 1870 rcu_dereference(mvmsta->vif->chanctx_conf); in iwl_mvm_tx_reclaim() 1872 if (WARN_ON_ONCE(!chanctx_conf)) in iwl_mvm_tx_reclaim() 1875 ba_info->band = chanctx_conf->def.chan->band; in iwl_mvm_tx_reclaim()
|
| D | tdls.c | 433 rcu_dereference(vif->chanctx_conf); in iwl_mvm_tdls_config_channel_switch()
|
| D | rs.c | 2004 struct ieee80211_chanctx_conf *chanctx_conf; in rs_tpc_perform() local 2025 chanctx_conf = rcu_dereference(vif->chanctx_conf); in rs_tpc_perform() 2026 if (WARN_ON(!chanctx_conf)) in rs_tpc_perform() 2029 band = chanctx_conf->def.chan->band; in rs_tpc_perform()
|
| D | mac-ctxt.c | 541 chanctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_mac_ctxt_cmd_common()
|
| /Linux-v5.4/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 | 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() 2205 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local 2296 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_monitor_start_xmit() 2297 if (!chanctx_conf) { in ieee80211_monitor_start_xmit() 2300 chanctx_conf = in ieee80211_monitor_start_xmit() 2301 rcu_dereference(tmp_sdata->vif.chanctx_conf); in ieee80211_monitor_start_xmit() [all …]
|
| D | mesh.c | 384 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ds_params_ie() local 392 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_ds_params_ie() 393 if (WARN_ON(!chanctx_conf)) { in mesh_add_ds_params_ie() 397 chan = chanctx_conf->def.chan; in mesh_add_ds_params_ie() 437 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ht_oper_ie() local 444 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_ht_oper_ie() 445 if (WARN_ON(!chanctx_conf)) { in mesh_add_ht_oper_ie() 449 channel = chanctx_conf->def.chan; in mesh_add_ht_oper_ie() 501 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_vht_oper_ie() local 508 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_vht_oper_ie() [all …]
|
| 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() 433 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_chanctx_radar_required() 581 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype() 651 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_assign_vif_chanctx() 673 rcu_assign_pointer(sdata->vif.chanctx_conf, conf); in ieee80211_assign_vif_chanctx() 717 if (rcu_access_pointer(sdata->vif.chanctx_conf) != in ieee80211_recalc_smps_chanctx() 767 rcu_access_pointer(sdata->vif.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx() 810 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in __ieee80211_vif_copy_chanctx_to_vlans() [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() 55 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, in rate_control_rate_init() 91 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_update() local 96 chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); in rate_control_rate_update() 97 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_update() 103 ref->ops->rate_update(ref->priv, sband, &chanctx_conf->def, in rate_control_rate_update()
|
| D | ieee80211_i.h | 1036 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_vif_get_shift() local 1040 chanctx_conf = rcu_dereference(vif->chanctx_conf); in ieee80211_vif_get_shift() 1041 if (chanctx_conf) in ieee80211_vif_get_shift() 1042 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_vif_get_shift() 1429 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local 1433 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_sband() 1435 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_get_sband() 1440 band = chanctx_conf->def.chan->band; in ieee80211_get_sband() 1960 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_tx_skb_tid() local 1963 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_tx_skb_tid() [all …]
|
| D | ibss.c | 612 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_add_sta() local 639 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ibss_add_sta() 640 if (WARN_ON_ONCE(!chanctx_conf)) in ieee80211_ibss_add_sta() 642 band = chanctx_conf->def.chan->band; in ieee80211_ibss_add_sta() 643 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_add_sta() 1207 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local 1229 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ibss_rx_no_sta() 1230 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta() 1234 band = chanctx_conf->def.chan->band; in ieee80211_ibss_rx_no_sta() 1235 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_rx_no_sta()
|
| D | util.c | 1398 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_regulatory_limit_wmm_params() local 1408 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_regulatory_limit_wmm_params() 1409 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params() 1410 center_freq = chanctx_conf->def.chan->center_freq; in ieee80211_regulatory_limit_wmm_params() 1440 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local 1455 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_set_wmm_default() 1456 use_11b = (chanctx_conf && in ieee80211_set_wmm_default() 1457 chanctx_conf->def.chan->band == NL80211_BAND_2GHZ) && in ieee80211_set_wmm_default() 2057 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_assign_chanctx() 2567 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_smps() local [all …]
|
| D | offchannel.c | 861 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_mgmt_tx() local 864 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_mgmt_tx() 866 if (chanctx_conf) { in ieee80211_mgmt_tx() 869 chanctx_conf->def.chan); in ieee80211_mgmt_tx()
|
| 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() 943 RCU_INIT_POINTER(sdata->vif.chanctx_conf, NULL); in ieee80211_do_stop()
|
| D | cfg.c | 2875 if (rcu_access_pointer(sdata->vif.chanctx_conf) && in ieee80211_set_bitrate_mask() 3329 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in __ieee80211_channel_switch() 3528 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local 3536 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_probe_client() 3537 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client() 3541 band = chanctx_conf->def.chan->band; in ieee80211_probe_client() 3614 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local 3618 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_cfg_get_channel() 3619 if (chanctx_conf) { in ieee80211_cfg_get_channel()
|
| D | mlme.c | 650 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_assoc() local 657 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_assoc() 658 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_assoc() 662 chan = chanctx_conf->def.chan; in ieee80211_send_assoc() 674 rates_len = ieee80211_parse_bitrates(&chanctx_conf->def, sband, in ieee80211_send_assoc() 800 *pos++ = ieee80211_chandef_max_power(&chanctx_conf->def); in ieee80211_send_assoc() 1372 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_sta_process_chanswitch() 3816 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_rx_mgmt_beacon() local 3834 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_rx_mgmt_beacon() 3835 if (!chanctx_conf) { in ieee80211_rx_mgmt_beacon() [all …]
|
| D | sta_info.c | 1374 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local 1441 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_null_response() 1442 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response() 1448 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
|
| D | main.c | 145 if (!rcu_access_pointer(sdata->vif.chanctx_conf)) in ieee80211_hw_conf_chan()
|
| /Linux-v5.4/drivers/net/wireless/ |
| D | mac80211_hwsim.c | 656 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_ps_poll() 689 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_nullfunc() 1159 if (!vif->chanctx_conf) in mac80211_hwsim_tx_iter() 1163 rcu_dereference(vif->chanctx_conf)->def.chan)) in mac80211_hwsim_tx_iter() 1362 struct ieee80211_chanctx_conf *chanctx_conf; in mac80211_hwsim_tx() local 1378 chanctx_conf = rcu_dereference(txi->control.vif->chanctx_conf); in mac80211_hwsim_tx() 1379 if (chanctx_conf) in mac80211_hwsim_tx() 1380 channel = chanctx_conf->def.chan; in mac80211_hwsim_tx() 1575 rcu_dereference(vif->chanctx_conf)->def.chan); in mac80211_hwsim_beacon_tx()
|
| /Linux-v5.4/include/net/ |
| D | mac80211.h | 1622 struct ieee80211_chanctx_conf __rcu *chanctx_conf; member 5632 struct ieee80211_chanctx_conf *chanctx_conf,
|