hostapd: update packaging and patches
[openwrt/openwrt.git] / package / network / services / hostapd / Config.in
index 810c5a09a9499d325faaa389a9fd90fcbb3f0cf6..222cfb7f131ba996eb3ae9536d54f13005ffc1ba 100644 (file)
@@ -1,33 +1,56 @@
 # wpa_supplicant config
 config WPA_SUPPLICANT_NO_TIMESTAMP_CHECK
        bool "Disable timestamp check"
-       depends PACKAGE_wpa-supplicant || PACKAGE_wpa-supplicant-mini || PACKAGE_wpad || PACKAGE_wpad-mini
+       depends on PACKAGE_wpa-supplicant || \
+                  PACKAGE_wpa-supplicant-openssl || \
+                  PACKAGE_wpa-supplicant-wolfssl || \
+                  PACKAGE_wpa-supplicant-mesh-openssl || \
+                  PACKAGE_wpa-supplicant-mesh-wolfssl || \
+                  PACKAGE_wpa-supplicant-mini || \
+                  PACKAGE_wpa-supplicant-p2p || \
+                  PACKAGE_wpad || \
+                  PACKAGE_wpad-openssl || \
+                  PACKAGE_wpad-wolfssl || \
+                  PACKAGE_wpad-mini || \
+                  PACKAGE_wpad-mesh-openssl || \
+                  PACKAGE_wpad-mesh-wolfssl
        default n
        help
          This disables the timestamp check for certificates in wpa_supplicant
          Useful for devices without RTC that cannot reliably get the real date/time
 
-choice
-       prompt "Choose TLS provider"
-       default WPA_SUPPLICANT_INTERNAL
-       depends PACKAGE_wpa-supplicant || PACKAGE_wpad
-
-config WPA_SUPPLICANT_INTERNAL
-       bool "internal"
-
-config WPA_SUPPLICANT_OPENSSL
-       bool "openssl"
-       select PACKAGE_libopenssl
-
-endchoice
-
 config WPA_RFKILL_SUPPORT
        bool "Add rfkill support"
-       depends PACKAGE_wpa-supplicant || PACKAGE_wpa-supplicant-mini || PACKAGE_wpad || PACKAGE_wpad-mini
+       depends on PACKAGE_wpa-supplicant || \
+                  PACKAGE_wpa-supplicant-openssl || \
+                  PACKAGE_wpa-supplicant-wolfssl || \
+                  PACKAGE_wpa-supplicant-mesh-openssl || \
+                  PACKAGE_wpa-supplicant-mesh-wolfssl || \
+                  PACKAGE_wpa-supplicant-mini || \
+                  PACKAGE_wpa-supplicant-p2p || \
+                  PACKAGE_wpad || \
+                  PACKAGE_wpad-openssl || \
+                  PACKAGE_wpad-wolfssl || \
+                  PACKAGE_wpad-mini || \
+                  PACKAGE_wpad-mesh-openssl || \
+                  PACKAGE_wpad-mesh-wolfssl
        default n
 
 config WPA_MSG_MIN_PRIORITY
        int "Minimum debug message priority"
+       depends on PACKAGE_wpa-supplicant || \
+                  PACKAGE_wpa-supplicant-openssl || \
+                  PACKAGE_wpa-supplicant-wolfssl || \
+                  PACKAGE_wpa-supplicant-mesh-openssl || \
+                  PACKAGE_wpa-supplicant-mesh-wolfssl || \
+                  PACKAGE_wpa-supplicant-mini || \
+                  PACKAGE_wpa-supplicant-p2p || \
+                  PACKAGE_wpad || \
+                  PACKAGE_wpad-openssl || \
+                  PACKAGE_wpad-wolfssl || \
+                  PACKAGE_wpad-mini || \
+                  PACKAGE_wpad-mesh-openssl || \
+                  PACKAGE_wpad-mesh-wolfssl
        default 3
        help
          Useful values are:
@@ -38,6 +61,24 @@ config WPA_MSG_MIN_PRIORITY
                4 = warnings
                5 = errors
 
+config WPA_WOLFSSL
+       bool
+       default PACKAGE_wpa-supplicant-wolfssl ||\
+               PACKAGE_wpad-wolfssl ||\
+               PACKAGE_wpad-mesh-wolfssl ||\
+               PACKAGE_eapol-test-wolfssl
+       select PACKAGE_libwolfssl
+       select WOLFSSL_HAS_AES_CCM
+       select WOLFSSL_HAS_AES_GCM
+       select WOLFSSL_HAS_ARC4
+       select WOLFSSL_HAS_DES3
+       select WOLFSSL_HAS_DH
+       select WOLFSSL_HAS_ECC
+       select WOLFSSL_HAS_OCSP
+       select WOLFSSL_HAS_PSK
+       select WOLFSSL_HAS_SESSION_TICKET
+       select WOLFSSL_HAS_WPAS
+
 config DRIVER_WEXT_SUPPORT
        bool
        default n
@@ -45,3 +86,11 @@ config DRIVER_WEXT_SUPPORT
 config DRIVER_11N_SUPPORT
        bool
        default n
+
+config DRIVER_11AC_SUPPORT
+       bool
+       default n
+
+config DRIVER_11W_SUPPORT
+       bool
+       default n