[PATCH] hostapd: enable SHA348 when using SAE + IEEE80211BE

Nicolas Escande nico.escande at gmail.com
Wed Mar 4 05:37:21 PST 2026


When doing wifi7 we need SAE-EXT-KEY which enables by default group 20. To
support group 20 we need SHA384. So to simplify config, lets automatically
enable SHA384 when enabling SAE with IEEE80211BE.

Signed-off-by: Nicolas Escande <nico.escande at gmail.com>
---
 hostapd/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hostapd/Makefile b/hostapd/Makefile
index b9992530e921..7060a3a5e69e 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -1073,6 +1073,9 @@ endif
 endif
 
 ifdef CONFIG_SAE
+ifdef CONFIG_IEEE80211BE
+NEED_SHA384=y
+endif
 ifdef NEED_SHA384
 # Need to add HMAC-SHA384 KDF as well, if SHA384 was enabled.
 NEED_HMAC_SHA384_KDF=y
-- 
2.53.0




More information about the Hostap mailing list