Skip to content

Commit 294b7b0

Browse files
petrip-slabkartben
authored andcommitted
silabs: drivers: bluetooth: Add support for controller privacy
Added support for contoroller privacy support. Signed-off-by: Petri Pitkanen <[email protected]>
1 parent 5748738 commit 294b7b0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/bluetooth/hci/hci_silabs_efr32.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ struct hci_data {
3232
#else
3333
#define CTLR_RL_SIZE 0
3434
#endif
35+
#if !defined(CONFIG_BT_CTLR_RL_SIZE)
36+
#define CONFIG_BT_CTLR_RL_SIZE 0
37+
#endif
3538

3639
static K_KERNEL_STACK_DEFINE(slz_ll_stack, CONFIG_BT_SILABS_EFR32_ACCEPT_LINK_LAYER_STACK_SIZE);
3740
static struct k_thread slz_ll_thread;
@@ -249,6 +252,10 @@ static int slz_bt_open(const struct device *dev, bt_hci_recv_t recv)
249252
}
250253
}
251254

255+
if (IS_ENABLED(CONFIG_BT_CTLR_PRIVACY)) {
256+
sl_btctrl_hci_parser_init_privacy();
257+
}
258+
252259
hci->recv = recv;
253260

254261
LOG_DBG("SiLabs BT HCI started");

0 commit comments

Comments
 (0)