| /linux/net/mac80211/ |
| H A D | ocb.c | 45 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ocb_rx_no_sta() local 65 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ocb_rx_no_sta() 66 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ocb_rx_no_sta() 70 band = chanctx_conf->def.chan->band; in ieee80211_ocb_rx_no_sta()
|
| H A D | rate.c | 39 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_init() local 52 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); in rate_control_rate_init() 53 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_init() 58 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init() 68 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, in rate_control_rate_init() 126 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_update() local 131 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); in rate_control_rate_update() 132 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_update() 138 ref->ops->rate_update(ref->priv, sband, &chanctx_conf->def, in rate_control_rate_update()
|
| H A D | chan.c | 49 if (nan_channel->chanctx_conf != &ctx->conf) in ieee80211_chanctx_user_iter_next_nan_channel() 82 rcu_access_pointer(link->conf->chanctx_conf) == &ctx->conf) { in ieee80211_chanctx_user_iter_next_link() 265 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_link_get_chanctx() 615 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &ctx->conf) in ieee80211_get_chanctx_max_required_bw() 700 if (rcu_access_pointer(link_conf->chanctx_conf) != &ctx->conf) in ieee80211_chan_bw_change() 1092 if (rcu_access_pointer(link->conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype() 1138 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_assign_link_chanctx() 1165 rcu_assign_pointer(link->conf->chanctx_conf, conf); in ieee80211_assign_link_chanctx() 1186 if (rcu_access_pointer(tmp->conf->chanctx_conf)) { in ieee80211_assign_link_chanctx() 1280 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx() [all …]
|
| H A D | offchannel.c | 917 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in ieee80211_mgmt_tx() local 929 chanctx_conf = rcu_dereference(conf->chanctx_conf); in ieee80211_mgmt_tx() 930 if (!chanctx_conf) in ieee80211_mgmt_tx() 933 if (mlo_sta && params->chan == chanctx_conf->def.chan && in ieee80211_mgmt_tx() 946 params->chan == chanctx_conf->def.chan) in ieee80211_mgmt_tx() 952 chanctx_conf = NULL; in ieee80211_mgmt_tx() 955 if (chanctx_conf) { in ieee80211_mgmt_tx() 958 chanctx_conf->def.chan); in ieee80211_mgmt_tx()
|
| H A D | tx.c | 2319 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local 2402 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit() 2403 if (!chanctx_conf) { in ieee80211_monitor_start_xmit() 2406 chanctx_conf = in ieee80211_monitor_start_xmit() 2407 rcu_dereference(tmp_sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit() 2410 if (chanctx_conf) in ieee80211_monitor_start_xmit() 2411 chandef = &chanctx_conf->def; in ieee80211_monitor_start_xmit() 2638 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in ieee80211_build_hdr() local 2657 chanctx_conf = in ieee80211_build_hdr() 2658 rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_build_hdr() [all …]
|
| H A D | util.c | 985 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_regulatory_limit_wmm_params() local 995 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_regulatory_limit_wmm_params() 996 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params() 997 center_freq = chanctx_conf->def.chan->center_freq; in ieee80211_regulatory_limit_wmm_params() 1028 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local 1043 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_set_wmm_default() 1044 use_11b = (chanctx_conf && in ieee80211_set_wmm_default() 1045 chanctx_conf->def.chan->band == NL80211_BAND_2GHZ) && in ieee80211_set_wmm_default() 1718 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_assign_chanctx() 2436 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_smps() local [all …]
|
| H A D | mesh.c | 403 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ds_params_ie() local 411 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ds_params_ie() 412 if (WARN_ON(!chanctx_conf)) { in mesh_add_ds_params_ie() 416 chan = chanctx_conf->def.chan; in mesh_add_ds_params_ie() 460 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ht_oper_ie() local 467 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ht_oper_ie() 468 if (WARN_ON(!chanctx_conf)) { in mesh_add_ht_oper_ie() 472 channel = chanctx_conf->def.chan; in mesh_add_ht_oper_ie() 532 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_vht_oper_ie() local 539 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_vht_oper_ie() [all …]
|
| H A D | cfg.c | 1081 if (rcu_access_pointer(sdata->deflink.conf->chanctx_conf) && in ieee80211_set_monitor_channel() 3919 if (rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) && in ieee80211_set_bitrate_mask() 4541 conf = wiphy_dereference(wiphy, link_conf->chanctx_conf); in __ieee80211_channel_switch() 4761 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local 4800 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_probe_client() 4801 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client() 4805 band = chanctx_conf->def.chan->band; in ieee80211_probe_client() 4880 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local 4891 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_cfg_get_channel() 4892 if (chanctx_conf) { in ieee80211_cfg_get_channel()
|
| H A D | sta_info.c | 1899 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local 1961 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_send_null_response() 1962 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response() 1968 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
|
| H A D | mlme.c | 1830 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_add_link_elems() local 1859 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_add_link_elems() 1860 if (chanctx_conf) in ieee80211_add_link_elems() 1861 width = chanctx_conf->def.width; in ieee80211_add_link_elems() 2741 if (rcu_access_pointer(link->conf->chanctx_conf)) in ieee80211_sta_abort_chanswitch() 3059 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_sta_process_chanswitch() 7592 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_rx_mgmt_beacon() local 7628 chanctx_conf = rcu_dereference(bss_conf->chanctx_conf); in ieee80211_rx_mgmt_beacon() 7629 if (!chanctx_conf) { in ieee80211_rx_mgmt_beacon() 7635 chanctx_conf)) { in ieee80211_rx_mgmt_beacon() [all …]
|
| H A D | airtime.c | 771 conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ieee80211_calc_expected_tx_airtime()
|
| H A D | tdls.c | 1323 conf = rcu_dereference_protected(sdata->vif.bss_conf.chanctx_conf, in iee80211_tdls_recalc_chanctx()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | power.c | 286 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_power_is_radar() local 288 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_power_is_radar() 291 if (!chanctx_conf) in iwl_mvm_power_is_radar() 294 return chanctx_conf->def.chan->flags & IEEE80211_CHAN_RADAR; in iwl_mvm_power_is_radar()
|
| H A D | ftm-responder.c | 351 pctx = rcu_dereference(bss_conf->chanctx_conf); in iwl_mvm_ftm_start_responder()
|
| H A D | mac-ctxt.c | 1096 ctx = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_mac_ctxt_send_beacon_v9()
|
| H A D | d3.c | 737 ctx = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_d3_reprogram()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | ap.c | 111 ctx = wiphy_dereference(mld->wiphy, link->chanctx_conf); in iwl_mld_fill_beacon_template_cmd() 328 ctx = wiphy_dereference(mld->wiphy, link->chanctx_conf); in iwl_mld_start_ap_ibss()
|
| H A D | phy.c | 50 if (rcu_access_pointer(link_conf->chanctx_conf) != data->ctx) in iwl_mld_chanctx_usage_iter()
|
| H A D | mlo.c | 1093 if (chanctx != rcu_access_pointer(prim_link->chanctx_conf)) in iwl_mld_chan_load_update_iter()
|
| /linux/drivers/net/wireless/virtual/ |
| H A D | mac80211_hwsim.c | 1057 rcu_dereference(vif->bss_conf.chanctx_conf)->def.chan); in hwsim_send_ps_poll() 1095 rcu_dereference(vif->bss_conf.chanctx_conf)->def.chan); in hwsim_send_nullfunc() 1775 chanctx = rcu_dereference(conf->chanctx_conf); in mac80211_hwsim_tx_iter() 2048 if (!rcu_access_pointer(bss_conf->chanctx_conf)) in mac80211_hwsim_select_tx_link() 2084 struct ieee80211_chanctx_conf *chanctx_conf; in mac80211_hwsim_tx() local 2183 chanctx_conf = rcu_dereference(bss_conf->chanctx_conf); in mac80211_hwsim_tx() 2184 if (chanctx_conf) { in mac80211_hwsim_tx() 2185 channel = chanctx_conf->def.chan; in mac80211_hwsim_tx() 2186 confbw = chanctx_conf->def.width; in mac80211_hwsim_tx() 2451 rcu_dereference(link_conf->chanctx_conf)->def.chan); in __mac80211_hwsim_beacon_tx() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/tests/ |
| H A D | link-selection.c | 111 wiphy_dereference(mld->wiphy, link->chanctx_conf); in setup_link()
|
| /linux/include/net/ |
| H A D | mac80211.h | 843 struct ieee80211_chanctx_conf __rcu *chanctx_conf; member 892 struct ieee80211_chanctx_conf *chanctx_conf; member 6910 struct ieee80211_chanctx_conf *chanctx_conf, 6935 struct ieee80211_chanctx_conf *chanctx_conf, 7061 struct ieee80211_chanctx_conf *chanctx_conf);
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | mac.c | 617 conf = rcu_dereference(link_conf->chanctx_conf); in ath12k_mac_vif_link_chan() 945 arg->chanctx_conf = conf; in ath12k_mac_get_any_chanctx_conf_iter() 1477 arg.chanctx_conf = NULL; in ath12k_mac_monitor_start() 1481 if (!arg.chanctx_conf) in ath12k_mac_monitor_start() 1485 &arg.chanctx_conf->def); in ath12k_mac_monitor_start() 7471 conf = wiphy_dereference(hw->wiphy, info->chanctx_conf); in ath12k_mac_mlo_sta_update_link_active() 7561 chanctx = rcu_dereference(info->chanctx_conf); in ath12k_mac_select_links() 9213 conf = wiphy_dereference(wiphy, link_conf->chanctx_conf); in ath12k_mac_mgmt_action_frame_fill_elem_data() 11336 if (rcu_access_pointer(link_conf->chanctx_conf) != arg->ctx) in ath12k_mac_change_chanctx_cnt_iter() 11371 ctx = rcu_access_pointer(link_conf->chanctx_conf); in ath12k_mac_change_chanctx_fill_iter() [all …]
|
| H A D | wmi.c | 8724 arg.chanctx_conf = NULL; in ath12k_wmi_pdev_dfs_radar_detected_event() 8727 if (!arg.chanctx_conf) { in ath12k_wmi_pdev_dfs_radar_detected_event() 8738 ieee80211_radar_detected(ath12k_ar_to_hw(ar), arg.chanctx_conf); in ath12k_wmi_pdev_dfs_radar_detected_event()
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | mac.c | 673 conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ath10k_mac_vif_chan() 8901 if (rcu_access_pointer(vif->bss_conf.chanctx_conf) != arg->ctx) in ath10k_mac_change_chanctx_cnt_iter() 8914 ctx = rcu_access_pointer(vif->bss_conf.chanctx_conf); in ath10k_mac_change_chanctx_fill_iter()
|