/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | link.c | 87 mvmvif->link[link_conf->link_id]; in iwl_mvm_set_link_mapping() 97 link_conf); in iwl_mvm_set_link_mapping() 285 link_conf->dtim_period); in iwl_mvm_link_changed() 295 if (link_conf->uora_exists) { in iwl_mvm_link_changed() 354 if (link_conf->nontransmitted) { in iwl_mvm_link_changed() 356 link_conf->transmitter_bssid); in iwl_mvm_link_changed() 489 link_conf->chanreq.oper.width; in iwl_mvm_get_puncturing_factor() 515 iwl_mvm_vif_from_mac80211(link_conf->vif)->link[link_conf->link_id]; in iwl_mvm_get_chan_load() 567 link_conf->link_id)) in iwl_mvm_get_chan_load() 596 if (WARN_ON_ONCE(!link_conf)) in iwl_mvm_get_link_grade() [all …]
|
H A D | mld-mac80211.c | 356 link_conf, link_sta, in __iwl_mvm_mld_assign_vif_chanctx() 371 link_conf, in __iwl_mvm_mld_assign_vif_chanctx() 426 struct ieee80211_bss_conf *link_conf; in iwl_mvm_esr_mode_inactive() local 636 link_conf, true); in iwl_mvm_mld_start_ap_ibss() 762 if (link_id == link_conf->link_id) in iwl_mvm_esr_bw_criteria() 824 memcpy(mvmvif->link[link_conf->link_id]->bssid, link_conf->bssid, in iwl_mvm_mld_link_info_changed_station() 908 link_conf = rcu_dereference(vif->link_conf[i]); in iwl_mvm_mld_vif_cfg_changed_station() 909 if (link_conf && !link_conf->dtim_period) in iwl_mvm_mld_vif_cfg_changed_station() 989 if (link_conf->he_support) in iwl_mvm_mld_link_info_changed_ap_ibss() 1048 link_conf->txpower); in iwl_mvm_mld_link_info_changed() [all …]
|
H A D | mld-sta.c | 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() 253 mvmvif->link[link_conf->link_id]; in iwl_mvm_mld_add_mcast_sta() 287 mvmvif->link[link_conf->link_id]; in iwl_mvm_mld_add_snif_sta() 440 mvm_vif->link[link_conf->link_id]; in iwl_mvm_mld_cfg_sta() 640 struct ieee80211_bss_conf *link_conf = in iwl_mvm_alloc_sta_after_restart() local 646 if (!link_conf) in iwl_mvm_alloc_sta_after_restart() 656 link_conf, mvm_link_sta); in iwl_mvm_alloc_sta_after_restart() 704 struct ieee80211_bss_conf *link_conf = in iwl_mvm_mld_add_sta() local 755 struct ieee80211_bss_conf *link_conf = in iwl_mvm_mld_update_sta() local [all …]
|
H A 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()
|
H A D | mac-ctxt.c | 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() 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() 621 link_conf->beacon_int; in iwl_mvm_set_fw_dtim_tbtt() 921 link_conf = rcu_dereference(vif->link_conf[link_id]); in iwl_mvm_mac_ctxt_get_lowest_rate() 922 if (link_conf) { in iwl_mvm_mac_ctxt_get_lowest_rate() 923 basic = link_conf->basic_rates; in iwl_mvm_mac_ctxt_get_lowest_rate() 924 if (link_conf->chanreq.oper.chan) in iwl_mvm_mac_ctxt_get_lowest_rate() 1196 link_conf); in iwl_mvm_mac_ctxt_send_beacon() [all …]
|
H A D | mac80211.c | 856 if (WARN_ON(!link_sta || !link_conf)) in iwl_mvm_mac_tx() 2794 mvmvif->link[link_conf->link_id]; in iwl_mvm_bss_info_changed_station_common() 2817 link_conf, in iwl_mvm_bss_info_changed_station_common() 3825 if (!link_conf) in iwl_mvm_vif_conf_from_sta() 3864 link_conf); in iwl_mvm_vif_set_he_support() 3966 if (WARN_ON(!link_conf)) in iwl_mvm_sta_state_auth_to_assoc() 5159 if (WARN_ON(!link_conf)) in __iwl_mvm_assign_vif_chanctx() 5221 link_conf, in __iwl_mvm_assign_vif_chanctx() 5811 if (WARN_ON(!link_conf)) in iwl_mvm_channel_switch_rx_beacon() 5890 vif->link_conf[link_id]); in iwl_mvm_mac_flush() [all …]
|
H A D | coex.c | 354 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()
|
H A D | sta.h | 647 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);
|
H A D | power.c | 285 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()
|
H A D | rs-fw.c | 529 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()
|
H A D | mvm.h | 2023 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, 2113 struct ieee80211_bss_conf *link_conf); 2115 struct ieee80211_bss_conf *link_conf); 2613 struct ieee80211_bss_conf *link_conf, 2706 struct ieee80211_bss_conf *link_conf, [all …]
|
H A D | rs.h | 397 struct ieee80211_bss_conf *link_conf, 443 struct ieee80211_bss_conf *link_conf, 452 struct ieee80211_bss_conf *link_conf,
|
/linux/net/mac80211/ |
H A D | vht.c | 371 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() 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() 719 if (!link_conf->mu_mimo_owner) in ieee80211_process_mu_groups() 728 memcpy(link_conf->mu_group.membership, in ieee80211_process_mu_groups() 731 memcpy(link_conf->mu_group.position, in ieee80211_process_mu_groups() 742 struct ieee80211_bss_conf *link_conf; in ieee80211_update_mu_groups() local 745 link_conf = rcu_dereference(vif->link_conf[link_id]); in ieee80211_update_mu_groups() [all …]
|
H A 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() 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 …]
|
H A D | cfg.c | 149 link_conf->ema_ap = false; in ieee80211_set_ap_mbssid_options() 167 link_conf->ema_ap = true; in ieee80211_set_ap_mbssid_options() 1221 link_conf); in ieee80211_assign_beacon() 1291 link_conf = link->conf; in ieee80211_start_ap() 1308 link_conf->ht_ldpc = in ieee80211_start_ap() 1313 link_conf->vht_ldpc = in ieee80211_start_ap() 1345 link_conf->he_ldpc = in ieee80211_start_ap() 1394 link_conf); in ieee80211_start_ap() 1534 link_conf = link->conf; in ieee80211_change_beacon() 1539 if (link_conf->csa_active || link_conf->color_change_active) in ieee80211_change_beacon() [all …]
|
H A D | chan.c | 436 struct ieee80211_bss_conf *link_conf; in ieee80211_chan_bw_change() local 443 link_conf = link->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() 794 compat = &link_conf->chanreq; in ieee80211_recalc_chanctx_chantype() 1042 vlan->vif.link_conf[link_id]); in __ieee80211_link_copy_chanctx_to_vlans() 1283 vlan->vif.link_conf[link_id]); in ieee80211_link_update_chanreq() 1338 vif_chsw[0].link_conf = link->conf; in ieee80211_link_use_reserved_reassign() 1484 vif_chsw[i].link_conf = link->conf; in ieee80211_chsw_switch_vifs() [all …]
|
H A D | trace.h | 483 struct ieee80211_bss_conf *link_conf, 521 __entry->link_id = link_conf->link_id; 523 __entry->cts = link_conf->use_cts_prot; 541 __entry->qos = link_conf->qos; 543 __entry->txpower = link_conf->txpower; 1765 struct ieee80211_bss_conf *link_conf, 1768 TP_ARGS(local, sdata, link_conf, ctx), 1795 TP_ARGS(local, sdata, link_conf, ctx) 1803 TP_ARGS(local, sdata, link_conf, ctx) 1811 TP_ARGS(local, sdata, link_conf), [all …]
|
H A D | driver-ops.c | 306 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()
|
H A 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->chanreq.oper.width; in ieee80211_ht_cap_ie_to_sta_ht_cap()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/tests/ |
H A D | links.c | 46 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/drivers/net/wireless/mediatek/mt76/mt7925/ |
H A D | main.c | 581 struct ieee80211_bss_conf *link_conf; in mt7925_set_link_key() local 835 struct ieee80211_bss_conf *link_conf; in mt7925_mac_link_sta_add() local 871 link_conf, link_sta, false); in mt7925_mac_link_sta_add() 994 if (WARN_ON_ONCE(!link_conf)) in mt7925_mac_select_links() 1027 struct ieee80211_bss_conf *link_conf = in mt7925_mac_set_links() local 1060 struct ieee80211_bss_conf *link_conf; in mt7925_mac_link_sta_assoc() local 1080 link_conf, link_sta, true); in mt7925_mac_link_sta_assoc() 1120 struct ieee80211_bss_conf *link_conf; in mt7925_mac_link_sta_remove() local 1694 link_conf, NULL, true); in mt7925_start_ap() 1786 link_conf, ctx); in mt7925_change_chanctx() [all …]
|
H A D | mcu.c | 1061 if (link_conf) in mt7925_mcu_sta_key_tlv() 1133 struct ieee80211_bss_conf *link_conf; in mt7925_mcu_set_mlo_roc() local 1166 if (WARN_ON_ONCE(!link_conf)) in mt7925_mcu_set_mlo_roc() 1600 &link_conf->chanreq.oper; in mt7925_mcu_sta_phy_tlv() 1678 &link_conf->chanreq.oper; in mt7925_mcu_sta_rate_ctrl_tlv() 2172 &link_conf->chanreq.oper; in mt7925_mcu_bss_rlm_tlv() 2312 &link_conf->chanreq.oper; in mt7925_mcu_bss_basic_tlv() 2439 &link_conf->chanreq.oper; in mt7925_mcu_bss_bmc_tlv() 2497 qos->qos = link_conf->qos; in mt7925_mcu_bss_qos_tlv() 2541 link_conf->he_bss_color.color : 0; in mt7925_mcu_bss_color_tlv() [all …]
|
H A D | mcu.h | 632 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/drivers/net/wireless/silabs/wfx/ |
H A 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,
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt792x.h | 128 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,
|