Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dcoex_legacy.c562 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_get_coex_type() local
576 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_get_coex_type()
578 if (!chanctx_conf || in iwl_get_coex_type()
579 chanctx_conf->def.chan->band != IEEE80211_BAND_2GHZ) { in iwl_get_coex_type()
591 phy_ctx_id = *((u16 *)chanctx_conf->drv_priv); in iwl_get_coex_type()
846 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_bt_notif_iterator() local
866 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_bt_notif_iterator()
869 if ((!chanctx_conf || in iwl_mvm_bt_notif_iterator()
870 chanctx_conf->def.chan->band != IEEE80211_BAND_2GHZ)) { in iwl_mvm_bt_notif_iterator()
912 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
[all …]
Dcoex.c363 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_get_coex_type() local
378 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_get_coex_type()
380 if (!chanctx_conf || in iwl_get_coex_type()
381 chanctx_conf->def.chan->band != IEEE80211_BAND_2GHZ) { in iwl_get_coex_type()
393 phy_ctx_id = *((u16 *)chanctx_conf->drv_priv); in iwl_get_coex_type()
523 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_bt_notif_iterator() local
542 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_bt_notif_iterator()
545 if ((!chanctx_conf || in iwl_mvm_bt_notif_iterator()
546 chanctx_conf->def.chan->band != IEEE80211_BAND_2GHZ)) { in iwl_mvm_bt_notif_iterator()
586 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
[all …]
Ddebugfs-vif.c233 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_mac_params_read() local
297 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_dbgfs_mac_params_read()
298 if (chanctx_conf) in iwl_dbgfs_mac_params_read()
301 chanctx_conf->rx_chains_static, in iwl_dbgfs_mac_params_read()
302 chanctx_conf->rx_chains_dynamic); in iwl_dbgfs_mac_params_read()
1320 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_rx_phyinfo_write() local
1332 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_dbgfs_rx_phyinfo_write()
1334 if (!chanctx_conf) { in iwl_dbgfs_rx_phyinfo_write()
1340 phy_ctxt = &mvm->phy_ctxts[*(u16 *)chanctx_conf->drv_priv]; in iwl_dbgfs_rx_phyinfo_write()
1345 ret = iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, &chanctx_conf->min_def, in iwl_dbgfs_rx_phyinfo_write()
[all …]
Dpower.c295 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_power_is_radar() local
300 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_power_is_radar()
301 WARN_ON(!chanctx_conf); in iwl_mvm_power_is_radar()
302 if (chanctx_conf) { in iwl_mvm_power_is_radar()
303 chan = chanctx_conf->def.chan; in iwl_mvm_power_is_radar()
Dtx.c1078 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in iwl_mvm_rx_ba_notif() local
1081 chanctx_conf = in iwl_mvm_rx_ba_notif()
1082 rcu_dereference(mvmsta->vif->chanctx_conf); in iwl_mvm_rx_ba_notif()
1084 if (WARN_ON_ONCE(!chanctx_conf)) in iwl_mvm_rx_ba_notif()
1087 ba_info.band = chanctx_conf->def.chan->band; in iwl_mvm_rx_ba_notif()
Drs.c2089 struct ieee80211_chanctx_conf *chanctx_conf; in rs_tpc_perform() local
2110 chanctx_conf = rcu_dereference(vif->chanctx_conf); in rs_tpc_perform()
2111 if (WARN_ON(!chanctx_conf)) in rs_tpc_perform()
2114 band = chanctx_conf->def.chan->band; in rs_tpc_perform()
Dtdls.c435 rcu_dereference(vif->chanctx_conf); in iwl_mvm_tdls_config_channel_switch()
Dmac-ctxt.c703 chanctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_mac_ctxt_cmd_common()
Dd3.c615 ctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_d3_reprogram()
/linux-4.4.14/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()
Dtx.c60 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_duration() local
64 chanctx_conf = rcu_dereference(tx->sdata->vif.chanctx_conf); in ieee80211_duration()
65 if (chanctx_conf) { in ieee80211_duration()
66 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_duration()
67 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_duration()
1755 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local
1850 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_monitor_start_xmit()
1851 if (!chanctx_conf) { in ieee80211_monitor_start_xmit()
1854 chanctx_conf = in ieee80211_monitor_start_xmit()
1855 rcu_dereference(tmp_sdata->vif.chanctx_conf); in ieee80211_monitor_start_xmit()
[all …]
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()
Dmesh.c388 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ds_params_ie() local
396 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_ds_params_ie()
397 if (WARN_ON(!chanctx_conf)) { in mesh_add_ds_params_ie()
401 chan = chanctx_conf->def.chan; in mesh_add_ds_params_ie()
440 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ht_oper_ie() local
447 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_ht_oper_ie()
448 if (WARN_ON(!chanctx_conf)) { in mesh_add_ht_oper_ie()
452 channel = chanctx_conf->def.chan; in mesh_add_ht_oper_ie()
503 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_vht_oper_ie() local
510 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_vht_oper_ie()
[all …]
Drate.c39 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_init() local
48 chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); in rate_control_rate_init()
49 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_init()
54 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
57 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, in rate_control_rate_init()
71 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_update() local
76 chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); in rate_control_rate_update()
77 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_update()
83 ref->ops->rate_update(ref->priv, sband, &chanctx_conf->def, in rate_control_rate_update()
Dchan.c72 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_vif_get_chanctx()
259 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_get_chanctx_max_required_bw()
296 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()
647 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_assign_vif_chanctx()
669 rcu_assign_pointer(sdata->vif.chanctx_conf, conf); in ieee80211_assign_vif_chanctx()
713 if (rcu_access_pointer(sdata->vif.chanctx_conf) != in ieee80211_recalc_smps_chanctx()
762 rcu_access_pointer(sdata->vif.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
805 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in __ieee80211_vif_copy_chanctx_to_vlans()
[all …]
Dieee80211_i.h963 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sdata_band() local
966 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_sdata_band()
967 if (!WARN_ON(!chanctx_conf)) in ieee80211_get_sdata_band()
968 band = chanctx_conf->def.chan->band; in ieee80211_get_sdata_band()
990 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_vif_get_shift() local
994 chanctx_conf = rcu_dereference(vif->chanctx_conf); in ieee80211_vif_get_shift()
995 if (chanctx_conf) in ieee80211_vif_get_shift()
996 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_vif_get_shift()
1793 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_tx_skb_tid() local
1796 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_tx_skb_tid()
[all …]
Dibss.c611 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_add_sta() local
638 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ibss_add_sta()
639 if (WARN_ON_ONCE(!chanctx_conf)) in ieee80211_ibss_add_sta()
641 band = chanctx_conf->def.chan->band; in ieee80211_ibss_add_sta()
642 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_add_sta()
1205 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local
1227 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ibss_rx_no_sta()
1228 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta()
1232 band = chanctx_conf->def.chan->band; in ieee80211_ibss_rx_no_sta()
1233 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_rx_no_sta()
Dutil.c1112 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local
1127 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_set_wmm_default()
1128 use_11b = (chanctx_conf && in ieee80211_set_wmm_default()
1129 chanctx_conf->def.chan->band == IEEE80211_BAND_2GHZ) && in ieee80211_set_wmm_default()
1717 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_assign_chanctx()
2150 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_smps() local
2155 chanctx_conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_recalc_smps()
2164 if (!chanctx_conf) in ieee80211_recalc_smps()
2167 chanctx = container_of(chanctx_conf, struct ieee80211_chanctx, conf); in ieee80211_recalc_smps()
2176 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_min_chandef() local
[all …]
Dmlme.c633 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_assoc() local
640 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_assoc()
641 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_assoc()
645 chan = chanctx_conf->def.chan; in ieee80211_send_assoc()
646 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_send_assoc()
658 rates_len = ieee80211_parse_bitrates(&chanctx_conf->def, sband, in ieee80211_send_assoc()
783 *pos++ = ieee80211_chandef_max_power(&chanctx_conf->def); in ieee80211_send_assoc()
1197 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_sta_process_chanswitch()
3295 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_rx_mgmt_beacon() local
3313 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_rx_mgmt_beacon()
[all …]
Dcfg.c3189 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in __ieee80211_channel_switch()
3380 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_mgmt_tx() local
3383 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_mgmt_tx()
3385 if (chanctx_conf) { in ieee80211_mgmt_tx()
3388 chanctx_conf->def.chan); in ieee80211_mgmt_tx()
3577 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local
3585 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_probe_client()
3586 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client()
3590 band = chanctx_conf->def.chan->band; in ieee80211_probe_client()
3664 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local
[all …]
Diface.c48 struct ieee80211_chanctx_conf *chanctx_conf; in __ieee80211_recalc_txpower() local
52 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in __ieee80211_recalc_txpower()
53 if (!chanctx_conf) { in __ieee80211_recalc_txpower()
58 power = ieee80211_chandef_max_power(&chanctx_conf->def); in __ieee80211_recalc_txpower()
922 RCU_INIT_POINTER(sdata->vif.chanctx_conf, NULL); in ieee80211_do_stop()
Dsta_info.c1256 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local
1314 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_null_response()
1315 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response()
1321 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
Dmain.c145 if (!rcu_access_pointer(sdata->vif.chanctx_conf)) in ieee80211_hw_conf_chan()
Dtdls.c1252 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in iee80211_tdls_recalc_chanctx()
/linux-4.4.14/drivers/net/wireless/
Dmac80211_hwsim.c635 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_ps_poll()
667 rcu_dereference(vif->chanctx_conf)->def.chan); in hwsim_send_nullfunc()
1061 if (!vif->chanctx_conf) in mac80211_hwsim_tx_iter()
1065 rcu_dereference(vif->chanctx_conf)->def.chan)) in mac80211_hwsim_tx_iter()
1250 struct ieee80211_chanctx_conf *chanctx_conf; in mac80211_hwsim_tx() local
1266 chanctx_conf = rcu_dereference(txi->control.vif->chanctx_conf); in mac80211_hwsim_tx()
1267 if (chanctx_conf) in mac80211_hwsim_tx()
1268 channel = chanctx_conf->def.chan; in mac80211_hwsim_tx()
1450 rcu_dereference(vif->chanctx_conf)->def.chan); in mac80211_hwsim_beacon_tx()
/linux-4.4.14/include/net/
Dmac80211.h1378 struct ieee80211_chanctx_conf __rcu *chanctx_conf; member
4914 struct ieee80211_chanctx_conf *chanctx_conf,
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dmac.c575 conf = rcu_dereference(vif->chanctx_conf); in ath10k_mac_vif_chan()
6583 if (rcu_access_pointer(vif->chanctx_conf) != arg->ctx) in ath10k_mac_change_chanctx_cnt_iter()
6596 ctx = rcu_access_pointer(vif->chanctx_conf); in ath10k_mac_change_chanctx_fill_iter()
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dmain.c4688 if (rcu_access_pointer(vif->chanctx_conf) != ctx) { in wlcore_op_change_chanctx()