esp_wifi: Add config option for AP retry count

Provide a config option for station to retry with the AP
if connection fails first time.
This commit is contained in:
Kapil Gupta
2022-10-31 21:06:28 +05:30
committed by BOT
parent 1cf1b835aa
commit 52b24918f0
2 changed files with 2 additions and 1 deletions

View File

@@ -265,6 +265,7 @@ typedef struct {
uint32_t owe_enabled:1; /**< Whether OWE is enabled for the connection */
uint32_t reserved:27; /**< Reserved for future feature set */
wifi_sae_pwe_method_t sae_pwe_h2e; /**< Whether SAE hash to element is enabled */
uint8_t failure_retry_cnt; /**< Number of connection retries station will do before moving to next AP. scan_method should be set as WIFI_ALL_CHANNEL_SCAN to use this config. Note: Enabling this may cause connection time to increase incase best AP doesn't behave properly. */
} wifi_sta_config_t;
/** @brief Configuration data for ESP32 AP or STA.