drivers: bluetooth: slz_hci: Adapt to library BLOBs version 4.2.4

Make HCI driver compatible to the updated versions of the
EFR32 Bluetooth library BLOBs consisting of:
* libbluetooth_controller
* libbgcommon
* librail

Signed-off-by: Markus Fuchs <markus.fuchs@ch.sauter-bc.com>
This commit is contained in:
Markus Fuchs 2023-09-08 17:17:40 +02:00 committed by Carles Cufí
commit c33492655f
2 changed files with 9 additions and 6 deletions

View file

@ -20,6 +20,7 @@ LOG_MODULE_REGISTER(bt_hci_driver_slz);
#define SL_BT_CONFIG_MAX_CONNECTIONS 1 #define SL_BT_CONFIG_MAX_CONNECTIONS 1
#define SL_BT_CONFIG_USER_ADVERTISERS 1 #define SL_BT_CONFIG_USER_ADVERTISERS 1
#define SL_BT_CONTROLLER_BUFFER_MEMORY CONFIG_BT_SILABS_HCI_BUFFER_MEMORY #define SL_BT_CONTROLLER_BUFFER_MEMORY CONFIG_BT_SILABS_HCI_BUFFER_MEMORY
#define SL_BT_CONTROLLER_LE_BUFFER_SIZE_MAX CONFIG_BT_BUF_ACL_TX_COUNT
#define SL_BT_SILABS_LL_STACK_SIZE 1024 #define SL_BT_SILABS_LL_STACK_SIZE 1024
static K_KERNEL_STACK_DEFINE(slz_ll_stack, SL_BT_SILABS_LL_STACK_SIZE); static K_KERNEL_STACK_DEFINE(slz_ll_stack, SL_BT_SILABS_LL_STACK_SIZE);
@ -135,6 +136,8 @@ static int slz_bt_open(void)
return -ENOMEM; return -ENOMEM;
} }
sl_btctrl_configure_le_buffer_size(SL_BT_CONTROLLER_LE_BUFFER_SIZE_MAX);
ret = sl_btctrl_init_ll(); ret = sl_btctrl_init_ll();
if (ret) { if (ret) {
LOG_ERR("Bluetooth link layer init failed %d", ret); LOG_ERR("Bluetooth link layer init failed %d", ret);

View file

@ -219,7 +219,7 @@ manifest:
groups: groups:
- hal - hal
- name: hal_silabs - name: hal_silabs
revision: d184c2ccc0ec5a7189d6d5cb7645c7f9bd38c2b5 revision: 20113e9520ce59ee7fa85ba10102d0880822bb3e
path: modules/hal/silabs path: modules/hal/silabs
groups: groups:
- hal - hal