Bluetooth: Controller: Kconfig: Move out BT_LL_SW_SPLIT configs

BT_CTLR_ISOAL_LOG_DBG_VERBOSE, BT_CTLR_ISO_TX_SEG_PLAYLOAD_MIN, and
BT_CTLR_CONN_ISO_AVOID_SEGMENTATION are very tied to the BT_LL_SW_SPLIT
implementation. It is very unlikely that these will ever be used by
another controller

Therefore move them out to the BT_LL_SW_SPLIT specific configuration
file. This will likely create less confusion when using another
controller.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
This commit is contained in:
Rubin Gerritsen 2023-10-08 17:20:18 +02:00 committed by Carles Cufí
commit 65501061ed
2 changed files with 27 additions and 27 deletions

View file

@ -206,13 +206,6 @@ config BT_CTLR_ISO_TX_BUFFER_SIZE
Size of the Isochronous Tx buffers and the value returned in HCI LE Size of the Isochronous Tx buffers and the value returned in HCI LE
Read Buffer Size V2 command response. Read Buffer Size V2 command response.
config BT_CTLR_ISOAL_LOG_DBG_VERBOSE
bool "ISO-AL verbose debug logging"
depends on BT_CTLR_ISOAL_LOG_LEVEL = 4
default n
help
Use this option to enable ISO-AL verbose debug logging.
config BT_CTLR_ISOAL_SOURCES config BT_CTLR_ISOAL_SOURCES
int "Number of Isochronous Adaptation Layer sources" int "Number of Isochronous Adaptation Layer sources"
depends on BT_CTLR_ADV_ISO || BT_CTLR_CONN_ISO depends on BT_CTLR_ADV_ISO || BT_CTLR_CONN_ISO
@ -244,15 +237,6 @@ config BT_CTLR_ISO_RX_SDU_BUFFERS
maximum size of an SDU that can be accurately declared in the HCI ISO maximum size of an SDU that can be accurately declared in the HCI ISO
Data header. Data header.
config BT_CTLR_ISO_TX_SEG_PLAYLOAD_MIN
int "Minimum number of playload data bytes in a new segment"
depends on BT_CTLR_ADV_ISO || BT_CTLR_CONN_ISO
default 1
range 1 64
help
Minimum number of payload bytes that would make inserting a new
segment into a PDU worthwhile.
config BT_CTLR_ISO_VENDOR_DATA_PATH config BT_CTLR_ISO_VENDOR_DATA_PATH
bool "Vendor-specific ISO data path" bool "Vendor-specific ISO data path"
depends on BT_CTLR_SYNC_ISO || BT_CTLR_CONN_ISO depends on BT_CTLR_SYNC_ISO || BT_CTLR_CONN_ISO
@ -909,17 +893,6 @@ config BT_CTLR_CONN_ISO_STREAMS_MAX_FT
help help
Maximum number of CIS flush timeout events. Maximum number of CIS flush timeout events.
config BT_CTLR_CONN_ISO_AVOID_SEGMENTATION
bool "Avoid SDU fragmentation for framed mode"
depends on BT_CTLR_CENTRAL_ISO
help
When creating a CIG, the Max_PDU size is calculated according to BT
Core 5.4 Vol 6, Part G, Section 2.2. However, HAP specifies a need for
avoiding segmentation by forcing the Max_PDU to the appropriate value.
Since there is no way to control the Max_PDU using the non-test
interface, the config provides a way to force the Max_PDU to Max_SDU +
5 (header + offset).
config BT_CTLR_ISO config BT_CTLR_ISO
bool bool
default BT_CTLR_BROADCAST_ISO || BT_CTLR_CONN_ISO default BT_CTLR_BROADCAST_ISO || BT_CTLR_CONN_ISO

View file

@ -206,6 +206,22 @@ config BT_CTLR_CHECK_SAME_PEER_SYNC
endif # BT_CTLR_ADV_EXT endif # BT_CTLR_ADV_EXT
config BT_CTLR_ISOAL_LOG_DBG_VERBOSE
bool "ISO-AL verbose debug logging"
depends on BT_CTLR_ISOAL_LOG_LEVEL = 4
default n
help
Use this option to enable ISO-AL verbose debug logging.
config BT_CTLR_ISO_TX_SEG_PLAYLOAD_MIN
int "Minimum number of playload data bytes in a new segment"
depends on BT_CTLR_ADV_ISO || BT_CTLR_CONN_ISO
default 1
range 1 64
help
Minimum number of payload bytes that would make inserting a new
segment into a PDU worthwhile.
config BT_CTLR_CONN_ISO_HCI_DATAPATH_SKIP_INVALID_DATA config BT_CTLR_CONN_ISO_HCI_DATAPATH_SKIP_INVALID_DATA
bool "Do not pass invalid SDUs on HCI datapath" bool "Do not pass invalid SDUs on HCI datapath"
depends on BT_CTLR_CONN_ISO depends on BT_CTLR_CONN_ISO
@ -213,6 +229,17 @@ config BT_CTLR_CONN_ISO_HCI_DATAPATH_SKIP_INVALID_DATA
This allows for applications to decide whether to This allows for applications to decide whether to
forward invalid SDUs through HCI upwards. forward invalid SDUs through HCI upwards.
config BT_CTLR_CONN_ISO_AVOID_SEGMENTATION
bool "Avoid SDU fragmentation for framed mode"
depends on BT_CTLR_CENTRAL_ISO
help
When creating a CIG, the Max_PDU size is calculated according to BT
Core 5.4 Vol 6, Part G, Section 2.2. However, HAP specifies a need for
avoiding segmentation by forcing the Max_PDU to the appropriate value.
Since there is no way to control the Max_PDU using the non-test
interface, the config provides a way to force the Max_PDU to Max_SDU +
5 (header + offset).
config BT_CTLR_ADVANCED_FEATURES config BT_CTLR_ADVANCED_FEATURES
bool "Show advanced features" bool "Show advanced features"
help help