[PATCH v2 09/28] wpa_supplicant: Add CONFIG_ENC_ASSOC for association frame encryption support
Ainy Kumari
ainy.kumari at oss.qualcomm.com
Tue Jan 6 05:45:19 PST 2026
Introduce CONFIG_ENC_ASSOC in defconfig and update Makefile to enable
association frame encryption. When enabled, also set CONFIG_PASN,
since EPPKE authentication requires association frame encryption and
relies on the PASN base code.
Signed-off-by: Ainy Kumari <ainy.kumari at oss.qualcomm.com>
---
wpa_supplicant/Makefile | 5 +++++
wpa_supplicant/defconfig | 3 +++
2 files changed, 8 insertions(+)
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index b92b1e3f2..3bff566fd 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -444,6 +444,11 @@ OBJS += ../src/pasn/pasn_common.o
OBJS += pasn_supplicant.o
endif
+ifdef CONFIG_ENC_ASSOC
+CONFIG_PASN=y
+CFLAGS += -DCONFIG_ENC_ASSOC
+endif
+
ifdef CONFIG_HS20
OBJS += hs20_supplicant.o
CFLAGS += -DCONFIG_HS20
diff --git a/wpa_supplicant/defconfig b/wpa_supplicant/defconfig
index 84ac8ba12..5861edc9c 100644
--- a/wpa_supplicant/defconfig
+++ b/wpa_supplicant/defconfig
@@ -682,3 +682,6 @@ CONFIG_DPP2=y
# Wi-Fi Aware unsynchronized service discovery (NAN USD)
#CONFIG_NAN_USD=y
+
+# IEEE P802.11bi/D2.0 Support (Enhanced service with Privacy Protection)
+#CONFIG_ENC_ASSOC =y
--
2.25.1
More information about the Hostap
mailing list