mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 17:49:10 -04:00
Merge branch 'bugfix/disable_tsf_tbtt_soc_wakeup_after_wifi_disconnected_v5.1' into 'release/v5.1'
fix(wifi): fix enable psram wapi dhcp fail issue, fix beacon timeout after connected, fix lightsleep failure after disconnected See merge request espressif/esp-idf!26400
This commit is contained in:
commit
78ae4c3b8e
@ -1873,7 +1873,7 @@ ieee80211_ampdu_start_age_timer = 0x40001fb4;
|
||||
ieee80211_encap_esfbuf = 0x40001fb8;
|
||||
ieee80211_is_tx_allowed = 0x40001fbc;
|
||||
ieee80211_output_pending_eb = 0x40001fc0;
|
||||
ieee80211_output_process = 0x40001fc4;
|
||||
/* ieee80211_output_process = 0x40001fc4; */
|
||||
ieee80211_set_tx_desc = 0x40001fc8;
|
||||
/*sta_input = 0x40001fcc;*/
|
||||
wifi_get_macaddr = 0x40001fd0;
|
||||
@ -1944,7 +1944,7 @@ ieee80211_output_raw_process = 0x400020f4;
|
||||
ieee80211_raw_frame_sanity_check = 0x400020fc;
|
||||
ieee80211_crypto_aes_128_cmac_encrypt = 0x40002100;
|
||||
ieee80211_alloc_tx_buf = 0x40002108;
|
||||
ieee80211_output_do = 0x4000210c;
|
||||
/* ieee80211_output_do = 0x4000210c; */
|
||||
/* ieee80211_send_nulldata = 0x40002110; */
|
||||
ieee80211_setup_robust_mgmtframe = 0x40002114;
|
||||
ieee80211_encap_null_data = 0x4000211c;
|
||||
|
@ -1802,7 +1802,7 @@ ieee80211_ampdu_start_age_timer = 0x40001858;
|
||||
/*ieee80211_encap_esfbuf = 0x4000185c;*/
|
||||
ieee80211_is_tx_allowed = 0x40001860;
|
||||
ieee80211_output_pending_eb = 0x40001864;
|
||||
ieee80211_output_process = 0x40001868;
|
||||
/*ieee80211_output_process = 0x40001868;*/
|
||||
ieee80211_set_tx_desc = 0x4000186c;
|
||||
rom_sta_input = 0x40001870;
|
||||
wifi_get_macaddr = 0x40001874;
|
||||
|
@ -36,7 +36,7 @@ ieee80211_ampdu_start_age_timer = 0x40000b84;
|
||||
ieee80211_encap_esfbuf = 0x40000b88;
|
||||
ieee80211_is_tx_allowed = 0x40000b8c;
|
||||
ieee80211_output_pending_eb = 0x40000b90;
|
||||
ieee80211_output_process = 0x40000b94;
|
||||
/*ieee80211_output_process = 0x40000b94;*/
|
||||
ieee80211_set_tx_desc = 0x40000b98;
|
||||
//sta_input = 0x40000b9c;
|
||||
wifi_get_macaddr = 0x40000ba0;
|
||||
|
@ -144,7 +144,7 @@ TRC_PER_IS_GOOD = 0x40000dc0;
|
||||
trc_SetTxAmpduState = 0x40000dc4;
|
||||
trc_tid_isTxAmpduOperational = 0x40000dc8;
|
||||
trcAmpduSetState = 0x40000dcc;
|
||||
wDevCheckBlockError = 0x40000dd0;
|
||||
//wDevCheckBlockError = 0x40000dd0;
|
||||
wDev_AppendRxBlocks = 0x40000dd4;
|
||||
wDev_DiscardFrame = 0x40000dd8;
|
||||
wDev_GetNoiseFloor = 0x40000ddc;
|
||||
|
@ -2119,7 +2119,7 @@ ieee80211_ampdu_start_age_timer = 0x40005a60;
|
||||
/* ieee80211_encap_esfbuf = 0x40005a6c; */
|
||||
ieee80211_is_tx_allowed = 0x40005a78;
|
||||
ieee80211_output_pending_eb = 0x40005a84;
|
||||
ieee80211_output_process = 0x40005a90;
|
||||
/*ieee80211_output_process = 0x40005a90;*/
|
||||
ieee80211_set_tx_desc = 0x40005a9c;
|
||||
/*sta_input = 0x40005aa8;*/
|
||||
wifi_get_macaddr = 0x40005ab4;
|
||||
|
@ -447,7 +447,7 @@ esp_err_t esp_wifi_scan_stop(void);
|
||||
/**
|
||||
* @brief Get number of APs found in last scan
|
||||
*
|
||||
* @param[out] number store number of APIs found in last scan
|
||||
* @param[out] number store number of APs found in last scan
|
||||
*
|
||||
* @attention This API can only be called when the scan is completed, otherwise it may get wrong value.
|
||||
*
|
||||
@ -829,7 +829,7 @@ esp_err_t esp_wifi_get_promiscuous_ctrl_filter(wifi_promiscuous_filter_t *filter
|
||||
* - ESP_ERR_WIFI_MODE: invalid mode
|
||||
* - ESP_ERR_WIFI_PASSWORD: invalid password
|
||||
* - ESP_ERR_WIFI_NVS: WiFi internal NVS error
|
||||
* - others: refer to the erro code in esp_err.h
|
||||
* - others: refer to the error code in esp_err.h
|
||||
*/
|
||||
esp_err_t esp_wifi_set_config(wifi_interface_t interface, wifi_config_t *conf);
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 174341fbe17d6527f25a1c4e936323b6f3e691e2
|
||||
Subproject commit 983a779766850d8e0d6114a9512cfefc11a8aa64
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2018-2023 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@ -234,7 +234,7 @@ static esp_err_t prepare_command1(session_t *session, SessionData *req)
|
||||
ret = mbedtls_aes_setkey_enc(&session->ctx_aes, session->sym_key,
|
||||
sizeof(session->sym_key)*8);
|
||||
if (ret != 0) {
|
||||
ESP_LOGE(TAG, "Failed at mbedtls_aes_setkey_enc with erro code : %d", ret);
|
||||
ESP_LOGE(TAG, "Failed at mbedtls_aes_setkey_enc with error code : %d", ret);
|
||||
free(outbuf);
|
||||
return ESP_FAIL;
|
||||
}
|
||||
@ -243,7 +243,7 @@ static esp_err_t prepare_command1(session_t *session, SessionData *req)
|
||||
&session->nc_off, session->rand,
|
||||
session->stb, session->device_pubkey, outbuf);
|
||||
if (ret != 0) {
|
||||
ESP_LOGE(TAG, "Failed at mbedtls_aes_crypt_ctr with erro code : %d", ret);
|
||||
ESP_LOGE(TAG, "Failed at mbedtls_aes_crypt_ctr with error code : %d", ret);
|
||||
free(outbuf);
|
||||
return ESP_FAIL;
|
||||
}
|
||||
@ -308,7 +308,7 @@ static esp_err_t verify_response1(session_t *session, SessionData *resp)
|
||||
&session->nc_off, session->rand, session->stb,
|
||||
in->sr1->device_verify_data.data, check_buf);
|
||||
if (ret != 0) {
|
||||
ESP_LOGE(TAG, "Failed at mbedtls_aes_crypt_ctr with erro code : %d", ret);
|
||||
ESP_LOGE(TAG, "Failed at mbedtls_aes_crypt_ctr with error code : %d", ret);
|
||||
return ESP_FAIL;
|
||||
}
|
||||
hexdump("Dec Device verifier", check_buf, sizeof(check_buf));
|
||||
|
Loading…
x
Reference in New Issue
Block a user