Mahavir Jain
5605189398
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:28:43 +05:30
Mahavir Jain
2fbe919e4c
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:28:43 +05:30
morris
1efe80af9b
Merge branch 'feature/esp_lcd_panel_add_data_and_type_v5.1' into 'release/v5.1'
...
feat(esp_lcd): add user data and init cmd (v5.1)
See merge request espressif/esp-idf!25721
2023-09-05 16:09:39 +08:00
Krzysztof Budzynski
0954c0a231
Merge branch 'docs/add_Chinese_translation_for_api-guides/core_dump.rst_backport_v5.1' into 'release/v5.1'
...
docs: provide CN translation for api-guides/core_dump.rst and api-guides/core_dump_internals.rst (Backport v5.1)
See merge request espressif/esp-idf!25740
2023-09-05 14:44:29 +08:00
Cai Xin Ying
75e176fd21
docs: provide CN translation for api-guides/core_dump.rst and api-guides/core_dump_internals.rst (Backport v5.1)
2023-09-05 14:44:29 +08:00
Rahul Tank
54c81ddfc9
Merge branch 'feature/walkthrough_for_blecent_v5.1' into 'release/v5.1'
...
doc(nimble): Added the tutorial for blecent example. (v5.1)
See merge request espressif/esp-idf!25667
2023-09-05 14:15:23 +08:00
Rahul Tank
bf204d4150
Merge branch 'feature/adv_queue_congestion_v5.1' into 'release/v5.1'
...
feat(nimble): Added adv queue congestion check (v5.1)
See merge request espressif/esp-idf!25726
2023-09-05 14:14:35 +08:00
morris
aec971572f
Merge branch 'feature/specify_rmt_intr_priority_v5.1' into 'release/v5.1'
...
feat(rmt): specify interrupt priority (v5.1)
See merge request espressif/esp-idf!25718
2023-09-05 12:09:44 +08:00
morris
537198b15d
Merge branch 'docs/add_Chinese_translation_for_three_short_docs_of_api-guides_backport_v5.1' into 'release/v5.1'
...
docs: provide CN translation for three short docs of api-guides (backport v5.1)
See merge request espressif/esp-idf!25743
2023-09-05 11:11:27 +08:00
Cai Xin Ying
ef5c85158d
docs: provide CN translation for three short docs of api-guides (backport v5.1)
2023-09-05 11:11:27 +08:00
Krzysztof Budzynski
cc27c579ad
Merge branch 'docs/add_Chinese_translation_for_api-reference/peripherals/touch_element.rst_backport_v5.1' into 'release/v5.1'
...
docs: provide CN translation for api-reference/peripherals/touch_element.rst (backport v5.1)
See merge request espressif/esp-idf!25746
2023-09-05 10:22:17 +08:00
Cai Xin Ying
b93ffc1cb4
docs: provide CN translation for api-reference/peripherals/touch_element.rst (backport v5.1)
2023-09-05 10:22:16 +08:00
Krzysztof Budzynski
c9a51b83a5
Merge branch 'docs/add_Chinese_translation_for_api-reference/peripherals/etm.rst_backport_v5.1' into 'release/v5.1'
...
docs: provide CN translation for api-reference/peripherals/etm.rst (backport v5.1)
See merge request espressif/esp-idf!25745
2023-09-05 10:21:18 +08:00
Cai Xin Ying
1e656013d7
docs: provide CN translation for api-reference/peripherals/etm.rst (backport v5.1)
2023-09-05 10:21:17 +08:00
Jiang Jiang Jian
1b87f35f0f
Merge branch 'feature/support_ble_53_host_feat_v5.1' into 'release/v5.1'
...
Support BLE host feature for PTS (backport v5.1)
See merge request espressif/esp-idf!25645
2023-09-04 15:32:23 +08:00
darshan
6983b86528
feat(nimble): Added adv queue congestion check
2023-09-04 11:25:20 +05:30
Liu Zhong Wei
559df9640c
feat(esp_lcd): add user data and init cmd
2023-09-04 13:25:39 +08:00
Planck (Lu Zeyu)
3b9c57ac32
feat(rmt): specify interrupt priority
2023-09-04 13:12:02 +08:00
Island
f0437b945f
Merge branch 'feature/esp32c2_add_trace_function_v5.1' into 'release/v5.1'
...
ble: supported trace function and adv report flow control on esp32c2
See merge request espressif/esp-idf!25640
2023-09-01 20:10:45 +08:00
Shu Chen
865b48039d
Merge branch 'feature/openthread_disable_nd6_timer_v5.1' into 'release/v5.1'
...
feat(openthread): disable lwip nd6 in openthread sleepy device (backport v5.1)
See merge request espressif/esp-idf!25631
2023-09-01 16:09:31 +08:00
Jiang Jiang Jian
a9aea676e7
Merge branch 'ci/connect_at_different_phase_v5.1' into 'release/v5.1'
...
ci(wifi): Test connect api at different phase (backports v5.1)
See merge request espressif/esp-idf!25674
2023-09-01 10:24:48 +08:00
Jiang Jiang Jian
9619d85027
Merge branch 'test/bqb_test_bt_classic_a2dp_v5.1' into 'release/v5.1'
...
feat(bt/bqb): Add setting SBC encoder and reject invalid codec type support for a2dp BQB test (backport v5.1)
See merge request espressif/esp-idf!25684
2023-09-01 10:21:15 +08:00
Marius Vikhammer
e10e95282d
Merge branch 'fix/bp_wp_in_panic_v5.1' into 'release/v5.1'
...
fix(breakpoint): fix bp/wp logic when debugger is connected (v5.1)
See merge request espressif/esp-idf!25633
2023-08-31 19:50:11 +08:00
wanglai@espressif.com
87135459a7
feat(bt/bqb): Set SBC encoder as PTS required for BQB test
...
1: set SBC encoder as PTS required. The encoder is effective first.
But it changes to default after media start.
2023-08-31 19:11:43 +08:00
wanglai@espressif.com
4ea52074b4
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:11:43 +08:00
Roland Dobai
9ba0647a8f
Merge branch 'dependency_check_fix_v5.1' into 'release/v5.1'
...
bug(tools): dependency check catch exception when package not installed (v5.1)
See merge request espressif/esp-idf!25656
2023-08-31 18:22:52 +08:00
Peter Dragun
23a38f0f6f
bug(tools): dependency check catch exception when package not installed
2023-08-31 10:24:06 +02:00
darshan
38b0cb6e98
doc(nimble): Added tutorial for the blecent example.
2023-08-31 11:22:08 +05:30
Jiang Jiang Jian
71083039f6
Merge branch 'bugfix/esp32c6_udp_bc_mc_rx_loss_rate_is_high_v5.1' into 'release/v5.1'
...
backport v5.1: fix esp32c6 UDP BC/MC RX loss rate is high when light sleep is enabled
See merge request espressif/esp-idf!25628
2023-08-31 13:28:48 +08:00
zwl
bd21c215c7
ble: supported trace function and adv report flow control on esp32c2
2023-08-31 12:02:00 +08:00
Jiang Jiang Jian
b58706c1d2
Merge branch 'feature/support_hp_regi2c_for_esp32c6_v5.1' into 'release/v5.1'
...
feat(esp_rom): support hp regi2c for esp32c6(backport v5.1)
See merge request espressif/esp-idf!25644
2023-08-31 10:49:58 +08:00
Roland Dobai
b3011ed759
Merge branch 'feature/coredump_panic_details_v5.1' into 'release/v5.1'
...
feat(coredump): add panic details to the elf file (v5.1)
See merge request espressif/esp-idf!25597
2023-08-30 22:23:41 +08:00
ding huan
d0c5c2e13a
ci(wifi): Test connect api at different phase
2023-08-30 17:04:26 +08:00
Shu Chen
61cb60c6af
Merge branch 'bugfix/fix_ieee802154_test_issue_v5.1' into 'release/v5.1'
...
fix(ieee802154): fix ieee802154_test issue(backport 5.1)
See merge request espressif/esp-idf!25630
2023-08-30 15:13:20 +08:00
Jiang Jiang Jian
5fa0d2a83d
Merge branch 'contrib/github_pr_9694_v5.1' into 'release/v5.1'
...
add low power doc and picture (GitHub PR)(backport v5.1)
See merge request espressif/esp-idf!25590
2023-08-30 14:56:31 +08:00
chenjianhua
b3860800ae
bluedroid: add GATT read multi variable API and evt
2023-08-30 14:50:21 +08:00
chenjianhua
e451b967d6
bluedroid: add periodic adv sync transfer API and EVT
2023-08-30 14:50:21 +08:00
chenjianhua
97dd2dc88e
bluedroid: support gatts show local database
2023-08-30 14:50:21 +08:00
wuzhenghui
05cd295a28
fix(esp_rom): fix esp32c6, esp32h2 hp_regi2c ops data conflict with phy ops
2023-08-30 14:28:55 +08:00
Lou Tianhao
d2730608d2
feature(esp_rom): support_hp_regi2c_for_esp32c6
2023-08-30 14:28:37 +08:00
morris
be7cf3dffb
Merge branch 'bugfix/fix_adc_continuous_driver_isr_flag_issue_v5.1' into 'release/v5.1'
...
adc: fix continuous hal func not in iram when gdma isr iram (v5.1)
See merge request espressif/esp-idf!25505
2023-08-30 10:51:36 +08:00
Erhan Kurubas
1c27df8189
fix(breakpoint): fix bp/wp logic when debugger is connected
2023-08-29 12:32:06 +02:00
xiaqilin
0a17c0831e
feat(openthread): disable lwip nd6 in openthread sleepy device
2023-08-29 17:35:27 +08:00
xiaqilin
b1a946dd60
fix(ieee802154): fix ieee802154_test issue
...
* pti do not set in ieee802154 test
* ack_time_out do not using in ieee802154 test
2023-08-29 16:49:41 +08:00
Li Shuai
6e852f86d9
fix(esp32c6/power save): improve TEE and APM module retention priority to 2 to avoid the wifi fail to read the rxbuf link and trigger the rxbuf overflow error
2023-08-29 16:30:02 +08:00
Rahul Tank
8e6bf6c3a0
Merge branch 'feat/add_high_duty_adv_interval_v5.1' into 'release/v5.1'
...
feat(nimble): Added support for high duty adv interval (v5.1)
See merge request espressif/esp-idf!25553
2023-08-29 14:51:45 +08:00
Roland Dobai
df8a4d3335
Merge branch 'feature/configurable_gcov_task_size_v5.1' into 'release/v5.1'
...
feat(gcov): make gcov dump task size configurable (v5.1)
See merge request espressif/esp-idf!25600
2023-08-29 09:43:51 +08:00
Erhan Kurubas
568c397822
feat(coredump): add panic details to the elf file
2023-08-28 18:48:16 +02:00
Rahul Tank
8f51aee8fa
feat(nimble): Added support for high duty adv interval
2023-08-28 17:53:16 +05:30
Rahul Tank
81ae481d7f
Merge branch 'feat/add_set_data_related_addr_change_cmd_v5.1' into 'release/v5.1'
...
feat(nimble): Add support for LE Data Set Related Address Change command (v5.1)
See merge request espressif/esp-idf!25583
2023-08-28 20:21:50 +08:00