Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dcoex.c149 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_get_coex_type() local
164 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_get_coex_type()
166 if (!chanctx_conf || in iwl_get_coex_type()
167 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ) { in iwl_get_coex_type()
179 phy_ctx_id = *((u16 *)chanctx_conf->drv_priv); in iwl_get_coex_type()
322 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_bt_notif_iterator() local
341 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_bt_notif_iterator()
344 if ((!chanctx_conf || in iwl_mvm_bt_notif_iterator()
345 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ)) { in iwl_mvm_bt_notif_iterator()
389 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
[all …]
H A Ddebugfs-vif.c229 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_mac_params_read() local
292 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_dbgfs_mac_params_read()
293 if (chanctx_conf) in iwl_dbgfs_mac_params_read()
296 chanctx_conf->rx_chains_static, in iwl_dbgfs_mac_params_read()
297 chanctx_conf->rx_chains_dynamic); in iwl_dbgfs_mac_params_read()
643 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_rx_phyinfo_write() local
655 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_dbgfs_rx_phyinfo_write()
657 if (!chanctx_conf) { in iwl_dbgfs_rx_phyinfo_write()
663 phy_ctxt = &mvm->phy_ctxts[*(u16 *)chanctx_conf->drv_priv]; in iwl_dbgfs_rx_phyinfo_write()
668 ret = iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, &chanctx_conf->min_def, in iwl_dbgfs_rx_phyinfo_write()
[all …]
H A Dpower.c339 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_power_is_radar() local
344 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_power_is_radar()
345 WARN_ON(!chanctx_conf); in iwl_mvm_power_is_radar()
346 if (chanctx_conf) { in iwl_mvm_power_is_radar()
347 chan = chanctx_conf->def.chan; in iwl_mvm_power_is_radar()
H A Dtx.c1878 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in iwl_mvm_tx_reclaim() local
1881 chanctx_conf = in iwl_mvm_tx_reclaim()
1882 rcu_dereference(mvmsta->vif->chanctx_conf); in iwl_mvm_tx_reclaim()
1884 if (WARN_ON_ONCE(!chanctx_conf)) in iwl_mvm_tx_reclaim()
1887 ba_info->band = chanctx_conf->def.chan->band; in iwl_mvm_tx_reclaim()
H A Dftm-responder.c410 pctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_ftm_start_responder()
H A Drs.c2012 struct ieee80211_chanctx_conf *chanctx_conf; in rs_tpc_perform() local
2033 chanctx_conf = rcu_dereference(vif->chanctx_conf); in rs_tpc_perform()
2034 if (WARN_ON(!chanctx_conf)) in rs_tpc_perform()
2037 band = chanctx_conf->def.chan->band; in rs_tpc_perform()
H A Dtdls.c439 rcu_dereference(vif->chanctx_conf); in iwl_mvm_tdls_config_channel_switch()
/OK3568_Linux_fs/kernel/net/mac80211/
H 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()
H 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()
H A Dchan.c73 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_vif_get_chanctx()
257 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_get_chanctx_max_required_bw()
295 if (sdata && rcu_access_pointer(sdata->vif.chanctx_conf) == conf) in ieee80211_get_chanctx_max_required_bw()
438 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_chanctx_radar_required()
594 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
664 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_assign_vif_chanctx()
686 rcu_assign_pointer(sdata->vif.chanctx_conf, conf); in ieee80211_assign_vif_chanctx()
730 if (rcu_access_pointer(sdata->vif.chanctx_conf) != in ieee80211_recalc_smps_chanctx()
780 rcu_access_pointer(sdata->vif.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
823 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in __ieee80211_vif_copy_chanctx_to_vlans()
[all …]
H A Dtx.c61 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_duration() local
69 chanctx_conf = rcu_dereference(tx->sdata->vif.chanctx_conf); in ieee80211_duration()
70 if (chanctx_conf) { in ieee80211_duration()
71 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_duration()
72 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_duration()
2243 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local
2335 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_monitor_start_xmit()
2336 if (!chanctx_conf) { in ieee80211_monitor_start_xmit()
2339 chanctx_conf = in ieee80211_monitor_start_xmit()
2340 rcu_dereference(tmp_sdata->vif.chanctx_conf); in ieee80211_monitor_start_xmit()
[all …]
H A Dmesh.c393 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ds_params_ie() local
401 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()
450 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ht_oper_ie() local
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()
522 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_vht_oper_ie() local
529 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_vht_oper_ie()
[all …]
H 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()
H A Dieee80211_i.h1044 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_vif_get_shift() local
1048 chanctx_conf = rcu_dereference(vif->chanctx_conf); in ieee80211_vif_get_shift()
1049 if (chanctx_conf) in ieee80211_vif_get_shift()
1050 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_vif_get_shift()
1447 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local
1451 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_sband()
1453 if (!chanctx_conf) { in ieee80211_get_sband()
1458 band = chanctx_conf->def.chan->band; in ieee80211_get_sband()
2009 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_tx_skb_tid() local
2012 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_tx_skb_tid()
[all …]
H A Dibss.c609 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_add_sta() local
636 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ibss_add_sta()
637 if (WARN_ON_ONCE(!chanctx_conf)) in ieee80211_ibss_add_sta()
639 band = chanctx_conf->def.chan->band; in ieee80211_ibss_add_sta()
640 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_add_sta()
1212 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local
1234 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ibss_rx_no_sta()
1235 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta()
1239 band = chanctx_conf->def.chan->band; in ieee80211_ibss_rx_no_sta()
1240 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_rx_no_sta()
H A Dutil.c1529 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_regulatory_limit_wmm_params() local
1539 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_regulatory_limit_wmm_params()
1540 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params()
1541 center_freq = chanctx_conf->def.chan->center_freq; in ieee80211_regulatory_limit_wmm_params()
1571 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local
1586 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_set_wmm_default()
1587 use_11b = (chanctx_conf && in ieee80211_set_wmm_default()
1588 chanctx_conf->def.chan->band == NL80211_BAND_2GHZ) && in ieee80211_set_wmm_default()
2210 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_assign_chanctx()
2719 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_smps() local
[all …]
H 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()
H A Dmlme.c667 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_add_he_ie() local
672 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_add_he_ie()
673 if (!WARN_ON_ONCE(!chanctx_conf)) in ieee80211_add_he_ie()
675 &chanctx_conf->def, in ieee80211_add_he_ie()
711 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_assoc() local
726 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_assoc()
727 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_assoc()
731 chan = chanctx_conf->def.chan; in ieee80211_send_assoc()
743 rates_len = ieee80211_parse_bitrates(&chanctx_conf->def, sband, in ieee80211_send_assoc()
875 *pos++ = ieee80211_chandef_max_power(&chanctx_conf->def); in ieee80211_send_assoc()
[all …]
H A Diface.c49 struct ieee80211_chanctx_conf *chanctx_conf; in __ieee80211_recalc_txpower() local
53 chanctx_conf = rcu_dereference(sdata->vif.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()
514 RCU_INIT_POINTER(sdata->vif.chanctx_conf, NULL); in ieee80211_do_stop()
H A Dcfg.c2953 if (rcu_access_pointer(sdata->vif.chanctx_conf) && in ieee80211_set_bitrate_mask()
3426 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in __ieee80211_channel_switch()
3633 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local
3641 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_probe_client()
3642 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client()
3646 band = chanctx_conf->def.chan->band; in ieee80211_probe_client()
3719 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local
3723 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_cfg_get_channel()
3724 if (chanctx_conf) { in ieee80211_cfg_get_channel()
H A Dsta_info.c1399 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local
1461 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_null_response()
1462 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response()
1468 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
H A Dairtime.c646 conf = rcu_dereference(vif->chanctx_conf); in ieee80211_calc_expected_tx_airtime()
H A Dmain.c150 if (!rcu_access_pointer(sdata->vif.chanctx_conf)) in ieee80211_hw_conf_chan()
/OK3568_Linux_fs/kernel/drivers/net/wireless/
H A Dmac80211_hwsim.c772 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_ps_poll()
810 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_nullfunc()
1329 if (!vif->chanctx_conf) in mac80211_hwsim_tx_iter()
1333 rcu_dereference(vif->chanctx_conf)->def.chan)) in mac80211_hwsim_tx_iter()
1533 struct ieee80211_chanctx_conf *chanctx_conf; in mac80211_hwsim_tx() local
1549 chanctx_conf = rcu_dereference(txi->control.vif->chanctx_conf); in mac80211_hwsim_tx()
1550 if (chanctx_conf) in mac80211_hwsim_tx()
1551 channel = chanctx_conf->def.chan; in mac80211_hwsim_tx()
1775 rcu_dereference(vif->chanctx_conf)->def.chan); in mac80211_hwsim_beacon_tx()
1779 rcu_dereference(vif->chanctx_conf)->def.chan); in mac80211_hwsim_beacon_tx()
/OK3568_Linux_fs/kernel/include/net/
H A Dmac80211.h1724 struct ieee80211_chanctx_conf __rcu *chanctx_conf; member
5850 struct ieee80211_chanctx_conf *chanctx_conf,

12