Lines Matching refs:link_id

195 			u8 link_id;  in hostapd_update_sta_links_status()  local
209 link_id = sta_ctrl & BASIC_MLE_STA_CTRL_LINK_ID_MASK; in hostapd_update_sta_links_status()
210 if (link_id >= MAX_NUM_MLD_LINKS) { in hostapd_update_sta_links_status()
237 info->links[link_id].status = WPA_GET_LE16(sta_profile); in hostapd_update_sta_links_status()
364 u8 link_id = hapd->mld_link_id; in hostapd_notif_assoc() local
367 sta->mld_assoc_link_id = link_id; in hostapd_notif_assoc()
369 info->links[link_id].valid = true; in hostapd_notif_assoc()
370 os_memcpy(info->links[link_id].peer_addr, link_addr, ETH_ALEN); in hostapd_notif_assoc()
371 os_memcpy(info->links[link_id].local_addr, hapd->own_addr, in hostapd_notif_assoc()
930 unsigned int link_id, i; in hostapd_notif_disassoc_mld() local
935 for (link_id = 0; link_id < MAX_NUM_MLD_LINKS; link_id++) { in hostapd_notif_disassoc_mld()
936 if (!sta->mld_info.links[link_id].valid) in hostapd_notif_disassoc_mld()
1379 if (acs_res->link_id != -1) { in hostapd_acs_channel_selected()
1380 hapd = hostapd_mld_get_link_bss(hapd, acs_res->link_id); in hostapd_acs_channel_selected()
1384 acs_res->link_id); in hostapd_acs_channel_selected()
1735 switch_link_hapd(struct hostapd_data *hapd, int link_id) in switch_link_hapd() argument
1738 if (hapd->conf->mld_ap && link_id >= 0) { in switch_link_hapd()
1741 link_bss = hostapd_mld_get_link_bss(hapd, link_id); in switch_link_hapd()
1782 const u8 *bssid, int link_id) in get_hapd_bssid() argument
1806 link_id == hapd->mld_link_id)) in get_hapd_bssid()
1818 link_id == p_hapd->mld_link_id)) in get_hapd_bssid()
1850 hapd = switch_link_hapd(hapd, rx_mgmt->link_id); in hostapd_mgmt_rx()
1873 hapd = get_hapd_bssid(iface, bssid, rx_mgmt->link_id); in hostapd_mgmt_rx()
1920 size_t len, u16 stype, int ok, int link_id) in hostapd_mgmt_tx_cb() argument
1928 hapd = switch_link_hapd(hapd, link_id); in hostapd_mgmt_tx_cb()
1929 tmp_hapd = get_hapd_bssid(hapd->iface, get_hdr_bssid(hdr, len), link_id); in hostapd_mgmt_tx_cb()
1946 hapd = get_hapd_bssid(orig_hapd->iface, hdr->addr2, link_id); in hostapd_mgmt_tx_cb()
2029 int link_id) in hostapd_event_eapol_rx() argument
2034 hapd = switch_link_hapd(hapd, link_id); in hostapd_event_eapol_rx()
2337 u8 link_id = hapd->mld_link_id; in hostapd_notif_update_dh_ie() local
2340 sta->mld_assoc_link_id = link_id; in hostapd_notif_update_dh_ie()
2342 info->links[link_id].valid = true; in hostapd_notif_update_dh_ie()
2343 os_memcpy(info->links[link_id].local_addr, hapd->own_addr, in hostapd_notif_update_dh_ie()
2345 os_memcpy(info->links[link_id].peer_addr, link_addr, ETH_ALEN); in hostapd_notif_update_dh_ie()
2367 int link_id) in hostapd_eapol_tx_status() argument
2371 hapd = switch_link_hapd(hapd, link_id); in hostapd_eapol_tx_status()
2479 data->tx_status.link_id); in wpa_supplicant_event()
2494 data->eapol_tx_status.link_id); in wpa_supplicant_event()
2533 data->eapol_rx.link_id); in wpa_supplicant_event()
2609 if (data->ch_switch.link_id != -1) { in wpa_supplicant_event()
2611 hapd, data->ch_switch.link_id); in wpa_supplicant_event()
2615 data->ch_switch.link_id); in wpa_supplicant_event()
2646 hapd = switch_link_hapd(hapd, data->dfs_event.link_id); in wpa_supplicant_event()
2652 hapd = switch_link_hapd(hapd, data->dfs_event.link_id); in wpa_supplicant_event()
2658 hapd = switch_link_hapd(hapd, data->dfs_event.link_id); in wpa_supplicant_event()
2664 hapd = switch_link_hapd(hapd, data->dfs_event.link_id); in wpa_supplicant_event()
2670 hapd = switch_link_hapd(hapd, data->dfs_event.link_id); in wpa_supplicant_event()
2684 hapd = switch_link_hapd(hapd, data->dfs_event.link_id); in wpa_supplicant_event()
2738 data->bss_color_collision.link_id); in wpa_supplicant_event()
2746 data->bss_color_collision.link_id); in wpa_supplicant_event()
2752 data->bss_color_collision.link_id); in wpa_supplicant_event()
2759 data->bss_color_collision.link_id); in wpa_supplicant_event()