Mahavir Jain
aba35cd526
fix(aes): correct the linking of the DMA descriptors
...
For certain data lengths, the last input descriptor was not getting appended
correctly and hence the EOF flag in the DMA descriptor link list was
set at incorrect location. This was resulting in the peripheral being
stalled expecting more data and eventually the code used to timeout
waiting for the AES completion interrupt.
Required configs for this issue:
CONFIG_MBEDTLS_HARDWARE_AES
CONFIG_SOC_AES_SUPPORT_DMA
This observation is similar to the issue reported in:
https://github.com/espressif/esp-idf/issues/10647
To recreate this issue, start the AES-GCM DMA operation with data length
12280 bytes and this should stall the operation forever.
In this fix, we are tracing the entire descriptor list and then appending the
extra bytes descriptor at correct position (as the last node).
2023-09-06 08:30:00 +05:30
Mahavir Jain
29be69d797
fix(aes-gcm): correct the DMA completion wait condition for hardware GCM case
...
DMA operation completion must wait until the last DMA descriptor
ownership has been changed to hardware, that is hardware is completed
the write operation for entire data. Earlier for the hardware GCM case,
the first DMA descriptor was checked and it could have resulted in some
race condition for non interrupt (MBEDTLS_AES_USE_INTERRUPT disabled) case.
2023-09-06 08:29:57 +05:30
Island
7065c87963
Merge branch 'bugfix/ble_hci_issues_chain_mbuf_v5.0' into 'release/v5.0'
...
fix hci issues when chain mbuf exists
See merge request espressif/esp-idf!25533
2023-08-29 10:27:40 +08:00
Jiang Jiang Jian
a78ad034f5
Merge branch 'bugfix/fix_mem_map_issue_v5.0' into 'release/v5.0'
...
flash_mmap: fix range issue (v5.0)
See merge request espressif/esp-idf!24529
2023-08-26 10:28:44 +08:00
Jiang Jiang Jian
45e1b89efe
Merge branch 'feature/default_clock_source_can_leave_empty_v5.0' into 'release/v5.0'
...
feat(mcpwm): default clock source setting can leave empty (v5.0)
See merge request espressif/esp-idf!25549
2023-08-26 10:15:28 +08:00
Jiang Jiang Jian
62e6999279
Merge branch 'bugfix/fix_adc_continuous_driver_isr_flag_issue_v5.0' into 'release/v5.0'
...
adc: fix continuous hal func not in iram when gdma isr iram (v5.0)
See merge request espressif/esp-idf!25506
2023-08-26 09:59:54 +08:00
Jiang Jiang Jian
3d99ce2d1a
Merge branch 'bugfix/supplicant_osi_violation_v5.0' into 'release/v5.0'
...
Fix abstraction violation in wpa_supplicant (Backport v5.0)
See merge request espressif/esp-idf!25566
2023-08-26 07:24:11 +08:00
Jiang Jiang Jian
8797a92844
Merge branch 'bugfix/fixed_esp32_psram_2t_mode_cannot_detect_issue_v5.0' into 'release/v5.0'
...
psram: fixed esp32 2t mode fail issue (v5.0)
See merge request espressif/esp-idf!23028
2023-08-25 15:07:35 +08:00
Nachiket Kukade
304d6164ae
fix(supplicant): Fix abstraction violation in wpa_supplicant
2023-08-25 12:33:29 +05:30
Roland Dobai
8f3085c1bb
Merge branch 'docs/uninstall_idf_v5.0' into 'release/v5.0'
...
docs(idf-tools): Add uninstallation instructions (backport v5.0)
See merge request espressif/esp-idf!25495
2023-08-25 14:33:29 +08:00
Jiang Jiang Jian
f7618e10da
Merge branch 'fix/esp_prov_recent_changes_v5.0' into 'release/v5.0'
...
fix(esp_prov): update devices tuple usage due to API deprecations (v5.0)
See merge request espressif/esp-idf!25537
2023-08-25 13:36:07 +08:00
luomanruo
eb8a741be2
ble: Assert when getting memory fail
2023-08-25 12:27:05 +08:00
Jiang Jiang Jian
1baf1055bd
Merge branch 'feature/config_device_name_in_eir_v5.0' into 'release/v5.0'
...
feat(bt/bluedroid): Add option whether to include device name in extended inquiry response
See merge request espressif/esp-idf!25542
2023-08-25 12:27:03 +08:00
luomanruo
0861bf4c55
ble: Fix hci issues when chain mbuf exists
2023-08-25 12:26:50 +08:00
Jiang Jiang Jian
f218fa50d4
Merge branch 'ci/fix_example_test_advanced_ota_v5.0' into 'release/v5.0'
...
ci(fix): example test advanced_https_ota_example_bluedroid_gatts (v5.0)
See merge request espressif/esp-idf!25525
2023-08-25 12:14:10 +08:00
Jiang Jiang Jian
e8507d1380
Merge branch 'contrib/github_pr_11923_v5.0' into 'release/v5.0'
...
fix(esp-tls): fix pointer cast and condition for CONFIG_ATECC608A_TCUSTOM (GitHub PR) (v5.0)
See merge request espressif/esp-idf!25501
2023-08-25 12:11:12 +08:00
Jiang Jiang Jian
8e3b112c74
Merge branch 'bugfix/fix_legacy_adc_continuous_driver_dma_descriptor_not_internal_issue_v5.0' into 'release/v5.0'
...
adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue (v5.0)
See merge request espressif/esp-idf!25509
2023-08-25 12:08:15 +08:00
Jiang Jiang Jian
328f592e9d
Merge branch 'bugfix/esp_timer_prevents_delay_for_isr_dispatch_callbacks_v5.0' into 'release/v5.0'
...
fix(esp_timer): Fix delay in ISR dispatch callbacks (v5.0)
See merge request espressif/esp-idf!25473
2023-08-25 12:08:02 +08:00
Jiang Jiang Jian
1b580186f2
Merge branch 'bugfix/sdmmc_host_cclk_lp_v5.0' into 'release/v5.0'
...
sdmmc: keep clock enabled for the duration of ACMD41 (v5.0)
See merge request espressif/esp-idf!24334
2023-08-25 12:07:24 +08:00
Jiang Jiang Jian
787a6c9408
Merge branch 'bugfix/fix_no_mac_retention_at_wifi_start_v5.0' into 'release/v5.0'
...
fix(esp_wifi): fix no mac retention at wifi start
See merge request espressif/esp-idf!25517
2023-08-25 11:32:12 +08:00
Armando
d90cb866f1
test(adc): continuous driver iram test with gdma iram safe option only
2023-08-25 10:56:20 +08:00
Armando
53b1c2a2e6
test(flash_mmap): test flash mmap pages
2023-08-25 10:37:48 +08:00
Armando
6183b555aa
fix(flash_mmap): fixed limited free I/D pages on ESP32S3, C2, C3
2023-08-25 10:37:48 +08:00
morris
358b408753
feat(mcpwm): default clock source setting can leave empty
2023-08-25 10:26:36 +08:00
morris
676553f432
fix(adc): invalid assertion on the adc_unit
2023-08-25 10:21:46 +08:00
baohongde
d82a2e2eec
feat(bt/bluedroid): Add option whether to include device name in extended inquiry response
2023-08-24 19:36:26 +08:00
harshal.patil
771f6b2b7e
fix(esp_prov): update devices tuple usage due to API deprecations
...
- a recent commit fixed the API deprecations,
and the BLEDevice object now needs to be accessed through a tuple.
- thus the changes were made in the code wherein the object was used,
but updating the usage in the condition when de
vname is not None got skipped.
2023-08-24 14:48:39 +05:30
Armando
9d6809bc99
psram: fixed esp32 2t mode fail issue
2023-08-24 15:30:07 +08:00
liuning
484f4cce31
fix(esp_wifi): fix no mac retention at wifi start
2023-08-24 06:36:34 +00:00
Jiang Jiang Jian
61ef154a60
Merge branch 'bugfix/v5.0_ble_issues_bugfix_c2' into 'release/v5.0'
...
Bugfix/v5.0 ble issues bugfix c2
See merge request espressif/esp-idf!25437
2023-08-24 14:13:26 +08:00
Chen Yudong
a84f601493
ci(fix): example test advanced_https_ota_example_bluedroid_gatts
2023-08-24 12:25:02 +08:00
Alex
97bdb74766
fix(esp-tls): fix pointer cast and condition for CONFIG_ATECC608A_TCUSTOM
...
Closes https://github.com/espressif/esp-idf/pull/11923
2023-08-24 04:17:56 +00:00
Armando
d2fb10008e
fix(adc): fix adc continuous hal func not in iram when gdma isr iram
2023-08-24 10:50:33 +08:00
Jiang Jiang Jian
056de3bfb5
Merge branch 'contrib/github_pr_12039_v5.0' into 'release/v5.0'
...
docs(iperf): Update documentation with console interface details(v5.0)
See merge request espressif/esp-idf!25510
2023-08-24 10:18:41 +08:00
Ivan Grokhotkov
f82d97216a
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-08-24 02:16:37 +00:00
Steven Macías
a1920067a2
docs(iperf): Update documentation with console interface details
...
Closes https://github.com/espressif/esp-idf/pull/12039
2023-08-23 19:46:46 +08:00
Armando
5a90dfb776
adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue
2023-08-23 19:45:56 +08:00
Marius Vikhammer
6bb1e32782
Merge branch 'bugfix/usb/host/urb_compliance_verification_add_v5.0' into 'release/v5.0'
...
[USB Host] added URB check args and transfer check compliance for regular EP transfer submit (v5.0)
See merge request espressif/esp-idf!25469
2023-08-23 19:09:17 +08:00
Shang Zhou
024c311475
docs: Update CN translation for get-started/index.rst
2023-08-23 11:21:23 +02:00
radim.karnis
4cafb6bfa8
docs(idf-tools): Add uninstallation instructions
2023-08-23 11:21:23 +02:00
KonstantinKondrashov
453e0c784d
refactor(esp_timer): Remove duplicate code and move it to a common file
2023-08-23 17:12:45 +08:00
Alan Fisher
41dc26f5bd
fix(esp_timer): Fix delay in ISR dispatch callbacks
...
Set the following alarm before calling the alarm handler.
Closes https://github.com/espressif/esp-idf/pull/11637
Closes https://github.com/espressif/esp-idf/issues/11636
2023-08-23 17:10:45 +08:00
Jiang Jiang Jian
46f5638847
Merge branch 'bugfix/incorrect_time_after_ota_v5.0' into 'release/v5.0'
...
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around (v5.0)
See merge request espressif/esp-idf!24410
2023-08-23 16:34:43 +08:00
Jiang Jiang Jian
29cd791cd9
Merge branch 'bugfix/fix_pmf_set_race_v5.0' into 'release/v5.0'
...
fix(wifi): Prevent PMF config overwritten by tx_cb(v5.0)
See merge request espressif/esp-idf!25416
2023-08-23 14:57:34 +08:00
Marius Vikhammer
b01f0fee50
Merge branch 'bugfix/usb_hcd_interrupt_alloc_error_return_v5.0' into 'release/v5.0'
...
USB Host: Fix coverity issues with hcd_install() (v5.0)
See merge request espressif/esp-idf!25464
2023-08-23 14:03:58 +08:00
Marius Vikhammer
6c6a55ef91
Merge branch 'bugfix/intr_flags_to_level_v5.0' into 'release/v5.0'
...
fix(intr_flags_to_level): fix value returned one more than correct value (v5.0)
See merge request espressif/esp-idf!25425
2023-08-23 13:55:30 +08:00
Shreyas Sheth
711279c36f
fix(wifi): Prevent PMF config overwritten by tx_cb
2023-08-23 03:44:47 +00:00
Jiang Jiang Jian
186b5b4d55
Merge branch 'bugfix/ignore_eapol_nonkey_v5.0' into 'release/v5.0'
...
Ignore EAPOL non-key frames in EAPOL txdone callback (Backport v5.0)
See merge request espressif/esp-idf!25455
2023-08-23 10:37:44 +08:00
luomanruo
ee1c3119a7
ble: update btlib to f9db7b90, some esp32c2 issues bugfixed
2023-08-23 10:23:02 +08:00
Roman Leonov
af45a6d40d
usb_host: added URB check args and transfer check compliance for regular EP transfer submit
2023-08-22 16:31:37 +08:00