Home
last modified time | relevance | path

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

12

/linux/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()
119 phy_ctx_id = *((u16 *)chanctx_conf->drv_priv); in iwl_get_coex_type()
352 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_bt_notif_per_link() local
371 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_bt_notif_per_link()
374 if ((!chanctx_conf || in iwl_mvm_bt_notif_per_link()
542 struct ieee80211_chanctx_conf *chanctx_conf = iwl_mvm_bt_coex_notif_iterator() local
[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()
628 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_dbgfs_rx_phyinfo_write() local
634 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_dbgfs_rx_phyinfo_write()
635 if (!chanctx_conf) { in iwl_dbgfs_rx_phyinfo_write()
[all...]
H A Dmld-mac80211.c376 struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mvm_esr_mode_inactive() local
384 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_esr_mode_inactive()
387 if (!chanctx_conf || !phy_ctxt) { in iwl_mvm_esr_mode_inactive()
393 static_chains = chanctx_conf->rx_chains_static; in iwl_mvm_esr_mode_inactive()
394 dynamic_chains = chanctx_conf->rx_chains_dynamic; in iwl_mvm_esr_mode_inactive()
H A Dftm-responder.c351 pctx = rcu_dereference(bss_conf->chanctx_conf); in iwl_mvm_ftm_start_responder()
H A Dtdls.c383 rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_tdls_config_channel_switch()
H A Drs.c1967 struct ieee80211_chanctx_conf *chanctx_conf; in rs_tpc_perform() local
1988 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in rs_tpc_perform()
1989 if (WARN_ON(!chanctx_conf)) in rs_tpc_perform()
1992 band = chanctx_conf->def.chan->band; in rs_tpc_perform()
/linux/net/mac80211/
H A Docb.c45 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ocb_rx_no_sta() local
62 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.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()
H A Dethtool.c77 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_stats() local
157 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_stats()
158 if (chanctx_conf) in ieee80211_get_stats()
159 channel = chanctx_conf->def.chan; in ieee80211_get_stats()
H A Dchan.c81 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_link_get_chanctx()
329 rcu_access_pointer(link->conf->chanctx_conf) != &ctx->conf) in ieee80211_get_chanctx_max_required_bw()
380 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &ctx->conf) in ieee80211_get_chanctx_max_required_bw()
463 if (rcu_access_pointer(link_conf->chanctx_conf) != &ctx->conf) in ieee80211_chan_bw_change()
695 if (rcu_access_pointer(link->conf->chanctx_conf) != conf) in ieee80211_chanctx_radar_required()
832 if (rcu_access_pointer(link_conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
864 if (rcu_access_pointer(link->conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
910 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_assign_link_chanctx()
941 rcu_assign_pointer(link->conf->chanctx_conf, conf); in ieee80211_assign_link_chanctx()
962 if (rcu_access_pointer(tmp->conf->chanctx_conf)) { in ieee80211_assign_link_chanctx()
2195 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
2213 ieee80211_iter_chan_contexts_mtx(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_mtx() argument
[all...]
H A Dtx.c2298 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_monitor_start_xmit() local
2381 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit()
2382 if (!chanctx_conf) { in ieee80211_monitor_start_xmit()
2385 chanctx_conf = in ieee80211_monitor_start_xmit()
2386 rcu_dereference(tmp_sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit()
2389 if (chanctx_conf) in ieee80211_monitor_start_xmit()
2390 chandef = &chanctx_conf->def; in ieee80211_monitor_start_xmit()
2608 struct ieee80211_chanctx_conf *chanctx_conf = NULL; in ieee80211_build_hdr() local
2627 chanctx_conf in ieee80211_build_hdr()
3023 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_check_fast_xmit() local
4795 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_tx_pending_skb() local
5223 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
5309 __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
5388 ieee80211_s1g_short_beacon_get(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_link_data * link,struct ieee80211_chanctx_conf * chanctx_conf,struct s1g_short_beacon_data * sb,bool is_template) ieee80211_s1g_short_beacon_get() argument
5421 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,struct s1g_short_beacon_data * s1g_sb) ieee80211_beacon_get_ap() argument
5442 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
5486 struct ieee80211_chanctx_conf *chanctx_conf; __ieee80211_beacon_get() local
5979 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_get_buffered_bc() local
6194 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_tx_skb_tid() local
[all...]
H A Dutil.c927 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_regulatory_limit_wmm_params() local
937 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_regulatory_limit_wmm_params()
938 if (chanctx_conf) in ieee80211_regulatory_limit_wmm_params()
939 center_freq = chanctx_conf->def.chan->center_freq; in ieee80211_regulatory_limit_wmm_params()
970 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_set_wmm_default() local
985 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_set_wmm_default()
986 use_11b = (chanctx_conf && in ieee80211_set_wmm_default()
987 chanctx_conf in ieee80211_set_wmm_default()
2288 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_recalc_smps() local
2313 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_recalc_min_chandef() local
3503 struct ieee80211_chanctx_conf *chanctx_conf; ieee80211_dfs_cac_cancel() local
3564 ieee80211_radar_mark_chan_ctx_iterator(struct ieee80211_hw * hw,struct ieee80211_chanctx_conf * chanctx_conf,void * data) ieee80211_radar_mark_chan_ctx_iterator() argument
3581 ieee80211_radar_detected(struct ieee80211_hw * hw,struct ieee80211_chanctx_conf * chanctx_conf) ieee80211_radar_detected() argument
[all...]
H A Dmesh.c401 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ds_params_ie() local
409 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ds_params_ie()
410 if (WARN_ON(!chanctx_conf)) { in mesh_add_ds_params_ie()
414 chan = chanctx_conf->def.chan; in mesh_add_ds_params_ie()
458 struct ieee80211_chanctx_conf *chanctx_conf; in mesh_add_ht_oper_ie() local
465 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ht_oper_ie()
466 if (WARN_ON(!chanctx_conf)) { in mesh_add_ht_oper_ie()
470 channel = chanctx_conf in mesh_add_ht_oper_ie()
530 struct ieee80211_chanctx_conf *chanctx_conf; mesh_add_vht_oper_ie() local
[all...]
H A Dibss.c581 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_add_sta() local
607 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ibss_add_sta()
608 if (WARN_ON_ONCE(!chanctx_conf)) in ieee80211_ibss_add_sta()
610 band = chanctx_conf->def.chan->band; in ieee80211_ibss_add_sta()
1176 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_ibss_rx_no_sta() local
1197 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ibss_rx_no_sta()
1198 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ibss_rx_no_sta()
1202 band = chanctx_conf in ieee80211_ibss_rx_no_sta()
[all...]
H A Dieee80211_i.h1696 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_sband() local
1702 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_sband()
1704 if (!chanctx_conf) { in ieee80211_get_sband()
1709 band = chanctx_conf->def.chan->band; in ieee80211_get_sband()
1719 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_get_link_sband() local
1723 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_get_link_sband()
1724 if (!chanctx_conf) { in ieee80211_get_link_sband()
1729 band = chanctx_conf in ieee80211_get_link_sband()
[all...]
H A Dhe.c291 conf = sdata_dereference(link->conf->chanctx_conf, sta->sdata); in ieee80211_prepare_rx_omi_bw()
343 conf = sdata_dereference(link->conf->chanctx_conf, sta->sdata); in ieee80211_finalize_rx_omi_bw()
H A Diface.c49 struct ieee80211_chanctx_conf *chanctx_conf; in __ieee80211_recalc_txpower() local
53 chanctx_conf = rcu_dereference(link->conf->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()
582 RCU_INIT_POINTER(sdata->vif.bss_conf.chanctx_conf, NULL); in ieee80211_do_stop()
H A Dsta_info.c1861 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_send_null_response() local
1923 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_send_null_response()
1924 if (WARN_ON(!chanctx_conf)) { in ieee80211_send_null_response()
1930 info->band = chanctx_conf->def.chan->band; in ieee80211_send_null_response()
H A Dmlme.c1716 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_add_link_elems() local
1745 chanctx_conf = rcu_dereference(link->conf->chanctx_conf); in ieee80211_add_link_elems()
1746 if (chanctx_conf) in ieee80211_add_link_elems()
1747 width = chanctx_conf->def.width; in ieee80211_add_link_elems()
2599 if (rcu_access_pointer(link->conf->chanctx_conf)) in ieee80211_sta_abort_chanswitch()
2916 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_sta_process_chanswitch()
7297 struct ieee80211_chanctx_conf *chanctx_conf; in ieee80211_rx_mgmt_beacon() local
7332 chanctx_conf = rcu_dereference(bss_conf->chanctx_conf); in ieee80211_rx_mgmt_beacon()
[all...]
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dpower.c106 const struct ieee80211_chanctx_conf *chanctx_conf; in iwl_mld_power_is_radar() local
108 chanctx_conf = wiphy_dereference(mld->wiphy, link_conf->chanctx_conf); in iwl_mld_power_is_radar()
110 if (WARN_ON(!chanctx_conf)) in iwl_mld_power_is_radar()
113 return chanctx_conf->def.chan->flags & IEEE80211_CHAN_RADAR; in iwl_mld_power_is_radar()
H A Dap.c111 ctx = wiphy_dereference(mld->wiphy, link->chanctx_conf); in iwl_mld_fill_beacon_template_cmd()
328 ctx = wiphy_dereference(mld->wiphy, link->chanctx_conf); in iwl_mld_start_ap_ibss()
H A Dphy.c50 if (rcu_access_pointer(link_conf->chanctx_conf) != data->ctx) in iwl_mld_chanctx_usage_iter()
/linux/drivers/net/wireless/intel/iwlwifi/mld/tests/
H A Dutils.c185 KUNIT_EXPECT_NULL(test, rcu_access_pointer(link->chanctx_conf)); in iwlmld_kunit_assign_chanctx_to_link()
186 rcu_assign_pointer(link->chanctx_conf, ctx); in iwlmld_kunit_assign_chanctx_to_link()
469 chanctx = wiphy_dereference(mld->wiphy, link->chanctx_conf); in iwlmld_kunit_get_phy_of_link()
H A Dlink-selection.c111 wiphy_dereference(mld->wiphy, link->chanctx_conf); in setup_link()
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.h89 struct ieee80211_chanctx_conf *chanctx_conf; member
/linux/include/net/
H A Dmac80211.h711 * @chanctx_conf: The channel context this interface is assigned to, or %NULL
838 struct ieee80211_chanctx_conf __rcu *chanctx_conf; member
6674 struct ieee80211_chanctx_conf *chanctx_conf,
6699 struct ieee80211_chanctx_conf *chanctx_conf,
6821 * @chanctx_conf: Channel context on which radar is detected. Mandatory to
6825 struct ieee80211_chanctx_conf *chanctx_conf);

12