mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ffc87ab7d9
1. Add STA checks during STA PMF operations 2. Fix WPA2-Ent issue with Open AP 3. Skip WPA-TKIP profile if PMF is required 4. Skip & clear Supplicant PMK Cache with mismatching AP config 5. Use flag ESP32_WIFI_ENABLE_WPA3_SAE to control WPA3 code, disabling it code footprint reduces by 7.7kB in libwpa_supplicant.a 6. Fix handling of multiple AP credentials in WPS, apps need update to handle the new event for the fix to work Closes https://github.com/espressif/esp-idf/issues/5971
34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
# supplicant make file
|
|
|
|
COMPONENT_PRIV_INCLUDEDIRS := src
|
|
COMPONENT_SRCDIRS := port src/ap src/common src/crypto src/eap_peer src/rsn_supp src/tls src/utils src/esp_supplicant src/wps
|
|
COMPONENT_ADD_INCLUDEDIRS := include port/include include/esp_supplicant
|
|
|
|
ifeq ($(CONFIG_WPA_MBEDTLS_CRYPTO), y)
|
|
COMPONENT_OBJEXCLUDE := src/tls/asn1.o \
|
|
src/tls/bignum.o \
|
|
src/tls/pkcs1.o \
|
|
src/tls/pkcs5.o \
|
|
src/tls/pkcs8.o \
|
|
src/tls/rsa.o \
|
|
src/tls/tls_internal.o \
|
|
src/tls/tlsv1_client.o \
|
|
src/tls/tlsv1_client_read.o \
|
|
src/tls/tlsv1_client_write.o \
|
|
src/tls/tlsv1_common.o \
|
|
src/tls/tlsv1_cred.o \
|
|
src/tls/tlsv1_record.o \
|
|
src/tls/tlsv1_server.o \
|
|
src/tls/tlsv1_server_read.o \
|
|
src/tls/tlsv1_server_write.o \
|
|
src/tls/x509v3.o
|
|
else
|
|
COMPONENT_OBJEXCLUDE := src/crypto/tls_mbedtls.o
|
|
endif
|
|
|
|
CFLAGS += -DCONFIG_IEEE80211W -DESP_SUPPLICANT -DIEEE8021X_EAPOL -DEAP_PEER_METHOD -DEAP_TLS -DEAP_TTLS -DEAP_PEAP -DEAP_MSCHAPv2 -DUSE_WPA2_TASK -DCONFIG_WPS2 -DCONFIG_WPS_PIN -DUSE_WPS_TASK -DESPRESSIF_USE -DESP32_WORKAROUND -DCONFIG_ECC -D__ets__ -Wno-strict-aliasing
|
|
|
|
ifdef CONFIG_ESP32_WIFI_ENABLE_WPA3_SAE
|
|
CFLAGS += -DCONFIG_WPA3_SAE
|
|
endif
|