1 // Copyright 2019 Espressif Systems (Shanghai) PTE LTD 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 #ifndef _SUPPLICANT_OPT_H 16 #define _SUPPLICANT_OPT_H 17 18 #include "sdkconfig.h" 19 20 #if CONFIG_WPA_MBEDTLS_CRYPTO 21 #define USE_MBEDTLS_CRYPTO 1 22 #else 23 #define CONFIG_TLS_INTERNAL_CLIENT 24 #define CONFIG_CRYPTO_INTERNAL 25 #define CONFIG_TLSV12 26 #endif 27 28 #if CONFIG_WPA_DEBUG_PRINT 29 #define DEBUG_PRINT 30 #endif 31 32 #if CONFIG_WPA_11KV_SUPPORT 33 #define ROAMING_SUPPORT 1 34 #endif 35 36 #if CONFIG_WPA_SCAN_CACHE 37 #define SCAN_CACHE_SUPPORTED 38 #endif 39 40 #endif /* _SUPPLICANT_OPT_H */ 41