Home
last modified time | relevance | path

Searched refs:link_conf (Results 1 – 25 of 58) sorted by relevance

123

/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dlink.c83 struct ieee80211_bss_conf *link_conf) in iwl_mvm_set_link_mapping() argument
87 mvmvif->link[link_conf->link_id]; in iwl_mvm_set_link_mapping()
97 link_conf); in iwl_mvm_set_link_mapping()
104 struct ieee80211_bss_conf *link_conf) in iwl_mvm_add_link() argument
107 unsigned int link_id = link_conf->link_id; in iwl_mvm_add_link()
117 ret = iwl_mvm_set_link_mapping(mvm, vif, link_conf); in iwl_mvm_add_link()
129 cmd.spec_link_id = link_conf->link_id; in iwl_mvm_add_link()
133 memcpy(cmd.local_link_addr, link_conf->addr, ETH_ALEN); in iwl_mvm_add_link()
135 if (vif->type == NL80211_IFTYPE_ADHOC && link_conf->bssid) in iwl_mvm_add_link()
136 memcpy(cmd.ibss_bssid_addr, link_conf->bssid, ETH_ALEN); in iwl_mvm_add_link()
[all …]
Dmld-mac80211.c289 struct ieee80211_bss_conf *link_conf, in __iwl_mvm_mld_assign_vif_chanctx() argument
297 unsigned int link_id = link_conf->link_id; in __iwl_mvm_mld_assign_vif_chanctx()
338 ret = iwl_mvm_link_changed(mvm, vif, link_conf, 0, false); in __iwl_mvm_mld_assign_vif_chanctx()
356 link_conf, link_sta, in __iwl_mvm_mld_assign_vif_chanctx()
362 ret = iwl_mvm_link_changed(mvm, vif, link_conf, in __iwl_mvm_mld_assign_vif_chanctx()
371 link_conf, in __iwl_mvm_mld_assign_vif_chanctx()
381 ret = iwl_mvm_mld_add_snif_sta(mvm, vif, link_conf); in __iwl_mvm_mld_assign_vif_chanctx()
389 iwl_mvm_link_changed(mvm, vif, link_conf, LINK_CONTEXT_MODIFY_ACTIVE, in __iwl_mvm_mld_assign_vif_chanctx()
399 struct ieee80211_bss_conf *link_conf, in iwl_mvm_mld_assign_vif_chanctx() argument
408 ret = iwl_mvm_esr_non_bss_link(mvm, vif, link_conf->link_id, in iwl_mvm_mld_assign_vif_chanctx()
[all …]
Dmld-sta.c210 struct ieee80211_bss_conf *link_conf) in iwl_mvm_mld_add_bcast_sta() argument
214 mvmvif->link[link_conf->link_id]; in iwl_mvm_mld_add_bcast_sta()
225 baddr = link_conf->bssid; in iwl_mvm_mld_add_bcast_sta()
249 struct ieee80211_bss_conf *link_conf) in iwl_mvm_mld_add_mcast_sta() argument
253 mvmvif->link[link_conf->link_id]; in iwl_mvm_mld_add_mcast_sta()
283 struct ieee80211_bss_conf *link_conf) in iwl_mvm_mld_add_snif_sta() argument
287 mvmvif->link[link_conf->link_id]; in iwl_mvm_mld_add_snif_sta()
367 struct ieee80211_bss_conf *link_conf) in iwl_mvm_mld_rm_bcast_sta() argument
370 struct iwl_mvm_vif_link_info *link = mvmvif->link[link_conf->link_id]; in iwl_mvm_mld_rm_bcast_sta()
400 struct ieee80211_bss_conf *link_conf) in iwl_mvm_mld_rm_mcast_sta() argument
[all …]
Dmld-mac.c23 struct ieee80211_bss_conf *link_conf; in iwl_mvm_mld_mac_ctxt_cmd_common() local
60 for (link_id = 0; link_id < ARRAY_SIZE((vif)->link_conf); link_id++) { in iwl_mvm_mld_mac_ctxt_cmd_common()
61 link_conf = rcu_dereference(vif->link_conf[link_id]); in iwl_mvm_mld_mac_ctxt_cmd_common()
62 if (!link_conf) in iwl_mvm_mld_mac_ctxt_cmd_common()
65 if (link_conf->he_support) in iwl_mvm_mld_mac_ctxt_cmd_common()
71 if (!link_conf->he_support && link_conf->eht_support) in iwl_mvm_mld_mac_ctxt_cmd_common()
74 if (link_conf->eht_support) { in iwl_mvm_mld_mac_ctxt_cmd_common()
Dmac-ctxt.c435 struct ieee80211_bss_conf *link_conf, in iwl_mvm_set_fw_protection_flags() argument
440 u8 protection_mode = link_conf->ht_operation_mode & in iwl_mvm_set_fw_protection_flags()
442 bool ht_enabled = !!(link_conf->ht_operation_mode & in iwl_mvm_set_fw_protection_flags()
445 if (link_conf->use_cts_prot) in iwl_mvm_set_fw_protection_flags()
449 link_conf->use_cts_prot, in iwl_mvm_set_fw_protection_flags()
450 link_conf->ht_operation_mode); in iwl_mvm_set_fw_protection_flags()
469 if (link_conf->chanreq.oper.width > NL80211_CHAN_WIDTH_20) in iwl_mvm_set_fw_protection_flags()
480 struct ieee80211_bss_conf *link_conf, in iwl_mvm_set_fw_qos_params() argument
485 mvmvif->link[link_conf->link_id]; in iwl_mvm_set_fw_qos_params()
505 if (link_conf->qos) in iwl_mvm_set_fw_qos_params()
[all …]
Dmac80211.c852 struct ieee80211_bss_conf *link_conf = in iwl_mvm_mac_tx() local
853 rcu_dereference(info->control.vif->link_conf[link_id]); in iwl_mvm_mac_tx()
856 if (WARN_ON(!link_sta || !link_conf)) in iwl_mvm_mac_tx()
862 memcpy(mgmt->sa, link_conf->addr, ETH_ALEN); in iwl_mvm_mac_tx()
863 memcpy(mgmt->bssid, link_conf->bssid, ETH_ALEN); in iwl_mvm_mac_tx()
1549 struct ieee80211_bss_conf *link_conf) in iwl_mvm_post_channel_switch() argument
1559 unsigned int link_id = link_conf->link_id; in iwl_mvm_post_channel_switch()
1613 struct ieee80211_bss_conf *link_conf) in iwl_mvm_abort_channel_switch() argument
2766 struct ieee80211_bss_conf *link_conf, in iwl_mvm_bss_info_changed_station_common() argument
2794 mvmvif->link[link_conf->link_id]; in iwl_mvm_bss_info_changed_station_common()
[all …]
Dcoex.c354 struct ieee80211_bss_conf *link_conf; in iwl_mvm_bt_notif_per_link() local
363 link_conf = rcu_dereference(vif->link_conf[link_id]); in iwl_mvm_bt_notif_per_link()
368 if (!link_conf) in iwl_mvm_bt_notif_per_link()
371 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_bt_notif_per_link()
542 struct ieee80211_bss_conf *link_conf = in iwl_mvm_bt_coex_notif_iterator() local
543 rcu_dereference_check(vif->link_conf[link_id], in iwl_mvm_bt_coex_notif_iterator()
546 rcu_dereference_check(link_conf->chanctx_conf, in iwl_mvm_bt_coex_notif_iterator()
Dsta.h647 struct ieee80211_bss_conf *link_conf);
649 struct ieee80211_bss_conf *link_conf);
651 struct ieee80211_bss_conf *link_conf);
654 struct ieee80211_bss_conf *link_conf);
657 struct ieee80211_bss_conf *link_conf);
Dpower.c285 static bool iwl_mvm_power_is_radar(struct ieee80211_bss_conf *link_conf) in iwl_mvm_power_is_radar() argument
289 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_power_is_radar()
302 struct ieee80211_bss_conf *link_conf; in iwl_mvm_power_config_skip_dtim() local
319 for_each_vif_active_link(vif, link_conf, link_id) { in iwl_mvm_power_config_skip_dtim()
320 unsigned int dtimper = link_conf->dtim_period ?: 1; in iwl_mvm_power_config_skip_dtim()
321 unsigned int dtimper_tu = dtimper * link_conf->beacon_int; in iwl_mvm_power_config_skip_dtim()
324 if (dtimper >= 10 || iwl_mvm_power_is_radar(link_conf)) { in iwl_mvm_power_config_skip_dtim()
527 struct ieee80211_bss_conf *link_conf; in iwl_mvm_power_uapsd_misbehav_ap_iterator() local
531 for_each_vif_active_link(vif, link_conf, link_id) { in iwl_mvm_power_uapsd_misbehav_ap_iterator()
Drs-fw.c529 struct ieee80211_bss_conf *link_conf, in rs_fw_get_max_amsdu_len() argument
536 if (WARN_ON_ONCE(!link_conf->chanreq.oper.chan)) in rs_fw_get_max_amsdu_len()
539 if (link_conf->chanreq.oper.chan->band == NL80211_BAND_6GHZ) { in rs_fw_get_max_amsdu_len()
549 } else if (link_conf->chanreq.oper.chan->band == NL80211_BAND_2GHZ && in rs_fw_get_max_amsdu_len()
588 struct ieee80211_bss_conf *link_conf, in iwl_mvm_rs_fw_rate_init() argument
596 u16 max_amsdu_len = rs_fw_get_max_amsdu_len(sta, link_conf, link_sta); in iwl_mvm_rs_fw_rate_init()
613 unsigned int link_id = link_conf->link_id; in iwl_mvm_rs_fw_rate_init()
Dmvm.h1863 struct ieee80211_bss_conf *link_conf,
2023 struct ieee80211_bss_conf *link_conf,
2027 struct ieee80211_bss_conf *link_conf,
2033 struct ieee80211_bss_conf *link_conf,
2059 struct ieee80211_bss_conf *link_conf);
2104 struct ieee80211_bss_conf *link_conf);
2106 struct ieee80211_bss_conf *link_conf);
2108 struct ieee80211_bss_conf *link_conf,
2111 struct ieee80211_bss_conf *link_conf);
2113 struct ieee80211_bss_conf *link_conf);
[all …]
Ddebugfs-vif.c581 struct ieee80211_bss_conf *link_conf; in iwl_dbgfs_rx_phyinfo_write() local
593 for_each_vif_active_link(vif, link_conf, link_id) { in iwl_dbgfs_rx_phyinfo_write()
600 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_dbgfs_rx_phyinfo_write()
922 debugfs_create_file(#name, mode, parent, link_conf, \
926 struct ieee80211_bss_conf *link_conf, in iwl_mvm_debugfs_add_link_files() argument
934 struct ieee80211_bss_conf *link_conf, in iwl_mvm_link_add_debugfs() argument
939 unsigned int link_id = link_conf->link_id; in iwl_mvm_link_add_debugfs()
958 iwl_mvm_debugfs_add_link_files(vif, link_conf, mvm_dir); in iwl_mvm_link_add_debugfs()
/linux-6.12.1/net/mac80211/
Dvht.c371 struct ieee80211_bss_conf *link_conf; in _ieee80211_sta_cap_rx_bw() local
374 link_conf = rcu_dereference(sdata->vif.link_conf[link_id]); in _ieee80211_sta_cap_rx_bw()
375 band = link_conf->chanreq.oper.chan->band; in _ieee80211_sta_cap_rx_bw()
516 struct ieee80211_bss_conf *link_conf; in _ieee80211_sta_cur_vht_bw() local
519 link_conf = rcu_dereference(sta->sdata->vif.link_conf[link_sta->link_id]); in _ieee80211_sta_cur_vht_bw()
520 if (WARN_ON_ONCE(!link_conf)) { in _ieee80211_sta_cur_vht_bw()
524 bss_width = link_conf->chanreq.oper.width; in _ieee80211_sta_cur_vht_bw()
717 struct ieee80211_bss_conf *link_conf = link->conf; in ieee80211_process_mu_groups() local
719 if (!link_conf->mu_mimo_owner) in ieee80211_process_mu_groups()
723 link_conf->mu_group.position, WLAN_USER_POSITION_LEN) && in ieee80211_process_mu_groups()
[all …]
Dlink.c24 struct ieee80211_bss_conf *link_conf) in ieee80211_link_init() argument
31 rcu_assign_pointer(sdata->vif.link_conf[link_id], link_conf); in ieee80211_link_init()
36 link->conf = link_conf; in ieee80211_link_init()
37 link_conf->link_id = link_id; in ieee80211_link_init()
38 link_conf->vif = &sdata->vif; in ieee80211_link_init()
54 ether_addr_copy(link_conf->addr, in ieee80211_link_init()
56 link_conf->bssid = link_conf->addr; in ieee80211_link_init()
231 BUILD_BUG_ON(sizeof(old) != sizeof(sdata->vif.link_conf)); in ieee80211_vif_update_links()
232 memcpy(old, sdata->vif.link_conf, sizeof(old)); in ieee80211_vif_update_links()
250 RCU_INIT_POINTER(sdata->vif.link_conf[link_id], NULL); in ieee80211_vif_update_links()
[all …]
Dcfg.c142 struct ieee80211_bss_conf *link_conf) in ieee80211_set_ap_mbssid_options() argument
147 link_conf->bssid_index = 0; in ieee80211_set_ap_mbssid_options()
148 link_conf->nontransmitted = false; in ieee80211_set_ap_mbssid_options()
149 link_conf->ema_ap = false; in ieee80211_set_ap_mbssid_options()
150 link_conf->bssid_indicator = 0; in ieee80211_set_ap_mbssid_options()
163 link_conf->nontransmitted = true; in ieee80211_set_ap_mbssid_options()
164 link_conf->bssid_index = params.index; in ieee80211_set_ap_mbssid_options()
167 link_conf->ema_ap = true; in ieee80211_set_ap_mbssid_options()
952 struct ieee80211_bss_conf *link_conf, in ieee80211_set_fils_discovery() argument
961 fd = &link_conf->fils_discovery; in ieee80211_set_fils_discovery()
[all …]
Dchan.c174 struct ieee80211_bss_conf *link_conf = link->conf; in ieee80211_chanctx_non_reserved_chandef() local
179 comp_def = ieee80211_chanreq_compatible(&link_conf->chanreq, in ieee80211_chanctx_non_reserved_chandef()
436 struct ieee80211_bss_conf *link_conf; in ieee80211_chan_bw_change() local
443 link_conf = link->conf; in ieee80211_chan_bw_change()
445 if (rcu_access_pointer(link_conf->chanctx_conf) != &ctx->conf) in ieee80211_chan_bw_change()
455 new_chandef = &link_conf->chanreq.oper; in ieee80211_chan_bw_change()
783 struct ieee80211_bss_conf *link_conf; in ieee80211_recalc_chanctx_chantype() local
788 link_conf = link->conf; in ieee80211_recalc_chanctx_chantype()
790 if (rcu_access_pointer(link_conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
794 compat = &link_conf->chanreq; in ieee80211_recalc_chanctx_chantype()
[all …]
Dtrace.h483 struct ieee80211_bss_conf *link_conf,
486 TP_ARGS(local, sdata, link_conf, changed),
521 __entry->link_id = link_conf->link_id;
522 __entry->shortpre = link_conf->use_short_preamble;
523 __entry->cts = link_conf->use_cts_prot;
524 __entry->shortslot = link_conf->use_short_slot;
525 __entry->enable_beacon = link_conf->enable_beacon;
526 __entry->dtimper = link_conf->dtim_period;
527 __entry->bcnint = link_conf->beacon_int;
528 __entry->assoc_cap = link_conf->assoc_capability;
[all …]
Ddriver-ops.c306 struct ieee80211_bss_conf *link_conf, in drv_assign_vif_chanctx() argument
329 if (!ieee80211_vif_link_active(&sdata->vif, link_conf->link_id)) in drv_assign_vif_chanctx()
332 trace_drv_assign_vif_chanctx(local, sdata, link_conf, ctx); in drv_assign_vif_chanctx()
337 link_conf, in drv_assign_vif_chanctx()
347 struct ieee80211_bss_conf *link_conf, in drv_unassign_vif_chanctx() argument
361 if (!ieee80211_vif_link_active(&sdata->vif, link_conf->link_id)) in drv_unassign_vif_chanctx()
364 trace_drv_unassign_vif_chanctx(local, sdata, link_conf, ctx); in drv_unassign_vif_chanctx()
369 link_conf, in drv_unassign_vif_chanctx()
Dht.c143 struct ieee80211_bss_conf *link_conf; in ieee80211_ht_cap_ie_to_sta_ht_cap() local
256 link_conf = rcu_dereference(sdata->vif.link_conf[link_sta->link_id]); in ieee80211_ht_cap_ie_to_sta_ht_cap()
257 if (WARN_ON(!link_conf)) in ieee80211_ht_cap_ie_to_sta_ht_cap()
260 width = link_conf->chanreq.oper.width; in ieee80211_ht_cap_ie_to_sta_ht_cap()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7925/
Dmcu.c124 struct ieee80211_bss_conf *link_conf) in mt7925_mcu_update_arp_filter() argument
126 struct ieee80211_vif *mvif = container_of((void *)link_conf->vif, in mt7925_mcu_update_arp_filter()
129 struct mt792x_bss_conf *mconf = mt792x_link_conf_to_mconf(link_conf); in mt7925_mcu_update_arp_filter()
1057 struct ieee80211_bss_conf *link_conf; in mt7925_mcu_sta_key_tlv() local
1059 link_conf = mt792x_vif_to_bss_conf(vif, wcid->link_id); in mt7925_mcu_sta_key_tlv()
1061 if (link_conf) in mt7925_mcu_sta_key_tlv()
1062 memcpy(sec->peer_addr, link_conf->bssid, ETH_ALEN); in mt7925_mcu_sta_key_tlv()
1133 struct ieee80211_bss_conf *link_conf; in mt7925_mcu_set_mlo_roc() local
1165 link_conf = mt792x_vif_to_bss_conf(vif, links[i].id); in mt7925_mcu_set_mlo_roc()
1166 if (WARN_ON_ONCE(!link_conf)) in mt7925_mcu_set_mlo_roc()
[all …]
Dmain.c350 struct ieee80211_bss_conf *link_conf, in mt7925_mac_link_bss_add() argument
353 struct mt792x_bss_conf *mconf = mt792x_link_conf_to_mconf(link_conf); in mt7925_mac_link_bss_add()
354 struct ieee80211_vif *vif = link_conf->vif; in mt7925_mac_link_bss_add()
375 ret = mt76_connac_mcu_uni_add_dev(&dev->mphy, link_conf, in mt7925_mac_link_bss_add()
581 struct ieee80211_bss_conf *link_conf; in mt7925_set_link_key() local
589 link_conf = mt792x_vif_to_bss_conf(vif, link_id); in mt7925_set_link_key()
622 mt7925_mcu_add_bss_info(phy, mconf->mt76.ctx, link_conf, in mt7925_set_link_key()
835 struct ieee80211_bss_conf *link_conf; in mt7925_mac_link_sta_add() local
866 link_conf = mt792x_vif_to_bss_conf(vif, link_id); in mt7925_mac_link_sta_add()
871 link_conf, link_sta, false); in mt7925_mac_link_sta_add()
[all …]
Dmcu.h632 struct ieee80211_bss_conf *link_conf,
636 struct ieee80211_bss_conf *link_conf);
641 struct ieee80211_bss_conf *link_conf,
645 struct ieee80211_bss_conf *link_conf);
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/tests/
Dlinks.c46 static struct ieee80211_bss_conf link_conf = {.bss = &bss}; variable
195 link_conf.vif = vif; in KUNIT_ARRAY_PARAM_DESC()
196 link_conf.chanreq.oper = params->chandef; in KUNIT_ARRAY_PARAM_DESC()
222 ret = iwl_mvm_get_link_grade(&link_conf); in test_link_grading()
227 kunit_kfree(test, link_conf.vif); in test_link_grading()
402 conf = kunit_kzalloc(test, sizeof(*vif->link_conf[0]), GFP_KERNEL); in KUNIT_ARRAY_PARAM_DESC()
406 vif->link_conf[link_a.link_id] = (void __rcu *)conf; in KUNIT_ARRAY_PARAM_DESC()
408 conf = kunit_kzalloc(test, sizeof(*vif->link_conf[0]), GFP_KERNEL); in KUNIT_ARRAY_PARAM_DESC()
411 vif->link_conf[link_b.link_id] = (void __rcu *)conf; in KUNIT_ARRAY_PARAM_DESC()
/linux-6.12.1/drivers/net/wireless/silabs/wfx/
Dsta.h33 struct ieee80211_bss_conf *link_conf);
35 struct ieee80211_bss_conf *link_conf);
54 struct ieee80211_bss_conf *link_conf,
57 struct ieee80211_bss_conf *link_conf,
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/
Dmt792x.h128 struct mt792x_bss_conf __rcu *link_conf[IEEE80211_MLD_MAX_NUM_LINKS]; member
251 return rcu_dereference_protected(mvif->link_conf[link_id], in mt792x_vif_to_link()
271 mt792x_link_conf_to_mconf(struct ieee80211_bss_conf *link_conf) in mt792x_link_conf_to_mconf() argument
273 struct ieee80211_vif *vif = link_conf->vif; in mt792x_link_conf_to_mconf()
276 return mt792x_vif_to_link(mvif, link_conf->link_id); in mt792x_link_conf_to_mconf()
371 struct ieee80211_bss_conf *link_conf,
375 struct ieee80211_bss_conf *link_conf,

123