drivers: bluetooth: silabs_efr32: Add support for vendor HCI extensions
Add a Kconfig option which can be used to enable vendor HCI extensions for Silicon Labs EFR32 devices. Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
This commit is contained in:
parent
e34d5caac8
commit
77a350efa7
3 changed files with 13 additions and 0 deletions
|
@ -4,6 +4,11 @@
|
||||||
menu "EFR32 Bluetooth Controller Configuration"
|
menu "EFR32 Bluetooth Controller Configuration"
|
||||||
depends on BT_SILABS_EFR32
|
depends on BT_SILABS_EFR32
|
||||||
|
|
||||||
|
config BT_SILABS_EFR32_HCI_VS
|
||||||
|
bool "Silicon Labs vendor specific HCI extensions"
|
||||||
|
help
|
||||||
|
Enable Silicon Labs vendor specific HCI extensions.
|
||||||
|
|
||||||
config BT_SILABS_EFR32_BUFFER_MEMORY
|
config BT_SILABS_EFR32_BUFFER_MEMORY
|
||||||
int "Memory buffer size"
|
int "Memory buffer size"
|
||||||
default 6144
|
default 6144
|
||||||
|
|
|
@ -330,6 +330,10 @@ static int slz_bt_open(const struct device *dev, bt_hci_recv_t recv)
|
||||||
sl_btctrl_hci_parser_init_adv();
|
sl_btctrl_hci_parser_init_adv();
|
||||||
sl_btctrl_hci_parser_init_phy();
|
sl_btctrl_hci_parser_init_phy();
|
||||||
|
|
||||||
|
if (IS_ENABLED(CONFIG_BT_SILABS_EFR32_HCI_VS)) {
|
||||||
|
sl_bthci_init_vs();
|
||||||
|
}
|
||||||
|
|
||||||
if (IS_ENABLED(CONFIG_PM)) {
|
if (IS_ENABLED(CONFIG_PM)) {
|
||||||
RAIL_ConfigSleep(BTLE_LL_GetRadioHandle(), RAIL_SLEEP_CONFIG_TIMERSYNC_ENABLED);
|
RAIL_ConfigSleep(BTLE_LL_GetRadioHandle(), RAIL_SLEEP_CONFIG_TIMERSYNC_ENABLED);
|
||||||
RAIL_Status_t status = RAIL_InitPowerManager();
|
RAIL_Status_t status = RAIL_InitPowerManager();
|
||||||
|
|
|
@ -109,6 +109,10 @@ void sl_btctrl_hci_parser_init_phy(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void sl_bthci_init_vs(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void AGC_IRQHandler(void)
|
void AGC_IRQHandler(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue