fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b34b7d6)

- Fixed enhanced TX power setting and getting for legacy adv
- Fixed BLE assert lld_con.c 2387
- Fixed compatibility issues during the encryption procedure
- Support BLE vendor hci enable CCA command
This commit is contained in:
chenjianhua
2025-02-20 17:01:28 +08:00
parent fbcc36a0ee
commit ce5d89fad3
5 changed files with 10 additions and 7 deletions

View File

@ -83,13 +83,16 @@ choice BT_BLE_CCA_MODE
default BT_BLE_CCA_MODE_NONE default BT_BLE_CCA_MODE_NONE
help help
Define BT BLE CCA mode Define BT BLE CCA mode
Note that if CCA feature is enabled, the hardware may not transmit packets due to channel busy.
Therefore, it may potentially lead to an increase in the time taken for scanning advertising packet
and establishing connections, or a decrease in the throughput rate of the connection.
config BT_BLE_CCA_MODE_NONE config BT_BLE_CCA_MODE_NONE
bool "NONE" bool "NONE"
config BT_BLE_CCA_MODE_HW config BT_BLE_CCA_MODE_HW
bool "Hardware" bool "Hardware"
config BT_BLE_CCA_MODE_SW config BT_BLE_CCA_MODE_SW
bool "Software" bool "Software (experimental)"
endchoice endchoice
config BT_BLE_CCA_MODE config BT_BLE_CCA_MODE

View File

@ -491,7 +491,7 @@ typedef struct {
uint8_t ble_cca_mode; /*!< BLE CCA mode. Configurable in menuconfig uint8_t ble_cca_mode; /*!< BLE CCA mode. Configurable in menuconfig
- 0 - Disable (default) - 0 - Disable (default)
- 1 - Hardware-triggered CCA - 1 - Hardware-triggered CCA
- 2 - Software-based CCA */ - 2 - Software-based CCA (experimental) */
uint8_t ble_data_lenth_zero_aux; /*!< Enable / disable auxiliary packets when the extended ADV data length is zero. Configurable in menuconfig. uint8_t ble_data_lenth_zero_aux; /*!< Enable / disable auxiliary packets when the extended ADV data length is zero. Configurable in menuconfig.
- 0 - Disable (default) - 0 - Disable (default)
- 1 - Enable */ - 1 - Enable */

View File

@ -421,7 +421,7 @@ r_llc_ll_reject_ind_pdu_send = 0x40000f3c;
r_llc_ll_start_enc_rsp_ack_handler = 0x40000f40; r_llc_ll_start_enc_rsp_ack_handler = 0x40000f40;
r_llc_ll_terminate_ind_ack = 0x40000f44; r_llc_ll_terminate_ind_ack = 0x40000f44;
r_llc_ll_unknown_ind_handler = 0x40000f48; r_llc_ll_unknown_ind_handler = 0x40000f48;
r_llc_llcp_send = 0x40000f4c; /* r_llc_llcp_send = 0x40000f4c; */
r_llc_llcp_state_set = 0x40000f50; r_llc_llcp_state_set = 0x40000f50;
r_llc_llcp_trans_timer_set = 0x40000f54; r_llc_llcp_trans_timer_set = 0x40000f54;
r_llc_llcp_tx_check = 0x40000f58; r_llc_llcp_tx_check = 0x40000f58;
@ -506,7 +506,7 @@ r_lld_con_data_len_update = 0x400010a0;
r_lld_con_data_tx = 0x400010a4; r_lld_con_data_tx = 0x400010a4;
r_lld_con_enc_key_load = 0x400010a8; r_lld_con_enc_key_load = 0x400010a8;
r_lld_con_event_counter_get = 0x400010ac; r_lld_con_event_counter_get = 0x400010ac;
r_lld_con_evt_canceled_cbk = 0x400010b0; /* r_lld_con_evt_canceled_cbk = 0x400010b0; */
r_lld_con_evt_duration_min_get = 0x400010b4; r_lld_con_evt_duration_min_get = 0x400010b4;
r_lld_con_evt_max_eff_time_cal = 0x400010b8; r_lld_con_evt_max_eff_time_cal = 0x400010b8;
r_lld_con_evt_sd_evt_time_get = 0x400010bc; r_lld_con_evt_sd_evt_time_get = 0x400010bc;

View File

@ -421,7 +421,7 @@ r_llc_ll_reject_ind_pdu_send = 0x40003d98;
r_llc_ll_start_enc_rsp_ack_handler = 0x40003da4; r_llc_ll_start_enc_rsp_ack_handler = 0x40003da4;
r_llc_ll_terminate_ind_ack = 0x40003db0; r_llc_ll_terminate_ind_ack = 0x40003db0;
r_llc_ll_unknown_ind_handler = 0x40003dbc; r_llc_ll_unknown_ind_handler = 0x40003dbc;
r_llc_llcp_send = 0x40003dc8; /* r_llc_llcp_send = 0x40003dc8; */
r_llc_llcp_state_set = 0x40003dd4; r_llc_llcp_state_set = 0x40003dd4;
r_llc_llcp_trans_timer_set = 0x40003de0; r_llc_llcp_trans_timer_set = 0x40003de0;
r_llc_llcp_tx_check = 0x40003dec; r_llc_llcp_tx_check = 0x40003dec;
@ -507,7 +507,7 @@ r_lld_con_data_len_update = 0x400041c4;
r_lld_con_data_tx = 0x400041d0; r_lld_con_data_tx = 0x400041d0;
r_lld_con_enc_key_load = 0x400041dc; r_lld_con_enc_key_load = 0x400041dc;
r_lld_con_event_counter_get = 0x400041e8; r_lld_con_event_counter_get = 0x400041e8;
r_lld_con_evt_canceled_cbk = 0x400041f4; /* r_lld_con_evt_canceled_cbk = 0x400041f4; */
r_lld_con_evt_duration_min_get = 0x40004200; r_lld_con_evt_duration_min_get = 0x40004200;
r_lld_con_evt_max_eff_time_cal = 0x4000420c; r_lld_con_evt_max_eff_time_cal = 0x4000420c;
r_lld_con_evt_sd_evt_time_get = 0x40004218; r_lld_con_evt_sd_evt_time_get = 0x40004218;