Home
last modified time | relevance | path

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

12

/linux/net/mac80211/
H A Dnan.c48 conf = nan_channel->chanctx_conf; in ieee80211_nan_update_channel()
84 nan_channel->chanctx_conf = &ctx->conf; in ieee80211_nan_use_chanctx()
123 if (peer_sched->channels[i].chanctx_conf != removed_conf) in ieee80211_nan_update_peer_channels()
141 if (peer_sched->channels[i].chanctx_conf == removed_conf) { in ieee80211_nan_update_peer_channels()
196 conf = nan_channel->chanctx_conf; in ieee80211_nan_remove_channel()
343 if (!chan->chanctx_conf) { in ieee80211_nan_set_local_sched()
402 if (!chan->chanctx_conf || sched->deferred) in ieee80211_nan_set_local_sched()
407 chan->chanctx_conf = NULL; in ieee80211_nan_set_local_sched()
416 struct ieee80211_chanctx_conf *conf = chan->chanctx_conf; in ieee80211_nan_set_local_sched()
464 struct ieee80211_chanctx_conf *conf = chan->chanctx_conf; in ieee80211_nan_sched_update_done()
[all …]
H A Dchan.c49 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()
624 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &ctx->conf) in ieee80211_get_chanctx_max_required_bw()
707 if (rcu_access_pointer(link_conf->chanctx_conf) != &ctx->conf) in ieee80211_chan_bw_change()
1149 if (rcu_access_pointer(link->conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
1195 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_assign_link_chanctx()
1222 rcu_assign_pointer(link->conf->chanctx_conf, conf); in ieee80211_assign_link_chanctx()
1243 if (rcu_access_pointer(tmp->conf->chanctx_conf)) { in ieee80211_assign_link_chanctx()
1337 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
[all …]
H A Doffchannel.c920 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in ieee80211_mgmt_tx() local
932 chanctx_conf = rcu_dereference(conf->chanctx_conf); in ieee80211_mgmt_tx()
933 if (!chanctx_conf) in ieee80211_mgmt_tx()
936 if (mlo_sta && params->chan == chanctx_conf->def.chan && in ieee80211_mgmt_tx()
949 params->chan == chanctx_conf->def.chan) in ieee80211_mgmt_tx()
955 chanctx_conf = NULL; in ieee80211_mgmt_tx()
958 if (chanctx_conf) { in ieee80211_mgmt_tx()
961 chanctx_conf->def.chan); in ieee80211_mgmt_tx()
H A Dtx.c2328 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local
2411 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit()
2412 if (!chanctx_conf) { in ieee80211_monitor_start_xmit()
2415 chanctx_conf = in ieee80211_monitor_start_xmit()
2416 rcu_dereference(tmp_sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit()
2419 if (!chanctx_conf) { in ieee80211_monitor_start_xmit()
2426 chanctx_conf = &ctx->conf; in ieee80211_monitor_start_xmit()
2431 if (chanctx_conf) in ieee80211_monitor_start_xmit()
2432 chandef = &chanctx_conf->def; in ieee80211_monitor_start_xmit()
2667 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in ieee80211_build_hdr() local
[all …]
H A Dutil.c988 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_regulatory_limit_wmm_params() local
998 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_regulatory_limit_wmm_params()
999 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params()
1000 center_freq = chanctx_conf->def.chan->center_freq; in ieee80211_regulatory_limit_wmm_params()
1031 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local
1046 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_set_wmm_default()
1047 use_11b = (chanctx_conf && in ieee80211_set_wmm_default()
1048 chanctx_conf->def.chan->band == NL80211_BAND_2GHZ) && in ieee80211_set_wmm_default()
1721 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_assign_chanctx()
2439 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_smps() local
[all …]
H A Dibss.c574 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_add_sta() local
600 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ibss_add_sta()
601 if (WARN_ON_ONCE(!chanctx_conf)) in ieee80211_ibss_add_sta()
603 band = chanctx_conf->def.chan->band; in ieee80211_ibss_add_sta()
1147 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local
1168 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ibss_rx_no_sta()
1169 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta()
1173 band = chanctx_conf->def.chan->band; in ieee80211_ibss_rx_no_sta()
H A Dieee80211_i.h1742 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local
1748 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_sband()
1750 if (!chanctx_conf) { in ieee80211_get_sband()
1755 band = chanctx_conf->def.chan->band; in ieee80211_get_sband()
1765 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_link_sband() local
1769 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_get_link_sband()
1770 if (!chanctx_conf) { in ieee80211_get_link_sband()
1775 band = chanctx_conf->def.chan->band; in ieee80211_get_link_sband()
H A Dcfg.c1082 if (rcu_access_pointer(sdata->deflink.conf->chanctx_conf) && in ieee80211_set_monitor_channel()
1429 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_update_ap_bandwidth() local
1452 chanctx_conf = sdata_dereference(link->conf->chanctx_conf, link->sdata); in ieee80211_update_ap_bandwidth()
1453 chanctx = container_of(chanctx_conf, struct ieee80211_chanctx, conf); in ieee80211_update_ap_bandwidth()
4122 if (rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) && in ieee80211_set_bitrate_mask()
4748 conf = wiphy_dereference(wiphy, link_conf->chanctx_conf); in __ieee80211_channel_switch()
4954 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_peer() local
5008 chanctx_conf = wiphy_dereference(local->hw.wiphy, in ieee80211_probe_peer()
5009 sdata->vif.bss_conf.chanctx_conf); in ieee80211_probe_peer()
5010 if (WARN_ON(!chanctx_conf)) in ieee80211_probe_peer()
[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()
616 RCU_INIT_POINTER(sdata->vif.bss_conf.chanctx_conf, NULL); in ieee80211_do_stop()
H A Dmlme.c1610 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_config_bw() local
1792 chanctx_conf = sdata_dereference(link->conf->chanctx_conf, sdata); in ieee80211_config_bw()
1794 if (WARN_ON(!chanctx_conf)) in ieee80211_config_bw()
1802 if (chanreq.oper.npca_chan && chanctx_conf->def.npca_chan && in ieee80211_config_bw()
2169 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_add_link_elems() local
2198 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_add_link_elems()
2199 if (chanctx_conf) in ieee80211_add_link_elems()
2200 width = chanctx_conf->def.width; in ieee80211_add_link_elems()
3103 if (rcu_access_pointer(link->conf->chanctx_conf)) in ieee80211_sta_abort_chanswitch()
3421 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_sta_process_chanswitch()
[all …]
H A Dsta_info.c1922 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local
1984 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_send_null_response()
1985 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response()
1991 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
2824 conf = sdata_dereference(bss_conf->chanctx_conf, sta->sdata); in sta_estimate_expected_throughput()
H A Dairtime.c818 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.c1327 conf = rcu_dereference_protected(sdata->vif.bss_conf.chanctx_conf, in iee80211_tdls_recalc_chanctx()
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dnan.c575 if (slot && !IS_ERR(slot) && slot->chanctx_conf) { in mt7925_nan_slot_to_bitmap()
576 *slot_chan = slot->chanctx_conf->def; in mt7925_nan_slot_to_bitmap()
763 if (!sched->channels[i].chanctx_conf) in mt7925_nan_peer_cap_tlv()
766 band = sched->channels[i].chanctx_conf->def.chan->band; in mt7925_nan_peer_cap_tlv()
768 sched->channels[i].chanctx_conf->def.chan->hw_value; in mt7925_nan_peer_cap_tlv()
823 if (!local_ch || !local_ch->chanctx_conf || in mt7925_nan_fill_crb_committed()
824 !peer_ch || !peer_ch->chanctx_conf) in mt7925_nan_fill_crb_committed()
827 if (local_ch->chanctx_conf != peer_ch->chanctx_conf) in mt7925_nan_fill_crb_committed()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dmac80211.c1028 if (rcu_access_pointer(link->chanctx_conf) != ctx) in iwl_mld_update_link_npca_puncturing()
2616 struct ieee80211_chanctx_conf *chanctx_conf) in iwl_mld_chanctx_used_by_other_vif() argument
2628 if (rcu_access_pointer(iter_link->chanctx_conf) == in iwl_mld_chanctx_used_by_other_vif()
2629 chanctx_conf) in iwl_mld_chanctx_used_by_other_vif()
2672 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mld_can_activate_links() local
2678 chanctx_conf = wiphy_dereference(mld->wiphy, link_conf->chanctx_conf); in iwl_mld_can_activate_links()
2679 if (!chanctx_conf) in iwl_mld_can_activate_links()
2682 if (iwl_mld_chanctx_used_by_other_vif(hw, vif, chanctx_conf)) in iwl_mld_can_activate_links()
2685 if (ieee80211_nan_try_evacuate(hw, chanctx_conf)) { in iwl_mld_can_activate_links()
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim_main.c1006 rcu_dereference(vif->bss_conf.chanctx_conf)->def.chan); in hwsim_send_ps_poll()
1044 rcu_dereference(vif->bss_conf.chanctx_conf)->def.chan); in hwsim_send_nullfunc()
1800 chanctx = rcu_dereference(conf->chanctx_conf); in mac80211_hwsim_tx_iter()
2075 if (!rcu_access_pointer(bss_conf->chanctx_conf)) in mac80211_hwsim_select_tx_link()
2111 struct ieee80211_chanctx_conf *chanctx_conf; in mac80211_hwsim_tx() local
2211 chanctx_conf = rcu_dereference(bss_conf->chanctx_conf); in mac80211_hwsim_tx()
2212 if (chanctx_conf) { in mac80211_hwsim_tx()
2213 channel = chanctx_conf->def.chan; in mac80211_hwsim_tx()
2214 confbw = chanctx_conf->def.width; in mac80211_hwsim_tx()
2454 rcu_dereference(link_conf->chanctx_conf)->def.chan); in __mac80211_hwsim_beacon_tx()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtx.c2044 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in iwl_mvm_tx_reclaim() local
2048 chanctx_conf = in iwl_mvm_tx_reclaim()
2049 rcu_dereference(mvmsta->vif->bss_conf.chanctx_conf); in iwl_mvm_tx_reclaim()
2051 if (WARN_ON_ONCE(!chanctx_conf)) in iwl_mvm_tx_reclaim()
2054 tx_info->band = chanctx_conf->def.chan->band; in iwl_mvm_tx_reclaim()
H A Dmac-ctxt.c1105 ctx = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_mac_ctxt_send_beacon_v9()
H A Dd3.c737 ctx = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_d3_reprogram()
/linux/drivers/net/wireless/morsemicro/mm81x/
H A Dmac.c1496 struct ieee80211_chanctx_conf *chanctx_conf; in mm81x_mac_ops_get_txpower() local
1500 chanctx_conf = rcu_access_pointer(vif->bss_conf.chanctx_conf); in mm81x_mac_ops_get_txpower()
1501 if (!chanctx_conf || in mm81x_mac_ops_get_txpower()
1502 !cfg80211_chandef_identical(chandef, &chanctx_conf->def)) in mm81x_mac_ops_get_txpower()
/linux/include/net/
H A Dmac80211.h877 struct ieee80211_chanctx_conf __rcu *chanctx_conf; member
930 struct ieee80211_chanctx_conf *chanctx_conf; member
6975 struct ieee80211_chanctx_conf *chanctx_conf,
7000 struct ieee80211_chanctx_conf *chanctx_conf,
7126 struct ieee80211_chanctx_conf *chanctx_conf);
/linux/drivers/net/wireless/ath/ath12k/
H A Dwmi.c9006 arg.chanctx_conf = NULL; in ath12k_wmi_process_incumbent_signal_interference_evt()
9011 if (!arg.chanctx_conf) { in ath12k_wmi_process_incumbent_signal_interference_evt()
9016 if (info.chan_freq != arg.chanctx_conf->def.chan->center_freq) { in ath12k_wmi_process_incumbent_signal_interference_evt()
9019 info.chan_freq, arg.chanctx_conf->def.chan->center_freq); in ath12k_wmi_process_incumbent_signal_interference_evt()
9024 incumbent->center_freq = arg.chanctx_conf->def.chan->center_freq; in ath12k_wmi_process_incumbent_signal_interference_evt()
9025 incumbent->width = arg.chanctx_conf->def.width; in ath12k_wmi_process_incumbent_signal_interference_evt()
9031 &arg.chanctx_conf->def); in ath12k_wmi_process_incumbent_signal_interference_evt()
9036 &arg.chanctx_conf->def, in ath12k_wmi_process_incumbent_signal_interference_evt()
9222 arg.chanctx_conf = NULL; in ath12k_wmi_pdev_dfs_radar_detected_event()
9225 if (!arg.chanctx_conf) { in ath12k_wmi_pdev_dfs_radar_detected_event()
[all …]
H A Dmac.c621 conf = rcu_dereference(link_conf->chanctx_conf); in ath12k_mac_vif_link_chan()
949 arg->chanctx_conf = conf; in ath12k_mac_get_any_chanctx_conf_iter()
1489 arg.chanctx_conf = NULL; in ath12k_mac_monitor_start()
1493 if (!arg.chanctx_conf) in ath12k_mac_monitor_start()
1497 &arg.chanctx_conf->def); in ath12k_mac_monitor_start()
7600 conf = wiphy_dereference(hw->wiphy, info->chanctx_conf); in ath12k_mac_mlo_sta_update_link_active()
7690 chanctx = rcu_dereference(info->chanctx_conf); in ath12k_mac_select_links()
9374 conf = wiphy_dereference(wiphy, link_conf->chanctx_conf); in ath12k_mac_mgmt_action_frame_fill_elem_data()
11539 if (rcu_access_pointer(link_conf->chanctx_conf) != arg->ctx) in ath12k_mac_change_chanctx_cnt_iter()
11574 ctx = rcu_access_pointer(link_conf->chanctx_conf); in ath12k_mac_change_chanctx_fill_iter()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dmac.c673 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()

12