Commit Graph
60 Commits
Author SHA1 Message Date
morris 8284596d78 Merge branch 'feat/gdma_burst_size_fallback' into 'master'
fix(gdma): treat burst size 0 and 1 as burst disabled

See merge request espressif/esp-idf!52209
2026-09-09 11:05:33 +08:00
Island d82c0b546d Merge branch 'bugfix/fxied_btdm_mempool_compilation_issue' into 'master'
fix(ble): fixed porting_btdm compilation issue for esp32-s31/h4

See merge request espressif/esp-idf!52433
2026-09-09 11:01:14 +08:00
morris f5afb99e3b fix(gdma): treat burst size 0 and 1 as burst disabled
The GDMA layer used `max_data_burst_size == 0` as the only way to disable the
data burst. That conflicts with the upstream drivers' convention where a zeroed
config struct means "unset", so users had no way to ask for the driver default
burst size.

GDMA now treats both 0 and 1 as "no data burst": a single-beat burst has no
benefit over the non-burst mode. The MSPI alignment constraint under Flash
Encryption / PSRAM ECC still takes precedence and is reported with a warning.

The upstream drivers using GDMA now apply their own default burst size (16
bytes) when the user leaves `dma_burst_size` as 0, following the UHCI driver:

- esp_async_crc (AHB / AXI GDMA backend)
- esp_async_memcpy (AHB / AXI / LP-AHB / DW_GDMA backend)

Callers that really want no burst can now set `dma_burst_size` to 1.
2026-09-08 23:29:14 +08:00
Wang Meng Yang 18d728b755 Merge branch 'bugfix/wrong_bredr_tx_power_table' into 'master'
fix(bt): fixed use of wrong function to get BR/EDR power table on ESP32-S31

See merge request espressif/esp-idf!52481
2026-09-08 14:08:05 +08:00
Wang Mengyang a8beda05c9 fix(bt): fixed use of wrong function to get BR/EDR power table on ESP32-S31
header file "btdm_user_cfg.h" is not included, which causes the undefined macro
"UC_BT_CTRL_BR_EDR_IS_ENABLE" in btdm_external.c. In this case, function
wr_btdm_external_bb_get_tx_pwr_table returns a wrong tx power table for BR/EDR
2026-09-06 11:51:04 +08:00
cjin 54efd4ccfd fix(ble): fix ble retention dependency order 2026-09-04 18:35:51 +08:00
ShenWeilong 55c650e1f6 fix(ble): fixed porting_btdm compilation issue for esp32-s31/h4 2026-09-04 15:59:07 +08:00
Island 74512f74a4 Merge branch 'feat/adapt_uhci_code_260824' into 'master'
refactor(hci): switch HCI UART DMA transport to UHCI driver APIs

Closes BLERP-2978

See merge request espressif/esp-idf!51986
2026-08-28 11:02:23 +08:00
ShenWeilong 0ed6004586 fix(bt): fixed mempool deinit crash issue for esp32s31 2026-08-26 21:48:02 +08:00
zhaoweiliang a56a614fdf fix(ble): refactor uart dma hci transport code on ESP32-S31 2026-08-26 11:33:19 +08:00
Jiang Jiang Jian 643070c243 Merge branch 'bugfix/hci_cmd_proc' into 'master'
fix(bt/bluedroid): fixed the function prototype of the command handler of READ LOCAL SUPPORTED CODECS.

Closes BTQABR2023-888

See merge request espressif/esp-idf!51832
2026-08-20 19:35:24 +08:00
Shen Weilong 91b4fdca8f fix(ble): fixed occasional sched assertion for scan scenario 2026-08-19 12:08:02 +08:00
Jin Cheng 1e511cff5f fix(bt/bluedroid): fixed the function prototype of the command handler of READ LOCAL SUPPORTED CODECS 2026-08-18 09:49:24 +08:00
Wang Meng Yang 062a6949ad Merge branch 'bugfix/fix_bredr_example_build_warning' into 'master'
fix(bt): fix unused-variable build warnings for BR/EDR examples on  ESP32-S31

See merge request espressif/esp-idf!51771
2026-08-14 17:03:54 +08:00
cjin 7552394de8 fix(ble): fix bt_apb module clock config on esp32h4 and esp32s31 2026-08-14 12:02:26 +08:00
Wang Mengyang 160c84f688 fix(bt): fix unused-variable build warnings for BR/EDR examples on ESP32-S31 2026-08-14 11:27:41 +08:00
ShenWeilong b9ba3ea3ad feat(bt): updated libble and libbtdm
1. Added strong function for btdm_compressed_assert.
          2. Fixed some berdr hci issues
          3. Updated ble config params structure
2026-08-13 11:07:18 +08:00
liqigan e8d3044728 change(bt/controller): Adapt BR/EDR controller to new architecture 2026-08-13 11:07:07 +08:00
ShenWeilong c48a8567a1 feat(bt): refactor bt sdk with broker for esp32h4 and esp32s31 2026-08-13 11:07:06 +08:00
cjin 287b7c72cd fix: fix on bt slow clk src unable to reset on esp32-h4 and esp32-s31 2026-07-29 15:36:03 +08:00
Rahul Tank e08609e451 fix(nimble): Migrate to NimBLE 1.9.0 2026-07-27 14:14:35 +05:30
morris 2a9d1ee20e refactor(uhci): rename set_eof_mode to enable_eof_modes with bool en param
Rename uhci_ll_rx_set_eof_mode → uhci_ll_rx_enable_eof_modes and its
parameter eof_mode → eof_modes to reflect that multiple EOF modes can
be enabled simultaneously via bitmask. Add bool en parameter so callers
can enable or disable without an outer if-check.
2026-07-24 16:21:09 +08:00
Island de98d9d4ad Merge branch 'feat/feat_support_phy_enable_using_regdma' into 'master'
Feat/feat support phy enable using regdma

Closes BLERP-2376, BLERP-2381, and PM-635

See merge request espressif/esp-idf!46356
2026-07-21 10:40:03 +08:00
cjin 8f845298c1 feat(ble): supported placing bt function in iram on esp32-h4 and esp32-s31 2026-07-20 10:48:26 +08:00
cjin 6ec7a718f9 feat(sleep_modem): allow multi modem to enable rf with regdma 2026-07-17 11:04:26 +08:00
zhiweijian 27ce1bf703 fix(coex): Fixed BLE iso coex cache error 2026-07-16 17:56:50 +08:00
Rahul Tank 63943f4d8b Merge branch 'bugfix/ai_reviewer_nimble_1.6' into 'master'
fix(nimble): Fixes for AI reported issues

See merge request espressif/esp-idf!50012
2026-07-08 13:55:54 +05:30
Rahul Tank 6d835d5226 fix(nimble): Fixes for AI reported issues 2026-07-07 15:45:24 +05:30
chenqingqing 9fbebf293d fix(bt): clarify BR/EDR TX power behavior in menuconfig help 2026-07-07 15:39:26 +08:00
chenqingqing e42038bad2 fix(bt): validate BR/EDR TX power against chip-supported range
The TX power range configurable in menuconfig only describes the maximum possible range.
Add a function to report the real range, and validate the configured BR/EDR TX power values during conroller init.
2026-07-06 20:45:21 +08:00
zhaoweiliang e92c6f7c4c fix(ble): fixed reconfig uart pin build error on ESP32-S31 2026-06-30 09:17:06 +08:00
liqigan 5b25128be8 feat(bt): Added support for slot availablity mask functionality 2026-06-29 10:57:53 +08:00
liqigan 65b1ef250c change(bt): Used esp_log as the print function for bredr controller 2026-06-12 07:48:27 +08:00
ShenWeilong bb4eeb8edc fix(bt): fixed the npl callout stop issue 2026-06-10 19:36:28 +08:00
chenqingqing 07ae3495b5 fix(bt): update the function to get tx power table 2026-06-01 16:16:48 +08:00
chenqingqing 8f1b105b2e fix(bt): update the max/min value of tx power in menuconfig 2026-06-01 16:04:24 +08:00
gongyantao 46cca1eda1 fix(bt): check BC Flag before conn_handle type for ACL packets 2026-05-29 17:59:08 +08:00
gongyantao d80462761c feat(bt): add new feature hold mode 2026-05-29 14:57:50 +08:00
Li Shuai d7a2e15164 Merge branch 'feat/pm-683' into 'master'
support sleep retention runtime module attach/detach feature

Closes PM-683, PM-656, and BT-4216

See merge request espressif/esp-idf!47164
2026-05-21 17:07:58 +08:00
cjin 36b9f73e11 fix(ble): fix btdm lp log tags compilation error 2026-05-21 11:46:16 +08:00
cjin 9521182c67 feat(ble): support retention attach/detach to bt module 2026-05-21 11:46:16 +08:00
ShenWeilong cf813a4a1e feat(ble): Added ble support for esp32h21 2026-05-20 19:24:08 +08:00
xiongweichao 6115a920f1 feat(bt): support classic Bluetooth sleep mode on ESP32-S31 2026-05-18 15:36:12 +08:00
liqigan 39879cc2a2 fix(bt): Fixed not support for HCI sync packet 2026-05-14 15:58:17 +08:00
linruihao 4c8b6b7d69 fix(bt): use esp_random as random number generator 2026-05-14 15:57:12 +08:00
liqigan 926efbe858 fix(bt): Fixed not show config for broadcast encryption and PCA 2026-05-14 15:52:53 +08:00
cjin b6643c4786 feat(ble): supported ble light sleep feat on esp32s31 2026-05-11 08:34:15 +08:00
ShenWeilong a4171d2ad1 fix(ble): always init the default os queue for all of controllers 2026-04-28 15:06:18 +08:00
ShenWeilong 21e83d7eaf change(bt): Separated bt/CMakeLists to nimble/bluedroid/mesh/audio CMakeLists 2026-04-24 15:16:39 +08:00
Wang Meng Yang e1b81f0aad Merge branch 'feat/support_ble_bredr_on_esp32s31' into 'master'
feat(bt): Support Bluetooth LE and Bluetooth Classic on ESP32-S31

Closes IDF-15185, IDF-15188, IDF-15189, IDF-15193, and IDF-15192

See merge request espressif/esp-idf!47330
2026-04-22 08:03:07 +08:00