|
@@ -2622,7 +2622,7 @@ static u16 send_assoc_resp(struct hostapd_data *hapd, struct sta_info *sta,
|
|
|
#endif /* CONFIG_FILS */
|
|
|
#ifdef CONFIG_OWE
|
|
|
if (sta && (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_OWE))
|
|
|
- buflen += 50;
|
|
|
+ buflen += 150;
|
|
|
#endif /* CONFIG_OWE */
|
|
|
buf = os_zalloc(buflen);
|
|
|
if (!buf) {
|
|
@@ -2661,6 +2661,13 @@ static u16 send_assoc_resp(struct hostapd_data *hapd, struct sta_info *sta,
|
|
|
}
|
|
|
#endif /* CONFIG_IEEE80211R_AP */
|
|
|
|
|
|
+#ifdef CONFIG_OWE
|
|
|
+ if (sta && (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_OWE))
|
|
|
+ p = wpa_auth_write_assoc_resp_owe(sta->wpa_sm, p,
|
|
|
+ buf + buflen - p,
|
|
|
+ ies, ies_len);
|
|
|
+#endif /* CONFIG_OWE */
|
|
|
+
|
|
|
#ifdef CONFIG_IEEE80211W
|
|
|
if (sta && status_code == WLAN_STATUS_ASSOC_REJECTED_TEMPORARILY)
|
|
|
p = hostapd_eid_assoc_comeback_time(hapd, sta, p);
|