From 862f3bd7bf8f917a43c034e8176649dd9f3b32f6 Mon Sep 17 00:00:00 2001 From: Aditi Date: Tue, 5 Nov 2024 17:36:40 +0530 Subject: [PATCH] fix(esp_wifi): Fix for crash while receiving deauth in esp32c2 ECO4 --- components/esp_rom/esp32c2/ld/esp32c2.rom.eco4.ld | 6 +++--- components/esp_rom/esp32c2/ld/esp32c2.rom.ld | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/esp_rom/esp32c2/ld/esp32c2.rom.eco4.ld b/components/esp_rom/esp32c2/ld/esp32c2.rom.eco4.ld index 4cbcc48493..b1f38aad9c 100644 --- a/components/esp_rom/esp32c2/ld/esp32c2.rom.eco4.ld +++ b/components/esp_rom/esp32c2/ld/esp32c2.rom.eco4.ld @@ -1194,8 +1194,8 @@ ieee80211_output_process = 0x40001fc4; sta_input = 0x40001fcc; ieee80211_classify = 0x40001fe0; ieee80211_crypto_decap = 0x40001ff8; -ieee80211_ccmp_decrypt = 0x4000200c; -ieee80211_ccmp_encrypt = 0x40002010; +//ieee80211_ccmp_decrypt = 0x4000200c; +//ieee80211_ccmp_encrypt = 0x40002010; //ieee80211_send_action_vendor_spec = 0x40002034; ieee80211_send_mgmt = 0x40002038; //ieee80211_auth_construct = 0x4000203c; @@ -1214,7 +1214,7 @@ cnx_coexist_timeout_process = 0x400020ac; ieee80211_add_extcap = 0x400020cc; //ieee80211_alloc_proberesp = 0x400020d8; esp_wifi_80211_tx = 0x400020f8; -ieee80211_crypto_aes_128_cmac_decrypt = 0x40002104; +/* ieee80211_crypto_aes_128_cmac_decrypt = 0x40002104; */ ieee80211_output_do = 0x4000210c; ieee80211_send_nulldata = 0x40002110; //ieee80211_setup_robust_mgmtframe = 0x40002114; diff --git a/components/esp_rom/esp32c2/ld/esp32c2.rom.ld b/components/esp_rom/esp32c2/ld/esp32c2.rom.ld index 2abe48222a..3dbbb8aacd 100644 --- a/components/esp_rom/esp32c2/ld/esp32c2.rom.ld +++ b/components/esp_rom/esp32c2/ld/esp32c2.rom.ld @@ -1834,7 +1834,7 @@ ieee80211_amsdu_length_check = 0x400020ec; ieee80211_encap_amsdu = 0x400020f0; ieee80211_output_raw_process = 0x400020f4; ieee80211_raw_frame_sanity_check = 0x400020fc; -ieee80211_crypto_aes_128_cmac_encrypt = 0x40002100; +//ieee80211_crypto_aes_128_cmac_encrypt = 0x40002100; ieee80211_alloc_tx_buf = 0x40002108; /* ieee80211_output_do = 0x4000210c; */ /* ieee80211_send_nulldata = 0x40002110; */