Home
last modified time | relevance | path

Searched refs:chanctx_conf (Results 1 – 24 of 24) sorted by relevance

/linux/net/mac80211/
H A Docb.c45 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 Dchan.c62 rcu_access_pointer(link->conf->chanctx_conf) == &ctx->conf) { in ieee80211_chanctx_user_iter_next()
203 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_link_get_chanctx()
449 rcu_access_pointer(link->conf->chanctx_conf) != &ctx->conf) in ieee80211_get_chanctx_max_required_bw()
500 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &ctx->conf) in ieee80211_get_chanctx_max_required_bw()
583 if (rcu_access_pointer(link_conf->chanctx_conf) != &ctx->conf) in ieee80211_chan_bw_change()
975 if (rcu_access_pointer(link->conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
1021 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_assign_link_chanctx()
1048 rcu_assign_pointer(link->conf->chanctx_conf, conf); in ieee80211_assign_link_chanctx()
1069 if (rcu_access_pointer(tmp->conf->chanctx_conf)) { in ieee80211_assign_link_chanctx()
1153 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
[all …]
H A Dtx.c2307 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local
2390 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit()
2391 if (!chanctx_conf) { in ieee80211_monitor_start_xmit()
2394 chanctx_conf = in ieee80211_monitor_start_xmit()
2395 rcu_dereference(tmp_sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit()
2398 if (chanctx_conf) in ieee80211_monitor_start_xmit()
2399 chandef = &chanctx_conf->def; in ieee80211_monitor_start_xmit()
2619 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in ieee80211_build_hdr() local
2638 chanctx_conf = in ieee80211_build_hdr()
2639 rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_build_hdr()
[all …]
H A Dibss.c581 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 in ieee80211_ibss_rx_no_sta()
[all...]
H A Dieee80211_i.h1702 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband()
1708 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_sband()
1710 if (!chanctx_conf) { in ieee80211_get_sband()
1715 band = chanctx_conf->def.chan->band; in ieee80211_get_sband()
1725 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_link_sband()
1729 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_get_link_sband()
1730 if (!chanctx_conf) { in ieee80211_get_link_sband()
1735 band = chanctx_conf in ieee80211_get_link_sband()
1704 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_get_sband() local
1727 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_get_link_sband() local
[all...]
H A Diface.c49 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()
603 RCU_INIT_POINTER(sdata->vif.bss_conf.chanctx_conf, NULL); in ieee80211_do_stop()
H A Dcfg.c1077 if (rcu_access_pointer(sdata->deflink.conf->chanctx_conf) && in ieee80211_set_monitor_channel()
3751 if (rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) && in ieee80211_set_bitrate_mask()
4366 conf = wiphy_dereference(wiphy, link_conf->chanctx_conf); in __ieee80211_channel_switch()
4586 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local
4602 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_probe_client()
4603 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client()
4607 band = chanctx_conf->def.chan->band; in ieee80211_probe_client()
4673 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local
4684 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_cfg_get_channel()
4685 if (chanctx_conf) { in ieee80211_cfg_get_channel()
H A Dsta_info.c1862 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local
1924 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_send_null_response()
1925 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response()
1931 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
H A Dmlme.c1736 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_add_link_elems() local
1765 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_add_link_elems()
1766 if (chanctx_conf) in ieee80211_add_link_elems()
1767 width = chanctx_conf->def.width; in ieee80211_add_link_elems()
2629 if (rcu_access_pointer(link->conf->chanctx_conf)) in ieee80211_sta_abort_chanswitch()
2947 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_sta_process_chanswitch()
7380 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_rx_mgmt_beacon()
7416 chanctx_conf = rcu_dereference(bss_conf->chanctx_conf); in ieee80211_rx_mgmt_beacon()
7352 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_rx_mgmt_beacon() local
[all...]
H A Dairtime.c771 conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ieee80211_calc_expected_tx_airtime()
H A Dmain.c175 if (!rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf)) in ieee80211_calc_hw_conf_chan()
H A Dtdls.c1328 conf = rcu_dereference_protected(sdata->vif.bss_conf.chanctx_conf, in iee80211_tdls_recalc_chanctx()
H A Drx.c5218 conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_rx_for_interface()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dpower.c106 const struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mld_power_is_radar() local
108 chanctx_conf = wiphy_dereference(mld->wiphy, link_conf->chanctx_conf); in iwl_mld_power_is_radar()
110 if (WARN_ON(!chanctx_conf)) in iwl_mld_power_is_radar()
113 return chanctx_conf->def.chan->flags & IEEE80211_CHAN_RADAR; in iwl_mld_power_is_radar()
H A Dap.c111 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 Dphy.c50 if (rcu_access_pointer(link_conf->chanctx_conf) != data->ctx) in iwl_mld_chanctx_usage_iter()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dpower.c286 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 Dftm-responder.c351 pctx = rcu_dereference(bss_conf->chanctx_conf); in iwl_mvm_ftm_start_responder()
H A Dmac-ctxt.c1107 ctx = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_mac_ctxt_send_beacon_v9()
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c1051 rcu_dereference(vif->bss_conf.chanctx_conf)->def.chan); in hwsim_send_ps_poll()
1089 rcu_dereference(vif->bss_conf.chanctx_conf)->def.chan); in hwsim_send_nullfunc()
1675 chanctx = rcu_dereference(conf->chanctx_conf); in mac80211_hwsim_tx_iter()
1948 if (!rcu_access_pointer(bss_conf->chanctx_conf)) in mac80211_hwsim_select_tx_link()
1965 struct ieee80211_chanctx_conf *chanctx_conf; in mac80211_hwsim_tx() local
2054 chanctx_conf = rcu_dereference(bss_conf->chanctx_conf); in mac80211_hwsim_tx()
2055 if (chanctx_conf) { in mac80211_hwsim_tx()
2056 channel = chanctx_conf->def.chan; in mac80211_hwsim_tx()
2057 confbw = chanctx_conf->def.width; in mac80211_hwsim_tx()
2315 rcu_dereference(link_conf->chanctx_conf)->def.chan); in __mac80211_hwsim_beacon_tx()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mld/tests/
H A Dlink-selection.c111 wiphy_dereference(mld->wiphy, link->chanctx_conf); in setup_link()
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c609 conf = rcu_dereference(link_conf->chanctx_conf); in ath12k_mac_vif_link_chan()
931 arg->chanctx_conf = conf; in ath12k_mac_get_any_chanctx_conf_iter()
1370 arg.chanctx_conf = NULL; in ath12k_mac_monitor_start()
1374 if (!arg.chanctx_conf) in ath12k_mac_monitor_start()
1378 &arg.chanctx_conf->def); in ath12k_mac_monitor_start()
7123 conf = wiphy_dereference(hw->wiphy, info->chanctx_conf); in ath12k_mac_mlo_sta_update_link_active()
7213 chanctx = rcu_dereference(info->chanctx_conf); in ath12k_mac_select_links()
8821 conf = wiphy_dereference(wiphy, link_conf->chanctx_conf); in ath12k_mac_mgmt_action_frame_fill_elem_data()
11086 if (rcu_access_pointer(link_conf->chanctx_conf) != arg->ctx) in ath12k_mac_change_chanctx_cnt_iter()
11121 ctx = rcu_access_pointer(link_conf->chanctx_conf); in ath12k_mac_change_chanctx_fill_iter()
[all...]
/linux/drivers/net/wireless/ath/ath11k/
H A Dmac.c510 conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ath11k_mac_vif_chan()
7731 if (rcu_access_pointer(vif->bss_conf.chanctx_conf) != arg->ctx) in ath11k_mac_change_chanctx_cnt_iter()
7744 ctx = rcu_access_pointer(vif->bss_conf.chanctx_conf); in ath11k_mac_change_chanctx_fill_iter()
/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_rx.c3848 conf = rcu_dereference(arsta->arvif->vif->bss_conf.chanctx_conf); in ath10k_update_per_peer_tx_stats()