/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | link.c | 50 struct ieee80211_bss_conf *link_conf) in iwl_mvm_add_link() argument 53 unsigned int link_id = link_conf->link_id; in iwl_mvm_add_link() 67 link_conf); in iwl_mvm_add_link() 78 cmd.spec_link_id = link_conf->link_id; in iwl_mvm_add_link() 82 memcpy(cmd.local_link_addr, link_conf->addr, ETH_ALEN); in iwl_mvm_add_link() 84 if (vif->type == NL80211_IFTYPE_ADHOC && link_conf->bssid) in iwl_mvm_add_link() 85 memcpy(cmd.ibss_bssid_addr, link_conf->bssid, ETH_ALEN); in iwl_mvm_add_link() 93 struct ieee80211_bss_conf *link_conf, in iwl_mvm_link_changed() argument 97 unsigned int link_id = link_conf->link_id; in iwl_mvm_link_changed() 142 memcpy(cmd.local_link_addr, link_conf->addr, ETH_ALEN); in iwl_mvm_link_changed() [all …]
|
D | mld-mac80211.c | 195 struct ieee80211_bss_conf *link_conf; in iwl_mvm_mld_count_active_links() local 197 link_conf = link_conf_dereference_protected(vif, i); in iwl_mvm_mld_count_active_links() 198 if (link_conf && in iwl_mvm_mld_count_active_links() 199 rcu_access_pointer(link_conf->chanctx_conf)) in iwl_mvm_mld_count_active_links() 239 struct ieee80211_bss_conf *link_conf, in __iwl_mvm_mld_assign_vif_chanctx() argument 247 unsigned int link_id = link_conf->link_id; in __iwl_mvm_mld_assign_vif_chanctx() 251 if (!rcu_access_pointer(link_conf->chanctx_conf)) in __iwl_mvm_mld_assign_vif_chanctx() 290 ret = iwl_mvm_link_changed(mvm, vif, link_conf, 0, false); in __iwl_mvm_mld_assign_vif_chanctx() 313 link_conf, link_sta, in __iwl_mvm_mld_assign_vif_chanctx() 319 ret = iwl_mvm_link_changed(mvm, vif, link_conf, in __iwl_mvm_mld_assign_vif_chanctx() [all …]
|
D | mld-mac.c | 23 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()
|
D | mld-sta.c | 207 struct ieee80211_bss_conf *link_conf) in iwl_mvm_mld_add_bcast_sta() argument 211 mvmvif->link[link_conf->link_id]; in iwl_mvm_mld_add_bcast_sta() 222 baddr = link_conf->bssid; in iwl_mvm_mld_add_bcast_sta() 246 struct ieee80211_bss_conf *link_conf) in iwl_mvm_mld_add_mcast_sta() argument 250 mvmvif->link[link_conf->link_id]; in iwl_mvm_mld_add_mcast_sta() 280 struct ieee80211_bss_conf *link_conf) in iwl_mvm_mld_add_snif_sta() argument 284 mvmvif->link[link_conf->link_id]; in iwl_mvm_mld_add_snif_sta() 364 struct ieee80211_bss_conf *link_conf) in iwl_mvm_mld_rm_bcast_sta() argument 367 struct iwl_mvm_vif_link_info *link = mvmvif->link[link_conf->link_id]; in iwl_mvm_mld_rm_bcast_sta() 397 struct ieee80211_bss_conf *link_conf) in iwl_mvm_mld_rm_mcast_sta() argument [all …]
|
D | mac-ctxt.c | 404 struct ieee80211_bss_conf *link_conf, in iwl_mvm_set_fw_basic_rates() argument 411 chanctx = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_set_fw_basic_rates() 424 struct ieee80211_bss_conf *link_conf, in iwl_mvm_set_fw_protection_flags() argument 429 u8 protection_mode = link_conf->ht_operation_mode & in iwl_mvm_set_fw_protection_flags() 431 bool ht_enabled = !!(link_conf->ht_operation_mode & in iwl_mvm_set_fw_protection_flags() 434 if (link_conf->use_cts_prot) in iwl_mvm_set_fw_protection_flags() 438 link_conf->use_cts_prot, in iwl_mvm_set_fw_protection_flags() 439 link_conf->ht_operation_mode); in iwl_mvm_set_fw_protection_flags() 458 if (link_conf->chandef.width > NL80211_CHAN_WIDTH_20) in iwl_mvm_set_fw_protection_flags() 469 struct ieee80211_bss_conf *link_conf, in iwl_mvm_set_fw_qos_params() argument [all …]
|
D | sta.h | 627 struct ieee80211_bss_conf *link_conf); 629 struct ieee80211_bss_conf *link_conf); 631 struct ieee80211_bss_conf *link_conf); 634 struct ieee80211_bss_conf *link_conf); 637 struct ieee80211_bss_conf *link_conf);
|
D | mac80211.c | 787 struct ieee80211_bss_conf *link_conf = in iwl_mvm_mac_tx() local 788 rcu_dereference(info->control.vif->link_conf[link_id]); in iwl_mvm_mac_tx() 791 if (WARN_ON(!link_sta || !link_conf)) in iwl_mvm_mac_tx() 797 memcpy(mgmt->sa, link_conf->addr, ETH_ALEN); in iwl_mvm_mac_tx() 798 memcpy(mgmt->bssid, link_conf->bssid, ETH_ALEN); in iwl_mvm_mac_tx() 2514 struct ieee80211_bss_conf *link_conf, in iwl_mvm_bss_info_changed_station_common() argument 2556 iwl_mvm_update_link_smps(vif, link_conf); in iwl_mvm_bss_info_changed_station_common() 2772 struct ieee80211_bss_conf *link_conf) in iwl_mvm_start_ap_ibss() argument 2799 ret = iwl_mvm_mac_ctxt_beacon_changed(mvm, vif, link_conf); in iwl_mvm_start_ap_ibss() 2804 ret = iwl_mvm_mac_ctxt_beacon_changed(mvm, vif, link_conf); in iwl_mvm_start_ap_ibss() [all …]
|
D | rs-fw.c | 521 struct ieee80211_bss_conf *link_conf, in rs_fw_get_max_amsdu_len() argument 528 if (WARN_ON_ONCE(!link_conf->chandef.chan)) in rs_fw_get_max_amsdu_len() 531 if (link_conf->chandef.chan->band == NL80211_BAND_6GHZ) { in rs_fw_get_max_amsdu_len() 541 } else if (link_conf->chandef.chan->band == NL80211_BAND_2GHZ && in rs_fw_get_max_amsdu_len() 580 struct ieee80211_bss_conf *link_conf, in iwl_mvm_rs_fw_rate_init() argument 588 u16 max_amsdu_len = rs_fw_get_max_amsdu_len(sta, link_conf, link_sta); in iwl_mvm_rs_fw_rate_init() 605 unsigned int link_id = link_conf->link_id; in iwl_mvm_rs_fw_rate_init()
|
D | coex.c | 271 struct ieee80211_bss_conf *link_conf; in iwl_mvm_bt_notif_per_link() local 280 link_conf = rcu_dereference(vif->link_conf[link_id]); in iwl_mvm_bt_notif_per_link() 285 if (!link_conf) in iwl_mvm_bt_notif_per_link() 288 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_bt_notif_per_link()
|
D | rs.h | 400 struct ieee80211_bss_conf *link_conf, 446 struct ieee80211_bss_conf *link_conf, 455 struct ieee80211_bss_conf *link_conf,
|
D | mvm.h | 1669 struct ieee80211_bss_conf *link_conf, 1796 struct ieee80211_bss_conf *link_conf, 1800 struct ieee80211_bss_conf *link_conf, 1804 struct ieee80211_bss_conf *link_conf, 1810 struct ieee80211_bss_conf *link_conf, 1836 struct ieee80211_bss_conf *link_conf); 1879 struct ieee80211_bss_conf *link_conf); 1881 struct ieee80211_bss_conf *link_conf, 1884 struct ieee80211_bss_conf *link_conf); 1886 struct ieee80211_bss_conf *link_conf); [all …]
|
D | power.c | 282 struct ieee80211_bss_conf *link_conf; in iwl_mvm_power_is_radar() local 287 for_each_vif_active_link(vif, link_conf, link_id) { in iwl_mvm_power_is_radar() 288 chanctx_conf = rcu_dereference(link_conf->chanctx_conf); in iwl_mvm_power_is_radar() 514 struct ieee80211_bss_conf *link_conf; in iwl_mvm_power_uapsd_misbehav_ap_iterator() local 518 for_each_vif_active_link(vif, link_conf, link_id) { in iwl_mvm_power_uapsd_misbehav_ap_iterator()
|
/linux-6.6.21/net/mac80211/ |
D | vht.c | 364 struct ieee80211_bss_conf *link_conf; in ieee80211_sta_cap_rx_bw() local 369 link_conf = rcu_dereference(sdata->vif.link_conf[link_id]); in ieee80211_sta_cap_rx_bw() 372 link_conf->chandef.chan->band == NL80211_BAND_6GHZ) { in ieee80211_sta_cap_rx_bw() 383 if (link_conf->chandef.chan->band == NL80211_BAND_2GHZ) { in ieee80211_sta_cap_rx_bw() 509 struct ieee80211_bss_conf *link_conf; in ieee80211_sta_cur_vht_bw() local 514 link_conf = rcu_dereference(sta->sdata->vif.link_conf[link_sta->link_id]); in ieee80211_sta_cur_vht_bw() 515 if (WARN_ON(!link_conf)) in ieee80211_sta_cur_vht_bw() 518 bss_width = link_conf->chandef.width; in ieee80211_sta_cur_vht_bw() 712 struct ieee80211_bss_conf *link_conf = link->conf; in ieee80211_process_mu_groups() local 714 if (!link_conf->mu_mimo_owner) in ieee80211_process_mu_groups() [all …]
|
D | link.c | 24 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() 216 BUILD_BUG_ON(sizeof(old) != sizeof(sdata->vif.link_conf)); in ieee80211_vif_update_links() 217 memcpy(old, sdata->vif.link_conf, sizeof(old)); in ieee80211_vif_update_links() 235 RCU_INIT_POINTER(sdata->vif.link_conf[link_id], NULL); in ieee80211_vif_update_links() [all …]
|
D | chan.c | 117 struct ieee80211_bss_conf *link_conf = link->conf; in ieee80211_chanctx_non_reserved_chandef() local 123 compat = &link_conf->chandef; in ieee80211_chanctx_non_reserved_chandef() 126 &link_conf->chandef, compat); in ieee80211_chanctx_non_reserved_chandef() 418 struct ieee80211_bss_conf *link_conf = in ieee80211_chan_bw_change() local 419 rcu_dereference(sdata->vif.link_conf[link_id]); in ieee80211_chan_bw_change() 422 if (!link_conf) in ieee80211_chan_bw_change() 425 if (rcu_access_pointer(link_conf->chanctx_conf) != &ctx->conf) in ieee80211_chan_bw_change() 786 struct ieee80211_bss_conf *link_conf = in ieee80211_recalc_chanctx_chantype() local 787 rcu_dereference(sdata->vif.link_conf[link_id]); in ieee80211_recalc_chanctx_chantype() 789 if (!link_conf) in ieee80211_recalc_chanctx_chantype() [all …]
|
D | trace.h | 451 struct ieee80211_bss_conf *link_conf, 454 TP_ARGS(local, sdata, link_conf, changed), 489 __entry->link_id = link_conf->link_id; 490 __entry->shortpre = link_conf->use_short_preamble; 491 __entry->cts = link_conf->use_cts_prot; 492 __entry->shortslot = link_conf->use_short_slot; 493 __entry->enable_beacon = link_conf->enable_beacon; 494 __entry->dtimper = link_conf->dtim_period; 495 __entry->bcnint = link_conf->beacon_int; 496 __entry->assoc_cap = link_conf->assoc_capability; [all …]
|
D | cfg.c | 142 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() 985 struct ieee80211_bss_conf *link_conf) in ieee80211_set_fils_discovery() argument 993 fd = &link_conf->fils_discovery; in ieee80211_set_fils_discovery() [all …]
|
D | driver-ops.c | 283 struct ieee80211_bss_conf *link_conf, in drv_assign_vif_chanctx() argument 288 drv_verify_link_exists(sdata, link_conf); in drv_assign_vif_chanctx() 293 !(sdata->vif.active_links & BIT(link_conf->link_id))) in drv_assign_vif_chanctx() 296 trace_drv_assign_vif_chanctx(local, sdata, link_conf, ctx); in drv_assign_vif_chanctx() 301 link_conf, in drv_assign_vif_chanctx() 311 struct ieee80211_bss_conf *link_conf, in drv_unassign_vif_chanctx() argument 316 drv_verify_link_exists(sdata, link_conf); in drv_unassign_vif_chanctx() 321 !(sdata->vif.active_links & BIT(link_conf->link_id))) in drv_unassign_vif_chanctx() 324 trace_drv_unassign_vif_chanctx(local, sdata, link_conf, ctx); in drv_unassign_vif_chanctx() 329 link_conf, in drv_unassign_vif_chanctx()
|
D | driver-ops.h | 472 struct ieee80211_bss_conf *link_conf, in drv_link_add_debugfs() argument 483 link_conf, dir); in drv_link_add_debugfs() 951 struct ieee80211_bss_conf *link_conf) in drv_verify_link_exists() argument 954 if (sdata->deflink.conf != link_conf) in drv_verify_link_exists() 960 struct ieee80211_bss_conf *link_conf, 964 struct ieee80211_bss_conf *link_conf, 972 struct ieee80211_bss_conf *link_conf) in drv_start_ap() argument 977 drv_verify_link_exists(sdata, link_conf); in drv_start_ap() 984 trace_drv_start_ap(local, sdata, link_conf); in drv_start_ap() 986 ret = local->ops->start_ap(&local->hw, &sdata->vif, link_conf); in drv_start_ap() [all …]
|
D | ht.c | 143 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->chandef.width; in ieee80211_ht_cap_ie_to_sta_ht_cap()
|
/linux-6.6.21/drivers/net/wireless/silabs/wfx/ |
D | sta.h | 33 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,
|
D | sta.c | 392 struct ieee80211_bss_conf *link_conf) in wfx_start_ap() argument 410 struct ieee80211_bss_conf *link_conf) in wfx_stop_ap() argument 694 struct ieee80211_bss_conf *link_conf, in wfx_assign_vif_chanctx() argument 707 struct ieee80211_bss_conf *link_conf, in wfx_unassign_vif_chanctx() argument
|
/linux-6.6.21/include/net/ |
D | mac80211.h | 288 struct ieee80211_bss_conf *link_conf; member 1889 struct ieee80211_bss_conf __rcu *link_conf[IEEE80211_MLD_MAX_NUM_LINKS]; member 1938 for (link_id = 0; link_id < ARRAY_SIZE((vif)->link_conf); link_id++) \ 1941 (link = rcu_dereference((vif)->link_conf[link_id]))) 1984 rcu_dereference_protected((vif)->link_conf[link_id], \ 1988 rcu_dereference_check((vif)->link_conf[link_id], \ 4305 struct ieee80211_bss_conf *link_conf); 4307 struct ieee80211_bss_conf *link_conf); 4363 struct ieee80211_bss_conf *link_conf, 4520 struct ieee80211_bss_conf *link_conf, [all …]
|
/linux-6.6.21/drivers/net/wireless/virtual/ |
D | mac80211_hwsim.c | 1326 for (i = 0; i < ARRAY_SIZE(vif->link_conf); i++) { in mac80211_hwsim_addr_iter() 1329 conf = rcu_dereference(vif->link_conf[i]); in mac80211_hwsim_addr_iter() 1614 for (i = 0; i < ARRAY_SIZE(vif->link_conf); i++) { in mac80211_hwsim_tx_iter() 1618 conf = rcu_dereference(vif->link_conf[i]); in mac80211_hwsim_tx_iter() 1870 for (i = 0; i < ARRAY_SIZE(vif->link_conf); i++) { in mac80211_hwsim_select_tx_link() 1875 link_id = (sp->last_link + i + 1) % ARRAY_SIZE(vif->link_conf); in mac80211_hwsim_select_tx_link() 1887 bss_conf = rcu_dereference(vif->link_conf[link_id]); in mac80211_hwsim_select_tx_link() 1935 bss_conf = rcu_dereference(txi->control.vif->link_conf[link]); in mac80211_hwsim_tx() 2175 static void __mac80211_hwsim_beacon_tx(struct ieee80211_bss_conf *link_conf, in __mac80211_hwsim_beacon_tx() argument 2215 rcu_dereference(link_conf->chanctx_conf)->def.chan); in __mac80211_hwsim_beacon_tx() [all …]
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/ |
D | mt792x.h | 261 struct ieee80211_bss_conf *link_conf, 265 struct ieee80211_bss_conf *link_conf,
|