forked from espressif/esp-idf
components/bt: Delete BLE ADV priority high
This commit is contained in:
@@ -415,18 +415,3 @@ config BTDM_BLE_ADV_REPORT_DISCARD_THRSHOLD
|
|||||||
of ADV packets lost in the controller reaches this threshold. It is better to set a larger value.
|
of ADV packets lost in the controller reaches this threshold. It is better to set a larger value.
|
||||||
If you set `BTDM_BLE_ADV_REPORT_DISCARD_THRSHOLD` to a small value or printf every adv lost event, it
|
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.
|
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.
|
|
||||||
|
@@ -240,7 +240,6 @@ extern uint8_t coex_schm_curr_period_get(void);
|
|||||||
extern void * coex_schm_curr_phase_get(void);
|
extern void * coex_schm_curr_phase_get(void);
|
||||||
extern int coex_wifi_channel_get(uint8_t *primary, uint8_t *secondary);
|
extern int coex_wifi_channel_get(uint8_t *primary, uint8_t *secondary);
|
||||||
extern int coex_register_wifi_channel_change_callback(void *cb);
|
extern int coex_register_wifi_channel_change_callback(void *cb);
|
||||||
extern void coex_ble_adv_priority_high_set(bool high);
|
|
||||||
|
|
||||||
extern char _bss_start_btdm;
|
extern char _bss_start_btdm;
|
||||||
extern char _bss_end_btdm;
|
extern char _bss_end_btdm;
|
||||||
@@ -1464,12 +1463,6 @@ esp_err_t esp_bt_controller_init(esp_bt_controller_config_t *cfg)
|
|||||||
goto error;
|
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;
|
btdm_controller_status = ESP_BT_CONTROLLER_STATUS_INITED;
|
||||||
|
|
||||||
return ESP_OK;
|
return ESP_OK;
|
||||||
|
Submodule components/bt/controller/lib_esp32 updated: 606e0f422c...1f7e45e2f6
Reference in New Issue
Block a user