Merge branch 'bugfix/invalid_feat_page_exec_v4.3' into 'release/v4.3'

bt controller: Fixed handling for invalid feature page. (v4.3)

See merge request espressif/esp-idf!13566
This commit is contained in:
Wang Meng Yang
2021-06-16 08:57:36 +00:00
4 changed files with 20 additions and 23 deletions

View File

@@ -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.

View File

@@ -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;

View File

@@ -113,6 +113,7 @@ PROVIDE ( jd_prepare = 0x40060fa8 );
PROVIDE ( ke_env = 0x3ffb93cc ); PROVIDE ( ke_env = 0x3ffb93cc );
PROVIDE ( ke_handler_search = 0x4001a430 ); PROVIDE ( ke_handler_search = 0x4001a430 );
PROVIDE ( ke_task_env = 0x3ffb81d4 ); PROVIDE ( ke_task_env = 0x3ffb81d4 );
PROVIDE ( ke_event_env = 0x3ffb81a4 );
PROVIDE ( lb_default_handler = 0x3ff982b8 ); PROVIDE ( lb_default_handler = 0x3ff982b8 );
PROVIDE ( lb_default_state_tab_p_get = 0x4001c198 ); PROVIDE ( lb_default_state_tab_p_get = 0x4001c198 );
PROVIDE ( lb_env = 0x3ffb9424 ); PROVIDE ( lb_env = 0x3ffb9424 );
@@ -1602,4 +1603,22 @@ PROVIDE ( prbs_64bytes = 0x3ff98992 );
PROVIDE ( nvds_env = 0x3ffb8364 ); PROVIDE ( nvds_env = 0x3ffb8364 );
PROVIDE ( nvds_magic_number = 0x3ff9912a ); PROVIDE ( nvds_magic_number = 0x3ff9912a );
PROVIDE ( TASK_DESC_LLD = 0x3ff98b58 ); PROVIDE ( TASK_DESC_LLD = 0x3ff98b58 );
PROVIDE ( ld_acl_clk_isr = 0x40030cf8 );
PROVIDE ( ld_acl_evt_canceled_cbk = 0x40033944 );
PROVIDE ( ld_acl_evt_stop_cbk = 0x40033870 );
PROVIDE ( ld_acl_evt_start_cbk = 0x40030ab0 );
PROVIDE ( ld_acl_test_mode_update = 0x40032050 );
PROVIDE ( ld_acl_resched = 0x40033814 );
PROVIDE ( ld_acl_rx_isr = 0x40033aa8 );
PROVIDE ( lc_acl_disc_ind_handler = 0x4002f270 );
PROVIDE ( lc_pca_sscan_start_req_handler = 0x40029b34 );
PROVIDE ( lmp_feats_req_ext_handler = 0x4002ccb0 );
PROVIDE ( ld_pscan_em_init = 0x4003e5e8 );
PROVIDE ( ld_acl_rsw_start = 0x40032e90 );
PROVIDE ( ld_acl_sniff_enter = 0x40031244 );
PROVIDE ( ld_acl_sniff_trans_sched = 0x40033734 );
PROVIDE ( lc_pwr_decr_ind_handler = 0x4002859c );
PROVIDE ( lc_pwr_incr_ind_handler = 0x400284a8 );
PROVIDE ( lc_pwr_max_ind_handler = 0x40028690 );
/* Above are static data, but can be used, not generated by script >>>>> btdm data */ /* Above are static data, but can be used, not generated by script >>>>> btdm data */