From 628655b6bebc119236787a849aa7d49fba10dbdf Mon Sep 17 00:00:00 2001 From: baohongde Date: Fri, 18 Sep 2020 19:40:32 +0800 Subject: [PATCH] components/coex: Some bugfix about ble dynamic prio Rewrite ble dynamic prio to fix ble disconn in conn_param_update/channel_map_update Rewrite ble dynamic prio in connection establishment Fix ble dynamic prio with latency Fix status bit set error when conn fail --- components/bt/controller/lib | 2 +- components/esp_wifi/include/esp_coexist.h | 14 -------------- components/esp_wifi/lib | 2 +- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/components/bt/controller/lib b/components/bt/controller/lib index 930cd35eaa..877bbd90d1 160000 --- a/components/bt/controller/lib +++ b/components/bt/controller/lib @@ -1 +1 @@ -Subproject commit 930cd35eaa0287d62bb3e1fe179f1486438f0287 +Subproject commit 877bbd90d1a012fde3ed9f19deb2410826961885 diff --git a/components/esp_wifi/include/esp_coexist.h b/components/esp_wifi/include/esp_coexist.h index cbfd91a5b3..1ff624d9b5 100644 --- a/components/esp_wifi/include/esp_coexist.h +++ b/components/esp_wifi/include/esp_coexist.h @@ -84,20 +84,6 @@ esp_err_t esp_coex_status_bit_set(esp_coex_status_type_t type, uint32_t status); */ esp_err_t esp_coex_status_bit_clear(esp_coex_status_type_t type, uint32_t status); -/** - * @brief Enable BLE connection dynamic priority - * @attention If the parameter is true, BLE connection performance will be better but WiFi performance - will be poorer. And vice versa. - * @param low_interval : true - Increase BLE connection priority to be higher than WiFi's when BLE -* connection interval is less or equal than 50 ms. The default value -* is false. - * false - not increace - * @param high_interval : true - Increase BLE connection priority to be higher than WiFi's when BLE -* connection interval is more than 50 ms. The default value is true. - * false - not increace - * @return : ESP_OK - success, other - failed - */ -esp_err_t esp_coex_ble_conn_dynamic_prio_enable(bool low_interval, bool high_interval); #ifdef __cplusplus } diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 977bd355ec..36c2ddc619 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 977bd355ec7f794fefecf03ba64a64860abcb753 +Subproject commit 36c2ddc619e177a88be8ad9206ba8bffee6f9749