esp_wifi: report rssi info in wifi event

This commit is contained in:
zhangyanjiao
2022-09-02 19:22:40 +08:00
committed by liuning
parent ed36caabfd
commit a37e3b5271
2 changed files with 2 additions and 1 deletions

View File

@@ -654,6 +654,7 @@ typedef struct {
uint8_t ssid_len; /**< SSID length of disconnected AP */
uint8_t bssid[6]; /**< BSSID of disconnected AP */
uint8_t reason; /**< reason of disconnection */
int8_t rssi; /**< rssi of disconnection */
} wifi_event_sta_disconnected_t;
/** Argument structure for WIFI_EVENT_STA_AUTHMODE_CHANGE event */