Chen Jian Hua
f512f059ea
fix(bt/controller): Fixed ble get tx power error
...
(cherry picked from commit 4108a5cc4c
)
Co-authored-by: chenjianhua <chenjianhua@espressif.com >
2024-09-27 18:33:18 +08:00
Chen Jian Hua
5bf4347ad9
fix(bt/controller): Fixed the timeout of wake up timer when using RC OSC
...
(cherry picked from commit 873708579c
)
Co-authored-by: chenjianhua <chenjianhua@espressif.com >
2024-09-27 18:33:16 +08:00
Chen Jian Hua
fc754b2033
fix(bt/controller): Change the max TX power to +20dBm on ESP32-C3 and ESP32-S3
...
(cherry picked from commit fe43c8f1b5
)
Co-authored-by: chenjianhua <chenjianhua@espressif.com >
2024-09-18 17:34:13 +08:00
zhanghaipeng
ae186b888b
feat(ble/controller): Support get BLE controller free heap size
2024-08-23 09:42:32 +08:00
chenjianhua
3d143a235c
feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(4e58df9)
...
- Support enhanced BLE TX power setting and getting
2024-08-05 15:26:03 +08:00
chenjianhua
84657b9d74
fix(bt/controller): Change level of BLE interrupt to avoid allocation failure
2024-07-18 14:10:33 +08:00
chenjianhua
35e79a6437
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(eca46a0)
...
- Fixed adv data buffer free after restart adv
- Fixed BLE interrupt allocation using esp API
2024-06-24 19:48:36 +08:00
Wang Mengyang
76486bbfcb
change(bt): Rename linker script file names and symbol names
...
1. rename linker files
2. support memory release in case that ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY is enabled
3. improve the implementation of memory release
2024-05-06 17:14:58 +08:00
Wang Mengyang
eca6545ffe
fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled
...
1. Closes https://github.com/espressif/esp-idf/issues/10427
2. add two linker script to unify linker script symbols for BT libraries
3. The memory release functions have also been simplified
fix(bt): remove unused file linker.lf
2024-05-06 17:14:55 +08:00
Jiang Jiang Jian
dd61b7ed37
Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.0' into 'release/v5.0'
...
Fixed some BT and BLE bugs 2404 (backport v5.0)
See merge request espressif/esp-idf!30259
2024-04-22 10:48:04 +08:00
chenjianhua
49f11c53bd
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(5274796)
...
- Fixed extended uncoded and coded scan scheduling
- Add config for channel assessment and ping procedure
- Clear random address for extended advertising
- Add periodic advertising list check
- Fixed periodic advertising data setting with zero length
2024-04-18 14:43:00 +08:00
baohongde
0a86dd2eb3
feat(ble/controller): Add coexist schm for BLE
2024-04-18 14:31:53 +08:00
xiongweichao
3fd0dba1a3
feat(ble): Added API to get low power clock source
2024-04-18 10:07:39 +08:00
xiongweichao
332b293215
fix(ble): Fixed macro definition error for 136K clock drift
2024-01-30 15:36:22 +08:00
xiongweichao
08061d3414
fix(ble): Fixed Bluetooth not waking up due to clock drift
2024-01-30 15:36:22 +08:00
zhanghaipeng
ca056b198f
feat(bt/bluedroid): Support ext adv aux option
2024-01-22 20:54:04 +08:00
zhanghaipeng
e37dcaa92f
fix(bt/bluedroid): Fix BLE malloc internal wrapper fail
2024-01-22 20:53:53 +08:00
linruihao
50ef9e3533
fix(ble): fixed interrupt timeout in MAC_BB_PD callback
2024-01-15 16:17:06 +08:00
linruihao
dd16903b51
fix(esp_coex): Fix dependency errors in coexist configuration
2023-10-19 19:04:32 +08:00
zhanghaipeng
18c8d0e04c
fix(bt/bluedroid): Optimize the description of Scan Duplicate in BLE
2023-10-16 19:29:45 +08:00
chenjianhua
9fce08c5d2
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-18 19:39:27 +08:00
zhiweijian
f0c6c5962a
set BT_CTRL_BLE_MAX_ACT default value to 6
2023-05-11 02:45:56 +00:00
zwj
0e5c6144b7
- Support ESP32C3 and ESP32S3 new BLE lib
...
- Disable controller 5.0 feature bits if host 5.0 feature is not enabled
- Fixed extend ADV parameters check for ADV_DIRECT_HI
2023-05-11 02:45:56 +00:00
zwj
c6942be321
Merge ESP32C3 and ESP32S3 BLE bt.c files to one
2023-05-11 02:45:56 +00:00
wangmengyang
ebb7650e63
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs on ESP32-C3, ESP32-S3 and ESP32-C2
2023-01-20 10:47:58 +08:00
zwj
0733694f1f
Update bt lib for ESP32
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-19 20:26:17 +08:00
zwj
e7ee437bcf
Update bt lib for ESP32-C3 and ESP32-S3
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-19 20:24:26 +08:00
zwj
c656e7ec07
Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3
2022-12-19 20:22:58 +08:00
liuning
7d16868e32
phy: only set phy_init_flag at power domain off, when all modems deinit
2022-12-15 10:45:09 +08:00
Jiang Jiang Jian
9406e80d5f
Merge branch 'bugfix/fix_c3_s3_ble_temperature_performance_v5.0' into 'release/v5.0'
...
Fixed bluetooth disconnection caused by HW temperature rise or fall(backport v5.0)
See merge request espressif/esp-idf!21370
2022-12-02 20:39:17 +08:00
zhiweijian
9cfffd2915
- update phy lib
...
- Enable BLE pll track to fix bluetooth disconnection caused by temperature rise or fall on ESP32C3 and ESP32S3
- call pll track in controller task
2022-12-01 18:44:31 +08:00
zwj
1b4499046a
support BLE memory release on ESP32C3 and ESP32S3
2022-11-21 10:33:55 +08:00
zwj
7e168de48d
Update bt lib for ESP32C3 and ESP32S3
...
- Added config to disable scan backoff
- Fixed llm_scan.c assert at line 1485 during controller deinit if duplicate scan is not stopped
- Call pll track in controller task
2022-11-21 10:33:35 +08:00
zwj
99cd53490b
change default tx power from 3dBm to 9dBm
2022-11-21 10:33:35 +08:00
zwj
ccd9d0f8ce
Update BLE lib for ESP32-C3 and ESP32-S3
...
- update ble tx power level mapping
- Fixed ble sch_arb assert
2022-08-23 19:42:28 +08:00
Li Shuai
b9a667b9f8
1. Wi-Fi: update tsf tick interval when lpclk is modified
...
2. Move register_lpclk_callback to coexistence
2022-08-15 21:16:11 +08:00
xiongweichao
555d72c90a
make bluetooth and wifi use the same low power clock
2022-08-15 21:15:51 +08:00
xiongweichao
b8b7dcc159
ESP32C3:bluetooth support use main XTAL in light sleep mode
2022-08-15 21:15:13 +08:00
Jiang Jiang Jian
9ec829f352
Merge branch 'bugfix/wifi_sta_and_ble_disconnect_BCI-303_master' into 'master'
...
component_bt: Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected
Closes BCI-303
See merge request espressif/esp-idf!18643
2022-07-08 19:43:10 +08:00
wangmengyang
1d55f12c2d
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3
...
1. Rename MACROs SYSTEM_WIFI_RST_EN register bit fields to be more recognizable
2. reset Bluetooth baseband and clock bits to fix the issue of task watchdog triggered during controller initialization due to invalid hardware state
2022-07-06 16:23:48 +08:00
xiongweichao
155c4a5cb3
Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected
2022-07-06 14:42:46 +08:00
Jack
cb0dd5cc75
fix the bug that some memory leaked in phy after wifi/ble deinit
2022-06-16 20:42:20 +08:00
Jack
7a8b63869f
deinit BB MAC back memory when they are not used
2022-05-29 00:13:32 +08:00
songruojing
a5b09cf015
rtc_clk: Clean up some clock related enum and macro in soc/rtc.h, replace with new ones in
...
soc/clk_tree_defs.h
2022-05-24 22:59:41 +08:00
Karl Wang
777dbb6c83
components/bt: disable Bluetooth PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issues
2022-05-17 20:00:23 +08:00
Jiang Jiang Jian
baa5b8ed7d
Merge branch 'bufix/esp32c3_s3_build_err' into 'master'
...
component_bt: Fix ESP32C3/S3 build error after enabled light sleep
Closes BT-2086
See merge request espressif/esp-idf!17546
2022-05-01 17:48:18 +08:00
Marius Vikhammer
d2872095f9
soc: moved kconfig options out of the target component.
...
Moved the following kconfig options out of the target component:
* CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
* ESP*_REV_MIN -> esp_hw_support
* ESP*_TIME_SYSCALL -> newlib
* ESP*_RTC_* -> esp_hw_support
Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
songruo
60bb5c913d
clk_tree: prework of introducing clk subsystem control
...
1. Clean up clk usage in IDF, replace rtc_clk_xtal/apb_freq_get with
upper level API esp_clk_xtal/apb_freq
2. Fix small errors and wrong comments related to clock
3. Add clk_tree_defs.h to provide an unified clock id for each chip
Modify the NGed drivers to adopt new clock ids
2022-04-11 12:09:06 +08:00
xiongweichao
2be8875fd7
Fix ESP32C3/S3 build error after enable light sleep
2022-03-24 11:43:04 +08:00
Anton Maklakov
68e5d9d585
Remove IRAM_ATTR from any function declarations
...
IRAM_ATTR expands to a unique section attribute. Applying it to both
declaration and definition results in a section conflict.
2022-03-22 09:58:50 +00:00