| /net/mac80211/ |
| A 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()
|
| A D | chan.c | 81 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_link_get_chanctx() 832 if (rcu_access_pointer(link_conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype() 941 rcu_assign_pointer(link->conf->chanctx_conf, conf); in ieee80211_assign_link_chanctx() 962 if (rcu_access_pointer(tmp->conf->chanctx_conf)) { in ieee80211_assign_link_chanctx() 1098 rcu_assign_pointer(vlan_conf->chanctx_conf, conf); in __ieee80211_link_copy_chanctx_to_vlans() 1751 rcu_assign_pointer(link_conf->chanctx_conf, in ieee80211_vif_use_reserved_switch() 2164 if (rcu_access_pointer(link->conf->chanctx_conf)) in ieee80211_link_release_channel() 2188 ap_conf->chanctx_conf); in ieee80211_link_vlan_copy_chanctx() 2189 rcu_assign_pointer(link_conf->chanctx_conf, conf); in ieee80211_link_vlan_copy_chanctx() 2195 struct ieee80211_chanctx_conf *chanctx_conf, in ieee80211_iter_chan_contexts_atomic() argument [all …]
|
| A D | ethtool.c | 77 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_stats() local 157 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_stats() 158 if (chanctx_conf) in ieee80211_get_stats() 159 channel = chanctx_conf->def.chan; in ieee80211_get_stats()
|
| 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() 123 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_update() local 128 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); in rate_control_rate_update() 129 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_update() 135 ref->ops->rate_update(ref->priv, sband, &chanctx_conf->def, in rate_control_rate_update()
|
| A D | tx.c | 2381 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit() 2385 chanctx_conf = in ieee80211_monitor_start_xmit() 2389 if (chanctx_conf) in ieee80211_monitor_start_xmit() 2627 chanctx_conf = in ieee80211_build_hdr() 2650 chanctx_conf = in ieee80211_build_hdr() 3069 chanctx_conf = in ieee80211_check_fast_xmit() 4802 chanctx_conf = in ieee80211_tx_pending_skb() 5496 chanctx_conf = in __ieee80211_beacon_get() 5984 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_buffered_bc() 5986 if (!chanctx_conf) in ieee80211_get_buffered_bc() [all …]
|
| A D | offchannel.c | 914 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in ieee80211_mgmt_tx() local 926 chanctx_conf = rcu_dereference(conf->chanctx_conf); in ieee80211_mgmt_tx() 927 if (!chanctx_conf) in ieee80211_mgmt_tx() 930 if (mlo_sta && params->chan == chanctx_conf->def.chan && in ieee80211_mgmt_tx() 943 params->chan == chanctx_conf->def.chan) in ieee80211_mgmt_tx() 949 chanctx_conf = NULL; in ieee80211_mgmt_tx() 952 if (chanctx_conf) { in ieee80211_mgmt_tx() 955 chanctx_conf->def.chan); in ieee80211_mgmt_tx()
|
| A D | util.c | 937 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_regulatory_limit_wmm_params() 938 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params() 985 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_set_wmm_default() 986 use_11b = (chanctx_conf && in ieee80211_set_wmm_default() 2293 chanctx_conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_recalc_smps() 2302 if (!chanctx_conf) in ieee80211_recalc_smps() 2332 chanctx_conf = rcu_dereference_protected(bss_conf->chanctx_conf, in ieee80211_recalc_min_chandef() 2344 if (!chanctx_conf) in ieee80211_recalc_min_chandef() 3516 chanctx_conf = sdata_dereference(link->conf->chanctx_conf, in ieee80211_dfs_cac_cancel() 3574 if (data && data != chanctx_conf) in ieee80211_radar_mark_chan_ctx_iterator() [all …]
|
| A D | mesh.c | 401 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ds_params_ie() local 409 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ds_params_ie() 410 if (WARN_ON(!chanctx_conf)) { in mesh_add_ds_params_ie() 414 chan = chanctx_conf->def.chan; in mesh_add_ds_params_ie() 458 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ht_oper_ie() local 465 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ht_oper_ie() 466 if (WARN_ON(!chanctx_conf)) { in mesh_add_ht_oper_ie() 470 channel = chanctx_conf->def.chan; in mesh_add_ht_oper_ie() 537 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_vht_oper_ie() 538 if (WARN_ON(!chanctx_conf)) { in mesh_add_vht_oper_ie() [all …]
|
| A D | ibss.c | 581 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_add_sta() local 607 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ibss_add_sta() 608 if (WARN_ON_ONCE(!chanctx_conf)) in ieee80211_ibss_add_sta() 610 band = chanctx_conf->def.chan->band; in ieee80211_ibss_add_sta() 1176 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local 1197 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ibss_rx_no_sta() 1198 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta() 1202 band = chanctx_conf->def.chan->band; in ieee80211_ibss_rx_no_sta()
|
| A D | ieee80211_i.h | 1696 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local 1702 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_sband() 1704 if (!chanctx_conf) { in ieee80211_get_sband() 1709 band = chanctx_conf->def.chan->band; in ieee80211_get_sband() 1719 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_link_sband() local 1723 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_get_link_sband() 1724 if (!chanctx_conf) { in ieee80211_get_link_sband() 1729 band = chanctx_conf->def.chan->band; in ieee80211_get_link_sband()
|
| A D | he.c | 291 conf = sdata_dereference(link->conf->chanctx_conf, sta->sdata); in ieee80211_prepare_rx_omi_bw() 343 conf = sdata_dereference(link->conf->chanctx_conf, sta->sdata); in ieee80211_finalize_rx_omi_bw()
|
| A D | iface.c | 49 struct ieee80211_chanctx_conf *chanctx_conf; in __ieee80211_recalc_txpower() local 53 chanctx_conf = rcu_dereference(link->conf->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() 582 RCU_INIT_POINTER(sdata->vif.bss_conf.chanctx_conf, NULL); in ieee80211_do_stop()
|
| A D | cfg.c | 956 if (rcu_access_pointer(sdata->deflink.conf->chanctx_conf) && in ieee80211_set_monitor_channel() 3618 if (rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) && in ieee80211_set_bitrate_mask() 4246 conf = wiphy_dereference(wiphy, link_conf->chanctx_conf); in __ieee80211_channel_switch() 4466 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local 4482 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_probe_client() 4483 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client() 4487 band = chanctx_conf->def.chan->band; in ieee80211_probe_client() 4553 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local 4564 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_cfg_get_channel() 4565 if (chanctx_conf) { in ieee80211_cfg_get_channel()
|
| A D | sta_info.c | 1861 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local 1923 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_send_null_response() 1924 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response() 1930 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
|
| A D | mlme.c | 1716 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_add_link_elems() local 1745 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_add_link_elems() 1746 if (chanctx_conf) in ieee80211_add_link_elems() 1747 width = chanctx_conf->def.width; in ieee80211_add_link_elems() 2599 if (rcu_access_pointer(link->conf->chanctx_conf)) in ieee80211_sta_abort_chanswitch() 2916 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_sta_process_chanswitch() 7297 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_rx_mgmt_beacon() local 7332 chanctx_conf = rcu_dereference(bss_conf->chanctx_conf); in ieee80211_rx_mgmt_beacon() 7333 if (!chanctx_conf) { in ieee80211_rx_mgmt_beacon() 7339 ieee80211_channel_to_khz(chanctx_conf->def.chan)) { in ieee80211_rx_mgmt_beacon() [all …]
|
| A D | airtime.c | 771 conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ieee80211_calc_expected_tx_airtime()
|
| A D | main.c | 175 if (!rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf)) in ieee80211_calc_hw_conf_chan()
|
| A D | tdls.c | 1328 conf = rcu_dereference_protected(sdata->vif.bss_conf.chanctx_conf, in iee80211_tdls_recalc_chanctx()
|
| A D | rx.c | 5117 conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_rx_for_interface()
|