Skip to content

Commit 44492c8

Browse files
cvinayakcarlescufi
authored andcommitted
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>
1 parent 32a79dd commit 44492c8

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

subsys/bluetooth/controller/Kconfig.ll_sw_split

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,13 @@ config BT_CTLR_SCAN_SYNC_SET
193193
help
194194
Maximum supported periodic sync sets.
195195

196-
config BT_CTLR_SCAN_SYNC_ISO_MAX
197-
int "Maximum Broadcast Isochronous Groups syncs"
196+
config BT_CTLR_SCAN_SYNC_ISO_SET
197+
int "LE ISO Broadcast Isochronous Groups Sync Sets"
198198
depends on BT_CTLR_SYNC_ISO
199199
range 1 64
200200
default 1
201201
help
202-
Maximum supported broadcast isochronous groups (BIGs) syncs.
202+
Maximum supported broadcast isochronous groups (BIGs) sync sets.
203203

204204
config BT_CTLR_ZLI
205205
bool "Use Zero Latency IRQs"

subsys/bluetooth/controller/ll_sw/lll.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ enum {
8282
#if defined(CONFIG_BT_CTLR_SYNC_ISO)
8383
TICKER_ID_SCAN_SYNC_ISO_BASE,
8484
TICKER_ID_SCAN_SYNC_ISO_LAST = ((TICKER_ID_SCAN_SYNC_ISO_BASE) +
85-
(CONFIG_BT_CTLR_SCAN_SYNC_ISO_MAX) - 1),
85+
(CONFIG_BT_CTLR_SCAN_SYNC_ISO_SET) - 1),
8686
#endif /* CONFIG_BT_CTLR_SYNC_ISO */
8787
#endif /* CONFIG_BT_CTLR_ADV_PERIODIC */
8888
#endif /* CONFIG_BT_CTLR_ADV_EXT */

subsys/bluetooth/controller/ll_sw/ull_sync_iso.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@
4242
#include "ull_sync_internal.h"
4343
#include "ull_sync_iso_internal.h"
4444

45-
static struct ll_sync_iso ll_sync_iso_pool[CONFIG_BT_CTLR_SCAN_SYNC_ISO_MAX];
46-
static void *sync_iso_free;
47-
4845
static int init_reset(void);
4946
static inline struct ll_sync_iso *sync_iso_acquire(void);
5047
static void ticker_cb(uint32_t ticks_at_expire, uint32_t remainder,
5148
uint16_t lazy, void *param);
5249
static void ticker_op_cb(uint32_t status, void *param);
5350

51+
static struct ll_sync_iso ll_sync_iso_pool[CONFIG_BT_CTLR_SCAN_SYNC_ISO_SET];
52+
static void *sync_iso_free;
53+
5454
uint8_t ll_big_sync_create(uint8_t big_handle, uint16_t sync_handle,
5555
uint8_t encryption, uint8_t *bcode, uint8_t mse,
5656
uint16_t sync_timeout, uint8_t num_bis,
@@ -153,7 +153,7 @@ int ull_sync_iso_reset(void)
153153

154154
struct ll_sync_iso *ull_sync_iso_get(uint8_t handle)
155155
{
156-
if (handle >= CONFIG_BT_CTLR_SCAN_SYNC_ISO_MAX) {
156+
if (handle >= CONFIG_BT_CTLR_SCAN_SYNC_ISO_SET) {
157157
return NULL;
158158
}
159159

0 commit comments

Comments
 (0)