esp-idf/components/wpa_supplicant
jasta 9325029d87 esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure
This fixes a subtle bug in which ESP_ERR_DPP_TX_FAILURE errors would
call esp_supp_dpp_stop_listen which sets the s_dpp_stop_listening flag
to true.  Subsequent attempts to restart listening with
esp_supp_dpp_start_listen then only attempt to listen once more for
500ms before reading the s_dpp_stop_listening flag again and giving up.

This contributes greatly to #10615, but the fix here is still largely
a work-around as it sometimes requires manually retrying a couple times
before it works.  Without this fix, any number of retries by
deinit/init again will seemingly not work as the retries for currently
unknown reasons.

Signed-off-by: Shreyas Sheth <shreyas.sheth@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/10865
2023-06-12 03:26:10 +00:00
..
esp_supplicant esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure 2023-06-12 03:26:10 +00:00
include/utils wpa_supplicant: Add WPS registrar support for softAP mode 2022-05-24 12:11:53 +05:30
port wpa_supplicant: Run eloop timer in ppTask context 2022-10-31 10:38:01 +05:30
src wpa_supplicant : Fix scan results for GCMP and GCMP-256 cipher. 2023-06-07 10:08:26 +05:30
test Remove -Wno-format in esp_phy, esp_wifi and part of wpa_supplicat components 2023-03-27 17:33:32 +08:00
CMakeLists.txt wpa_supplicant: Move SAE modules into dragonfly files 2022-10-12 14:52:08 +05:30
COPYING wpa_supplicant: replace pre-built crypto library with source code 2016-11-04 14:58:47 +08:00
Kconfig esp_wifi: esp32c2 does not support wapi. 2022-06-20 11:42:12 +08:00
README wpa_supplicant: bypass sonar checks for upstream code 2021-07-22 14:12:22 +08:00
README.md wpa_supplicant: bypass sonar checks for upstream code 2021-07-22 14:12:22 +08:00

'wpa_supplicant'

This component contains the upstream wpa_supplicant ported for ESP family of platforms. The code is tightly coupled with esp_wifi component which has ESP WiFi libraries and header files that are used in ported supplicant.

ESP uses MbedTLS as crypto library therefore MbedTLS component is also required for some features to work(see WPA_MBEDTLS_CRYPTO).

To port it for different OS, esp_wifi and wpa_supplicant should be picked up a whole system(preferably with MbedTLS if we want all features to work.)