Home
last modified time | relevance | path

Searched refs:mld_addr (Results 1 – 25 of 33) sorted by relevance

12

/hostap-latest/wlantest/
Dsta.c117 const u8 *mld_addr; in sta_update_assoc_ml() local
122 mld_addr = get_basic_mle_mld_addr(elems->basic_mle, in sta_update_assoc_ml()
124 if (!mld_addr) { in sta_update_assoc_ml()
129 wpa_printf(MSG_DEBUG, "STA MLD Address: " MACSTR, MAC2STR(mld_addr)); in sta_update_assoc_ml()
130 os_memcpy(sta->mld_mac_addr, mld_addr, ETH_ALEN); in sta_update_assoc_ml()
Drx_mgmt.c1484 const u8 *mld_addr; in rx_mgmt_reassoc_req() local
1487 mld_addr = get_basic_mle_mld_addr(elems.basic_mle, in rx_mgmt_reassoc_req()
1489 if (!mld_addr) in rx_mgmt_reassoc_req()
1492 sta1 = sta_find_mlo(wt, bss, mld_addr); in rx_mgmt_reassoc_req()
/hostap-latest/tests/hwsim/
Dtest_eht.py1083 mld_addr = "02112233440f"
1085 mle = "ff0a6b000007" + mld_addr
1089 hdr = "00000000" + bssid0 + mld_addr + bssid0 + "1000"
1105 mle = "ff0a6b000109" + mld_addr
1112 mld_addr = "02112233441f"
1114 mle = "ff0a6b000007" + mld_addr
1119 mle = "ff7d6b000109" + mld_addr + "0000"
1128 hdr = "00000000" + bssid0 + mld_addr + bssid0 + "1000"
1136 mld_addr = "02112233442f"
1138 mle = "ff0a6b000007" + mld_addr
[all …]
Dhostapd.py165 self.mld_addr = None
195 if self.mld_addr is None:
196 self.mld_addr = self.get_status_field('mld_addr[%d]' % self.bssidx)
197 return self.mld_addr
/hostap-latest/wpa_supplicant/
Dbss.c480 const u8 *mld_addr; in wpa_bss_add() local
495 os_memset(bss->mld_addr, 0, ETH_ALEN); in wpa_bss_add()
498 mld_addr = get_basic_mle_mld_addr(&ml_ie[3], ml_ie[1] - 1); in wpa_bss_add()
499 if (mld_addr) in wpa_bss_add()
500 os_memcpy(bss->mld_addr, mld_addr, ETH_ALEN); in wpa_bss_add()
522 if (!is_zero_ether_addr(bss->mld_addr) && in wpa_bss_add()
526 MAC2STR(bss->mld_addr)); in wpa_bss_add()
780 const u8 *ml_ie, *mld_addr; in wpa_bss_update() local
783 os_memset(bss->mld_addr, 0, ETH_ALEN); in wpa_bss_update()
786 mld_addr = get_basic_mle_mld_addr(&ml_ie[3], in wpa_bss_update()
[all …]
Dsme.c93 const u8 *mld_addr, in sme_auth_build_sae_commit() argument
107 const u8 *addr = mld_addr ? mld_addr : bssid; in sme_auth_build_sae_commit()
482 const u8 *mld_addr; in wpas_sme_ml_auth() local
507 mld_addr = get_basic_mle_mld_addr(elems.basic_mle, elems.basic_mle_len); in wpas_sme_ml_auth()
508 if (!mld_addr) in wpas_sme_ml_auth()
511 wpa_printf(MSG_DEBUG, "MLD: mld_address=" MACSTR, MAC2STR(mld_addr)); in wpas_sme_ml_auth()
513 if (!ether_addr_equal(wpa_s->ap_mld_addr, mld_addr)) { in wpas_sme_ml_auth()
1325 static void wpa_auth_ml_ie(struct wpabuf *buf, const u8 *mld_addr) in wpa_auth_ml_ie() argument
1338 wpabuf_put_data(buf, mld_addr, ETH_ALEN); in wpa_auth_ml_ie()
1346 u16 status_code, const u8 *mld_addr) in sme_external_auth_build_buf() argument
[all …]
Dbss.h128 u8 mld_addr[ETH_ALEN]; member
Dwnm_sta.c2068 is_zero_ether_addr(bss->mld_addr)) { in wnm_is_bss_excluded()
2072 if (ether_addr_equal(bss->mld_addr, wpa_s->wnm_dissoc_addr)) in wnm_is_bss_excluded()
/hostap-latest/src/ap/
Dieee802_11_eht.c492 wpabuf_put_data(buf, hapd->mld->mld_addr, ETH_ALEN); in hostapd_eid_eht_basic_ml_common()
827 wpabuf_put_data(buf, hapd->mld->mld_addr, ETH_ALEN); in hostapd_ml_auth_resp()
1073 u8 *mld_addr) in hostapd_process_ml_assoc_req_addr() argument
1141 os_memcpy(mld_addr, common_info->mld_addr, ETH_ALEN); in hostapd_process_ml_assoc_req_addr()
1242 MAC2STR(info->common_info.mld_addr), in hostapd_process_ml_assoc_req()
1246 if (!ether_addr_equal(info->common_info.mld_addr, in hostapd_process_ml_assoc_req()
1247 common_info->mld_addr)) { in hostapd_process_ml_assoc_req()
1251 MAC2STR(info->common_info.mld_addr), in hostapd_process_ml_assoc_req()
1252 MAC2STR(common_info->mld_addr)); in hostapd_process_ml_assoc_req()
Dwpa_auth.c93 return sm->wpa_auth->mld_addr; in wpa_auth_get_aa()
150 const u8 *mld_addr; member
162 if (ctx->mld_addr && in wpa_get_link_sta_auth()
163 !ether_addr_equal(wpa_auth->mld_addr, ctx->mld_addr)) in wpa_get_link_sta_auth()
183 ctx.mld_addr = wpa_auth->mld_addr; in wpa_get_link_auth()
197 !ether_addr_equal(wpa_auth->mld_addr, ctx->addr) || in wpa_get_primary_auth_cb()
217 ctx.addr = wpa_auth->mld_addr; in wpa_get_primary_auth()
538 const u8 *mld_addr = ctx; in wpa_update_all_gtks_cb() local
540 if (!ether_addr_equal(wpa_auth->mld_addr, mld_addr)) in wpa_update_all_gtks_cb()
551 const u8 *mld_addr = ctx; in wpa_rekey_all_groups_cb() local
[all …]
Dwpa_auth_i.h270 u8 mld_addr[ETH_ALEN]; member
Dap_drv_ops.c877 own_addr = hapd->mld->mld_addr; in hostapd_drv_sta_deauth()
898 own_addr = hapd->mld->mld_addr; in hostapd_drv_sta_disassoc()
956 own_addr = hapd->mld->mld_addr; in hapd_drv_send_action()
Dsta_info.h78 u8 mld_addr[ETH_ALEN]; member
Ddrv_callbacks.c368 os_memcpy(info->common_info.mld_addr, addr, ETH_ALEN); in hostapd_notif_assoc()
1807 ether_addr_equal(bssid, hapd->mld->mld_addr) && in get_hapd_bssid()
1819 (ether_addr_equal(bssid, p_hapd->mld->mld_addr) && in get_hapd_bssid()
1936 ether_addr_equal(hapd->mld->mld_addr, in hostapd_mgmt_tx_cb()
2351 os_memcpy(info->common_info.mld_addr, peer, ETH_ALEN); in hostapd_notif_update_dh_ie()
Dieee802_11_shared.c124 own_addr = hapd->mld->mld_addr; in ieee802_11_send_sa_query_req()
222 own_addr = hapd->mld->mld_addr; in ieee802_11_send_sa_query_resp()
Dieee802_11.h109 u8 *mld_addr);
Dwnm_ap.c54 own_addr = hapd->mld->mld_addr; in wnm_ap_get_own_addr()
1046 MAC2STR(sta->mld_info.common_info.mld_addr)); in wnm_send_bss_tm_req()
Dwpa_auth_glue.c1756 _conf.mld_addr = NULL; in hostapd_setup_wpa()
1763 _conf.mld_addr = hapd->mld->mld_addr; in hostapd_setup_wpa()
Dhostapd.h516 u8 mld_addr[ETH_ALEN]; member
Dieee802_11.c619 own_addr = hapd->mld->mld_addr; in auth_build_sae_commit()
3013 ether_addr_equal(sa, hapd->mld->mld_addr))) { in handle_auth()
3176 os_memcpy(sta->mld_info.common_info.mld_addr, sa, in handle_auth()
5298 u8 mld_addr[ETH_ALEN]; in handle_mlo_translate() local
5317 mld_addr)) in handle_mlo_translate()
5320 sta = ap_get_sta(hapd, mld_addr); in handle_mlo_translate()
5325 MAC2STR(mld_addr), MAC2STR(mgmt->sa)); in handle_mlo_translate()
6289 ether_addr_equal(hapd->mld->mld_addr, mgmt->bssid)) && in ieee802_11_mgmt()
6312 ether_addr_equal(hapd->mld->mld_addr, mgmt->bssid)) && in ieee802_11_mgmt()
Dwpa_auth.h313 const u8 *mld_addr; member
Dap_config.h995 u8 mld_addr[ETH_ALEN]; member
/hostap-latest/hostapd/
Dmain.c187 os_memcpy(hapd->own_addr, h_hapd->mld->mld_addr, in hostapd_driver_init()
234 if (!is_zero_ether_addr(hapd->conf->mld_addr)) in hostapd_driver_init()
235 params.bssid = hapd->conf->mld_addr; in hostapd_driver_init()
274 os_memcpy(hapd->mld->mld_addr, hapd->own_addr, ETH_ALEN); in hostapd_driver_init()
338 hapd->mld_link_id, MAC2STR(hapd->mld->mld_addr), in hostapd_driver_init()
/hostap-latest/src/drivers/
Ddriver_nl80211_event.c3498 char mld_addr[50]; in nl80211_external_auth() local
3529 mld_addr[0] = '\0'; in nl80211_external_auth()
3531 event.external_auth.mld_addr = in nl80211_external_auth()
3533 os_snprintf(mld_addr, sizeof(mld_addr), ", MLD ADDR: " MACSTR, in nl80211_external_auth()
3534 MAC2STR(event.external_auth.mld_addr)); in nl80211_external_auth()
3543 MAC2STR(event.external_auth.bssid), mld_addr); in nl80211_external_auth()
Ddriver.h941 const u8 *mld_addr; member
2941 const u8 *mld_addr; member

12