wangcheng
6dde2eb3c5
Fixed assert(9, 10), When rx and evt_end interrupts exist at the same time, use the information of rx to determine the execution order
2020-08-18 16:06:22 +08:00
wangcheng
ebacef4304
component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0), fix assert(512,0)
2020-07-24 12:05:29 +08:00
weitianhua
de438461f5
Backport from baidu proj
2020-07-13 15:03:17 +08:00
Chinmay Chhajed
a9d4ed4a55
Bluedroid: Authentication fixes in Legacy and Secure Connection.
...
Prevent a remote device from doing a Bluetooth Impersonation Attack
(BIAS) by:
- Preventing remote device to downgrade secure connection
feature mask. Secure connection feature mask should remain same or
increase to enabled in link key generation and authentication.
- Doing a mutual authentication during Legacy Authentication.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-06-24 22:25:20 +05:30
baohongde
b2a3a9041d
components/coex: Fix wakeup delay with DFS
2020-03-28 20:49:15 +08:00
baohongde
286d249239
components/bt: Fix assert when create conntion cancel
2020-03-28 20:44:43 +08:00
weitianhua
ce55956a8f
Fix mem_start uninitialized error when compiler optimization performance enabled
2020-03-14 14:45:04 +08:00
Mahavir Jain
0cc802e6ab
ipc: prevent code getting pulled in for unicore configuration
2020-03-11 14:04:45 +05:30
Chinmay Chhajed
abab19ad4d
This MR is intended to fix Bluetooth event scheduling when WiFi is also
...
enabled. The global interrupts will be disabled before taking current
time for scheduling further bluetooth events. Earlier disabling
interrupts was taking some time because of which WiFi events were
interrupting in current bluetooth scheduling.
Also fixes ble crash issue triggered by ble event irq miss(0x20000) (819979b9)
2020-03-04 20:30:37 +05:30
June
ea3d70382b
backport esp325p0 new features to release/v4.0
2020-02-29 09:11:30 +00:00
wangmengyang
2236449f47
component/bt: set non-zero initial value for bt sleep clock cycle to avoid div-by-zero error in function "btdm_us_2_lpcycles" when BT modem sleep is not enabled
2020-02-26 16:19:43 +08:00
Jiang Jiang Jian
d292907fb7
Merge branch 'bugfix/btdm_check_EXT_CRYS_state_for_sleep_clk_for_v4.0' into 'release/v4.0'
...
bugfix/btdm_check_EXT_CRYS_state_for_sleep_clk(backport v4.0)
See merge request espressif/esp-idf!7747
2020-02-25 17:55:59 +08:00
wangmengyang
636195fb29
component/bt: fall back to main XTAL as Bluetooth sleep clock when EXT 32K CRYS is configured but not detected
2020-02-24 12:14:25 +08:00
baohongde
06ff1ceae3
Fix bugs about role switch
...
Jitter in FHS
Jitter in first PULL
Receive EDR packet fail after role switch
2020-02-20 15:21:28 +08:00
baohongde
78ecc043d5
Improve coexistence performance according to specific WiFi/BT/BLE scienario
...
1. Improve WiFi performance in some Classic BT scienario(idle, inquire scan,
connecting, connected, sniff, a2dp pause, etc).
2. Support WiFi + Classic BT + BLE mesh coexistence scienario.
3. Improve WiFi scan and connect performance in coexistence scienario.
2020-02-18 12:40:48 +08:00
baohongde
3ae110b30c
components/bt: Fix A2DP stuck when BLE's interval is too small
...
1. Fix the cumulative time switch from BLE to classic BT
2. Enhance classic BT performance while enable calssic BT and BLE at the same time
2020-01-06 20:31:54 +08:00
zhiweijian
8d189d9fb4
component/bt: allow adv stop again when adv is already stoped and fix crash when tx prog sometimes
2019-11-27 20:15:08 +08:00
baohongde
f9f49107ca
components/bt: Fix assert due to no free element form
2019-11-14 15:20:54 +08:00
Angus Gratton
475a746e46
bt: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-11-08 11:37:46 +08:00
Jiang Jiang Jian
56d5548747
Merge branch 'bugfix/btdm_backports_v4.0_1028' into 'release/v4.0'
...
bt: backport btdm controller fixes to v4.0
See merge request espressif/esp-idf!6514
2019-10-30 15:39:11 +08:00
baohongde
8afd0de501
components/bt: bugfix that bluetooth controller may not be able to enter sleep after end of wake up request
2019-10-28 15:10:23 +08:00
baohongde
1f7a66a22e
components/bt: Fix LMP sniff req timeout
2019-10-28 15:09:49 +08:00
Tian Hao
c599d7aa49
fix bug that semaphore may schedule out in Critical Section
...
1. Since BLE full-scan feature for BLE mesh change the controller code cause this problem,
it cause coex semaphore take in "interrupt disable", then it may cause task schedule
and cause crash in freertos
2. Fix newlib lock ISR context and critical section check
3. Fix bt controller ISR context and critical section check
2019-10-25 12:01:06 +08:00
Xia Xiaotian
10d26549fa
Coexist: fix some coexist bugs
...
1. Fix high beacon and broadcast packets loss ratio of WiFi to
make MDNS test pass.
2. Improve stability of WiFi performance with a little sacrifice
of throughput.
3. Improve BLE advertising and connection performance with
dynamic priority. It sacrifices a little WiFi throughput, but
achieves balance between WiFi and Bluetooth.
2019-09-30 11:42:05 +08:00
baohongde
6afb2743e7
components/bt: Fix sending LMP_features_req_ext in a loop
...
Remove xtensa/xtruntime.h at the same time
2019-09-06 12:04:16 +08:00
baohongde
6222040888
Fix 2 bugs in r_ld_fm_sket_isr
...
1. When remove two elt in the 1st isr, then assert in then 2nd one.
2. When timestamp of first elt is equal to sket_clkn, then crash.
2019-08-29 11:31:57 +08:00
baohongde
61ba1c3026
components/bt: backport 2 BT bugfix about controller
...
1.Bugfix btdm sleep twice after wakeup request
2.Set the minimum encryption key size to be 7 octects for BR/EDR link for preventing KNOB attack
This patch is to address the CVE-2019-9506 vulnerability.
2019-08-27 10:42:40 +08:00
zhiweijian
90bbea65c1
Component/bt: fix some BLE bugs
...
- fix data loss and send same pkt twice sometimes
- fix adv data error in air sometimes
- fix adv start/stop crash sometimes
2019-08-26 20:29:01 +08:00
zhiweijian
6029ef1b58
component/bt: fix rxwinsz assert in ble and wifi coex
2019-07-04 19:44:59 +08:00
Jiang Jiang Jian
a831fe596b
Merge branch 'bugfix/btdm_conn_fail_with_some_speaker' into 'master'
...
components/bt: Fix connect fail with some speakers
See merge request espressif/esp-idf!5358
2019-07-04 19:23:19 +08:00
baohongde
60a3f3e09d
components/bt: Fix Wrong bt lib from commit "Bluetooth component refactoring"
2019-07-03 04:44:04 +00:00
Hrishikesh Dhayagude
21165edf41
Bluetooth component refactoring
2019-06-30 16:39:00 +08:00