Wykres commitów

15802 Commity (5c2142eedbf181eb2ebfe7b4e670b485da556f61)

Autor SHA1 Wiadomość Data
zhanghaipeng b06db3565a fix(bt): Fix bugs about updating connect param 2023-09-05 20:29:03 +08:00
zhanghaipeng eb449b401a fix(bt): Fix bug while calculating block cipher using aes-128 2023-09-05 20:29:03 +08:00
zhanghaipeng 76e4e6601d docs(bt): Update comment in ble 2023-09-05 20:29:03 +08:00
zhanghaipeng 571e6f0580 feat(bt/bluedroid): Support periodic adv adi feature 2023-09-05 20:29:03 +08:00
chenjianhua 4dd50e9f34 fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting 2023-09-05 20:29:03 +08:00
chenjianhua a5da0ebd0c fix(bt/bluedroid): Fixed GATTC cache address save when list is full 2023-09-05 20:29:03 +08:00
chenjianhua 0b3ea0fcde feat(bt/bluedroid): Support high duty adv interval setting 2023-09-05 20:29:03 +08:00
chenjianhua 30609ba7f0 fix(bt/bluedroid): Fix address check when using NRPA as random device address 2023-09-05 20:29:03 +08:00
alanmaxwell e2782777a7 fix(phy): backport some phy fix
1. Fix WiFi not working with Tsens on ESP32S2
2. WIFI RX multipath optimization for all chips
3. BLE TX sideband optimization for C3/S3
4. Optimize ht40 tx side band issue for esp32
2023-09-05 11:21:16 +00:00
Michael (XIAO Xufeng) 56bd34a980 Merge branch 'fix/spi_polling_api_buslock_logic_v4.4' into 'release/v4.4'
fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed (v4.4)

See merge request espressif/esp-idf!25699
2023-09-05 17:19:04 +08:00
Rahul Tank 183eab756b fix(nimble): add flag to indicate 5.0 feature support 2023-09-05 11:21:22 +05:30
Armando b282c244cb DMA EOF may happens per multiple dma descriptors, instead of only one.
Closes https://github.com/espressif/esp-idf/pull/11500
2023-09-05 11:18:56 +08:00
Armando 85ce6abdec Fix #10804 by running continuous ADC DMA in endless loop instead of restarting after each run (descriptor chain) to avoid losing samples. Use descriptor error callback for GDMA to check for DMA buffer overrun. 2023-09-05 11:18:56 +08:00
Armando 91da3bcdc1 adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue 2023-09-05 11:18:52 +08:00
Jiang Jiang Jian 7588771b52 Merge branch 'bugfix/sdmmc_host_cclk_lp_v4.4' into 'release/v4.4'
sdmmc: keep clock enabled for the duration of ACMD41 (v4.4)

See merge request espressif/esp-idf!24335
2023-09-05 11:17:35 +08:00
Shyamal Khachane de293fbab7 fix(esp_wifi): Skip PMK cache usage if configured password is incorrect 2023-09-04 10:43:28 +05:30
Cao Sen Miao e2eb773c30 fix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly,
Closes https://github.com/espressif/esp-idf/issues/12119,
Closes https://github.com/espressif/esp-idf/pull/11344,
Closes https://github.com/espressif/esp-idf/issues/9318
Closes https://github.com/espressif/esp-idf/issues/11192
2023-09-04 11:56:00 +08:00
Cao Sen Miao 8ce60fa50a bugfix(temperature_sensor): Fix issue that get the value is negative 2023-09-04 10:42:34 +08:00
Jiang Jiang Jian 93cb3d626d Merge branch 'bugfix/fix_pmf_set_race_v4.4' into 'release/v4.4'
fix(wifi): Prevent PMF config overwritten by tx_cb

See merge request espressif/esp-idf!25666
2023-09-04 10:33:21 +08:00
wanlei b445b103c7 fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed
Close https://github.com/espressif/esp-idf/issues/11845
2023-09-01 17:25:38 +08:00
Rahul Tank d89b1e45fa Merge branch 'feat/add_high_duty_adv_interval_v4.4' into 'release/v4.4'
feat(nimble): Added support for high duty adv interval (v4.4)

See merge request espressif/esp-idf!25555
2023-09-01 15:02:24 +08:00
Cao Sen Miao f0ca580c80 temperature_sensor: Apply new-shared interface in temperature sensor driver 2023-09-01 11:03:37 +08:00
Jiang Jiang Jian 2183fbc046 Merge branch 'feature/unicore_bootloader_can_run_multicore_app_v4.4' into 'release/v4.4'
esp_system: Fix case when multicore app can not be run if bootloader is unicore (v4.4)

See merge request espressif/esp-idf!23029
2023-09-01 10:18:49 +08:00
Cao Sen Miao 6bb129620f temperature_sensor: Add new interface and reference counts so that phy and driver can use together 2023-09-01 10:06:31 +08:00
wanglai@espressif.com 08be89bd3e fix(bt/avdtp): Reject SET CONFIGURATION command with error code INVALID_CODEC_TYPE
1: reset p_scb->avdt_handle in cleanup function.
2: cancel comparing p_scb->codec_type and p_scb->seps[xx].codec_type to
   send the error INVALID_CODEC_TYPE.
2023-08-31 19:49:38 +08:00
Shreyas Sheth 4a80dc0123 fix(wifi): Prevent PMF config overwritten by tx_cb 2023-08-31 10:34:03 +05:30
Jiang Jiang Jian 77a8a3fd00 Merge branch 'bugfix/supplicant_osi_violation_v4.4' into 'release/v4.4'
Fix abstraction violation in wpa_supplicant (Backport v4.4)

See merge request espressif/esp-idf!25567
2023-08-30 11:53:24 +08:00
Jiang Jiang Jian 8ec3b606ca Merge branch 'bugfix/fix_no_mac_retention_at_wifi_start_v4.4' into 'release/v4.4'
fix(esp_wifi): fix no mac retention at wifi start

See merge request espressif/esp-idf!25519
2023-08-30 10:57:35 +08:00
Nachiket Kukade 46a4a4694b fix(supplicant): Fix abstraction violation in wpa_supplicant 2023-08-25 12:36:00 +05:30
Rahul Tank 13afbeb7cb feat(nimble): Added support for high duty adv interval 2023-08-25 10:36:31 +05:30
Rahul Tank bd5f10b1fd Merge branch 'bugfix/remove_global_min_max_def_v4.4' into 'release/v4.4'
Nimble: Removes global min/max definition causing problems with other libraries(v4.4)

See merge request espressif/esp-idf!25472
2023-08-25 01:17:12 +08:00
liuning a844799d82 fix(esp_wifi): fix no mac retention at wifi start 2023-08-24 10:17:13 +08:00
Jiang Jiang Jian b9e8e0ef4e Merge branch 'bugfix/ignore_eapol_nonkey_v4.4' into 'release/v4.4'
Ignore EAPOL non-key frames in EAPOL txdone callback (Backport v4.4)

See merge request espressif/esp-idf!25454
2023-08-23 16:38:53 +08:00
Rahul Tank 6d6a0eddc9 fix(nimble): Removed global min/max definition causing problems with other libraries 2023-08-23 11:15:50 +05:30
Jiang Jiang Jian 37cf841a12 Merge branch 'bugfix/incr_sdp_max_conns_v4.4' into 'release/v4.4'
fix(bt): Increased SDP maximum connections to avoid connection exhausted (v4.4)

See merge request espressif/esp-idf!25431
2023-08-23 12:15:37 +08:00
Jiang Jiang Jian 0f775fa566 Merge branch 'bugfix/action_tx_sleep_fix_v44' into 'release/v4.4'
Fix issues with action_frame tx and scan(v4.4)

See merge request espressif/esp-idf!25449
2023-08-23 12:15:28 +08:00
Darian Leung 5cb212665a soc: Move revision MAX/MIN static assert to esp_hw_support
Previously, "soc/chip_revision.h" contained a static assert to check that the
CONFIG_ESP_REV_MIN_FULL <= CONFIG_ESP_REV_MAX_FULL. There are two issues with
this assert:

- Contained in a header file, so it is only compiled if the "chip_revision.h"
is included somewhere
- CONFIG_ESP_REV_MIN_FULL and CONFIG_ESP_REV_MAX_FULL are defined in
"esp_hw_support", which is a G0 component. This creates a reverse dependency
of G0 on G1.

This commit moves the static assert "revision.c" in "esp_hw_support"
2023-08-22 16:07:09 +08:00
Darian Leung 60e42f30c4 usb_host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips 2023-08-22 15:43:39 +08:00
Mahavir Jain 08ae96d72f Merge branch 'contrib/github_pr_11869_v4.4' into 'release/v4.4'
bugfix: avoid warning in espcoredump when log disabled (GitHub PR) (v4.4)

See merge request espressif/esp-idf!25145
2023-08-22 13:33:10 +08:00
Nachiket Kukade 29d9e6f01a fix(supplicant): Ignore EAPOL non-key frames in EAPOL txdone callback 2023-08-21 18:46:27 +05:30
jgujarathi b53b835754 fix(esp_wifi) : Fix issues with action_frame tx and scan
1. Moves the location of null data frame TX to before channel switch during
   offchannel action frame TX req.
2. Reverts Send wake up and sleep null between scanning.
2023-08-21 16:43:14 +05:30
Jiang Jiang Jian 0cadcd1210 Merge branch 'bugfix/fix_espnow_set_lr_rate_fail_v4.4' into 'release/v4.4'
fix(wifi/vendor): fix some bugs in LR and ESP-NOW (backport v4.4)

See merge request espressif/esp-idf!25407
2023-08-21 15:21:33 +08:00
Aditya Patwardhan ab260561ab Merge branch 'bugfix/sha_dma_mode_incorrect_result_v4.4' into 'release/v4.4'
fix(sha): DMA mode iteration calculation issue for certain data lengths (v4.4)

See merge request espressif/esp-idf!25129
2023-08-21 14:33:44 +08:00
Jiang Jiang Jian 486c571ed7 Merge branch 'bugfix/place_esp_timer_in_internal_memory' into 'release/v4.4'
ci: Fix for `ETSTimers arm & disarm run from IRAM` UT

See merge request espressif/esp-idf!25366
2023-08-21 14:27:34 +08:00
Jin Cheng 83f6cc60bc fix(bt): Increased SDP maximum connections to avoid connection exhausted 2023-08-21 11:23:20 +08:00
Jiang Jiang Jian d8484f00db Merge branch 'bugfix/neighbour_report_crash_v44' into 'release/v4.4'
fix(rrm)  : Fix crash in RRM neighbour report requests.

See merge request espressif/esp-idf!25410
2023-08-21 11:15:31 +08:00
Planck (Lu Zeyu) 21c0223f74 fix(intr_flags_to_level): fix value returned one more than correct value 2023-08-21 10:09:11 +08:00
Mahavir Jain a49e0180ee Merge branch 'feature/update_mbedlts_v2.28.4' into 'release/v4.4'
feat(mbedtls): Update to release v2.28.4

See merge request espressif/esp-idf!25385
2023-08-18 15:33:19 +08:00
jgujarathi 8084fe563a fix(rrm) : Fix crash in RRM neighbour report requests.
Fix crash in sending new RRM neighbour report requests by removing
the call to neighbour report request timeout callback in case of
already ongoing neighbour report request timer.
2023-08-18 12:59:33 +05:30
zhangyanjiao fd4b3768d1 fix(wifi/vendor): fix some bugs in LR and ESP-NOW
1. Fix the LR rate set fail for espnow and 80211 tx
2. Fixed the RX error when softAP/station and ESP-NOW both encrypted,
   and the ESP-NOW peer address is equal to the connection peer address
2023-08-18 15:08:21 +08:00
Harshit Malpani c112914dac
feat(mbedtls): Update to release v2.28.4 2023-08-17 10:37:19 +05:30
Nachiket Kukade debcbac7c1 fix(wifi): Fix EAPOL Key TxDone callback implementation
Fix issues arising due to not distinguishing between M2 and M4
TxDone during 4-way handshake. Also fix EAPOL frame rate to lowest
possible rate.
2023-08-16 21:15:04 +05:30
Laukik Hase 4800e9b3c4 ci: Fix for `ETSTimers arm & disarm run from IRAM` UT
- For ESP32 | SPIRAM_MALLOC_ALWAYSINTERNAL=0
- Forced `esp_timer_create` to allocate resource from the internal memory
- WiFi/BT coexistence will sometimes arm/disarm timers from an ISR
  where flash may be disabled. This can lead to a cache-based
  exception as the timer instance will be located in the PSRAM.
2023-08-16 11:13:39 +08:00
Jiang Jiang Jian 8c1e87e0c8 Merge branch 'backport_v4.4' into 'release/v4.4'
fix(bt): Fix ble periodic advertising data length 0 error(backport v4.4)

See merge request espressif/esp-idf!25008
2023-08-16 10:16:14 +08:00
Jiang Jiang Jian ba29708f3e Merge branch 'bugfix/fix_ftm_error_propagation_v4.4' into 'release/v4.4'
Fix error propagation while initiating FTM (Backport v4.4)

See merge request espressif/esp-idf!25219
2023-08-15 14:00:10 +08:00
Jiang Jiang Jian 9632511b8a Merge branch 'bugfix/minor_enterprise_fixes_v4.4' into 'release/v4.4'
Drop Eapol msg if EAP success is not processed (Backport v4.4)

See merge request espressif/esp-idf!25068
2023-08-15 11:06:20 +08:00
Wang Meng Yang d1f93778d4 Merge branch 'bugfix/remove_deprecated_err_code_v4.4' into 'release/v4.4'
fix(bt): Removed an incorrectly defined HCI error code (4.4)

See merge request espressif/esp-idf!25290
2023-08-14 15:09:42 +08:00
Rahul Tank 48e28cf3cf Merge branch 'bugix/nimble_port_run_crash_v4.4' into 'release/v4.4'
fix(nimble): Added checks before accessing event pointers (v4.4)

See merge request espressif/esp-idf!25268
2023-08-09 22:59:02 +08:00
Jin Cheng b48eb195b8 fix(bt): Removed an incorrectly defined HCI error code 2023-08-09 17:38:37 +08:00
Roland Dobai 41b695a991 Merge branch 'bugfix/link_gcov_rtio_v4.4' into 'release/v4.4'
gcov: Fix not linked gcov rtio functions

See merge request espressif/esp-idf!24503
2023-08-09 00:14:02 +08:00
Roland Dobai 8aa1395db5 Merge branch 'fix/esp32s3_sysview_trace_corrupt_v4.4' into 'release/v4.4'
fix(app_trace): Fix apptrace data corruption on ESP32-S3 (v4.4)

See merge request espressif/esp-idf!24682
2023-08-09 00:06:00 +08:00
Roland Dobai 550e7db1f1 Merge branch 'bugfix/fix_idrom_bus_mapping_overlap_issue_v4.4' into 'release/v4.4'
fix(esptool): fix potential text/rodata overlap mapping issue on I/DBUS shares mmu entry chips (backport v4.4)

See merge request espressif/esp-idf!25195
2023-08-08 22:08:36 +08:00
isha.pardikar@espressif.com 863fd0c9b7 fix(nimble): Added checks before accessing event pointers 2023-08-08 15:55:08 +05:30
morris 6c1182facd fix(i80_lcd): reset cs gpio on exit 2023-08-07 15:54:31 +08:00
Wang Meng Yang 9e987ea312 Merge branch 'bugfix/role_switch_enc_mode_lmp_timeout_v4.4' into 'release/v4.4'
fix(bt/controller): Fix disconnection due to lmp messages not being processed by both sides(v4.4)

See merge request espressif/esp-idf!25204
2023-08-07 10:50:16 +08:00
Nachiket Kukade b2fa416db4 fix(wifi): Fix error propagation while initiating FTM 2023-08-04 15:34:20 +05:30
xiongweichao c372c48439 fix(bt/controller): Fix disconnection due to lmp messages not being processed by both sides
The master sent lmp_enc_mode_req, and the slave sent lmp_switch_req.
However, both sides failed to handle the LMP message, resulting in LMP timeout.
2023-08-04 11:07:41 +08:00
wuzhenghui 96a014f31d fix(esptool): fix potential text/rodata mapping overlap issue on I/DBUS shares mmu entry chips 2023-08-03 22:18:52 +08:00
Rahul Tank 190e4dee28 fix (nimble): Add check to set length only if data is valid in periodic adv 2023-08-03 14:51:30 +05:30
Jiang Jiang Jian 6b27c05de0 Merge branch 'bugfix/fix_cache_data_mem_corrupt_after_sleep_v4.4' into 'release/v4.4'
fix(lightsleep): Suspend cache before goto sleep to avoid cache load wrong data (backport v4.4)

See merge request espressif/esp-idf!25104
2023-08-03 11:41:31 +08:00
Jiang Jiang Jian 8a38bc2fed Merge branch 'change/rewrite_all_low_to_any_low_when_not_esp32_4.4' into 'release/v4.4'
Change: rewrite EXT1 triggle mode all_low to any_low when not esp32(backport v4.4)

See merge request espressif/esp-idf!24989
2023-08-03 11:40:24 +08:00
Christoph Baechler e74f83c099
bugfix: avoid warning in espcoredump when log disabled 2023-08-02 15:04:47 +05:30
Mahavir Jain 847722e21c
ci(test): add SHA DMA mode test for large data in PSRAM
Covers a test scenario described in following issue:
https://github.com/espressif/esp-idf/issues/11915
2023-08-02 10:19:31 +05:30
Mahavir Jain 2aa5963bbd
fix(sha): DMA mode iteration calculation issue for certain data lengths
SHA hardware DMA mode calculation had off-by-one error for specific
input lengths. This was causing last chunk of the input data not being
fed to the hardware accelerator and hence resulting in an incorrect
final result.

Closes: https://github.com/espressif/esp-idf/issues/11915
2023-08-02 10:18:12 +05:30
wuzhenghui 2df2c1cc46 fix(lightsleep): fix access pu_cfg after sleep wake wakeup which is linked to flash 2023-08-01 16:42:59 +08:00
wuzhenghui ae0824684c fix(lightsleep): suspend cache before goto sleep to avoid cache load wrong data after spi io isolation 2023-08-01 10:39:07 +08:00
Alexey Gerenkov 865f7d6289 fix(app_trace): Fix apptrace data corruption on ESP32-S3
Close https://github.com/espressif/esp-idf/issues/10604
diff --git a/components/soc/esp32s3/include/soc/tracemem_config.h b/components/soc/esp32s3/include/soc/tracemem_config.h
index 55c9b907dd..75fd87419b 100644
--- a/components/soc/esp32s3/include/soc/tracemem_config.h
+++ b/components/soc/esp32s3/include/soc/tracemem_config.h
@@ -10,7 +10,7 @@ extern "C" {
 #endif

 #define TRACEMEM_MUX_BLK0_NUM                   22
-#define TRACEMEM_MUX_BLK1_NUM                   23
+#define TRACEMEM_MUX_BLK1_NUM                   26

 #if (TRACEMEM_MUX_BLK0_NUM < 6) || (TRACEMEM_MUX_BLK0_NUM > 29)
 #error Invalid TRAX block 0 num!
2023-07-31 11:23:42 +03:00
Shyamal Khachane 78f230f1b0 fix(esp_wifi): Drop Eapol msg if EAP success is not processed 2023-07-28 15:19:31 +05:30
Jiang Jiang Jian 949739c9b7 Merge branch 'bugfix/fix_wifi_espnow_coexist_API_doc_v4.4' into 'release/v4.4'
fix(esp_wifi): fix ret when setting channel at wifi not started

See merge request espressif/esp-idf!25018
2023-07-28 16:39:39 +08:00
morris f1d3f04afd Merge branch 'bugfix/bod_glitch_reset_c6_v4.4' into 'release/v4.4'
bootloader: fix BOD and glitch reset on C6 and H2 (v4.4)

See merge request espressif/esp-idf!24936
2023-07-28 10:30:29 +08:00
liuning a9559e17ac fix(esp_wifi): fix ret when setting channel at wifi not started 2023-07-27 10:43:11 +08:00
zhanghaipeng abd4778195 fix(bt): Fix bug with address resolution enabling during non-connected activities 2023-07-26 16:39:34 +08:00
zhanghaipeng 8e632e84a1 docs(bt): Organize header files for esp32c3 and esp32s3 2023-07-26 16:39:34 +08:00
zhanghaipeng f25afd6afe fix(bt): Fix ble periodic advertising data length 0 error
- Fixed issues about data length 0 when set ext adv data,ext scan rsp data and periodic adv data
2023-07-26 16:39:34 +08:00
xueyunfei 6a1ded6302 fix(dhcp server): Fix dhcp server address pool issue 2023-07-26 12:48:20 +08:00
xueyunfei 9a942e6a1b Backport some lwip bugs for 4.4
* Update submodule: git log --oneline 8290c3b8f2adaf82aa45ec992b87f16205f2689b..4f24c9baf9101634b7c690802f424b197b3bb685

Detailed description of the changes:
- lower the dhcp discover and request retry backoff time (esp-lwip@4f24c9ba)
- netdb:fixed bug for getaddrinfo returns null when IPV4 mapped address (esp-lwip@a4d70c7e)
2023-07-26 12:42:57 +08:00
xueyunfei f4941be709 esp_phy:update comments in esp_phy_init.h 2023-07-26 11:58:11 +08:00
Lou Tianhao 7aa3079e2a Change: rewrite EXT1 triggle mode all_low to any_low when not esp32 2023-07-25 17:52:09 +08:00
muhaidong 911653fffb fix(wifi): fix some wifi bugs 230725
1. update pairwise cipher in softAP
2. overwrite pairwise cipher when softap auth mode is wpa2 wpa2_wpa3 wpa3
3. fix single tail queue conjunct issue
4. fix some txop issues
5. process association request verify ssid
6. fix sta rx csa issue
7. fix ftm timer macro issue
2023-07-25 13:01:48 +08:00
muhaidong f563e19e92 fix(wifi): missed annotate ld function from txop fix 2023-07-25 12:54:20 +08:00
muhaidong 91d4132f4c esp_wifi: fix some txop issues 2023-07-25 12:52:42 +08:00
muhaidong fe74683489 esp_supplicant: When the softAP authentication mode is set to WPA2_PSK, WPA2_WPA3_PSK, or WPA3_PSK, the pairwise cipher will be overwritten with WIFI_CIPHER_TYPE_CCMP 2023-07-25 12:48:46 +08:00
morris cc484c59c8 Merge branch 'bugfix/fix_gpio_driver_calloc_v4.4' into 'release/v4.4'
fix(gpio): fix potential crash when processing gpio isr (v4.4)

See merge request espressif/esp-idf!24903
2023-07-25 11:03:29 +08:00
Jiang Jiang Jian 3b570fd9cd Merge branch 'bugfix/sae_and_nvs_fixes_v4.4' into 'release/v4.4'
Fix SAE and SAE related NVS issues (Backport v4.4)

See merge request espressif/esp-idf!24926
2023-07-25 10:25:29 +08:00
Jiang Jiang Jian 2985657544 Merge branch 'bugfix/cache_writeback_bug_v4.4' into 'release/v4.4'
esp_rom: patch Cache_WriteBack_Addr (backport v4.4)

See merge request espressif/esp-idf!24939
2023-07-24 19:33:07 +08:00
Shyamal Khachane 5708e53f3e fix(wifi): Fix SAE and SAE related NVS issues
1. Discard commit frame received at confirmed state in SAE STA
2. Bugfix NVS get values for sae pwe
3. Bugfix memory leak caused by assoc retry timer and assoc IE
2023-07-24 15:34:41 +05:30
Rahul Tank 8d35a4750c Merge branch 'bugfix/handle_conn_type_and_array_reset_v4.4' into 'release/v4.4'
fix(nimble): Update connection type in reattempt connection code (v4.4)

See merge request espressif/esp-idf!24917
2023-07-24 12:23:52 +08:00
gaoxiaojie f093dcc9cb fix(cache): add lock to protect cache sync operation 2023-07-24 10:45:00 +08:00
gaoxiaojie 25603522e8 fix(esp32s3): patch Cache_WriteBack_Addr api
Need to ensure that the cacheline being written back will not be
accessed during the write back process.
2023-07-24 10:45:00 +08:00
Jiang Jiang Jian ec07e2e1aa Merge branch 'bugfix/fix_ftm_dist_est_v4.4' into 'release/v4.4'
FTM calibration update and improvements in FTM (Backport v4.4)

See merge request espressif/esp-idf!24930
2023-07-21 19:28:23 +08:00
Mahavir Jain 25437efec2 Merge branch 'fix/esp_aes_return_values_v4.4' into 'release/v4.4'
fix(mbedtls): fix return values of esp-aes APIs (v4.4)

See merge request espressif/esp-idf!24807
2023-07-21 16:49:13 +08:00
Nachiket Kukade fb64c24785 fix(esp_wifi): Update FTM calibration and fix other FTM issues
Update wifi libs with below fixes -

1. Bugfixes in Initiator and Responder mode
2. Fix wrong RTT value in first FTM procedure without connection
3. Update FTM calibration values for ESP32S2, S3 and C3
4. Update distance estimation logic
5. Add some useful command parameters in FTM example
6. Fix bug when number of FTM measurement frames received is more
   than (number_of_brusts * FTMs per brust).

Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com>
2023-07-21 10:08:18 +05:30
Xiao Xufeng 39510e7488 bootloader: cleanup ana reset config code 2023-07-21 03:12:53 +08:00
Xiao Xufeng 2ed2e7e191 bootloader: fixed super watchdog not enabled issue on C3, S3, H4 2023-07-21 03:12:52 +08:00
Xiao Xufeng 2cdb3b87d6 bootloader: removed unavailable rtc features 2023-07-21 03:12:52 +08:00
harshal.patil ae3026a60b fix(mbedtls): Fixed the transmission of return values of the esp-aes APIs
- Earlier, some intermediate return values were not stored and returned,
thus incorrect return values used to get transmitted to the upper layer of APIs.

- Also, zeroised the output buffer in case of error condition.
2023-07-20 18:54:37 +05:30
Rahul Tank dd0a5c0c26 fix(nimble): Update connection type in reattempt connection code
Added change to set connection type correctly and clear array when it is
    full in reattempt connection flow
2023-07-20 09:40:24 +05:30
zhangyanjiao a803c50427 fix(wifi): Add bugfixes and improvements
1. Update wifi security mode
2. Add check for memory allocation in tx buffers
3. Fix association refused temporarily comeback time set to zero issue
4. Vnd ie callback can be set to null
2023-07-20 10:26:48 +08:00
Li Shuai 6900837cff Wi-Fi/power save: fix the some mac issues of wifi power save
Some APs are configured to hide the SSID, the length field of the SSID element
in the Beacon frame is set to 0. This can cause incorrect parsing of the Beacon
by the Wi-Fi MAC hardware.

Some APs send two beacon frames with different BSSID in a TBTT cycle. After
correctly parsing the beacon of the associated AP, it continue to receive the
other beacon frame, which will cause the MAC to remain in a wait RX/TXING
state, blocking the Wi-Fi go to sleep.
2023-07-20 10:26:48 +08:00
david zuhn c16095d7bb spelling correction in documentation
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/9721
2023-07-20 10:26:48 +08:00
zhangyanjiao d829f2485e feat(wifi): Add API to get RSSI info after station connects to AP
- Add esp_wifi_sta_get_rssi() function to retrieve RSSI info after station connects to AP
2023-07-20 10:26:43 +08:00
Song Ruo Jing 8e3f509cd2 fix(gpio): fix potential crash when processing gpio isr
If CONFIG_SPIRAM_USE_MALLOC is enabled, and cache is disabled when GPIO ISR is triggered,
it would lead to Guru Meditation Error due to "Cache disabled but cached memory region accessed".

Closes https://github.com/espressif/esp-idf/issues/11876
2023-07-19 20:02:13 +08:00
jgujarathi 9168b925d4 fix(esp_wifi) : Fix collection of issues in sta roam and scan.
1) Fix issue during split scan to allow for data tx.
2) Fix issue when parsing wpa_ie to set correct authmode when AP
supports both WPA_EAP and WPA_EAP_SHA256 authmode.
Closes https://github.com/espressif/esp-idf/issues/11202
3) Fix an occasional crash during sta roam.
4) Add home_channel_dwell_time to wifi_scan_config_t. This allows
configuration of the time spent between scanning consecutive
channels for tx.
5) Adds a obss scan timer disarm when a sta disconnects from an AP
2023-07-19 10:46:43 +05:30
Jiang Jiang Jian 208c0feea3 Merge branch 'bugfix/wifi_prov_deinit_github_v4.4' into 'release/v4.4'
wifi_prov_mgr: Fixed memory leak after bluetooth stack was stopping. (v4.4)

See merge request espressif/esp-idf!23438
2023-07-19 10:12:49 +08:00
Ivan Grokhotkov e246071d6d
sdmmc: keep clock enabled for the duration of ACMD41
SD specification requires that card clock is not disabled until the
card is idle, following ACMD41 command.
2023-07-18 18:17:48 +02:00
chenjianhua b2325e50bb fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection 2023-07-18 11:53:24 +08:00
chenjianhua bddb13efb2 bluedroid: fixed gatt tcb free when disconnecting 2023-07-18 11:53:14 +08:00
chenjianhua 2101438df6 bluedroid: fixed compile warning when optimize for performance 2023-07-18 11:52:49 +08:00
Jiang Jiang Jian 922af41ba0 Merge branch 'backport_v4.4' into 'release/v4.4'
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32(backport v4.4)

See merge request espressif/esp-idf!24778
2023-07-18 10:47:53 +08:00
Jiang Jiang Jian 558398f234 Merge branch 'bugfix/multiple_btm_rrm_task_v44' into 'release/v4.4'
Fix race conditions in btm task deletion.(v4.4)

See merge request espressif/esp-idf!24831
2023-07-18 10:47:11 +08:00
wangmengyang 1e1c46b2f7 bt-coexist: fix the issue for BLE scan in using whitelist that scan PTI keeps high and not resumes after reception of ADV_EXT_IND but no AUX_ADV_IND followed on ESP32-C3 and ESP32-S3, which causes Wi-Fi unable to work normally 2023-07-17 06:17:18 +00:00
isha.pardikar@espressif.com 29ff30b4c7 wifi_prov_mgr: Fixed memory leak after bluetooth stack was stopping. 2023-07-17 06:05:36 +00:00
jgujarathi 9ea42c66d0 fix(esp_wifi): Fix race conditions in btm task deletion.
Fix possible cases of multiple btm_rrm_t tasks due to possible race
condition during btm task deletion.
2023-07-17 10:17:00 +05:30
Jiang Jiang Jian ed8033ca79 Merge branch 'bugfix/sae_crypto_optimization_esp32_v4.4' into 'release/v4.4'
esp_wifi: Optimize sae crypto operations for esp32 (v4.4)

See merge request espressif/esp-idf!24762
2023-07-17 10:31:36 +08:00
zhanghaipeng 05faa8f213 fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32
- Add a log statement to print the Bluetooth MAC address
2023-07-13 16:42:06 +08:00
zhanghaipeng 688c7b41ec fix(bt): Fix ble advertising data length 0 error
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-07-13 16:42:06 +08:00
morris 703e116225 Merge branch 'bugfix/fix_s3_adc1_wrong_clk_div_v4.4' into 'release/v4.4'
fix(adc): fixed esp32, esp32s2,esp32s3 adc oneshot mode clk div issue (v4.4)

See merge request espressif/esp-idf!24745
2023-07-13 15:48:39 +08:00
Kapil Gupta 9e7b55ac99 esp_wifi: Optimize sae crypto operations for esp32 2023-07-13 09:47:32 +05:30
Jiang Jiang Jian 330f8cbee8 Merge branch 'bugfix/btm_scan_done_crash_v44' into 'release/v4.4'
fix(wpa_supplicant) : Fix occasional crash during btm roam.

See merge request espressif/esp-idf!24733
2023-07-13 07:57:24 +08:00
Jiang Jiang Jian acf91e5635 Merge branch 'feature/esp_ipc_isr_fix_v4.4' into 'release/v4.4'
esp_system: Fix a race-condition in esp_ipc_isr (in QEMU env) (v4.4)

See merge request espressif/esp-idf!23993
2023-07-13 07:56:25 +08:00
Jiang Jiang Jian 53b02bdb6a Merge branch 'bugfix/systick_loop_v4.4' into 'release/v4.4'
freertos: Fix Systick stuck when systimer was not reset (v4.4)

See merge request espressif/esp-idf!24324
2023-07-13 07:55:57 +08:00
Michael (XIAO Xufeng) 48e848c6cf Merge branch 'bugfix/fix_spi_flash_api_concurrency_issue_v4.4' into 'release/v4.4'
spi_flash: fix concurrency issue when concurrently calling esp_flash apis (v4.4)

See merge request espressif/esp-idf!24514
2023-07-12 18:40:14 +08:00
Armando 8bf4cb3eee fix(adc): fixed esp32, esp32s2,esp32s3 adc oneshot mode clk div issue 2023-07-12 17:24:19 +08:00
jgujarathi 8ba3507fa4 fix(wpa_supplicant) : Fix occasional crash during btm roam.
Fix crash due to premature deallocation of neighbour report elements
by scan_done. Post event to btm_rrm_t task to handle scan_done serially
rather than when btm_rrm_t task is processing btm request rx frame.
2023-07-12 10:41:58 +05:30
xiongweichao 2685472da0 bt: Fixed some bluetooth bugs
1. Fixed LC_AFH_UPDATE_IND  has not benn processed causing memory exhaustion
2. Fixed no free elt in prog push
3. Fixed disconnect due to sniff with error Dsniff
4. Fixed the problem that the host continued to send ACL data to the controller after disconnection, which caused the connection to fail again
2023-07-11 07:23:45 +00:00
chenjianhua ac27406dcb Update bt-lib for esp32
- Fixed memory leak when setting adv data
2023-07-11 07:23:45 +00:00
xiongweichao 8148b5deb9 components/bt: Fix crash due to NULL point 2023-07-11 07:23:45 +00:00
Rahul Tank 99279e7a14 Merge branch 'bugfix/add_debug_print_for_event_v4.4' into 'release/v4.4'
fix(nimble): Add debug code to print HCI events information v4.4

See merge request espressif/esp-idf!23781
2023-07-11 14:03:28 +08:00
Armando da5acfdca6 spi_flash: rename spi_flash_os_func_app: spi_start, spi_end
spi_start -> s_acquire_spi_bus_lock
spi_end -> s_release_spi_bus_lock
2023-07-11 02:11:20 +00:00
Armando 29ff838f5a spi_flash: fix concurrency issue when calling esp_flash apis under xip_psram or auto_suspen 2023-07-11 02:11:20 +00:00
Armando a9e5dac6cc spiflash: fix not calling on_spi_acquired when CONFIG_SPI_FLASH_SHARE_SPI1_BUS issue 2023-07-11 02:11:20 +00:00
Jiang Jiang Jian 6209a2c5e2 Merge branch 'bugfix/increase_pm_dump_time_field_length_v4.4' into 'release/v4.4'
Power Management: increase pm_dump time field width (backport v4.4)

See merge request espressif/esp-idf!24448
2023-07-11 06:19:09 +08:00
Jiang Jiang Jian 1536beec31 Merge branch 'bugfix/fix_deepsleep_wakestub_example_ci_failure_v4.4' into 'release/v4.4'
ci: fix deepsleep wakestub example ci failure (backort v4.4)

See merge request espressif/esp-idf!24463
2023-07-10 16:02:08 +08:00
wuzhenghui 525e344b7d bugfix: increase pm_dump time field width
Closes https://github.com/espressif/esp-idf/issues/11704
2023-07-10 06:37:35 +00:00
Jiang Jiang Jian 8756d9545f Merge branch 'mesh/bugfix_fix_layer2_node_scan_issue_when_fixed_root_v4.4' into 'release/v4.4'
fix(wifi mesh):  fix the layer2 node scan issue when fixed root (backport v4.4)

See merge request espressif/esp-idf!24628
2023-07-10 10:48:44 +08:00
wuzhenghui 2ca1c1a617 example: inform ulp adc usage status to sleep process 2023-07-10 02:32:13 +00:00
Chen Jian Xing 09011f2b20 Merge branch 'bugfix/fix_esp32s3_tsens_v4.4' into 'release/v4.4'
fix(esp_wifi): Fix crash caused by tx_pwctrl_background call in ESP32S3(v4.4)

See merge request espressif/esp-idf!24541
2023-07-10 10:26:48 +08:00
Jiang Jiang Jian 262bf5c3a1 Merge branch 'bugfix/update_esp_rom_layout_v4.4' into 'release/v4.4'
esp_rom: fix rom layout issues (backport v4.4)

See merge request espressif/esp-idf!24641
2023-07-08 00:58:45 +08:00
Rahul Tank 15466cf14a fix(Nimble): Add debug code to print HCI events information
Added debug prints to collect information about LE events and
subevents
2023-07-07 19:47:43 +05:30
Mahavir Jain f66b878ec7 Merge branch 'protobuf-c/update_submodule_to_v4.4' into 'release/v4.4'
protobuf-c: Update submodule to v1.4.1 (v4.4)

See merge request espressif/esp-idf!24422
2023-07-07 18:57:24 +08:00
Rahul Tank e57938af72 Merge branch 'bufix/fix_assert_while_stack_deinit_v4.4' into 'release/v4.4'
fix(nimble): Fix assert due to controller event while stack deinit (v4.4)

See merge request espressif/esp-idf!24622
2023-07-07 18:07:03 +08:00
chenjianxing 4a56de7a30 fix(esp_wifi): Fix crash caused by tx_pwctrl_background call in ESP32S3. 2023-07-07 09:47:34 +00:00
Jiang Guang Ming efae7d0d04 esp_rom: fix rom layout issues 2023-07-07 01:32:28 -07:00
Vikram 2225bfda04 Optionally disable logs in espcoredump component
Early log strings used by this component are placed in DRAM.
Disabling these logs saves ~5KB of internal memory

Signed-off-by: Vikram <vikram.dattu@espressif.com>
2023-07-07 04:50:50 +00:00
harshal.patil 3831b83ba7 protobuf-c: Update submodule to v1.4.1 2023-07-07 04:49:27 +00:00
zhangyanjiao e6ddb8ebec fix(wifi):
1. mesh: layer2 node will scan all channels when fixed root leave
2. show warning info when setting max connection num for softAP
2023-07-06 19:03:05 +08:00
Roshan Bangar 4258c409b0 fix(nimble): Fix assert due to controller event while stack deinit 2023-07-06 12:10:16 +05:30
Alexey Gerenkov 9fcb551b8e gcov: Fix not linked gcov rtio functions 2023-07-03 13:05:45 +03:00
Jiang Jiang Jian 4daecccbec Merge branch 'bugfix/fix_deepsleep_saradc_leakage_by_sar_v4.4' into 'release/v4.4'
bugfix: fix adc current leakage by sar_adc on v4.4

See merge request espressif/esp-idf!24349
2023-06-28 10:05:55 +08:00
Jiang Jiang Jian a7c461032b Merge branch 'bugfix/hfp_packet_type_err_v4.4' into 'release/v4.4'
Revised (e)SCO configuration parameter sets (v4.4)

See merge request espressif/esp-idf!24348
2023-06-28 10:04:44 +08:00
Jiang Jiang Jian ddae3618dd Merge branch 'bugfix/alarm_not_free_when_a2dp_deinit_v4.4' into 'release/v4.4'
bugfix/Fixed the issue of alarm leak (v4.4)

See merge request espressif/esp-idf!24353
2023-06-28 10:04:26 +08:00
morris 4aee26535d Merge branch 'bugfix/vfs_uart_outof_bounds_read_v4.4' into 'release/v4.4'
vfs_uart: fix out-of-bounds read (v4.4)

See merge request espressif/esp-idf!24314
2023-06-26 11:28:42 +08:00
Roland Dobai e13e3bff7e espcoredump: Fix Python style 2023-06-21 12:56:00 +00:00
Angus Gratton e32cca2ad1 loader: Fix handling of APP_RETRIEVE_LEN_ELF_SHA
With the default APP_RETRIEVE_LEN_ELF_SHA setting, core dump files only have a
truncated ELF SHA256 in them. Account for this when comparing the core dump SHA
with the app ELF SHA.
2023-06-21 12:56:00 +00:00
Angus Gratton 76e1212c8f elf: Fix SHA256 calculation
The comment says it returns the "SHA256 hash of the input ELF file", but this is
not true - it was the SHA256 hash of the output ELF file. As the parser may
change some bytes around in minor ways, these were often not the same.
2023-06-21 12:56:00 +00:00
Angus Gratton 2d26ace5e5 elf: Fix for mismatched app ELF file not detected.
The check that the app ELF file SHA256 matches the one stored in the core dump
would never fail, leading to gdb loading the wrong ELF file and either crashing
or producing misleading debug information.

Specifics:

The note_sec.name field was incorrectly read back as b'ESP_CORE_DUMP_INFO\x00E',
because the namesz length includes the terminating NUL byte and possible junk
padding bytes:
https://github.com/espressif/esp-idf/blob/master/components/espcoredump/src/core_dump_elf.c#L212

In addition, as 'note_sec.name' is a bytes object Python 3 would have never
successfully compared it with a string.
2023-06-21 12:56:00 +00:00
Jin Cheng 28747f432f Fixed the issue of alarm leak in hf-ag 2023-06-21 15:35:25 +08:00
Jin Cheng 028d551101 Fixed the issue of alarm leak in A2DP 2023-06-21 15:35:14 +08:00
wuzhenghui 9600767d2a bugfix: fix adc current leakage by sar_adc on v4.4 2023-06-21 14:08:25 +08:00
Jin Cheng 7837fd484e Revised (e)SCO configuration parameter sets 2023-06-21 14:06:16 +08:00
Rahul Tank 6e8dd38cee Nimble:Added change to expose addr resolution API outside stack_v4.4 2023-06-20 19:58:16 +05:30
Jiang Jiang Jian efdd0859f6 Merge branch 'bugfix/fix_some_ble_bugs_v4.4' into 'release/v4.4'
Fixed some BLE bugs (backport v4.4)

See merge request espressif/esp-idf!24283
2023-06-20 19:12:41 +08:00
Jiang Jiang Jian ebcb29bcf3 Merge branch 'bugfix/fix_esp32s3_psram_access_failed_in_dfs_v4.4' into 'release/v4.4'
esp_pm: fix esp32s3 psram access failed when dfs is enabled (backport v4.4)

See merge request espressif/esp-idf!24200
2023-06-20 17:43:07 +08:00
Wang Meng Yang 58544cfbca Merge branch 'feature/add_ext_adv_instance_check_v4.4' into 'release/v4.4'
NimBLE: Added ble_gap_ext_adv_active() to check if extended advertising instance is active or not (v4.4)

See merge request espressif/esp-idf!23546
2023-06-20 17:36:02 +08:00
Jiang Jiang Jian e0550972c0 Merge branch 'bugfix/fix_chip_broken_bug_in_monitor_mode_c3s2s3_to_v4.4' into 'release/v4.4'
ESP32S2/C3/S3: fixed S2 dangerous power parameters in sleep modes and support S2/C3/S3 different sleep mode(v4.4)

See merge request espressif/esp-idf!23758
2023-06-20 16:46:12 +08:00
Jiang Jiang Jian 13a2e49818 Merge branch 'bugfix/fix_Cache_Count_Flash_bug_v4.4' into 'release/v4.4'
cache: patch some rom cache api, rename those apis in ld (backport v4.4)

See merge request espressif/esp-idf!24293
2023-06-20 16:08:36 +08:00
KonstantinKondrashov d479407339 freertos: Fix Systick stuck when systimer was not reset
Relates to OTA update for S3/C3 chips from IDF version 4.3 to v5.0 and above
2023-06-20 15:56:53 +08:00
Jiang Jiang Jian 167557829e Merge branch 'bugfix/install_keys_after_successful_4_of_4_tx_v4.4' into 'release/v4.4'
esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message(backport v4.4)

See merge request espressif/esp-idf!23620
2023-06-20 14:14:24 +08:00
morris 564e20dd6b Merge branch 'refactor/improve_adc_power_maintanance_v4.4' into 'release/v4.4'
adc: improve power logic (v4.4)

See merge request espressif/esp-idf!23275
2023-06-20 10:52:46 +08:00
morris a6b8788688 touch_element: fix unintended integer division 2023-06-20 10:47:06 +08:00
morris c4cb13cfe7 usbh: fix invalid assert on desc_status 2023-06-20 10:47:06 +08:00
morris be5fff2364 vfs_uart: fix out-of-bounds read
when open uart device "/2" on chips only have 2 UART peripherals
2023-06-20 10:47:06 +08:00
morris ea9d916f2a Merge branch 'fix/usb_wakeup_resume' into 'release/v4.4'
[USBD] Fix usb resume bug on esp32sx (v4.4)

See merge request espressif/esp-idf!23589
2023-06-19 17:39:18 +08:00
wanglei c7d8e50fdb cache: patch some rom cache api, rename those apis in ld
1. Cache_Count_Flash_Pages, fix this api return enexpected + 1
2. Cache_Suspend_I/DCache, add wait cache idle after suspend cache
3. Cache_Freeze_I/DCache_Enable, add wait cache idle after freeze
2023-06-19 15:55:37 +08:00
Shreyas Sheth 128aba4892 esp_wifi: Install keys after eapol and NVS store security values
1. Bugfix store authmode security in NVS
2. Install keys after successful transmission of EAPOL 4/4 Message
2023-06-18 02:48:15 +05:30
chenjianhua b8e4f091f6 Update bt-lib for esp32
1 Fixed disconnection delay on peripheral when slave latency is not zero
2 Fixed LLCP info init for central and peripheral
3 Fixed sent cmd status evt twice when process disconnect cmd
2023-06-16 17:21:33 +08:00
chenjianhua 35a14bf383 bluedroid: fixed default extended connection params 2023-06-16 16:28:07 +08:00
chenjianhua 8bb9b95b54 esp_hid: fixed ble hid battery level setting 2023-06-16 16:28:00 +08:00
zhiweijian 6d59258519 Fixed BLE disconnection failure on ESP32 2023-06-16 16:26:52 +08:00
zwj 1728b49d7f Fixed disconnection due to consecutive CRC errors in first 6 intervals 2023-06-16 16:26:44 +08:00
wuzhenghui d04a723f9a bugfix: use avaliable gpio for esp32s3 pm_trace 2023-06-15 14:15:05 +08:00
wuzhenghui 82bcd4dc7f bugfix: fix esp32s3 psram access failed when dfs is enabled 2023-06-15 14:15:01 +08:00
morris 2dfabd02a9 Merge branch 'bugfix/mcpwm_legacy_typo_v4.4' into 'release/v4.4'
mcpwm: fix typo in backward compatible macro name (v4.4)

See merge request espressif/esp-idf!24229
2023-06-15 10:13:04 +08:00
Aditya Patwardhan 6afa8e4347 Merge branch 'bugfix/aes_dma_align_issue_v4.4' into 'release/v4.4'
aes: fix DMA descriptor calculation for the alignment case (v4.4)

See merge request espressif/esp-idf!24095
2023-06-14 16:55:42 +08:00
morris 5ef69e8a63 mcpwm: fix typo in backward compatible macro name 2023-06-14 11:40:40 +08:00
David Čermák b96c98accf Merge branch 'bugfix/eth_lan8720_ci_v4.4' into 'release/v4.4'
esp_eth: start/stop and L2 test stability improvements (v4.4)

See merge request espressif/esp-idf!22322
2023-06-13 16:42:07 +08:00
Jiang Jiang Jian a843cdebea Merge branch 'bugfix/fix_wps_with_sae_enabled_ap_v4.4' into 'release/v4.4'
esp_wifi: Fix WPS issue for WPA3+WPA2 mode(v4.4)

See merge request espressif/esp-idf!24156
2023-06-13 16:06:49 +08:00
Jiang Jiang Jian aca729aea6 Merge branch 'bugfix/fix_blufi_compilation_issue_v4.4' into 'release/v4.4'
Blufi: Fixed compilation issue in blufi for nimble(v4.4)

See merge request espressif/esp-idf!24021
2023-06-13 10:56:21 +08:00
Jiang Jiang Jian 3d743d525c Merge branch 'feature/efuse_settings_v4.4' into 'release/v4.4'
hal: Explicit setting of efuse time settings (v4.4)

See merge request espressif/esp-idf!23727
2023-06-13 10:53:35 +08:00
morris abb204fa89 Merge branch 'feature/add_log_when_mspi_timing_tuning_is_enabled_v4.4' into 'release/v4.4'
mspi: added timing tuning start, and success log (v4.4)

See merge request espressif/esp-idf!24055
2023-06-13 10:30:04 +08:00
Aditya Patwardhan 5d38b0238c Merge branch 'contrib/github_pr_11402_v4.4' into 'release/v4.4'
esp_ds: ignore releasing mutex if not called from same task (GitHub PR) (v4.4)

See merge request espressif/esp-idf!23842
2023-06-13 01:21:13 +08:00
Ivan Grokhotkov 8bbe92ed90 Merge branch 'bugfix/usb_serial_jtag_select_poll_crash_v4.4' into 'release/v4.4'
vfs: select sanity NULL check (v4.4)

See merge request espressif/esp-idf!23948
2023-06-12 19:22:07 +08:00
Ivan Grokhotkov 4b05ffb03e Merge branch 'fix/sdio_sd_cards_not_detected_correctly_v4.4' into 'release/v4.4'
sdmmc: sdio combination cards correct setup (v4.4)

See merge request espressif/esp-idf!23480
2023-06-12 19:21:33 +08:00
Armando 00bd59dc68 mspi: added timing tuning start, and success log 2023-06-12 16:12:20 +08:00
morris f1ba6ced19 Merge branch 'bugfix/fix_mspi_octal_psram_timing_tuning_point_fallback_id_v4.4' into 'release/v4.4'
mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3 (v4.4)

See merge request espressif/esp-idf!23693
2023-06-12 10:50:12 +08:00
morris d9d5327dfa Merge branch 'bugfix/add_len_check_per_spi_master_transaction_v4.4' into 'release/v4.4'
spi master: added transaction length check to refuse longer than hardware supported length (v4.4)

See merge request espressif/esp-idf!23749
2023-06-12 10:47:59 +08:00
Kapil Gupta f46518e42e esp_wifi: Fix WPS issue for WPA3+WPA2 mode 2023-06-09 18:06:56 +05:30
Jiang Jiang Jian ad08d94ed3 Merge branch 'bugfix/nvs_softap_pmk_v4.4' into 'release/v4.4'
esp_wifi: fix softap nvs <ssid,password,pmk> not matching issue(v4.4)

See merge request espressif/esp-idf!23820
2023-06-09 19:45:28 +08:00
Rahul Tank b7e5be07de Blufi: Fixed compilation issue in blufi for nimble 2023-06-09 17:10:35 +05:30
Jiang Jiang Jian 7053e483ea Merge branch 'feature/add_bluetooth_nimble_lightsleep_example_v4.4' into 'release/v4.4'
bt: Added an example of Bluetooth using light sleep(v4.4)

See merge request espressif/esp-idf!23694
2023-06-09 19:20:31 +08:00
Jiang Jiang Jian b4c06edfd6 Merge branch 'bugfix/fix_bleqabr23_250_v4.4' into 'release/v4.4'
Fixed crash when controller initialization fails due to insufficient memory (backport 4.4)

See merge request espressif/esp-idf!24090
2023-06-09 19:19:28 +08:00
Jiang Jiang Jian 4a4fea5746 Merge branch 'bugfix/hfp_ag_idx_invalid_v4.4' into 'release/v4.4'
bt: Fixed out of bounds access due to variable length array(v4.4)

See merge request espressif/esp-idf!23667
2023-06-09 19:18:58 +08:00
Jiang Jiang Jian ff4ae8df34 Merge branch 'bugfix/hf_cind_ind_index_v4.4' into 'release/v4.4'
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator(v4.4)

See merge request espressif/esp-idf!23562
2023-06-09 19:18:16 +08:00
Jiang Jiang Jian 4462c00107 Merge branch 'bugfix/a2dp_source_crash_connect_to_Bose_speaker_v4.4' into 'release/v4.4'
Bugfix/a2dp source crash connect to bose speaker (v4.4)

See merge request espressif/esp-idf!23350
2023-06-09 19:17:10 +08:00
Jiang Jiang Jian c125f0a9f3 Merge branch 'bugfix/mbo_ie_absent_prob_req_v44' into 'release/v4.4'
wpa_supplicant : Add MBO ie in probe request.(backport v4.4)

See merge request espressif/esp-idf!24099
2023-06-09 19:16:46 +08:00
Jiang Jiang Jian bc05c74022 Merge branch 'bugfix/dpp_retry_start_listening_issue_v4.4' into 'release/v4.4'
esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure (v4.4)

See merge request espressif/esp-idf!23596
2023-06-09 19:15:45 +08:00
Jiang Jiang Jian 5fb50f6848 Merge branch 'bugfix/fix_wakeup_failed_if_powerdown_flash_in_lightsleep_v4.4' into 'release/v4.4'
Power Management: fixed flash funcs called in sleep wakeup process (backport v4.4)

See merge request espressif/esp-idf!24007
2023-06-09 19:14:37 +08:00
Jiang Jiang Jian 2771f0cb0b Merge branch 'bugfix/close_phy_tsens_before_sleep_v4.4' into 'release/v4.4'
sleep: fix deepsleep current leakage caused by phy_tsens (backport v4.4)

See merge request espressif/esp-idf!23908
2023-06-09 19:13:50 +08:00
Jiang Jiang Jian 72007647cd Merge branch 'feature/example_deep_sleep_wake_stub_backport_v4.4' into 'release/v4.4'
example: add deepsleep_wake stub example (backport v4.4)

See merge request espressif/esp-idf!23360
2023-06-09 19:11:20 +08:00
Jiang Jiang Jian f583d58779 Merge branch 'bugfix/fix_reduce_phy_tx_power_when_brownout_reset_invisible_issue' into 'release/v4.4'
fix reduce phy tx power when brownout reset invisible issue

See merge request espressif/esp-idf!23359
2023-06-09 12:04:39 +08:00
Jiang Jiang Jian e6df66522a Merge branch 'feature/usb_host_interface_claim_debug_info_v4.4' into 'release/v4.4'
USB Host: better debugging information during usb_host_interface_claim() (backport v4.4)

See merge request espressif/esp-idf!23445
2023-06-09 12:02:59 +08:00
Jiang Jiang Jian 61a0c12c29 Merge branch 'lwip/dhcp_fine_tmr_bug_fix_backport' into 'release/v4.4'
lwip/dhcp: Fixed ondemand fine timers leakage bug (v4.4)

See merge request espressif/esp-idf!23315
2023-06-09 12:01:44 +08:00
morris 3f0ccda84e Merge branch 'contrib/github_pr_11113_v4.4' into 'release/v4.4'
Fix usb enumeration stage error for some device (GitHub PR) (v4.4)

See merge request espressif/esp-idf!23334
2023-06-08 18:00:27 +08:00
Marius Vikhammer 3cba50e0a1 Merge branch 'contrib/github_pr_11215_v4.4' into 'release/v4.4'
improve thread safety in esp_timer (GitHub PR) (v4.4)

See merge request espressif/esp-idf!23541
2023-06-08 16:00:14 +08:00
Marius Vikhammer 63dfda0446 Merge branch 'bugfix/esp32_pico_v3_2_chip_info_v4.4' into 'release/v4.4'
system: fix esp32 chip info not listing esp32 pico v3-02 as having embedded spiram (v4.4)

See merge request espressif/esp-idf!23395
2023-06-08 15:56:43 +08:00
Marius Vikhammer 92549f53a9 Merge branch 'bugfix/gdma_log_nano_v4.4' into 'release/v4.4'
gdma: fixed crash from logging when using newlib nano (v4.4)

See merge request espressif/esp-idf!23587
2023-06-08 15:55:08 +08:00
Roland Dobai 5313760492 Merge branch 'feature/remove_coredump_tests_v4.4' into 'release/v4.4'
coredump: remove tests (moved to esp-coredump repo) (v4.4)

See merge request espressif/esp-idf!23769
2023-06-08 15:52:15 +08:00
Marius Vikhammer ac5d805d0e versions: Update version to 4.4.5 2023-06-08 10:16:36 +08:00
jgujarathi 62b672158a wpa_supplicant : Fix scan results for GCMP and GCMP-256 cipher.
Add support for recognising GCMP and GCMP-256 ciphers if used by AP.
Update the scan example to show the correct cipher.
2023-06-07 10:22:03 +05:30
jgujarathi 2f630f5e91 wpa_supplicant : Add MBO ie in probe request.
Adds the MBO information element in the probe request frame by resetting
scan_ie after set_config is done.
2023-06-07 10:21:52 +05:30
Mahavir Jain 98c53234fc
aes: fix DMA descriptor calculation for the alignment case
The number of the DMA descriptors allocated for certain length (e.g.,
8176) were not sufficient (off by 1 error). This used to result in the
dynamic memory corruption as the region was modified beyond the
allocated range.

This change fixes the DMA descriptor calculation part and allocates
sufficient DMA descriptors based on the data length alignment considerations.

Test has also been added to cover the specific scenario in the CI.

Closes https://github.com/espressif/esp-idf/issues/11310
2023-06-07 09:20:20 +05:30
chenjianhua 3c606bf79c Update bt lib for ESP32-C3 and ESP32-S3
- Fixed crash when controller initialization fails due to insufficient memory
2023-06-07 11:19:38 +08:00
wuzhenghui 2566e78e03 bugfix: fix wakeup failed if powerdown flash in lightsleep 2023-05-31 19:23:16 +08:00
Paul Guyot bf8f867522 esp_system: Fix a race-condition in esp_ipc_isr (in QEMU env)
The race condition is very unlikely on real hardware but can be observed with
qemu under heavy load.
Also add missing `memw` instructions which are generated by the C compiler but
absent in the assembly code.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/11447
Closes https://github.com/espressif/esp-idf/issues/11433
2023-05-30 23:04:31 +08:00
xiongweichao 0ba101dfac ble: Fixed bluetooth can only use main XTAL as low power clock source due to configuration on ESP32S3 2023-05-30 20:27:06 +08:00
Adam Múdry da823eddf5 vfs: select sanity NULL check
https://github.com/espressif/esp-idf/issues/9964
2023-05-26 13:46:40 +02:00
zhiweijian c76c6508a1 Fixed battery profile wrong condition 2023-05-25 10:46:12 +00:00
zwj ecc2cc1be0 Fixed no error report when own address type is rpa_random and no random address setting 2023-05-25 10:46:12 +00:00
chenjianhua 31166e0884 Update bt lib for ESP32-C3 and ESP32-S3
- Fixed remote mic error during encryption procedure
2023-05-25 10:46:12 +00:00
chenjianhua 1ddc3a1d5c Update bt lib for ESP32-C3 and ESP32-S3
- Fixed ble hopping selection for connection when disabled 5.0 feature
2023-05-25 10:46:12 +00:00
zhiweijian f886e3c057 Disable controller 5.0 feature bits if host 5.0 feature is not enabled 2023-05-25 10:46:12 +00:00
zwj 509fedeed0 improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3 2023-05-25 10:46:12 +00:00
chenjianhua bd77f3d436 Update bt lib for ESP32-C3 and ESP32-S3
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-05-25 10:46:12 +00:00
wuzhenghui d33c693cfa bugfix: close phy_tsens before deepsleep 2023-05-25 12:05:54 +08:00
Armando d915304189 mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3 2023-05-19 09:30:37 +00:00
Armando 61ecbb44a5 spi: added an API to get max transaction length and use in spi lcd driver 2023-05-19 09:30:06 +00:00
Armando 4e67ea0fe3 spi: added transaction length check to refuse longer than hardware supported length 2023-05-19 09:30:06 +00:00
Christoph Baechler d007b0ebb2
esp_ds: ignore releasing mutex if not called from same task 2023-05-19 08:32:00 +05:30
Jiang Jiang Jian c25d92074e Merge branch 'bugfix/update_test_dl_esp_cert_v4.4' into 'release/v4.4'
tests: update Root certificate for the test endpoints (v4.4)

See merge request espressif/esp-idf!23799
2023-05-18 19:32:43 +08:00
chenjianxing 28fa2f88a1 esp_wifi: fix softap nvs <ssid,password,pmk> not matching issue 2023-05-18 15:50:41 +08:00