xiongweichao
2ee9fc6aff
Bluetooth build fail when power management is enabled
...
Closes https://github.com/espressif/esp-idf/issues/9081
2022-06-06 11:42:45 +08:00
Karl Wang
5c24b7f75f
components/bt: disable Bluetooth PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issues
2022-05-17 20:54:51 +08:00
xiongweichao
39c63420ba
Fix ESP32C3/S3 build error after enable light sleep
2022-05-07 06:19:33 +00:00
Jiang Jiang Jian
975b525e03
Merge branch 'bugfix/add_pll_track_feature_mr_4.4' into 'release/v4.4'
...
Add pll track feature
See merge request espressif/esp-idf!17285
2022-03-04 13:54:19 +08:00
xiongweichao
d8c7c41a43
Fix crash when host exit sniff mode
2022-03-03 02:59:31 +00:00
Yang Zhao
2bdea81b2a
Update ESP32-C3 and ESP32-S3 bt lib and phy lib
...
Add the pll track feature to keep the ble connection stable when the environment
temprature increase form 0 to 74.
2022-03-01 14:56:47 +08:00
xiewenxiang
35b2b3e24c
components/bt: Fix ble adv_underrun issue
...
components/bt: Fix LLCP collision for channel map update
2022-02-16 00:39:00 +08:00
Wang Meng Yang
0a0b652815
Merge branch 'bugfix/fix_bluedroid_ble50_adv_data_length_issue_v4.4' into 'release/v4.4'
...
components/bt: Fix bluedroid ble50 adv data length issue(backport release/v4.4)
See merge request espressif/esp-idf!16579
2022-02-07 08:01:55 +00:00
jincheng
a0e20e17f0
fix cs event for rd_rem_ext_feats delayed issue
2022-01-17 13:02:26 +08:00
xiewenxiang
bf6b3ec0a8
component/bt: Support set HW CCA threshold value
2021-12-29 14:43:33 +08:00
wangmengyang
8152978d73
component/bt: fixed coexistence scannable extended adv performance issue
2021-12-21 12:43:33 +08:00
Chinmay Chhajed
431bf72295
bt/bugfix: ACL Rx data is sent to host before enc change event
2021-12-16 15:41:31 +05:30
Jiang Jiang Jian
75fa6d7e3f
Merge branch 'feature/add_coex_hci_command_v4.4' into 'release/v4.4'
...
Add hci command to set coexistence status (v4.4)
See merge request espressif/esp-idf!16053
2021-11-29 03:23:32 +00:00
xiewenxiang
d7995a650e
component/bt: fix assert fail when interrupt hlevel disable
2021-11-23 19:50:54 +08:00
xiongweichao
a24ea59820
Add hci command to set coexistence status
2021-11-23 11:34:34 +08:00
Yang Zhao
9b450e19da
It is abnormal when getting the deep sleep state bit. So we need to check
...
the state again and run the "ble_master_soft_rst()" if neesed.
2021-11-19 15:54:20 +08:00
Wang Meng Yang
b2e1c6eb57
Merge branch 'bugfix/fix_custmoer_issues_v4.4' into 'release/v4.4'
...
bugfix/fix_3_controller_issues_v4.4
See merge request espressif/esp-idf!15973
2021-11-19 03:34:13 +00:00
jincheng
66b887a680
fix HCI_Read_Clock error
...
fix HCI_Create_Connection_Cancel error
fix ASSERT_WARN during epr
2021-11-17 17:59:26 +08:00
Rahul Tank
1891761fbb
ESP32: Fix memory leak in controller deinit function
...
Added change to dealloc s_pm_lock in controller deinit as it gets allocated
during init procedure.
Closes https://github.com/espressif/esp-idf/issues/7653
2021-11-16 10:41:32 +05:30
Jiang Jiang Jian
dd5d452428
Merge branch 'bugfix/power_down_bluetooth_module_when_deinit_v4.4' into 'release/v4.4'
...
component/bt: Power down bluetooth module when deinit
See merge request espressif/esp-idf!15717
2021-11-11 08:27:51 +00:00
baohongde
0c0d0f9b35
components/bt: Fix the issue caused by the power off the bt power domain
2021-11-11 11:33:15 +08:00
xiewenxiang
7a6a61feef
component/bt: fix crash when shutdown bt(backport v4.4)
2021-11-08 10:55:12 +08:00
Chinmay Chhajed
affe1a0692
BLE: Set connection max latency value to 499.
2021-11-01 16:45:16 +05:30
baohongde
89d290f17a
component/bt: Power down bluetooth module when deinit
2021-10-29 10:44:02 +08:00
xiongweichao
3187b9b5a4
1. Fix the scan failed issue.
...
2. Fix connection failed with LG 5.0 phone
3. Remove assert when inquiry done
2021-10-27 14:54:37 +08:00
Li Shuai
46dedca23c
ci: replace old header with new SPDX header style
2021-10-14 10:51:10 +08:00
baohongde
e684b3f2a6
Power Management: Initialize backup memory for MAC and Baseband power up/down
2021-10-14 10:51:10 +08:00
baohongde
17d719bad7
Power Management: power up/down BT power domain when BT init/deinit
2021-10-14 10:51:09 +08:00
Chinmay Chhajed
a977618f55
BT: Check only for same X component of public key in BR/EDR.
2021-09-20 23:24:24 +08:00
xiewenxiang
bebc5d543b
component/bt: Fixed default LE Event Mask
2021-09-17 17:12:16 +08:00
baohongde
b310c062cd
components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller
2021-09-16 20:26:35 +08:00
baohongde
eb176c3453
Fix bt init error with psram
2021-09-15 10:57:45 +08:00
baohongde
05768e9878
components/bt: Combine 3 Bluetooth controller menu
2021-09-15 10:57:37 +08:00
baohongde
6fc4bf7145
components/bt: Fix link error of Kconfig
2021-09-13 15:45:27 +08:00
baohongde
006a10b050
components/doc: Update doc about high-level interrupt
...
some bugfix.
2021-09-09 20:40:09 +08:00
baohongde
57eeb4d953
components/driver: support static allocation of FreeRTOS queues used by ISR routine
2021-09-09 11:29:19 +08:00
baohongde
e2fb413329
components/bt: add config option to choose Bluetooth intterupt level.
2021-09-09 11:29:17 +08:00
baohongde
8a4696d25a
components/os: Fix live lock int bt isr using ocd multicore debug
...
components/os: Fix live lock in bt isr immediately
2021-09-09 11:29:08 +08:00
baohongde
d1db2df316
components/bt: High level interrupt in bluetooth
...
components/os: Move ETS_T1_WDT_INUM, ETS_CACHEERR_INUM and ETS_DPORT_INUM to l5 interrupt
components/os: high level interrupt(5)
components/os: hli_api: meta queue: fix out of bounds access, check for overflow
components/os: hli: don't spill registers, instead save them to a separate region
Level 4 interrupt has a chance of preempting a window overflow or underflow exception.
Therefore it is not possible to use standard context save functions,
as the SP on entry to Level 4 interrupt may be invalid (e.g. in WindowUnderflow4).
Instead, mask window overflows and save the entire general purpose register file,
plus some of the special registers.
Then clear WindowStart, allowing the C handler to execute without spilling the old windows.
On exit from the interrupt handler, do everything in reverse.
components/bt: using high level interrupt in lc
components/os: Add DRAM_ATTR to avoid feature `Allow .bss segment placed in external memory`
components/bt: optimize code structure
components/os: Modify the BT assert process to adapt to coredump and HLI
components/os: Disable exception mode after saving special registers
To store some registers first, avoid stuck due to live lock after disabling exception mode
components/os: using dport instead of AHB in BT to fix live lock
components/bt: Fix hli queue send error
components/bt: Fix CI fail
# Conflicts:
# components/bt/CMakeLists.txt
# components/bt/component.mk
# components/bt/controller/bt.c
# components/bt/controller/lib
# components/esp_common/src/int_wdt.c
# components/esp_system/port/soc/esp32/dport_panic_highint_hdl.S
# components/soc/esp32/include/soc/soc.h
2021-09-09 11:29:06 +08:00
xiongweichao
ba7252d2ea
Fix that when EXT CRYS is configured but not detected, light sleep is still allowed to be used
2021-08-16 16:51:54 +08:00
xiewenxiang
2e5f44afa3
component/bt: Fixed ble conn will crash durning erase flash
2021-08-13 17:57:33 +08:00
Yang Zhao
931da79804
1.Update the esp32 bt lib.The last update is still the old one,so update it again.
...
2.The controller may miss the sleep time caculated before. So it will stuck
in the loop to get the deep sleep HW flag. Then the watchdog issue happen.
2021-08-11 14:05:45 +08:00
Yang Zhao
d1f4b74812
The controller may miss the sleep time caculated before. So it will stuck
...
in the loop to get the deep sleep HW flag. Then the watchdog issue happen.
2021-08-09 13:13:51 +08:00
Yang Zhao
6aa44a8a89
This is to fix the hardware bug. The device may report scan event
...
timeout when scaning.If check this error,then reset the rwble core.
2021-07-19 20:56:30 +08:00
xiongweichao
fbab2fc0e3
Add remove sniff when peer not accepted sniff mode
2021-07-16 11:31:13 +08:00
sushant.chougule
4c3d527b2f
component/bt: Fix BLE controller crash during reset/reboot
2021-07-15 22:35:37 +05:30
Wang Meng Yang
0b42c8fc73
Merge branch 'bugfix/fix_c3_s3_some_bugs_06_15' into 'master'
...
Bugfix/fix c3 s3 some bugs 06 15
See merge request espressif/esp-idf!14018
2021-06-27 23:45:22 +00:00
Wang Meng Yang
6ecffb02aa
Merge branch 'bugfix/ble_start_scan_crash_issue_mr_master' into 'master'
...
ble start scan crash issue
See merge request espressif/esp-idf!13798
2021-06-25 10:31:01 +00:00
zwj
97188e8068
support hw recorrect
2021-06-25 15:30:02 +08:00
wangmengyang
a024de7cac
component/bt: fixed the assert in checking hardware sleep state during wake-up
...
The hardware sleep state change can take some time after wake-up interrupt. Use busy waiting instead of directly assert
2021-06-24 10:35:40 +08:00