mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ae35d70359
This commit add following crypto changes 1. Update current crypto code with upstream supplicant code 2. Add a proper porting layer to use mbedtls APIs for all the crypto operations used by supplicant. Internal crypto will be used when USE_MBEDLTS flag is disabled in supplicant's menuconfig. This commit also removes the clutter in crypto files due to partial porting of some APIs to mbedtls, all the code from those files have been removed and rewritten in a generic way, this is inspired from current upstream code. This also reduces the lib size significantly, supplicant's lib size reduces around ~567kb after this change(NB: lib size doesn't indicate reduction in final bin size).
66 lines
2.5 KiB
Plaintext
66 lines
2.5 KiB
Plaintext
menu "Supplicant"
|
|
|
|
config WPA_MBEDTLS_CRYPTO
|
|
bool "Use MbedTLS crypto APIs"
|
|
default y
|
|
help
|
|
Select this option to use MbedTLS crypto APIs which utilize hardware acceleration.
|
|
|
|
config WPA_WAPI_PSK
|
|
bool "Enable WAPI PSK support"
|
|
default n
|
|
help
|
|
Select this option to enable WAPI-PSK
|
|
which is a Chinese National Standard Encryption for Wireless LANs (GB 15629.11-2003).
|
|
|
|
config WPA_DEBUG_PRINT
|
|
bool "Print debug messages from WPA Supplicant"
|
|
default n
|
|
help
|
|
Select this option to print logging information from WPA supplicant,
|
|
this includes handshake information and key hex dumps depending
|
|
on the project logging level.
|
|
|
|
Enabling this could increase the build size ~60kb
|
|
depending on the project logging level.
|
|
|
|
config WPA_TESTING_OPTIONS
|
|
bool "Add DPP testing code"
|
|
default n
|
|
help
|
|
Select this to enable unity test for DPP.
|
|
|
|
config WPA_WPS_STRICT
|
|
bool "Strictly validate all WPS attributes"
|
|
default n
|
|
help
|
|
Select this option to enable validate each WPS attribute
|
|
rigorously. Disabling this add the workaorunds with various APs.
|
|
Enabling this may cause inter operability issues with some APs.
|
|
|
|
menuconfig WPA_11KV_SUPPORT
|
|
bool "Enable 802.11k, 802.11v APIs handling in supplicant"
|
|
default n
|
|
help
|
|
Select this option to enable 802.11k 802.11v APIs(RRM and BTM support).
|
|
Only APIs which are helpful for network assisted roaming
|
|
are supported for now.
|
|
Enable this option with BTM and RRM enabled in sta config
|
|
to make device ready for network assisted roaming.
|
|
BTM: BSS transition management enables an AP to request a station to transition
|
|
to a specific AP, or to indicate to a station a set of preferred APs.
|
|
RRM: Radio measurements enable STAs to understand the radio environment,
|
|
it enables STAs to observe and gather data on radio link performance
|
|
and on the radio environment. Current implementation adds beacon report,
|
|
link measurement, neighbor report.
|
|
|
|
if WPA_11KV_SUPPORT
|
|
config WPA_SCAN_CACHE
|
|
bool "Keep scan results in cache"
|
|
default n
|
|
help
|
|
Keep scan results in cache, if not enabled, those
|
|
will be flushed immediately.
|
|
endif
|
|
endmenu
|