Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dcoex.c154 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_get_coex_type() local
169 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_get_coex_type()
171 if (!chanctx_conf || in iwl_get_coex_type()
172 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ) { in iwl_get_coex_type()
184 phy_ctx_id = *((u16 *)chanctx_conf->drv_priv); in iwl_get_coex_type()
331 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_bt_notif_iterator() local
350 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_bt_notif_iterator()
353 if ((!chanctx_conf || in iwl_mvm_bt_notif_iterator()
354 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ)) { in iwl_mvm_bt_notif_iterator()
393 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
[all …]
Ddebugfs-vif.c235 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_mac_params_read() local
298 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_dbgfs_mac_params_read()
299 if (chanctx_conf) in iwl_dbgfs_mac_params_read()
302 chanctx_conf->rx_chains_static, in iwl_dbgfs_mac_params_read()
303 chanctx_conf->rx_chains_dynamic); in iwl_dbgfs_mac_params_read()
1347 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_rx_phyinfo_write() local
1359 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_dbgfs_rx_phyinfo_write()
1361 if (!chanctx_conf) { in iwl_dbgfs_rx_phyinfo_write()
1367 phy_ctxt = &mvm->phy_ctxts[*(u16 *)chanctx_conf->drv_priv]; in iwl_dbgfs_rx_phyinfo_write()
1372 ret = iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, &chanctx_conf->min_def, in iwl_dbgfs_rx_phyinfo_write()
[all …]
Dpower.c327 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_power_is_radar() local
332 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_power_is_radar()
333 WARN_ON(!chanctx_conf); in iwl_mvm_power_is_radar()
334 if (chanctx_conf) { in iwl_mvm_power_is_radar()
335 chan = chanctx_conf->def.chan; in iwl_mvm_power_is_radar()
Dtx.c1782 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in iwl_mvm_tx_reclaim() local
1785 chanctx_conf = in iwl_mvm_tx_reclaim()
1786 rcu_dereference(mvmsta->vif->chanctx_conf); in iwl_mvm_tx_reclaim()
1788 if (WARN_ON_ONCE(!chanctx_conf)) in iwl_mvm_tx_reclaim()
1791 ba_info->band = chanctx_conf->def.chan->band; in iwl_mvm_tx_reclaim()
Dtdls.c443 rcu_dereference(vif->chanctx_conf); in iwl_mvm_tdls_config_channel_switch()
Drs.c2187 struct ieee80211_chanctx_conf *chanctx_conf; in rs_tpc_perform() local
2208 chanctx_conf = rcu_dereference(vif->chanctx_conf); in rs_tpc_perform()
2209 if (WARN_ON(!chanctx_conf)) in rs_tpc_perform()
2212 band = chanctx_conf->def.chan->band; in rs_tpc_perform()
Dmac-ctxt.c640 chanctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_mac_ctxt_cmd_common()
/Linux-v4.19/net/mac80211/
Docb.c47 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ocb_rx_no_sta() local
65 chanctx_conf = rcu_dereference(sdata->vif.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()
71 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ocb_rx_no_sta()
Dethtool.c70 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_stats() local
150 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_stats()
151 if (chanctx_conf) in ieee80211_get_stats()
152 channel = chanctx_conf->def.chan; in ieee80211_get_stats()
Dtx.c65 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_duration() local
73 chanctx_conf = rcu_dereference(tx->sdata->vif.chanctx_conf); in ieee80211_duration()
74 if (chanctx_conf) { in ieee80211_duration()
75 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_duration()
76 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_duration()
2169 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local
2260 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_monitor_start_xmit()
2261 if (!chanctx_conf) { in ieee80211_monitor_start_xmit()
2264 chanctx_conf = in ieee80211_monitor_start_xmit()
2265 rcu_dereference(tmp_sdata->vif.chanctx_conf); in ieee80211_monitor_start_xmit()
[all …]
Dmesh.c381 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ds_params_ie() local
389 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_ds_params_ie()
390 if (WARN_ON(!chanctx_conf)) { in mesh_add_ds_params_ie()
394 chan = chanctx_conf->def.chan; in mesh_add_ds_params_ie()
434 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ht_oper_ie() local
441 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_ht_oper_ie()
442 if (WARN_ON(!chanctx_conf)) { in mesh_add_ht_oper_ie()
446 channel = chanctx_conf->def.chan; in mesh_add_ht_oper_ie()
498 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_vht_oper_ie() local
505 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_vht_oper_ie()
[all …]
Dchan.c72 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_vif_get_chanctx()
256 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_get_chanctx_max_required_bw()
294 if (sdata && rcu_access_pointer(sdata->vif.chanctx_conf) == conf) in ieee80211_get_chanctx_max_required_bw()
432 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_chanctx_radar_required()
580 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
650 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_assign_vif_chanctx()
672 rcu_assign_pointer(sdata->vif.chanctx_conf, conf); in ieee80211_assign_vif_chanctx()
716 if (rcu_access_pointer(sdata->vif.chanctx_conf) != in ieee80211_recalc_smps_chanctx()
766 rcu_access_pointer(sdata->vif.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
809 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in __ieee80211_vif_copy_chanctx_to_vlans()
[all …]
Drate.c40 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_init() local
49 chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); in rate_control_rate_init()
50 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_init()
55 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
58 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, in rate_control_rate_init()
94 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_update() local
99 chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); in rate_control_rate_update()
100 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_update()
106 ref->ops->rate_update(ref->priv, sband, &chanctx_conf->def, in rate_control_rate_update()
Dieee80211_i.h1026 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_vif_get_shift() local
1030 chanctx_conf = rcu_dereference(vif->chanctx_conf); in ieee80211_vif_get_shift()
1031 if (chanctx_conf) in ieee80211_vif_get_shift()
1032 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_vif_get_shift()
1407 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local
1411 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_sband()
1413 if (WARN_ON(!chanctx_conf)) { in ieee80211_get_sband()
1418 band = chanctx_conf->def.chan->band; in ieee80211_get_sband()
1917 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_tx_skb_tid() local
1920 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_tx_skb_tid()
[all …]
Dutil.c1136 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_regulatory_limit_wmm_params() local
1146 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_regulatory_limit_wmm_params()
1147 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params()
1148 center_freq = chanctx_conf->def.chan->center_freq; in ieee80211_regulatory_limit_wmm_params()
1178 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local
1193 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_set_wmm_default()
1194 use_11b = (chanctx_conf && in ieee80211_set_wmm_default()
1195 chanctx_conf->def.chan->band == NL80211_BAND_2GHZ) && in ieee80211_set_wmm_default()
1794 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_assign_chanctx()
2295 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_smps() local
[all …]
Dibss.c614 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_add_sta() local
641 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ibss_add_sta()
642 if (WARN_ON_ONCE(!chanctx_conf)) in ieee80211_ibss_add_sta()
644 band = chanctx_conf->def.chan->band; in ieee80211_ibss_add_sta()
645 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_add_sta()
1208 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local
1230 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ibss_rx_no_sta()
1231 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta()
1235 band = chanctx_conf->def.chan->band; in ieee80211_ibss_rx_no_sta()
1236 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_rx_no_sta()
Doffchannel.c859 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_mgmt_tx() local
862 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_mgmt_tx()
864 if (chanctx_conf) { in ieee80211_mgmt_tx()
867 chanctx_conf->def.chan); in ieee80211_mgmt_tx()
Diface.c51 struct ieee80211_chanctx_conf *chanctx_conf; in __ieee80211_recalc_txpower() local
55 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in __ieee80211_recalc_txpower()
56 if (!chanctx_conf) { in __ieee80211_recalc_txpower()
61 power = ieee80211_chandef_max_power(&chanctx_conf->def); in __ieee80211_recalc_txpower()
945 RCU_INIT_POINTER(sdata->vif.chanctx_conf, NULL); in ieee80211_do_stop()
Dmlme.c650 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_assoc() local
657 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_assoc()
658 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_assoc()
662 chan = chanctx_conf->def.chan; in ieee80211_send_assoc()
674 rates_len = ieee80211_parse_bitrates(&chanctx_conf->def, sband, in ieee80211_send_assoc()
799 *pos++ = ieee80211_chandef_max_power(&chanctx_conf->def); in ieee80211_send_assoc()
1301 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_sta_process_chanswitch()
3666 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_rx_mgmt_beacon() local
3684 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_rx_mgmt_beacon()
3685 if (!chanctx_conf) { in ieee80211_rx_mgmt_beacon()
[all …]
Dcfg.c2787 if (rcu_access_pointer(sdata->vif.chanctx_conf) && in ieee80211_set_bitrate_mask()
3226 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in __ieee80211_channel_switch()
3425 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local
3433 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_probe_client()
3434 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client()
3438 band = chanctx_conf->def.chan->band; in ieee80211_probe_client()
3511 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local
3515 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_cfg_get_channel()
3516 if (chanctx_conf) { in ieee80211_cfg_get_channel()
Dsta_info.c1324 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local
1391 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_null_response()
1392 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response()
1398 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
Dmain.c146 if (!rcu_access_pointer(sdata->vif.chanctx_conf)) in ieee80211_hw_conf_chan()
Dtdls.c1258 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in iee80211_tdls_recalc_chanctx()
/Linux-v4.19/drivers/net/wireless/
Dmac80211_hwsim.c679 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_ps_poll()
712 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_nullfunc()
1182 if (!vif->chanctx_conf) in mac80211_hwsim_tx_iter()
1186 rcu_dereference(vif->chanctx_conf)->def.chan)) in mac80211_hwsim_tx_iter()
1383 struct ieee80211_chanctx_conf *chanctx_conf; in mac80211_hwsim_tx() local
1399 chanctx_conf = rcu_dereference(txi->control.vif->chanctx_conf); in mac80211_hwsim_tx()
1400 if (chanctx_conf) in mac80211_hwsim_tx()
1401 channel = chanctx_conf->def.chan; in mac80211_hwsim_tx()
1596 rcu_dereference(vif->chanctx_conf)->def.chan); in mac80211_hwsim_beacon_tx()
/Linux-v4.19/include/net/
Dmac80211.h1521 struct ieee80211_chanctx_conf __rcu *chanctx_conf; member
5360 struct ieee80211_chanctx_conf *chanctx_conf,

12