Commit Graph

2169 Commits

Author SHA1 Message Date
Omar Chebib
9d5923a13e IPC: Move ipc sources to esp_system
IPC shall be put back into esp_system as it is an 'OS additions'.
2021-11-11 10:30:01 +08:00
morris
16677b0d3c global: make periph enable/disable APIs private
peripheral enable/disable usually should be managed by driver itself,
so make it as espressif private APIs, not recommended for user to use it
in application code.
However, if user want to re-write the driver or ports to other platform,
this is still possible by including the header in this way:
"esp_private/peripheral_ctrl.h"
2021-11-08 10:37:47 +08:00
Cao Sen Miao
599227a1b6 ESP8684: Add esp8684 target to other repo for passing build 2021-11-06 17:33:45 +08:00
Xie Wen Xiang
579aa4bd90 Merge branch 'bugfix/fix_crash_when_shutdown_bt' into 'master'
component/bt: fix crash when shutdown bt

See merge request espressif/esp-idf!15705
2021-11-05 03:00:09 +00:00
Wang Meng Yang
328450b8c2 Merge branch 'bugfix/fix_ble_prefered_ext_conn_parameter_detection' into 'master'
component/bt: check the ble ext conn parameter

See merge request espressif/esp-idf!15767
2021-11-04 12:23:42 +00:00
Island
417ef24b06 Merge branch 'bugfix/ble_mesh_host_init' into 'master'
ble_mesh: nimble: return error if init host twice

See merge request espressif/esp-idf!13065
2021-11-03 02:25:03 +00:00
lly
a1535faad5 ble_mesh: nimble: return error if init host twice 2021-11-02 20:40:49 +08:00
lly
277a5947ee ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG 2021-11-02 20:39:56 +08:00
xiewenxiang
f0ef891901 component/bt: check the ble ext conn parameter 2021-11-02 14:33:24 +08:00
xiewenxiang
9b16f5d831 component/bt: fix crash when shutdown bt 2021-11-02 10:29:10 +08:00
Chinmay Chhajed
da0234ca01 Merge branch 'bugfix/ble_conn_latency_max_value' into 'master'
BLE: Set connection max latency value to 499.

Closes BT-2025

See merge request espressif/esp-idf!15706
2021-10-29 12:16:55 +00:00
Chinmay Chhajed
7caa6ca45f BLE: Set connection max latency value to 499. 2021-10-29 14:24:45 +05:30
lly
eeb9a9bd2c ble_mesh: stack: Update license of esp specific files 2021-10-28 21:20:27 +08:00
lly
fc97277e2f ble_mesh: stack: Update the license of provisioner_main.c 2021-10-26 17:44:36 +08:00
wangjialiang
0578c3a126 ble_mesh: stack: Fix heartbeat filter with accept list 2021-10-26 17:43:53 +08:00
Wei Tian Hua
23dd7a4a29 Merge branch 'bugfix/remove_assert_when_inq_done' into 'master'
component_bt: fix crash after inquiry has finished

Closes IDFGH-4967 and IDFGH-5850

See merge request espressif/esp-idf!13505
2021-10-25 10:03:28 +00:00
Chinmay Chhajed
0319dcd23d Merge branch 'bugfix/nimble_x_component_key_check' into 'master'
NimBLE: Compare only x component of public key before pairing.

Closes BT-1928

See merge request espressif/esp-idf!15035
2021-10-22 12:37:02 +00:00
xiongweichao
d5c3342a46 Remove assert when inq done
Closes https://github.com/espressif/esp-idf/issues/6759
2021-10-21 20:08:37 +08:00
Xie Wen Xiang
4b2396e7fc Merge branch 'bugfix/btdm_fix_some_bluedroid_issues' into 'master'
Fix some bluedroid issues

Closes BT-1926 and FCS-743

See merge request espressif/esp-idf!15170
2021-10-21 03:18:22 +00:00
xiewenxiang
5e21788283 component/bt: Modify the bluetooth device name length limits 2021-10-20 16:19:28 +08:00
xiewenxiang
29a097504d component/bt: set ext adv param failed when stop ext adv 2021-10-20 15:41:00 +08:00
Yang Zhao
a7247db6b4 Update esp32 bt-lib
1. Fix the scan failed issue.
2. Fix connection failed with LG 5.0 phone
2021-10-19 21:43:17 +08:00
Wang Meng Yang
ca8d432462 Merge branch 'bugfix/btdm_ble_data_length_update_fail' into 'master'
Fix data length update failed

Closes BT-1924

See merge request espressif/esp-idf!15499
2021-10-18 03:06:26 +00: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
xiewenxiang
76372097bb component/bt: fix data length update failed 2021-10-13 19:58:21 +08:00
Wang Meng Yang
f0ffeb1c65 Merge branch 'bugfix/a2dp_no_audio_transmitted' into 'master'
bugfix/fix wrong clock_id in function `time_now_us`

Closes IDFGH-5862

See merge request espressif/esp-idf!15315
2021-10-08 05:59:57 +00:00
Jiang Jiang Jian
65682ad63c Merge branch 'bugfix/bt_legacy_paring_wrong_pin_code_err' into 'master'
bugfix/fix the crash when using legacy paring with wrong pin code

Closes IDFGH-5856

See merge request espressif/esp-idf!15235
2021-09-30 01:12:34 +00:00
Jiang Jiang Jian
168ecb275c Merge branch 'bugfix/fix_macro_conversion' into 'master'
Nimble: Fix logging level mismatch

See merge request espressif/esp-idf!14477
2021-09-30 01:09:23 +00:00
Wang Meng Yang
10d083a4c1 Merge branch 'bugfix/bt_x_component_key_check' into 'master'
BT: Fix for CVE-2021-37577.

Closes BT-1938

See merge request espressif/esp-idf!15228
2021-09-24 06:16:30 +00:00
Rahul Tank
67bb97cbf3 Nimble: Removed Critical debug level from menuconfig, since it internally maps
to level Error.
2021-09-24 11:11:36 +05:30
Chinmay Chhajed
29d306e6ff NimBLE: Compare only x component of public key before pairing. 2021-09-23 18:30:01 +05:30
Jiang Jiang Jian
91818884cc Merge branch 'bugfix/stack_init_check' into 'master'
Nimble: Check stack status before executing stack command

Closes BT-1367

See merge request espressif/esp-idf!14869
2021-09-23 04:26:54 +00:00
jincheng
52e7b99630 fix wrong clock_id in function time_now_us
Close https://github.com/espressif/esp-idf/issues/7561
2021-09-23 09:47:35 +08:00
jincheng
c592da5308 bugfix/fix the crash when using legacy paring with wrong pin code
Close https://github.com/espressif/esp-idf/issues/7556
2021-09-23 07:40:54 +08:00
Zim Kalinowski
73fc400ac0 Merge branch 'feature/github-7582' into 'master'
code formatting updated

See merge request espressif/esp-idf!15267
2021-09-22 09:43:35 +00:00
Rahul Tank
1ad7d0dac4 Nimble: Check stack status before executing stack command 2021-09-21 12:41:45 +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
ajit1433
ae8fac38fa
code formatting updated 2021-09-18 23:14:09 +05:30
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