mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-09 06:41:02 +02:00
Merge branch 'bugfix/fix_wifi_bugs_241126_v5.1' into 'release/v5.1'
bugfix: fix some wifi issues 241126 v5.1 See merge request espressif/esp-idf!35224
This commit is contained in:
Submodule components/esp_wifi/lib updated: 7443c5639e...d985b57105
@@ -142,6 +142,7 @@ struct wpa_funcs {
|
||||
void (*wpa_config_done)(void);
|
||||
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);
|
||||
void (*wpa_sta_clear_curr_pmksa)(void);
|
||||
};
|
||||
|
||||
struct wpa2_funcs {
|
||||
|
@@ -442,6 +442,7 @@ int esp_supplicant_init(void)
|
||||
wpa_cb->wpa_config_bss = NULL;//wpa_config_bss;
|
||||
wpa_cb->wpa_michael_mic_failure = wpa_michael_mic_failure;
|
||||
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_cb(wpa_cb);
|
||||
|
@@ -1,6 +1,5 @@
|
||||
# SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import logging
|
||||
|
||||
import pexpect
|
||||
@@ -9,7 +8,7 @@ from common_test_methods import get_env_config_variable
|
||||
from pytest_embedded import Dut
|
||||
|
||||
bad_event_str = [
|
||||
'bcn_timout',
|
||||
'bcn_timeout',
|
||||
'm f probe req l',
|
||||
'abort() was called',
|
||||
'Guru Meditation Error',
|
||||
@@ -31,7 +30,7 @@ def _run_test(dut: Dut) -> None:
|
||||
pass
|
||||
|
||||
try:
|
||||
dut.expect(r'got ip: (\d+\.\d+\.\d+\.\d+)[^\d]', timeout=20)
|
||||
dut.expect(r'got ip: (\d+\.\d+\.\d+\.\d+)[^\d]', timeout=30)
|
||||
log_after_got_ip = dut.expect(pexpect.TIMEOUT, timeout=10).decode()
|
||||
if any(s in log_after_got_ip for s in bad_event_str):
|
||||
logging.info('Abnormal connection log:')
|
||||
|
Reference in New Issue
Block a user