mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
fix(esp_wifi): Fix issue of station disconnecting immediately when AP RSSI is zero
This commit is contained in:
@@ -1191,7 +1191,8 @@ esp_err_t esp_wifi_statis_dump(uint32_t modules);
|
||||
* @attention If the user wants to receive another WIFI_EVENT_STA_BSS_RSSI_LOW event after receiving one, this API needs to be
|
||||
* called again with an updated/same RSSI threshold.
|
||||
*
|
||||
* @param rssi threshold value in dbm between -100 to 0
|
||||
* @param rssi threshold value in dbm between -100 to 10
|
||||
* Note that in some rare cases where signal strength is very strong, rssi values can be slightly positive.
|
||||
*
|
||||
* @return
|
||||
* - ESP_OK: succeed
|
||||
|
@@ -211,7 +211,7 @@ typedef struct {
|
||||
uint8_t ssid[33]; /**< SSID of AP */
|
||||
uint8_t primary; /**< channel of AP */
|
||||
wifi_second_chan_t second; /**< secondary channel of AP */
|
||||
int8_t rssi; /**< signal strength of AP */
|
||||
int8_t rssi; /**< signal strength of AP. Note that in some rare cases where signal strength is very strong, rssi values can be slightly positive */
|
||||
wifi_auth_mode_t authmode; /**< authmode of AP */
|
||||
wifi_cipher_type_t pairwise_cipher; /**< pairwise cipher of AP */
|
||||
wifi_cipher_type_t group_cipher; /**< group cipher of AP */
|
||||
|
Reference in New Issue
Block a user