mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 10:40:47 +03:00
feat(wpa_supplicant): Add WIFI_EVENT_AP_WRONG_PASSWORD in SoftAP
This event is triggered when external station tries connecting to softAP with wrong password. Currently supported softAP AUTH modes: WPA-PSK, WPA2-PSK and WPA3-PSK (SAE-auth)
This commit is contained in:
committed by
Kapil Gupta
parent
3fca3a1223
commit
716c5731ec
@@ -1019,6 +1019,8 @@ typedef enum {
|
||||
|
||||
WIFI_EVENT_STA_NEIGHBOR_REP, /**< Received Neighbor Report response */
|
||||
|
||||
WIFI_EVENT_AP_WRONG_PASSWORD, /**< a station tried to connect with wrong password */
|
||||
|
||||
WIFI_EVENT_MAX, /**< Invalid Wi-Fi event ID */
|
||||
} wifi_event_t;
|
||||
|
||||
@@ -1313,6 +1315,11 @@ typedef struct {
|
||||
uint16_t report_len; /**< Length of the report*/
|
||||
} wifi_event_neighbor_report_t;
|
||||
|
||||
/** Argument structure for WIFI_EVENT_AP_WRONG_PASSWORD event */
|
||||
typedef struct {
|
||||
uint8_t mac[6]; /**< MAC address of the station trying to connect to Soft-AP */
|
||||
} wifi_event_ap_wrong_password_t;
|
||||
|
||||
/**
|
||||
* @brief Argument structure for wifi_tx_rate_config
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user