/net/mac80211/ |
D | ocb.c | 45 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ocb_rx_no_sta() local 62 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.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()
|
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()
|
D | chan.c | 75 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_link_get_chanctx() 278 rcu_access_pointer(link->conf->chanctx_conf) != &ctx->conf) in ieee80211_get_chanctx_vif_max_required_bw() 343 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &ctx->conf) in ieee80211_get_chanctx_max_required_bw() 425 if (rcu_access_pointer(link_conf->chanctx_conf) != &ctx->conf) in ieee80211_chan_bw_change() 621 if (rcu_access_pointer(link->conf->chanctx_conf) != conf) in ieee80211_chanctx_radar_required() 792 if (rcu_access_pointer(link_conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype() 867 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_assign_link_chanctx() 892 rcu_assign_pointer(link->conf->chanctx_conf, conf); in ieee80211_assign_link_chanctx() 958 if (rcu_access_pointer(link->conf->chanctx_conf) != &chanctx->conf) in ieee80211_recalc_smps_chanctx() 988 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx() [all …]
|
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()
|
D | tx.c | 52 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_duration() local 60 chanctx_conf = rcu_dereference(tx->sdata->vif.bss_conf.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() 2298 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local 2381 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit() 2382 if (!chanctx_conf) { in ieee80211_monitor_start_xmit() 2385 chanctx_conf = in ieee80211_monitor_start_xmit() 2386 rcu_dereference(tmp_sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit() [all …]
|
D | mesh.c | 395 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ds_params_ie() local 403 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ds_params_ie() 404 if (WARN_ON(!chanctx_conf)) { in mesh_add_ds_params_ie() 408 chan = chanctx_conf->def.chan; in mesh_add_ds_params_ie() 452 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ht_oper_ie() local 459 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ht_oper_ie() 460 if (WARN_ON(!chanctx_conf)) { in mesh_add_ht_oper_ie() 464 channel = chanctx_conf->def.chan; in mesh_add_ht_oper_ie() 524 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_vht_oper_ie() local 531 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_vht_oper_ie() [all …]
|
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()
|
D | ieee80211_i.h | 1177 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_vif_get_shift() local 1181 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ieee80211_vif_get_shift() 1182 if (chanctx_conf) in ieee80211_vif_get_shift() 1183 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_vif_get_shift() 1621 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local 1627 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_sband() 1629 if (!chanctx_conf) { in ieee80211_get_sband() 1634 band = chanctx_conf->def.chan->band; in ieee80211_get_sband() 1644 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_link_sband() local 1648 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_get_link_sband() [all …]
|
D | ibss.c | 600 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_add_sta() local 626 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ibss_add_sta() 627 if (WARN_ON_ONCE(!chanctx_conf)) in ieee80211_ibss_add_sta() 629 band = chanctx_conf->def.chan->band; in ieee80211_ibss_add_sta() 1196 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local 1217 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ibss_rx_no_sta() 1218 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta() 1222 band = chanctx_conf->def.chan->band; in ieee80211_ibss_rx_no_sta()
|
D | util.c | 1662 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_regulatory_limit_wmm_params() local 1672 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_regulatory_limit_wmm_params() 1673 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params() 1674 center_freq = chanctx_conf->def.chan->center_freq; in ieee80211_regulatory_limit_wmm_params() 1705 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local 1720 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_set_wmm_default() 1721 use_11b = (chanctx_conf && in ieee80211_set_wmm_default() 1722 chanctx_conf->def.chan->band == NL80211_BAND_2GHZ) && in ieee80211_set_wmm_default() 2402 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_assign_chanctx() 3031 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_smps() local [all …]
|
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() 602 RCU_INIT_POINTER(sdata->vif.bss_conf.chanctx_conf, NULL); in ieee80211_do_stop()
|
D | cfg.c | 3358 if (rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) && in ieee80211_set_bitrate_mask() 3920 conf = rcu_dereference_protected(sdata->vif.bss_conf.chanctx_conf, in __ieee80211_channel_switch() 4138 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local 4154 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_probe_client() 4155 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client() 4159 band = chanctx_conf->def.chan->band; in ieee80211_probe_client() 4226 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local 4237 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_cfg_get_channel() 4238 if (chanctx_conf) { in ieee80211_cfg_get_channel()
|
D | sta_info.c | 1790 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local 1852 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_send_null_response() 1853 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response() 1859 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
|
D | mlme.c | 1037 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_assoc_link_elems() local 1066 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_assoc_link_elems() 1067 if (chanctx_conf) in ieee80211_assoc_link_elems() 1068 width = chanctx_conf->def.width; in ieee80211_assoc_link_elems() 1940 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_sta_process_chanswitch() 5918 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_rx_mgmt_beacon() local 5955 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_rx_mgmt_beacon() 5956 if (!chanctx_conf) { in ieee80211_rx_mgmt_beacon() 5962 ieee80211_channel_to_khz(chanctx_conf->def.chan)) { in ieee80211_rx_mgmt_beacon() 5966 chan = chanctx_conf->def.chan; in ieee80211_rx_mgmt_beacon()
|
D | airtime.c | 643 conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ieee80211_calc_expected_tx_airtime()
|
D | main.c | 151 if (!rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf)) in ieee80211_hw_conf_chan()
|
D | tdls.c | 1358 conf = rcu_dereference_protected(sdata->vif.bss_conf.chanctx_conf, in iee80211_tdls_recalc_chanctx()
|