hostapd: Add support for OWE offload for STA/AP interface
The driver advertising OWE offload support would take care of Diffie-Hellman Parameter element generation and processing part. The driver would be responsible for OWE PMK generation in this case. Avoid the Diffie-Hellman Parameter element handling in wpa_supplicant/hostapd for drivers advertising OWE offload support. This change is applicable only for drivers supporting 4-way handshake offload. Signed-off-by: Vinayak Yadawad <vinayak.yadawad@broadcom.com>
This commit is contained in:
parent
da364180fb
commit
d984c7b298
5 changed files with 19 additions and 1 deletions
|
@ -3376,6 +3376,7 @@ static int wpa_supplicant_event_associnfo(struct wpa_supplicant *wpa_s,
|
|||
|
||||
#ifdef CONFIG_OWE
|
||||
if (wpa_s->key_mgmt == WPA_KEY_MGMT_OWE &&
|
||||
!(wpa_s->drv_flags & WPA_DRIVER_FLAGS2_OWE_OFFLOAD_STA) &&
|
||||
(!bssid_known ||
|
||||
owe_process_assoc_resp(wpa_s->wpa,
|
||||
wpa_s->valid_links ?
|
||||
|
|
|
@ -3616,7 +3616,8 @@ static u8 * wpas_populate_assoc_ies(
|
|||
} else
|
||||
#endif /* CONFIG_TESTING_OPTIONS */
|
||||
if (algs == WPA_AUTH_ALG_OPEN &&
|
||||
ssid->key_mgmt == WPA_KEY_MGMT_OWE) {
|
||||
ssid->key_mgmt == WPA_KEY_MGMT_OWE &&
|
||||
!(wpa_s->drv_flags & WPA_DRIVER_FLAGS2_OWE_OFFLOAD_STA)) {
|
||||
struct wpabuf *owe_ie;
|
||||
u16 group;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue