diff --git a/modules/hostap/CMakeLists.txt b/modules/hostap/CMakeLists.txt index a2269e1051b..d623f298869 100644 --- a/modules/hostap/CMakeLists.txt +++ b/modules/hostap/CMakeLists.txt @@ -58,20 +58,16 @@ zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_NO_DEBUG CONFIG_NO_STDOUT_DEBUG ) -zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_ROBUST_AV - CONFIG_ROBUST_AV +zephyr_library_compile_definitions_ifndef(CONFIG_WIFI_NM_WPA_SUPPLICANT_ROBUST_AV + CONFIG_NO_ROBUST_AV ) -zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_WMM_AC - CONFIG_WMM_AC +zephyr_library_compile_definitions_ifndef(CONFIG_WIFI_NM_WPA_SUPPLICANT_WMM_AC +CONFIG_NO_WMM_AC ) -zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_RRM - CONFIG_RRM -) - -zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_ROBUST_AV - CONFIG_ROBUST_AV +zephyr_library_compile_definitions_ifndef(CONFIG_WIFI_NM_WPA_SUPPLICANT_RRM +CONFIG_NO_RRM ) zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_MBO diff --git a/modules/hostap/Kconfig b/modules/hostap/Kconfig index fa4dd56cb8f..43738b64b6b 100644 --- a/modules/hostap/Kconfig +++ b/modules/hostap/Kconfig @@ -516,17 +516,13 @@ config WPA_CRYPTO config WPA_SUPP_CRYPTO bool -config ROBUST_AV +config NO_ROBUST_AV bool - default y - depends on WIFI_NM_WPA_SUPPLICANT_ROBUST_AV -config RRM +config NO_RRM bool - default y - depends on WIFI_NM_WPA_SUPPLICANT_RRM -config WMM_AC +config NO_WMM_AC bool config DPP