Home
last modified time | relevance | path

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

/net/mac80211/
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()
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()
2227 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local
2327 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_monitor_start_xmit()
2328 if (!chanctx_conf) { in ieee80211_monitor_start_xmit()
2331 chanctx_conf = in ieee80211_monitor_start_xmit()
2332 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.c384 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ds_params_ie() local
392 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_ds_params_ie()
393 if (WARN_ON(!chanctx_conf)) { in mesh_add_ds_params_ie()
397 chan = chanctx_conf->def.chan; in mesh_add_ds_params_ie()
437 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ht_oper_ie() local
444 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_ht_oper_ie()
445 if (WARN_ON(!chanctx_conf)) { in mesh_add_ht_oper_ie()
449 channel = chanctx_conf->def.chan; in mesh_add_ht_oper_ie()
501 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_vht_oper_ie() local
508 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in mesh_add_vht_oper_ie()
[all …]
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()
433 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_chanctx_radar_required()
581 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
651 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_assign_vif_chanctx()
673 rcu_assign_pointer(sdata->vif.chanctx_conf, conf); in ieee80211_assign_vif_chanctx()
717 if (rcu_access_pointer(sdata->vif.chanctx_conf) != in ieee80211_recalc_smps_chanctx()
767 rcu_access_pointer(sdata->vif.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
810 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in __ieee80211_vif_copy_chanctx_to_vlans()
[all …]
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()
55 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, in rate_control_rate_init()
91 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_update() local
96 chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); in rate_control_rate_update()
97 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_update()
103 ref->ops->rate_update(ref->priv, sband, &chanctx_conf->def, in rate_control_rate_update()
Dieee80211_i.h1043 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_vif_get_shift() local
1047 chanctx_conf = rcu_dereference(vif->chanctx_conf); in ieee80211_vif_get_shift()
1048 if (chanctx_conf) in ieee80211_vif_get_shift()
1049 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_vif_get_shift()
1442 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local
1446 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_sband()
1448 if (!chanctx_conf) { in ieee80211_get_sband()
1453 band = chanctx_conf->def.chan->band; in ieee80211_get_sband()
1973 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_tx_skb_tid() local
1976 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_tx_skb_tid()
[all …]
Dibss.c616 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_add_sta() local
643 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ibss_add_sta()
644 if (WARN_ON_ONCE(!chanctx_conf)) in ieee80211_ibss_add_sta()
646 band = chanctx_conf->def.chan->band; in ieee80211_ibss_add_sta()
647 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_add_sta()
1211 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local
1233 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ibss_rx_no_sta()
1234 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta()
1238 band = chanctx_conf->def.chan->band; in ieee80211_ibss_rx_no_sta()
1239 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_rx_no_sta()
Dutil.c1409 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_regulatory_limit_wmm_params() local
1419 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_regulatory_limit_wmm_params()
1420 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params()
1421 center_freq = chanctx_conf->def.chan->center_freq; in ieee80211_regulatory_limit_wmm_params()
1451 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local
1466 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_set_wmm_default()
1467 use_11b = (chanctx_conf && in ieee80211_set_wmm_default()
1468 chanctx_conf->def.chan->band == NL80211_BAND_2GHZ) && in ieee80211_set_wmm_default()
2090 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_assign_chanctx()
2600 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_recalc_smps() local
[all …]
Doffchannel.c861 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_mgmt_tx() local
864 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_mgmt_tx()
866 if (chanctx_conf) { in ieee80211_mgmt_tx()
869 chanctx_conf->def.chan); in ieee80211_mgmt_tx()
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()
943 RCU_INIT_POINTER(sdata->vif.chanctx_conf, NULL); in ieee80211_do_stop()
Dmlme.c652 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_assoc() local
659 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_send_assoc()
660 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_assoc()
664 chan = chanctx_conf->def.chan; in ieee80211_send_assoc()
676 rates_len = ieee80211_parse_bitrates(&chanctx_conf->def, sband, in ieee80211_send_assoc()
803 *pos++ = ieee80211_chandef_max_power(&chanctx_conf->def); in ieee80211_send_assoc()
1371 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_sta_process_chanswitch()
3826 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_rx_mgmt_beacon() local
3844 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_rx_mgmt_beacon()
3845 if (!chanctx_conf) { in ieee80211_rx_mgmt_beacon()
[all …]
Dcfg.c2879 if (rcu_access_pointer(sdata->vif.chanctx_conf) && in ieee80211_set_bitrate_mask()
3352 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in __ieee80211_channel_switch()
3551 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_probe_client() local
3559 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_probe_client()
3560 if (WARN_ON(!chanctx_conf)) { in ieee80211_probe_client()
3564 band = chanctx_conf->def.chan->band; in ieee80211_probe_client()
3637 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_cfg_get_channel() local
3641 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_cfg_get_channel()
3642 if (chanctx_conf) { in ieee80211_cfg_get_channel()
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()
Dmain.c145 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()