Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A Dcoex.c109 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_get_coex_type()
111 if (!chanctx_conf || in iwl_get_coex_type()
286 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_bt_notif_iterator()
289 if ((!chanctx_conf || in iwl_mvm_bt_notif_iterator()
334 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
341 if (chanctx_conf == data->primary) in iwl_mvm_bt_notif_iterator()
350 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
353 data->secondary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
368 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
371 data->secondary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
[all …]
A Ddebugfs-vif.c174 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_mac_params_read() local
237 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_dbgfs_mac_params_read()
238 if (chanctx_conf) in iwl_dbgfs_mac_params_read()
241 chanctx_conf->rx_chains_static, in iwl_dbgfs_mac_params_read()
242 chanctx_conf->rx_chains_dynamic); in iwl_dbgfs_mac_params_read()
588 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_rx_phyinfo_write() local
600 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_dbgfs_rx_phyinfo_write()
602 if (!chanctx_conf) { in iwl_dbgfs_rx_phyinfo_write()
608 phy_ctxt = &mvm->phy_ctxts[*(u16 *)chanctx_conf->drv_priv]; in iwl_dbgfs_rx_phyinfo_write()
614 chanctx_conf->rx_chains_static, in iwl_dbgfs_rx_phyinfo_write()
[all …]
A Dpower.c281 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_power_is_radar() local
286 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_power_is_radar()
287 WARN_ON(!chanctx_conf); in iwl_mvm_power_is_radar()
288 if (chanctx_conf) { in iwl_mvm_power_is_radar()
289 chan = chanctx_conf->def.chan; in iwl_mvm_power_is_radar()
A Dtx.c1913 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in iwl_mvm_tx_reclaim() local
1916 chanctx_conf = in iwl_mvm_tx_reclaim()
1917 rcu_dereference(mvmsta->vif->chanctx_conf); in iwl_mvm_tx_reclaim()
1919 if (WARN_ON_ONCE(!chanctx_conf)) in iwl_mvm_tx_reclaim()
1922 tx_info->band = chanctx_conf->def.chan->band; in iwl_mvm_tx_reclaim()
A Dftm-responder.c403 pctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_ftm_start_responder()
A Drs.c1964 struct ieee80211_chanctx_conf *chanctx_conf; in rs_tpc_perform() local
1985 chanctx_conf = rcu_dereference(vif->chanctx_conf); in rs_tpc_perform()
1986 if (WARN_ON(!chanctx_conf)) in rs_tpc_perform()
1989 band = chanctx_conf->def.chan->band; in rs_tpc_perform()
A Dtdls.c383 rcu_dereference(vif->chanctx_conf); in iwl_mvm_tdls_config_channel_switch()
A Dmac80211.c2036 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_cfg_he_sta() local
2041 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_cfg_he_sta()
2042 if (WARN_ON(!chanctx_conf)) { in iwl_mvm_cfg_he_sta()
2047 sband = mvm->hw->wiphy->bands[chanctx_conf->def.chan->band]; in iwl_mvm_cfg_he_sta()
4056 if (rcu_access_pointer(vif->chanctx_conf) == data->ctx && in iwl_mvm_ftm_responder_chanctx_iter()
A Dmac-ctxt.c484 chanctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_mac_ctxt_cmd_common()
958 ctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_mac_ctxt_send_beacon_v9()
/linux/net/mac80211/
A Docb.c44 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ocb_rx_no_sta() local
62 chanctx_conf = rcu_dereference(sdata->vif.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()
68 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ocb_rx_no_sta()
A Dethtool.c69 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_stats() local
149 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_stats()
150 if (chanctx_conf) in ieee80211_get_stats()
151 channel = chanctx_conf->def.chan; in ieee80211_get_stats()
A Dtx.c60 chanctx_conf = rcu_dereference(tx->sdata->vif.chanctx_conf); in ieee80211_duration()
61 if (chanctx_conf) { in ieee80211_duration()
2350 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_monitor_start_xmit()
2615 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_build_hdr()
2694 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_build_hdr()
2737 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_build_hdr()
2750 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_build_hdr()
2763 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_build_hdr()
2986 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_check_fast_xmit()
5115 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in __ieee80211_beacon_get()
[all …]
A Dchan.c75 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_vif_get_chanctx()
261 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_get_chanctx_max_required_bw()
369 if (rcu_access_pointer(sta->sdata->vif.chanctx_conf) != in ieee80211_chan_bw_change()
533 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_chanctx_radar_required()
689 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
781 rcu_assign_pointer(sdata->vif.chanctx_conf, conf); in ieee80211_assign_vif_chanctx()
825 if (rcu_access_pointer(sdata->vif.chanctx_conf) != in ieee80211_recalc_smps_chanctx()
925 rcu_assign_pointer(vlan->vif.chanctx_conf, conf); in __ieee80211_vif_copy_chanctx_to_vlans()
1882 conf = rcu_dereference_protected(ap->vif.chanctx_conf, in ieee80211_vif_vlan_copy_chanctx()
1884 rcu_assign_pointer(sdata->vif.chanctx_conf, conf); in ieee80211_vif_vlan_copy_chanctx()
[all …]
A Dmesh.c401 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_ds_params_ie()
402 if (WARN_ON(!chanctx_conf)) { in mesh_add_ds_params_ie()
406 chan = chanctx_conf->def.chan; in mesh_add_ds_params_ie()
457 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_ht_oper_ie()
458 if (WARN_ON(!chanctx_conf)) { in mesh_add_ht_oper_ie()
462 channel = chanctx_conf->def.chan; in mesh_add_ht_oper_ie()
529 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_vht_oper_ie()
530 if (WARN_ON(!chanctx_conf)) { in mesh_add_vht_oper_ie()
534 channel = chanctx_conf->def.chan; in mesh_add_vht_oper_ie()
822 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_mesh_build_beacon()
[all …]
A Drate.c37 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_init() local
46 chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); in rate_control_rate_init()
47 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_init()
52 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
62 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, in rate_control_rate_init()
98 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_update() local
103 chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); in rate_control_rate_update()
104 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_update()
110 ref->ops->rate_update(ref->priv, sband, &chanctx_conf->def, in rate_control_rate_update()
A Dieee80211_i.h1069 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_vif_get_shift() local
1073 chanctx_conf = rcu_dereference(vif->chanctx_conf); in ieee80211_vif_get_shift()
1074 if (chanctx_conf) in ieee80211_vif_get_shift()
1501 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local
1505 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_sband()
1507 if (!chanctx_conf) { in ieee80211_get_sband()
1512 band = chanctx_conf->def.chan->band; in ieee80211_get_sband()
2196 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_tx_skb_tid() local
2199 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_tx_skb_tid()
2200 if (WARN_ON(!chanctx_conf)) { in ieee80211_tx_skb_tid()
[all …]
A Dibss.c598 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_add_sta() local
625 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ibss_add_sta()
626 if (WARN_ON_ONCE(!chanctx_conf)) in ieee80211_ibss_add_sta()
628 band = chanctx_conf->def.chan->band; in ieee80211_ibss_add_sta()
629 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_add_sta()
1201 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local
1223 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ibss_rx_no_sta()
1224 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta()
1228 band = chanctx_conf->def.chan->band; in ieee80211_ibss_rx_no_sta()
1229 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_rx_no_sta()
A Dutil.c1533 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_regulatory_limit_wmm_params() local
1543 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_regulatory_limit_wmm_params()
1544 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params()
1575 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local
1590 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_set_wmm_default()
1591 use_11b = (chanctx_conf && in ieee80211_set_wmm_default()
2738 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_smps() local
2743 chanctx_conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_recalc_smps()
2752 if (!chanctx_conf) in ieee80211_recalc_smps()
2769 chanctx_conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_recalc_min_chandef()
[all …]
A Doffchannel.c845 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_mgmt_tx() local
848 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_mgmt_tx()
850 if (chanctx_conf) { in ieee80211_mgmt_tx()
853 chanctx_conf->def.chan); in ieee80211_mgmt_tx()
A Dmlme.c634 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_add_he_ie() local
639 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_add_he_ie()
640 if (!WARN_ON_ONCE(!chanctx_conf)) in ieee80211_add_he_ie()
642 &chanctx_conf->def, in ieee80211_add_he_ie()
679 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_assoc() local
697 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_assoc()
698 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_assoc()
702 chan = chanctx_conf->def.chan; in ieee80211_send_assoc()
4029 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_rx_mgmt_beacon()
4030 if (!chanctx_conf) { in ieee80211_rx_mgmt_beacon()
[all …]
A Diface.c50 struct ieee80211_chanctx_conf *chanctx_conf; in __ieee80211_recalc_txpower() local
54 chanctx_conf = rcu_dereference(sdata->vif.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()
505 RCU_INIT_POINTER(sdata->vif.chanctx_conf, NULL); in ieee80211_do_stop()
A Dcfg.c3020 if (rcu_access_pointer(sdata->vif.chanctx_conf) && in ieee80211_set_bitrate_mask()
3506 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in __ieee80211_channel_switch()
3717 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local
3725 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_probe_client()
3726 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client()
3730 band = chanctx_conf->def.chan->band; in ieee80211_probe_client()
3803 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local
3807 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_cfg_get_channel()
3808 if (chanctx_conf) { in ieee80211_cfg_get_channel()
A Dsta_info.c1401 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local
1463 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_null_response()
1464 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response()
1470 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
A Dairtime.c643 conf = rcu_dereference(vif->chanctx_conf); in ieee80211_calc_expected_tx_airtime()
/linux/drivers/net/wireless/
A Dmac80211_hwsim.c838 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_ps_poll()
871 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_nullfunc()
1391 if (!vif->chanctx_conf) in mac80211_hwsim_tx_iter()
1395 rcu_dereference(vif->chanctx_conf)->def.chan)) in mac80211_hwsim_tx_iter()
1595 struct ieee80211_chanctx_conf *chanctx_conf; in mac80211_hwsim_tx() local
1611 chanctx_conf = rcu_dereference(txi->control.vif->chanctx_conf); in mac80211_hwsim_tx()
1612 if (chanctx_conf) in mac80211_hwsim_tx()
1613 channel = chanctx_conf->def.chan; in mac80211_hwsim_tx()
1839 rcu_dereference(vif->chanctx_conf)->def.chan); in mac80211_hwsim_beacon_tx()
1843 rcu_dereference(vif->chanctx_conf)->def.chan); in mac80211_hwsim_beacon_tx()

Completed in 111 milliseconds

12