Skip to content

Commit e4ea597

Browse files
rugeGerritsennashif
authored andcommitted
Bluetooth: Controller: BIG/CIG count based upon app configs
When building ISO applications on a device that has the host and controller on the same core, the application developer shouldn't have to set controller specific configurations. Signed-off-by: Rubin Gerritsen <[email protected]>
1 parent 479e957 commit e4ea597

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

subsys/bluetooth/controller/Kconfig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,7 @@ config BT_CTLR_ADV_ISO_SET
790790
int "LE Isochronous Channel advertising sets"
791791
depends on BT_CTLR_ADV_ISO
792792
range 1 32
793+
default BT_ISO_MAX_BIG
793794
help
794795
Maximum supported advertising sets.
795796

@@ -821,7 +822,7 @@ config BT_CTLR_SCAN_SYNC_ISO_SET
821822
int "LE ISO Broadcast Isochronous Groups Sync Sets"
822823
depends on BT_CTLR_SYNC_ISO
823824
range 1 64
824-
default 1
825+
default BT_ISO_MAX_BIG
825826
help
826827
Maximum supported broadcast isochronous groups (BIGs) sync sets.
827828

@@ -904,7 +905,7 @@ config BT_CTLR_CONN_ISO_GROUPS
904905
int "LE Connected Isochronous Groups"
905906
depends on BT_CTLR_CONN_ISO
906907
range 1 240
907-
default 1
908+
default BT_ISO_MAX_CIG
908909
help
909910
Maximum supported CIGs.
910911

tests/bluetooth/controller/ctrl_cis_create/prj.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ CONFIG_BT_CTLR_PHY_2M=y
3131
CONFIG_BT_CTLR_PHY_CODED=y
3232

3333
CONFIG_BT_CTLR_ADV_EXT=y
34-
CONFIG_BT_CTLR_ADV_ISO=y
35-
CONFIG_BT_CTLR_SYNC_ISO=y
3634
CONFIG_BT_CTLR_CENTRAL_ISO=y
3735
CONFIG_BT_CTLR_PERIPHERAL_ISO=y
3836

tests/bluetooth/controller/ctrl_cis_terminate/prj.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ CONFIG_BT_CTLR_PHY_2M=y
3131
CONFIG_BT_CTLR_PHY_CODED=y
3232

3333
CONFIG_BT_CTLR_ADV_EXT=y
34-
CONFIG_BT_CTLR_ADV_ISO=y
35-
CONFIG_BT_CTLR_SYNC_ISO=y
3634
CONFIG_BT_CTLR_CENTRAL_ISO=y
3735
CONFIG_BT_CTLR_PERIPHERAL_ISO=y
3836

0 commit comments

Comments
 (0)