silabs: drivers: bluetooth: Add support for controller privacy
Added support for contoroller privacy support. Signed-off-by: Petri Pitkanen <petri.pitkanen@silabs.com>
This commit is contained in:
parent
5748738c60
commit
294b7b0da0
1 changed files with 7 additions and 0 deletions
|
|
@ -32,6 +32,9 @@ struct hci_data {
|
|||
#else
|
||||
#define CTLR_RL_SIZE 0
|
||||
#endif
|
||||
#if !defined(CONFIG_BT_CTLR_RL_SIZE)
|
||||
#define CONFIG_BT_CTLR_RL_SIZE 0
|
||||
#endif
|
||||
|
||||
static K_KERNEL_STACK_DEFINE(slz_ll_stack, CONFIG_BT_SILABS_EFR32_ACCEPT_LINK_LAYER_STACK_SIZE);
|
||||
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)
|
|||
}
|
||||
}
|
||||
|
||||
if (IS_ENABLED(CONFIG_BT_CTLR_PRIVACY)) {
|
||||
sl_btctrl_hci_parser_init_privacy();
|
||||
}
|
||||
|
||||
hci->recv = recv;
|
||||
|
||||
LOG_DBG("SiLabs BT HCI started");
|
||||
|
|
|
|||
Loading…
Reference in a new issue