MLD STA: Use AP MLD address as destination for 4-way handshake EAPOL-Key frames
Use AP MLD address as the destination address for EAPOL-Key 4-way handshake frames since authenticator/supplicant operates above MLD. The driver/firmware will use RA/TA based on the link used for transmitting the EAPOL frames. Signed-off-by: Rohan Dutta <quic_drohan@quicinc.com> Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
This commit is contained in:
parent
8f2e493bec
commit
f0760aa6dd
1 changed files with 4 additions and 5 deletions
|
@ -976,8 +976,8 @@ static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm,
|
||||||
kde_len = pos - kde;
|
kde_len = pos - kde;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wpa_supplicant_send_2_of_4(sm, sm->bssid, key, ver, sm->snonce,
|
if (wpa_supplicant_send_2_of_4(sm, wpa_sm_get_auth_addr(sm), key, ver,
|
||||||
kde, kde_len, ptk) < 0)
|
sm->snonce, kde, kde_len, ptk) < 0)
|
||||||
goto failed;
|
goto failed;
|
||||||
|
|
||||||
os_free(kde_buf);
|
os_free(kde_buf);
|
||||||
|
@ -2447,10 +2447,9 @@ static void wpa_supplicant_process_3_of_4(struct wpa_sm *sm,
|
||||||
wpa_supplicant_install_ptk(sm, key, KEY_FLAG_RX))
|
wpa_supplicant_install_ptk(sm, key, KEY_FLAG_RX))
|
||||||
goto failed;
|
goto failed;
|
||||||
|
|
||||||
if (wpa_supplicant_send_4_of_4(sm, sm->bssid, key, ver, key_info,
|
if (wpa_supplicant_send_4_of_4(sm, wpa_sm_get_auth_addr(sm), key, ver,
|
||||||
&sm->ptk) < 0) {
|
key_info, &sm->ptk) < 0)
|
||||||
goto failed;
|
goto failed;
|
||||||
}
|
|
||||||
|
|
||||||
/* SNonce was successfully used in msg 3/4, so mark it to be renewed
|
/* SNonce was successfully used in msg 3/4, so mark it to be renewed
|
||||||
* for the next 4-Way Handshake. If msg 3 is received again, the old
|
* for the next 4-Way Handshake. If msg 3 is received again, the old
|
||||||
|
|
Loading…
Add table
Reference in a new issue