wangmengyang
7736cdefd8
bt: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth
2022-10-11 16:36:37 +08:00
Zhi Wei Jian
1308ff3d21
Merge branch 'bugfix/fix_esp32_ble_assert_32' into 'master'
...
Fixed ESP32 BLE assert(32 0)
Closes BT-2809
See merge request espressif/esp-idf!20446
2022-10-08 21:51:50 +08:00
Wang Meng Yang
0fa55c897f
Merge branch 'bugfix/fix_ble_lld_per_adv_assert_on_esp32c3_s3' into 'master'
...
Fixed BLE lld_per_adv.c line 401 assert
Closes BT-2624
See merge request espressif/esp-idf!20447
2022-10-08 20:49:43 +08:00
zwj
457006e04e
Fixed BLE lld_per_adv.c line 401 assert
2022-09-30 15:45:37 +08:00
zwj
4ba1dd0a9c
Fixed ESP32 BLE assert(32 0)
2022-09-30 15:07:24 +08:00
zwl
8a221f0073
Fixed the issue that master sends retransmitted data incorrectly on ESP32C2
2022-09-29 16:26:10 +08:00
cjin
0d113fb609
update controller lib for bugfix on light-sleep
2022-09-26 21:25:48 +08:00
cjin
f289710ccf
fix ble compilation error
2022-09-26 20:51:13 +08:00
cjin
8e348c3f63
update ble controller lib for bugfix on esp32c2
2022-09-21 12:34:41 +00:00
cjin
872baad9b9
mbuf copy hci data error fix
2022-09-21 12:34:41 +00:00
Jiang Jiang Jian
292fe7c57f
Merge branch 'bugfix/ble_light_sleep_error_on_esp32c2_master' into 'master'
...
Bugfix/ble light sleep error on esp32c2 master
Closes BLE-161 and BLE-162
See merge request espressif/esp-idf!20248
2022-09-21 10:53:18 +08:00
Jiang Jiang Jian
19759d5d33
Merge branch 'bugfix/acl_buf_ocf_and_conn_fail' into 'master'
...
bugfix/fixed the exhaustion of ACL buffer and duplicated connection requests
Closes ESPCS-855
See merge request espressif/esp-idf!19794
2022-09-20 15:12:14 +08:00
zwl
16c8a369e6
fixed wifi can't be connected after enable bt sleep mode
2022-09-20 14:44:00 +08:00
Wang Meng Yang
02aad58856
Merge branch 'bugfix/fix_ble_disconnect_due_to_channel_map_instant_passed' into 'master'
...
Fixed BLE disconnection issue when channel map instant passed due to bad channels
Closes BT-2764, BT-2730, and BT-2649
See merge request espressif/esp-idf!20189
2022-09-20 14:13:27 +08:00
zwl
f42eed9491
fixed ble can't enter light sleep
2022-09-20 12:08:09 +08:00
satish.solanke
77b8276578
Fix: blufi example memory leak while init and deinit
2022-09-19 10:17:50 +05:30
zwj
f95c347013
update BLE lib for ESP32C3 and ESP32S3
...
Fixed BLE disconnection issue when channel map update failed due to bad channels
2022-09-16 21:25:22 +08:00
zwj
c6b7bbdab9
Update ESP32-C3 and ESP32-S3 BLE lib
...
- Fixed the performance issue of usage of PLL track related baseband IRQsFixed the performance issue of BLE sync scan in coexistence scenario when PLL track is enabled
- Fixed connect failed due to error sync found signal
- Fixed BLE disconnect failed due to terminate_ind have sent but no ACK is received
- Added ADV mode error check in ADV rx isr handler function
- Fixed BLE RAL_UNDERRUN and TX_CRYPT_ERR assert
- Disable scan continue
- Fixed scan forever if scan continue is disable
2022-09-07 12:20:01 +08:00
jincheng
1282eda148
fixed the exhaustion of ACL buffer
...
fixed the duplication of connection request from the same device
2022-08-31 16:24:59 +08:00
Jiang Jiang Jian
8d9c51f76d
Merge branch 'feature/add_txpwr_api_on_esp32c2' into 'master'
...
add set/get txpwr api for esp32c2
See merge request espressif/esp-idf!19520
2022-08-29 23:35:25 +08:00
Zhi Wei Jian
4a5662bc25
Merge branch 'feature/add_qa_test_funcs' into 'master'
...
Add QA test Functions for esp32
See merge request espressif/esp-idf!19735
2022-08-29 21:04:02 +08:00
zwl
30e47072f9
add set/get txpwr api and fix issues such as disconnect and abnormal tx behavior for esp32c2
2022-08-29 11:32:18 +08:00
zhiweijian
0b4122ecee
Add QA test Functions
2022-08-23 21:20:43 +08:00
xiongweichao
9ee49832ea
Fix bluetooth disconnection issue when light sleep and baseband power down are enabled
2022-08-22 15:06:48 +08:00
songruojing
304a8f142d
esp32c6: introduce the target
...
Add esp32c6 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32c6`
2022-08-19 11:13:02 +08:00
zwj
788f7265c0
Update BLE lib for ESP32-C3 and ESP32-S3
...
- update ble tx power level mapping
- Fixed ble sch_arb assert
2022-08-11 21:29:26 +08:00
satish.solanke
42743a7189
Update_sdkdefaultconfig_BLE_only_flag ESP32C2
2022-08-09 16:28:01 +00:00
jingli
ee3423834e
kconfig: refactor xtal freq kconfig to common configuration item
2022-08-05 19:12:29 +08:00
Island
74abb42053
Merge branch 'feature/update_to_the_latest_controller_lib' into 'master'
...
Feature/update to the latest controller lib
See merge request espressif/esp-idf!19372
2022-08-05 17:51:16 +08:00
zwl
dd05a3754a
update ble controller lib for ble issues fixed on esp32c2(8dbbbf0269)
2022-08-04 15:19:51 +08:00
Li Shuai
4f2cec8495
1. Wi-Fi: update tsf tick interval when lpclk is modified
...
2. Move register_lpclk_callback to coexistence
2022-08-04 14:11:25 +08:00
xiongweichao
bb5e7004b9
make bluetooth and wifi use the same low power clock
2022-08-04 14:01:34 +08:00
xiongweichao
1fec2b9529
ESP32S3:bluetooth support use main XTAL in light sleep mode
2022-08-04 14:01:34 +08:00
xiongweichao
d85d927bb0
ESP32C3:bluetooth support use main XTAL in light sleep mode
2022-08-04 14:01:34 +08:00
Island
6c8375e2d2
Merge branch 'feature/support_ble_on_esp32c2_26M' into 'master'
...
support BLE with 26M xtal for esp32c2
See merge request espressif/esp-idf!19300
2022-08-04 11:07:20 +08:00
Shen Weilong
028d071e84
support BLE with 26M xtal for esp32c2
2022-07-29 21:36:33 +08:00
xiongweichao
7eedd710c2
fix legacy pair controller does not send the link key to the host
...
Closes https://github.com/espressif/esp-idf/issues/5850
2022-07-28 14:21:48 +08:00
jincheng
44607e10ea
add protect for bt_util_buf_env buffers when access by task and interrupt
...
ignore the assert_err in rm_bt_clkoff1_setf
2022-07-27 17:56:08 +08:00
Jiang Jiang Jian
9a6ccb7f57
Merge branch 'bugfix/make_sure_sempher_and_queue_used_in_isr_is_in_DRAM' into 'master'
...
Bugfix/make sure sempher and queue used in isr is in dram
Closes WIFI-3571, IDFGH-7458, IDFGH-7342, and IDFGH-7569
See merge request espressif/esp-idf!19160
2022-07-22 14:04:27 +08:00
Jiang Jiang Jian
22b17a3471
Merge branch 'bugfix/schm_process_in_active_crash' into 'master'
...
Coex: fixed crash when calculating end transfer time
See merge request espressif/esp-idf!18330
2022-07-22 11:02:08 +08:00
baohongde
6d631d14de
components/bt: Make sure sempher and queue used in isr is in DRAM
2022-07-21 13:50:29 +08:00
Jiang Jiang Jian
8d98fbe26a
Merge branch 'bugfix/remove_unused_ble_rtc_source_sel' into 'master'
...
Remove can not use wake up source for esp32h2
See merge request espressif/esp-idf!18966
2022-07-13 13:50:26 +08:00
Jiang Jiang Jian
1523a1bdef
Merge branch 'bugfix/fix_esp32_c3_s3_adv_report_duplicate_check' into 'master'
...
Fix esp32c3/s3 adv report duplicate check
Closes BT-2440
See merge request espressif/esp-idf!18961
2022-07-12 14:00:33 +08:00
GengYuchao
df6d3eb602
Remove can not use wake up source for esp32h2
2022-07-12 11:23:59 +08:00
xiongweichao
b0b6ad21f8
coex: fixed crash when calculating end transfer time
2022-07-11 15:26:53 +08:00
Jiang Jiang Jian
4644e2c302
Merge branch 'bugfix/fix_esp32_ke_mem_c_assert' into 'master'
...
Fixed esp32 BLE ke_mem.c assert
See merge request espressif/esp-idf!18916
2022-07-11 14:02:39 +08:00
chenjianhua
42667adf70
fix esp32c3/s3 adv report duplicate check
2022-07-11 10:25:32 +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
Jiang Jiang Jian
a7bf3af687
Merge branch 'bugfix/reset_ble_hw_on_inititalization' into 'master'
...
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3
Closes BT-2402
See merge request espressif/esp-idf!18831
2022-07-08 16:21:41 +08:00
zwj
9a46d06532
fix esp32 BLE ke_mem.c assert
2022-07-07 11:23:11 +00:00
Island
0d86ca59a6
Merge branch 'update/esp32h2_h2_beta2_controller_lib_to_cd9dd20' into 'master'
...
Update esp32h2 beta2 lib to controller master
See merge request espressif/esp-idf!18876
2022-07-06 22:13:05 +08:00
Jiang Jiang Jian
7b3ee47c67
Merge branch 'bugfix/fix_ble_ke_mem_c_assert_on_c3_s3' into 'master'
...
Fixed BLE ke_mem.c assert on esp32c3 and esp32s3
Closes BT-2405, BT-2406, and BCI-302
See merge request espressif/esp-idf!18863
2022-07-06 16:58:07 +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
GengYuchao
d145c337e0
Enable rpa_moudle reset function
2022-07-05 20:50:31 +08:00
GengYuchao
509ac4e748
Update esp32h2 beta2 lib to master
2022-07-05 15:15:41 +08:00
zwj
f15d7d28b5
fix ble ke_mem.c assert on esp32c3 and esp32s3
2022-07-05 03:18:14 +00:00
Jiang Jiang Jian
8ab78803d4
Merge branch 'bugfix/s3_wakeup_light_sleep_rtc_wdt_timeout' into 'master'
...
component_bt: Fixed rtc watchdog timeout when waking up light sleep due to some functions not in IRAM
See merge request espressif/esp-idf!18757
2022-07-04 18:21:29 +08:00
morris
7863c1bc45
Merge branch 'bugfix/fix_rtc_freq_err_for_h2_beta1' into 'master'
...
Bugfix/fix rtc freq err for h2 beta1
See merge request espressif/esp-idf!18682
2022-07-04 16:46:17 +08:00
Wang Meng Yang
73cfc078a0
Merge branch 'bugfix/restore_edr_en_and_protect_for_vhci_env' into 'master'
...
bugfix/restore edr_en and add protect for vhci_env
Closes IDFGH-6254, IDFGH-6766, IDFGH-7605, and AUD-3629
See merge request espressif/esp-idf!18388
2022-07-01 19:31:01 +08:00
GengYuchao
95c8d775d0
Update lib for h2 beta2
2022-06-30 17:02:00 +08:00
GengYuchao
b474c83840
Add support for esp32h2 beta2
2022-06-30 17:02:00 +08:00
GengYuchao
07a470bccc
Update ble lib for h2 beta1
2022-06-30 17:02:00 +08:00
xiongweichao
9531fae1d3
Fixed rtc watchdog timeout when waking up light sleep due to some functions not in IRAM
2022-06-29 19:56:47 +08:00
zwj
ed593ba168
update ble lib (444e4a2b)
...
- fix rpa entry err if addr resol is disabled
- fix aux connect crash
2022-06-27 14:50:26 +08:00
jincheng
70d892fbb8
restore edr_en which was wrongly cleared by role switch
...
add critical protection for vhci_env_p->vhci_intr_st
ignore max_page when handle remote features
Closes https://github.com/espressif/esp-idf/issues/7923
Closes https://github.com/espressif/esp-idf/issues/8394
Closes https://github.com/espressif/esp-idf/issues/1921
2022-06-21 19:23:41 +08:00
GengYuchao
1dabebf771
Fix Kconfig format issue and add option
2022-06-20 17:00:12 +08:00
GengYuchao
b2f8a3c694
Update bt controller interface file
2022-06-20 17:00:12 +08:00
GengYuchao
633e9282b7
Update the CMake compilation architecture and update the controller configuration options
2022-06-20 17:00:12 +08:00
GengYuchao
d1afa7f8d5
Update ble controller lib for esp32c2
2022-06-20 17:00:12 +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
zwj
fd90341138
support ble modem sleep and light sleep
2022-06-14 19:52:50 +08:00
Jiang Jiang Jian
b617ccfb4c
Merge branch 'feature/esp32c2_eco1_bluetooth_update_0525_for_MR' into 'master'
...
Support bluetooth for esp32c2 chip
See merge request espressif/esp-idf!18243
2022-06-04 17:35:17 +08:00
Geng Yuchao
910b296d72
Add missing configuration items for BLE controller
2022-06-04 11:35:18 +08:00
Geng Yuchao
8533457208
Add bluetooth controller lib for esp32c2
2022-06-04 01:00:04 +08:00
Geng Yuchao
0722e6a0b7
Update controller lib for esp32h2
2022-06-04 01:00:04 +08:00
Geng Yuchao
5bba3ebed9
Fix esp32h2 controller support.
2022-06-04 00:59:56 +08:00
Geng Yuchao
5c3f0bfe7c
Add esp32c2 controller support.
2022-06-04 00:59:21 +08:00
Geng Yuchao
50b762af1f
Add Bluetooth controller menuconfig option for esp32c2 and esp32h2
2022-06-03 22:41:33 +08:00
xiongweichao
d888665160
Bluetooth build fail when power management is enabled
...
Closes https://github.com/espressif/esp-idf/issues/9081
2022-06-02 10:46:19 +08:00
satish.solanke
3a42007680
Bluedroid porting changes for esp32h2
...
created common Kconfig for common flag of nimbble and Bluedroid
fix compile error
created common cfg file for controller
fix the compilation error on tip of master
added common controller flags and fixed compilation error
sdkconfig rename for target specific
2022-05-30 08:42:45 +00:00
Jiang Jiang Jian
0e94779b2e
Merge branch 'feature/support_esp32c2_wifi_new' into 'master'
...
Bringup ESP32C2 Wi-Fi
Closes IDF-3905
See merge request espressif/esp-idf!18136
2022-05-29 18:25:24 +08:00
Jack
7a8b63869f
deinit BB MAC back memory when they are not used
2022-05-29 00:13:32 +08:00
Anton Maklakov
cfa3e68d1b
bt: esp32s3, make int types consistent
2022-05-27 08:03:54 +00:00
Anton Maklakov
877dc3e304
bt: make int types consistent
2022-05-27 08:03:54 +00: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
Rahul Tank
f376bb5d05
Add support in Nimble for ESP32H2
2022-03-14 11:57:53 +05:30
Sudeep Mohanty
a9fda54d39
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Yang Zhao
000f398ab9
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-03 07:39:22 +00:00
xiongweichao
3fe222d17b
Fix crash when host exit sniff mode
2022-03-02 03:56:52 +00:00
xiewenxiang
dd9e2f4ac6
components/bt: Fix ble adv_underrun issue
...
components/bt: Fix LLCP collision for channel map update
2022-02-16 16:35:00 +08:00
morris
ef00bd59dc
esp_rom: extract int matrix route and cpu ticks getter
2022-02-09 13:52:20 +08:00
Kevin (Lao Kaiyao)
bf8d4d55d0
Merge branch 'refactor/rename_esp8684_to_esp32c2' into 'master'
...
esp8684: rename esp8684 to esp32c2
Closes IDF-4530
See merge request espressif/esp-idf!16745
2022-01-19 09:08:58 +00:00
laokaiyao
cf049e15ed
esp8684: rename target to esp32c2
2022-01-19 11:08:57 +08:00