Selaa lähdekoodia

components/bt: Delete BLE ADV priority high

baohongde 4 vuotta sitten
vanhempi
sitoutus
cff9332ddd
3 muutettua tiedostoa jossa 1 lisäystä ja 23 poistoa
  1. 0 15
      components/bt/Kconfig
  2. 0 7
      components/bt/controller/bt.c
  3. 1 1
      components/bt/controller/lib

+ 0 - 15
components/bt/Kconfig

@@ -426,21 +426,6 @@ menu "Bluetooth"
                 If you set `BTDM_BLE_ADV_REPORT_DISCARD_THRSHOLD` to a small value or printf every adv lost event, it
                 may cause adv packets lost more.
 
-        menuconfig BTDM_COEX_BT_OPTIONS
-            bool "Coexistence Bluetooth Side Options"
-            depends on ESP32_WIFI_SW_COEXIST_ENABLE
-            default n
-            help
-                Options of Bluetooth Side of WiFi and bluetooth coexistence.
-
-        config BTDM_COEX_BLE_ADV_HIGH_PRIORITY
-            bool "Improve BLE ADV priority for WiFi & BLE coexistence"
-            depends on BTDM_COEX_BT_OPTIONS
-            default n
-            help
-                Improve BLE ADV coexistence priority to make it better performance.
-                For example, BLE mesh need to enable this option to improve BLE adv performance.
-
     endmenu
 
     choice BT_HOST

+ 0 - 7
components/bt/controller/bt.c

@@ -222,7 +222,6 @@ extern int coex_bt_release_wrapper(uint32_t event);
 extern int coex_register_bt_cb_wrapper(coex_func_cb_t cb);
 extern uint32_t coex_bb_reset_lock_wrapper(void);
 extern void coex_bb_reset_unlock_wrapper(uint32_t restore);
-extern void coex_ble_adv_priority_high_set(bool high);
 
 extern char _bss_start_btdm;
 extern char _bss_end_btdm;
@@ -1313,12 +1312,6 @@ esp_err_t esp_bt_controller_init(esp_bt_controller_config_t *cfg)
         goto error;
     }
 
-    #ifdef CONFIG_BTDM_COEX_BLE_ADV_HIGH_PRIORITY
-        coex_ble_adv_priority_high_set(true);
-    #else
-        coex_ble_adv_priority_high_set(false);
-    #endif
-
     btdm_controller_status = ESP_BT_CONTROLLER_STATUS_INITED;
 
     return ESP_OK;

+ 1 - 1
components/bt/controller/lib

@@ -1 +1 @@
-Subproject commit 80c4416e20ec88c3363c6c3e602605b22b63d096
+Subproject commit 048bb4ba32e23f437b397ef9218ff99e295e65b6