modules: hostap: Fix advanced features disable

Zephyr introduced postive feature flags to make advanced features
conditional but the upstream has followed a negative feature flag
for advanced features, and during upmerge these two weren't reconciled.

Fix the build in case advanced features are disabled.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
Chaitanya Tata 2025-01-13 15:44:37 +05:30 committed by Benjamin Cabé
parent 0953ea0010
commit d909634ba8
2 changed files with 9 additions and 17 deletions

View file

@ -58,20 +58,16 @@ zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_NO_DEBUG
CONFIG_NO_STDOUT_DEBUG CONFIG_NO_STDOUT_DEBUG
) )
zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_ROBUST_AV zephyr_library_compile_definitions_ifndef(CONFIG_WIFI_NM_WPA_SUPPLICANT_ROBUST_AV
CONFIG_ROBUST_AV CONFIG_NO_ROBUST_AV
) )
zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_WMM_AC zephyr_library_compile_definitions_ifndef(CONFIG_WIFI_NM_WPA_SUPPLICANT_WMM_AC
CONFIG_WMM_AC CONFIG_NO_WMM_AC
) )
zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_RRM zephyr_library_compile_definitions_ifndef(CONFIG_WIFI_NM_WPA_SUPPLICANT_RRM
CONFIG_RRM CONFIG_NO_RRM
)
zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_ROBUST_AV
CONFIG_ROBUST_AV
) )
zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_MBO zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_MBO

View file

@ -516,17 +516,13 @@ config WPA_CRYPTO
config WPA_SUPP_CRYPTO config WPA_SUPP_CRYPTO
bool bool
config ROBUST_AV config NO_ROBUST_AV
bool bool
default y
depends on WIFI_NM_WPA_SUPPLICANT_ROBUST_AV
config RRM config NO_RRM
bool bool
default y
depends on WIFI_NM_WPA_SUPPLICANT_RRM
config WMM_AC config NO_WMM_AC
bool bool
config DPP config DPP