Merge branch 'bugfix/fix_wifi_bugs_241206_v5.0' into 'release/v5.0'

bugfix: fix some wifi bugs 241206 v5.0

See merge request espressif/esp-idf!35481
This commit is contained in:
Jiang Jiang Jian
2024-12-09 15:28:46 +08:00
6 changed files with 6 additions and 4 deletions

View File

@@ -633,7 +633,7 @@ ppGetTxframe = 0x40001bf8;
ppMapTxQueue = 0x40001bfc; ppMapTxQueue = 0x40001bfc;
ppProcTxSecFrame = 0x40001c00; ppProcTxSecFrame = 0x40001c00;
ppProcessRxPktHdr = 0x40001c04; ppProcessRxPktHdr = 0x40001c04;
ppProcessTxQ = 0x40001c08; /*ppProcessTxQ = 0x40001c08;*/
ppRecordBarRRC = 0x40001c0c; ppRecordBarRRC = 0x40001c0c;
lmacRequestTxopQueue = 0x40001c10; lmacRequestTxopQueue = 0x40001c10;
lmacReleaseTxopQueue = 0x40001c14; lmacReleaseTxopQueue = 0x40001c14;

View File

@@ -745,7 +745,7 @@ ppEnqueueTxDone = 0x400016cc;
ppGetTxQFirstAvail_Locked = 0x400016d0; ppGetTxQFirstAvail_Locked = 0x400016d0;
ppGetTxframe = 0x400016d4; ppGetTxframe = 0x400016d4;
ppProcessRxPktHdr = 0x400016e0; ppProcessRxPktHdr = 0x400016e0;
ppProcessTxQ = 0x400016e4; /*ppProcessTxQ = 0x400016e4;*/
ppRecordBarRRC = 0x400016e8; ppRecordBarRRC = 0x400016e8;
lmacRequestTxopQueue = 0x400016ec; lmacRequestTxopQueue = 0x400016ec;
lmacReleaseTxopQueue = 0x400016f0; lmacReleaseTxopQueue = 0x400016f0;

View File

@@ -1023,7 +1023,7 @@ ppGetTxQFirstAvail_Locked = 0x400055b0;
ppGetTxframe = 0x400055bc; ppGetTxframe = 0x400055bc;
/*ppMapTxQueue = 0x400055c8;*/ /*ppMapTxQueue = 0x400055c8;*/
ppProcessRxPktHdr = 0x400055e0; ppProcessRxPktHdr = 0x400055e0;
ppProcessTxQ = 0x400055ec; /*ppProcessTxQ = 0x400055ec;*/
ppRecordBarRRC = 0x400055f8; ppRecordBarRRC = 0x400055f8;
lmacRequestTxopQueue = 0x40005604; lmacRequestTxopQueue = 0x40005604;
lmacReleaseTxopQueue = 0x40005610; lmacReleaseTxopQueue = 0x40005610;

View File

@@ -141,6 +141,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 {

View File

@@ -379,6 +379,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_cb(wpa_cb); esp_wifi_register_wpa3_cb(wpa_cb);
#ifdef CONFIG_OWE_STA #ifdef CONFIG_OWE_STA