mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
fix(wifi): fix some wifi issues 241031
1. fix cant sleep if reconnect to connected ap 2. clear pmk in internal reconnection 3. update connect status for init-->auth 4. add protection for probe request when wifi band is 5g
This commit is contained in:
parent
ea05f7f647
commit
49b8292f51
@ -1 +1 @@
|
|||||||
Subproject commit 4488e06749ce73a8a58e53fcb0d415ab54b62122
|
Subproject commit cde7c641e30d4ae701c4949f1792e0dea6d2d703
|
@ -144,6 +144,7 @@ struct wpa_funcs {
|
|||||||
void (*wpa_config_done)(void);
|
void (*wpa_config_done)(void);
|
||||||
uint8_t *(*owe_build_dhie)(uint16_t group);
|
uint8_t *(*owe_build_dhie)(uint16_t group);
|
||||||
int (*owe_process_assoc_resp)(const u8 *rsn_ie, size_t rsn_len, const uint8_t *dh_ie, size_t dh_len);
|
int (*owe_process_assoc_resp)(const u8 *rsn_ie, size_t rsn_len, const uint8_t *dh_ie, size_t dh_len);
|
||||||
|
void (*wpa_sta_clear_curr_pmksa)(void);
|
||||||
};
|
};
|
||||||
|
|
||||||
struct wpa2_funcs {
|
struct wpa2_funcs {
|
||||||
|
@ -476,6 +476,7 @@ int esp_supplicant_init(void)
|
|||||||
wpa_cb->wpa_config_bss = NULL;//wpa_config_bss;
|
wpa_cb->wpa_config_bss = NULL;//wpa_config_bss;
|
||||||
wpa_cb->wpa_michael_mic_failure = wpa_michael_mic_failure;
|
wpa_cb->wpa_michael_mic_failure = wpa_michael_mic_failure;
|
||||||
wpa_cb->wpa_config_done = wpa_config_done;
|
wpa_cb->wpa_config_done = wpa_config_done;
|
||||||
|
wpa_cb->wpa_sta_clear_curr_pmksa = wpa_sta_clear_curr_pmksa;
|
||||||
|
|
||||||
esp_wifi_register_wpa3_ap_cb(wpa_cb);
|
esp_wifi_register_wpa3_ap_cb(wpa_cb);
|
||||||
esp_wifi_register_wpa3_cb(wpa_cb);
|
esp_wifi_register_wpa3_cb(wpa_cb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user