drivers: bluetooth: hci: refactor silabs controller init

Refactor the controller init to use the new init routines the
controller now provides. Instead of using a hardcoded set of
features, the features are now initialized based on Kconfig
values that the application selects.

Add config files under modules/hal_silabs, used by the controller
init routines in the external module hal_silabs to determine which
features to enable based on Kconfig options. This brings the
controller feature configurability to roughly parity with the
Simplicity SDK.

Signed-off-by: Jori Rintahaka <jori.rintahaka@silabs.com>
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
This commit is contained in:
Jori Rintahaka 2025-02-14 15:04:59 +02:00 committed by Anas Nashif
commit 133f5bc3c2
20 changed files with 693 additions and 160 deletions

View file

@ -169,6 +169,7 @@ config BT_SILABS_EFR32
select BT_CTLR_CHAN_SEL_2_SUPPORT
select BT_CTLR_CONN_RSSI_SUPPORT
select BT_CTLR_ADV_EXT_SUPPORT
select BT_CTLR_PRIVACY_SUPPORT
help
Use Silicon Labs binary Bluetooth library to connect to the
controller.