Commit Graph

30510 Commits

Author SHA1 Message Date
chenjianhua
c315a246e6 Update bt lib for ESP32-C3 and ESP32-S3(59725b5)
- Support BLE RX error packet count record
- Fixed adv random delay when adv interval is less than 20ms
- Fixed adv random address setting when owner address type is public
2023-09-07 11:05:10 +08:00
chenjianhua
5b7fcd80d2 Update bt lib for ESP32-C3 and ESP32-S3(ff6efe7)
- fix(bt/controller): Fixed PHY enable and disable
- feat(bt/controller): Support DAA and LBT mode for BLE CCA
2023-09-07 11:05:10 +08:00
zhanghaipeng
0f6a7ac7b1 fix(bt): Fix bugs about updating connect param 2023-09-07 11:05:10 +08:00
zhanghaipeng
e3c5c4fb7b fix(bt): Fix bug while calculating block cipher using aes-128 2023-09-07 11:05:10 +08:00
zhanghaipeng
98f59569b0 docs(bt): Update comment in ble 2023-09-07 11:05:10 +08:00
zhanghaipeng
cc9c5b78b9 feat(bt/bluedroid): Support periodic adv adi feature 2023-09-07 11:05:09 +08:00
chenjianhua
985f6a4892 fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting 2023-09-07 11:05:09 +08:00
chenjianhua
9df464d7bb fix(bt/bluedroid): Fixed GATTC cache address save when list is full 2023-09-07 11:05:09 +08:00
chenjianhua
35af1c03e2 feat(bt/bluedroid): Support high duty adv interval setting 2023-09-07 11:05:09 +08:00
chenjianhua
52a0a10ef4 fix(bt/bluedroid): Fix address check when using NRPA as random device address 2023-09-07 11:05:09 +08:00
Jiang Jiang Jian
4a221b0346 Merge branch 'feature/ble_lib_update_h2_c6_v5.1' into 'release/v5.1'
ble: update h2 c6 libble to 5d7af429

See merge request espressif/esp-idf!25692
2023-09-07 10:25:18 +08:00
Jiang Jiang Jian
d22e640579 Merge branch 'bugfix/aes_dma_descriptor_setup_issue_v5.1' into 'release/v5.1'
fix(aes): correct the linking of the DMA descriptors (v5.1)

See merge request espressif/esp-idf!25784
2023-09-07 10:24:09 +08:00
Wang Meng Yang
98f4ce2011 Merge branch 'bugfix/fix_some_hci_cmd_param_check_v5.1' into 'release/v5.1'
fix(bt/controller): Fixed some HCI commands parameter check (Backport v5.1)

See merge request espressif/esp-idf!25712
2023-09-07 07:41:15 +08:00
Rahul Tank
94ad8f1a6a Merge branch 'feature/dynamic_services_v5.1' into 'release/v5.1'
Nimble: Add support for dynamic service addition / deletion (v5.1)

See merge request espressif/esp-idf!25742
2023-09-06 17:18:27 +08:00
Michael (XIAO Xufeng)
8ff8486735 Merge branch 'fix/spi_polling_api_buslock_logic_v5.1' into 'release/v5.1'
fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed (v5.1)

See merge request espressif/esp-idf!25576
2023-09-06 14:01:25 +08:00
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
luomanruo
90da6ebfec change: print assert info before dump log 2023-09-05 15:10:54 +08:00
cjin
6f89300764 change: changed ble msys init for controller 2023-09-05 15:10:38 +08:00
cjin
d94c9d141b feat: added ble wake up overhead support 2023-09-05 15:10:38 +08:00
cjin
d3e8242db1 feat: Support esp32c2 BLE power save example 2023-09-05 15:10:38 +08:00
luomanruo
56894b1bca ble: update h2 c6 libble to 5d7af429 2023-09-05 15:10:38 +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
Roshan Bangar
1520984157 feat(nimble): Added support for dynamic services
Added support for dynamic services
2023-09-05 11:52:17 +05:30
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
linruihao
f629029d4a fix(bt/controller): Fixed some HCI commands parameter check
Fixed HCI_Change_Connection_Packet_Type Command parameter check
Fixed HCI_Accpet_Synchronous_Connection_Request Command parameter check
Fixed HCI_Set_Connectionless_Peripheral_Broadcast_Data Command parameter check
2023-09-04 11:03:33 +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
wanlei
6aa9086206 fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed
Close https://github.com/espressif/esp-idf/issues/11845
2023-08-31 21:15:14 +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