Home
last modified time | relevance | path

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

/linux-4.1.27/net/mac80211/
Drate.h77 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_init() local
86 chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); in rate_control_rate_init()
87 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_init()
92 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
94 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, in rate_control_rate_init()
107 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_update() local
112 chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); in rate_control_rate_update()
113 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_update()
118 ref->ops->rate_update(ref->priv, sband, &chanctx_conf->def, in rate_control_rate_update()
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.c50 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_duration() local
54 chanctx_conf = rcu_dereference(tx->sdata->vif.chanctx_conf); in ieee80211_duration()
55 if (chanctx_conf) { in ieee80211_duration()
56 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_duration()
57 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_duration()
1742 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local
1837 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_monitor_start_xmit()
1838 if (!chanctx_conf) { in ieee80211_monitor_start_xmit()
1841 chanctx_conf = in ieee80211_monitor_start_xmit()
1842 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
151 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_stats()
152 if (chanctx_conf) in ieee80211_get_stats()
153 channel = chanctx_conf->def.chan; in ieee80211_get_stats()
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()
288 if (sdata && rcu_access_pointer(sdata->vif.chanctx_conf) == conf) in ieee80211_get_chanctx_max_required_bw()
424 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_chanctx_radar_required()
571 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
624 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_assign_vif_chanctx()
646 rcu_assign_pointer(sdata->vif.chanctx_conf, conf); in ieee80211_assign_vif_chanctx()
688 if (rcu_access_pointer(sdata->vif.chanctx_conf) != in ieee80211_recalc_smps_chanctx()
737 rcu_access_pointer(sdata->vif.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
780 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in __ieee80211_vif_copy_chanctx_to_vlans()
[all …]
Dmesh.c389 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ds_params_ie() local
397 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_ds_params_ie()
398 if (WARN_ON(!chanctx_conf)) { in mesh_add_ds_params_ie()
402 chan = chanctx_conf->def.chan; in mesh_add_ds_params_ie()
441 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ht_oper_ie() local
450 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_ht_oper_ie()
451 if (WARN_ON(!chanctx_conf)) { in mesh_add_ht_oper_ie()
455 channel = chanctx_conf->def.chan; in mesh_add_ht_oper_ie()
616 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_mesh_build_beacon() local
626 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_mesh_build_beacon()
[all …]
Dieee80211_i.h968 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sdata_band() local
971 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_sdata_band()
972 if (!WARN_ON(!chanctx_conf)) in ieee80211_get_sdata_band()
973 band = chanctx_conf->def.chan->band; in ieee80211_get_sdata_band()
995 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_vif_get_shift() local
999 chanctx_conf = rcu_dereference(vif->chanctx_conf); in ieee80211_vif_get_shift()
1000 if (chanctx_conf) in ieee80211_vif_get_shift()
1001 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_vif_get_shift()
1798 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_tx_skb_tid() local
1801 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_tx_skb_tid()
[all …]
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()
1199 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local
1221 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ibss_rx_no_sta()
1222 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta()
1226 band = chanctx_conf->def.chan->band; in ieee80211_ibss_rx_no_sta()
1227 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_rx_no_sta()
Dutil.c1155 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local
1170 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_set_wmm_default()
1171 use_11b = (chanctx_conf && in ieee80211_set_wmm_default()
1172 chanctx_conf->def.chan->band == IEEE80211_BAND_2GHZ) && in ieee80211_set_wmm_default()
1742 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_assign_chanctx()
2163 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_smps() local
2168 chanctx_conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_recalc_smps()
2171 if (WARN_ON_ONCE(!chanctx_conf)) in ieee80211_recalc_smps()
2174 chanctx = container_of(chanctx_conf, struct ieee80211_chanctx, conf); in ieee80211_recalc_smps()
2183 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_min_chandef() local
[all …]
Dtdls.c530 struct ieee80211_chanctx_conf *chanctx_conf = in ieee80211_tdls_add_setup_cfm_ies() local
531 rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_tdls_add_setup_cfm_ies()
532 if (!WARN_ON(!chanctx_conf)) { in ieee80211_tdls_add_setup_cfm_ies()
537 &chanctx_conf->def, 0); in ieee80211_tdls_add_setup_cfm_ies()
546 struct ieee80211_chanctx_conf *chanctx_conf = in ieee80211_tdls_add_setup_cfm_ies() local
547 rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_tdls_add_setup_cfm_ies()
548 if (!WARN_ON(!chanctx_conf)) { in ieee80211_tdls_add_setup_cfm_ies()
552 &chanctx_conf->def); in ieee80211_tdls_add_setup_cfm_ies()
Dmlme.c608 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_assoc() local
615 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_assoc()
616 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_assoc()
620 chan = chanctx_conf->def.chan; in ieee80211_send_assoc()
621 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_send_assoc()
633 rates_len = ieee80211_parse_bitrates(&chanctx_conf->def, sband, in ieee80211_send_assoc()
760 *pos++ = ieee80211_chandef_max_power(&chanctx_conf->def); in ieee80211_send_assoc()
1166 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_sta_process_chanswitch()
3259 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_rx_mgmt_beacon() local
3277 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_rx_mgmt_beacon()
[all …]
Dcfg.c3167 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in __ieee80211_channel_switch()
3322 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_mgmt_tx() local
3325 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_mgmt_tx()
3327 if (chanctx_conf) { in ieee80211_mgmt_tx()
3330 chanctx_conf->def.chan); in ieee80211_mgmt_tx()
3486 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local
3490 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_probe_client()
3491 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client()
3495 band = chanctx_conf->def.chan->band; in ieee80211_probe_client()
3559 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()
925 RCU_INIT_POINTER(sdata->vif.chanctx_conf, NULL); in ieee80211_do_stop()
Dsta_info.c1237 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local
1295 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_null_response()
1296 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response()
1302 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
Dmain.c150 if (!rcu_access_pointer(sdata->vif.chanctx_conf)) in ieee80211_hw_conf_chan()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
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()
537 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_bt_notif_iterator() local
556 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_bt_notif_iterator()
559 if ((!chanctx_conf || in iwl_mvm_bt_notif_iterator()
560 chanctx_conf->def.chan->band != IEEE80211_BAND_2GHZ)) { in iwl_mvm_bt_notif_iterator()
600 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
[all …]
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 …]
Ddebugfs-vif.c217 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_mac_params_read() local
281 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_dbgfs_mac_params_read()
282 if (chanctx_conf) in iwl_dbgfs_mac_params_read()
285 chanctx_conf->rx_chains_static, in iwl_dbgfs_mac_params_read()
286 chanctx_conf->rx_chains_dynamic); in iwl_dbgfs_mac_params_read()
553 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_rx_phyinfo_write() local
565 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_dbgfs_rx_phyinfo_write()
567 if (!chanctx_conf) { in iwl_dbgfs_rx_phyinfo_write()
573 phy_ctxt = &mvm->phy_ctxts[*(u16 *)chanctx_conf->drv_priv]; in iwl_dbgfs_rx_phyinfo_write()
578 ret = iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, &chanctx_conf->min_def, in iwl_dbgfs_rx_phyinfo_write()
[all …]
Dpower.c313 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_power_is_radar() local
318 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_mvm_power_is_radar()
319 WARN_ON(!chanctx_conf); in iwl_mvm_power_is_radar()
320 if (chanctx_conf) { in iwl_mvm_power_is_radar()
321 chan = chanctx_conf->def.chan; in iwl_mvm_power_is_radar()
Dtx.c1034 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in iwl_mvm_rx_ba_notif() local
1037 chanctx_conf = in iwl_mvm_rx_ba_notif()
1038 rcu_dereference(mvmsta->vif->chanctx_conf); in iwl_mvm_rx_ba_notif()
1040 if (WARN_ON_ONCE(!chanctx_conf)) in iwl_mvm_rx_ba_notif()
1043 ba_info.band = chanctx_conf->def.chan->band; in iwl_mvm_rx_ba_notif()
Drs.c2004 struct ieee80211_chanctx_conf *chanctx_conf; in rs_tpc_perform() local
2025 chanctx_conf = rcu_dereference(vif->chanctx_conf); in rs_tpc_perform()
2026 if (WARN_ON(!chanctx_conf)) in rs_tpc_perform()
2029 band = chanctx_conf->def.chan->band; in rs_tpc_perform()
Dtdls.c446 rcu_dereference(vif->chanctx_conf); in iwl_mvm_tdls_config_channel_switch()
Dmac-ctxt.c694 chanctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_mac_ctxt_cmd_common()
Dd3.c621 ctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_d3_reprogram()
/linux-4.1.27/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.1.27/include/net/
Dmac80211.h1357 struct ieee80211_chanctx_conf __rcu *chanctx_conf; member
4839 struct ieee80211_chanctx_conf *chanctx_conf,
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
Dmain.c4651 if (rcu_access_pointer(vif->chanctx_conf) != ctx) { in wlcore_op_change_chanctx()