Home
last modified time | relevance | path

Searched refs:chanctx_conf (Results 1 - 25 of 68) sorted by relevance

123

/kernel/linux/linux-5.10/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()
[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()
[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()
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dcoex.c94 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_get_coex_type() local
109 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_get_coex_type()
111 if (!chanctx_conf || in iwl_get_coex_type()
112 chanctx_conf->def.chan->band != NL80211_BAND_2GHZ) { in iwl_get_coex_type()
124 phy_ctx_id = *((u16 *)chanctx_conf->drv_priv); in iwl_get_coex_type()
269 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_bt_notif_per_link() local
288 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_bt_notif_per_link()
291 if ((!chanctx_conf || in iwl_mvm_bt_notif_per_link()
[all...]
H A Ddebugfs-vif.c174 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_mac_params_read() local
237 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_dbgfs_mac_params_read()
238 if (chanctx_conf) in iwl_dbgfs_mac_params_read()
241 chanctx_conf->rx_chains_static, in iwl_dbgfs_mac_params_read()
242 chanctx_conf->rx_chains_dynamic); in iwl_dbgfs_mac_params_read()
581 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_rx_phyinfo_write() local
593 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_dbgfs_rx_phyinfo_write()
595 if (!chanctx_conf) { in iwl_dbgfs_rx_phyinfo_write()
[all...]
H A Dmld-mac80211.c199 rcu_access_pointer(link_conf->chanctx_conf)) in iwl_mvm_mld_count_active_links()
251 if (!rcu_access_pointer(link_conf->chanctx_conf)) in __iwl_mvm_mld_assign_vif_chanctx()
379 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_esr_mode_inactive() local
387 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_esr_mode_inactive()
390 if (!chanctx_conf || !phy_ctxt) { in iwl_mvm_esr_mode_inactive()
396 static_chains = chanctx_conf->rx_chains_static; in iwl_mvm_esr_mode_inactive()
397 dynamic_chains = chanctx_conf->rx_chains_dynamic; in iwl_mvm_esr_mode_inactive()
/kernel/linux/linux-5.10/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 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()
2244 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local
2336 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_monitor_start_xmit()
2337 if (!chanctx_conf) { in ieee80211_monitor_start_xmit()
2551 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_build_hdr() local
2938 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_check_fast_xmit() local
4420 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_tx_pending_skb() local
4802 struct ieee80211_chanctx_conf *chanctx_conf; __ieee80211_beacon_get() local
5291 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_get_buffered_bc() local
[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()
[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 in mesh_add_ht_oper_ie()
522 struct ieee80211_chanctx_conf *chanctx_conf; mesh_add_vht_oper_ie() local
782 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_mesh_build_beacon() local
[all...]
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()
1791 ieee80211_iter_chan_contexts_atomic( struct ieee80211_hw *hw, void (*iter)(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *chanctx_conf, void *data), void *iter_data) ieee80211_iter_chan_contexts_atomic() argument
[all...]
H A Dieee80211_i.h1064 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_vif_get_shift() local
1068 chanctx_conf = rcu_dereference(vif->chanctx_conf); in ieee80211_vif_get_shift()
1069 if (chanctx_conf) in ieee80211_vif_get_shift()
1070 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_vif_get_shift()
1467 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local
1471 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_get_sband()
1473 if (!chanctx_conf) { in ieee80211_get_sband()
1478 band = chanctx_conf in ieee80211_get_sband()
2029 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_tx_skb_tid() local
[all...]
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 in ieee80211_set_wmm_default()
2719 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_recalc_smps() local
2745 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_recalc_min_chandef() local
[all...]
H A Dibss.c609 struct ieee80211_chanctx_conf *chanctx_conf; in __acquires() local
636 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in __acquires()
637 if (WARN_ON_ONCE(!chanctx_conf)) in __acquires()
639 band = chanctx_conf->def.chan->band; in __acquires()
640 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in __acquires()
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()
[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()
/kernel/linux/linux-6.6/net/mac80211/
H A Docb.c45 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ocb_rx_no_sta() local
63 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ocb_rx_no_sta()
64 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ocb_rx_no_sta()
68 band = chanctx_conf->def.chan->band; in ieee80211_ocb_rx_no_sta()
69 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ocb_rx_no_sta()
H A Dethtool.c73 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_stats() local
153 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_stats()
154 if (chanctx_conf) in ieee80211_get_stats()
155 channel = chanctx_conf->def.chan; in ieee80211_get_stats()
H A Drate.c38 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_init() local
47 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); in rate_control_rate_init()
48 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_init()
53 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
63 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, in rate_control_rate_init()
102 struct ieee80211_chanctx_conf *chanctx_conf; in rate_control_rate_update() local
109 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); in rate_control_rate_update()
110 if (WARN_ON(!chanctx_conf)) { in rate_control_rate_update()
[all...]
H A Dchan.c75 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_link_get_chanctx()
278 rcu_access_pointer(link->conf->chanctx_conf) != &ctx->conf) in ieee80211_get_chanctx_vif_max_required_bw()
343 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &ctx->conf) in ieee80211_get_chanctx_max_required_bw()
425 if (rcu_access_pointer(link_conf->chanctx_conf) != &ctx->conf) in ieee80211_chan_bw_change()
621 if (rcu_access_pointer(link->conf->chanctx_conf) != conf) in ieee80211_chanctx_radar_required()
792 if (rcu_access_pointer(link_conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
867 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_assign_link_chanctx()
892 rcu_assign_pointer(link->conf->chanctx_conf, conf); in ieee80211_assign_link_chanctx()
958 if (rcu_access_pointer(link->conf->chanctx_conf) != &chanctx->conf) in ieee80211_recalc_smps_chanctx()
988 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) in ieee80211_recalc_smps_chanctx()
2053 ieee80211_iter_chan_contexts_atomic( struct ieee80211_hw *hw, void (*iter)(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *chanctx_conf, void *data), void *iter_data) ieee80211_iter_chan_contexts_atomic() argument
[all...]
H A Dmesh.c395 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ds_params_ie() local
403 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ds_params_ie()
404 if (WARN_ON(!chanctx_conf)) { in mesh_add_ds_params_ie()
408 chan = chanctx_conf->def.chan; in mesh_add_ds_params_ie()
452 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ht_oper_ie() local
459 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ht_oper_ie()
460 if (WARN_ON(!chanctx_conf)) { in mesh_add_ht_oper_ie()
464 channel = chanctx_conf in mesh_add_ht_oper_ie()
524 struct ieee80211_chanctx_conf *chanctx_conf; mesh_add_vht_oper_ie() local
965 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_mesh_build_beacon() local
[all...]
H A Doffchannel.c864 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in ieee80211_mgmt_tx() local
876 chanctx_conf = rcu_dereference(conf->chanctx_conf); in ieee80211_mgmt_tx()
877 if (!chanctx_conf) in ieee80211_mgmt_tx()
880 if (mlo_sta && params->chan == chanctx_conf->def.chan && in ieee80211_mgmt_tx()
889 chanctx_conf = NULL; in ieee80211_mgmt_tx()
892 if (chanctx_conf) { in ieee80211_mgmt_tx()
895 chanctx_conf->def.chan); in ieee80211_mgmt_tx()
H A Dieee80211_i.h1177 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_vif_get_shift() local
1181 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ieee80211_vif_get_shift()
1182 if (chanctx_conf) in ieee80211_vif_get_shift()
1183 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_vif_get_shift()
1621 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local
1627 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_sband()
1629 if (!chanctx_conf) { in ieee80211_get_sband()
1634 band = chanctx_conf in ieee80211_get_sband()
1644 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_get_link_sband() local
[all...]
H A Dtx.c52 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_duration() local
60 chanctx_conf = rcu_dereference(tx->sdata->vif.bss_conf.chanctx_conf); in ieee80211_duration()
61 if (chanctx_conf) { in ieee80211_duration()
62 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_duration()
63 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_duration()
2293 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local
2376 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit()
2377 if (!chanctx_conf) { in ieee80211_monitor_start_xmit()
2597 struct ieee80211_chanctx_conf *chanctx_conf = NULL; ieee80211_build_hdr() local
3010 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_check_fast_xmit() local
4774 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_tx_pending_skb() local
5165 ieee80211_beacon_get_finish(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_link_data *link, struct ieee80211_mutable_offsets *offs, struct beacon_data *beacon, struct sk_buff *skb, struct ieee80211_chanctx_conf *chanctx_conf, u16 csa_off_base) ieee80211_beacon_get_finish() argument
5251 ieee80211_beacon_get_ap(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_link_data *link, struct ieee80211_mutable_offsets *offs, bool is_template, struct beacon_data *beacon, struct ieee80211_chanctx_conf *chanctx_conf, u8 ema_index) ieee80211_beacon_get_ap() argument
5318 ieee80211_beacon_get_ap_ema_list(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_link_data *link, struct ieee80211_mutable_offsets *offs, bool is_template, struct beacon_data *beacon, struct ieee80211_chanctx_conf *chanctx_conf) ieee80211_beacon_get_ap_ema_list() argument
5367 struct ieee80211_chanctx_conf *chanctx_conf; __ieee80211_beacon_get() local
5854 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_get_buffered_bc() local
6069 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_tx_skb_tid() local
[all...]
H A Dibss.c601 struct ieee80211_chanctx_conf *chanctx_conf; in __acquires() local
628 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in __acquires()
629 if (WARN_ON_ONCE(!chanctx_conf)) in __acquires()
631 band = chanctx_conf->def.chan->band; in __acquires()
632 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in __acquires()
1206 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local
1228 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ibss_rx_no_sta()
1229 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta()
[all...]

Completed in 39 milliseconds

123