From b173349c3bf57533ed0087f4deda51843d84c980 Mon Sep 17 00:00:00 2001 From: muhaidong Date: Tue, 11 Mar 2025 21:24:06 +0800 Subject: [PATCH] fix(wifi): update wifi scan threshold doc --- components/esp_wifi/include/esp_wifi_types_generic.h | 6 +++--- components/esp_wifi/lib | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/esp_wifi/include/esp_wifi_types_generic.h b/components/esp_wifi/include/esp_wifi_types_generic.h index 83b82fd73ae..710d7ca06c9 100644 --- a/components/esp_wifi/include/esp_wifi_types_generic.h +++ b/components/esp_wifi/include/esp_wifi_types_generic.h @@ -359,11 +359,11 @@ typedef enum { } wifi_sort_method_t; /** - * @brief Structure describing parameters for a Wi-Fi fast scan + * @brief Structure describing parameters for Wi-Fi scan during connection */ typedef struct { - int8_t rssi; /**< The minimum rssi to accept in the fast scan mode. Defaults to -127 if set to >= 0 */ - wifi_auth_mode_t authmode; /**< The weakest auth mode to accept in the fast scan mode + int8_t rssi; /**< The minimum rssi to accept in Wi-Fi scan. Defaults to -127 if set to >= 0 */ + wifi_auth_mode_t authmode; /**< The weakest auth mode to accept in Wi-Fi scan Note: In case this value is not set and password is set as per WPA2 standards(password len >= 8), it will be defaulted to WPA2 and device won't connect to deprecated WEP/WPA networks. Please set auth mode threshold as WIFI_AUTH_WEP/WIFI_AUTH_WPA_PSK to connect to WEP/WPA networks */ uint8_t rssi_5g_adjustment; /**< The RSSI value of the 5G AP is within the rssi_5g_adjustment range compared to the 2G AP, the 5G AP will be given priority for connection. */ } wifi_scan_threshold_t; diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index e865741508e..4bc9760929b 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit e865741508e27fe8597bb5ce49262a82d4682ab1 +Subproject commit 4bc9760929bb2bca6a30be1245c45a157893d486