Bluetooth: controller: Minor scoping fixes for vendor implementations

Make sure declarations are in scope for certain vendor specific
configurations.

Signed-off-by: Morten Priess <mtpr@oticon.com>
This commit is contained in:
Morten Priess 2022-02-09 11:45:32 +01:00 committed by Anas Nashif
parent 1fca05b7f8
commit 9f7ea41780
2 changed files with 7 additions and 3 deletions

View File

@ -22,6 +22,7 @@
#include "ull_conn_internal.h"
#include "ll_feat.h"
#include "ll_settings.h"
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
#define LOG_MODULE_NAME bt_ctlr_ll_feat

View File

@ -48,6 +48,12 @@ const uint8_t *ull_adv_pdu_update_addrs(struct ll_adv_set *adv,
uint8_t ull_adv_time_update(struct ll_adv_set *adv, struct pdu_adv *pdu,
struct pdu_adv *pdu_scan);
#if defined(CONFIG_BT_CTLR_ADV_EXT) || defined(CONFIG_BT_CTLR_JIT_SCHEDULING)
/* helper function to handle adv done events */
void ull_adv_done(struct node_rx_event_done *done);
#endif /* CONFIG_BT_CTLR_ADV_EXT || CONFIG_BT_CTLR_JIT_SCHEDULING */
#if defined(CONFIG_BT_CTLR_ADV_EXT)
/* Enumeration provides flags for management of memory for extra_data
@ -62,9 +68,6 @@ enum ull_adv_pdu_extra_data_flag {
ULL_ADV_PDU_EXTRA_DATA_ALLOC_NEVER
};
/* helper function to handle adv done events */
void ull_adv_done(struct node_rx_event_done *done);
/* Helper functions to initialise and reset ull_adv_aux module */
int ull_adv_aux_init(void);
int ull_adv_aux_reset_finalize(void);