Bluetooth: controller: Rename supported ISO Sets Kconfig
Rename Kconfig BT_CTLR_SCAN_SYNC_ISO_MAX to BT_CTLR_SCAN_SYNC_ISO_SET, to be consistent with other Kconfig naming. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
32a79dd7e3
commit
44492c8324
|
@ -193,13 +193,13 @@ config BT_CTLR_SCAN_SYNC_SET
|
|||
help
|
||||
Maximum supported periodic sync sets.
|
||||
|
||||
config BT_CTLR_SCAN_SYNC_ISO_MAX
|
||||
int "Maximum Broadcast Isochronous Groups syncs"
|
||||
config BT_CTLR_SCAN_SYNC_ISO_SET
|
||||
int "LE ISO Broadcast Isochronous Groups Sync Sets"
|
||||
depends on BT_CTLR_SYNC_ISO
|
||||
range 1 64
|
||||
default 1
|
||||
help
|
||||
Maximum supported broadcast isochronous groups (BIGs) syncs.
|
||||
Maximum supported broadcast isochronous groups (BIGs) sync sets.
|
||||
|
||||
config BT_CTLR_ZLI
|
||||
bool "Use Zero Latency IRQs"
|
||||
|
|
|
@ -82,7 +82,7 @@ enum {
|
|||
#if defined(CONFIG_BT_CTLR_SYNC_ISO)
|
||||
TICKER_ID_SCAN_SYNC_ISO_BASE,
|
||||
TICKER_ID_SCAN_SYNC_ISO_LAST = ((TICKER_ID_SCAN_SYNC_ISO_BASE) +
|
||||
(CONFIG_BT_CTLR_SCAN_SYNC_ISO_MAX) - 1),
|
||||
(CONFIG_BT_CTLR_SCAN_SYNC_ISO_SET) - 1),
|
||||
#endif /* CONFIG_BT_CTLR_SYNC_ISO */
|
||||
#endif /* CONFIG_BT_CTLR_ADV_PERIODIC */
|
||||
#endif /* CONFIG_BT_CTLR_ADV_EXT */
|
||||
|
|
|
@ -42,15 +42,15 @@
|
|||
#include "ull_sync_internal.h"
|
||||
#include "ull_sync_iso_internal.h"
|
||||
|
||||
static struct ll_sync_iso ll_sync_iso_pool[CONFIG_BT_CTLR_SCAN_SYNC_ISO_MAX];
|
||||
static void *sync_iso_free;
|
||||
|
||||
static int init_reset(void);
|
||||
static inline struct ll_sync_iso *sync_iso_acquire(void);
|
||||
static void ticker_cb(uint32_t ticks_at_expire, uint32_t remainder,
|
||||
uint16_t lazy, void *param);
|
||||
static void ticker_op_cb(uint32_t status, void *param);
|
||||
|
||||
static struct ll_sync_iso ll_sync_iso_pool[CONFIG_BT_CTLR_SCAN_SYNC_ISO_SET];
|
||||
static void *sync_iso_free;
|
||||
|
||||
uint8_t ll_big_sync_create(uint8_t big_handle, uint16_t sync_handle,
|
||||
uint8_t encryption, uint8_t *bcode, uint8_t mse,
|
||||
uint16_t sync_timeout, uint8_t num_bis,
|
||||
|
@ -153,7 +153,7 @@ int ull_sync_iso_reset(void)
|
|||
|
||||
struct ll_sync_iso *ull_sync_iso_get(uint8_t handle)
|
||||
{
|
||||
if (handle >= CONFIG_BT_CTLR_SCAN_SYNC_ISO_MAX) {
|
||||
if (handle >= CONFIG_BT_CTLR_SCAN_SYNC_ISO_SET) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue