1# Bluetooth Controller configuration options for ISO-AL Unit Tests 2 3# Copyright (c) 2022 Oticon A/S 4# SPDX-License-Identifier: Apache-2.0 5 6config BT_CTLR_CONN_ISO 7 bool "LE Connected Isochronous Streams (for unit tests)" 8 9config BT_CTLR_CONN_ISO_GROUPS 10 int "LE Connected Isochronous Groups (for unit tests)" 11 depends on BT_CTLR_CONN_ISO 12 range 1 240 13 default 1 14 15parent-module = BT 16module = BT_CTLR_ISOAL 17module-str = "Bluetooth Controller ISO-AL" 18source "subsys/logging/Kconfig.template.log_config_inherit" 19 20config BT_CTLR_ISOAL_LOG_DBG_VERBOSE 21 bool "ISO-AL verbose debug logging" 22 depends on BT_CTLR_ISOAL_LOG_LEVEL = 4 23 default n 24 help 25 Use this option to enable ISO-AL verbose debug logging. 26 27config BT_CTLR_ISOAL_SINKS 28 int "Number of Isochronous Adaptation Layer sinks (for unit tests)" 29 30config BT_CTLR_ISOAL_SOURCES 31 int "Number of Isochronous Adaptation Layer sinks (for unit tests)" 32 33config BT_CTLR_ISO_RX_SDU_BUFFERS 34 int "Number of SDU fragments that the ISO-AL can buffer" 35 depends on BT_CTLR_ISO_RX_BUFFER_SDUS 36 default 0 37 range 0 64 38 help 39 Set the number of Isochronous Rx SDU fragments to be buffered in the 40 ISO-AL per channel. Buffering is required to compute the size of the 41 received SDU across all the fragments before each is released. The 42 number of buffers and maximum SDU fragment size will limit the maximum 43 size of an SDU that can be accurately declared in the HCI ISO Data 44 header. 45 46config BT_CTLR_ISO_TX_SEG_PLAYLOAD_MIN 47 int "Minimum number of playload data bytes in a new segment" 48 depends on BT_CTLR_ADV_ISO || BT_CTLR_CONN_ISO 49 default 1 50 range 1 64 51 help 52 Minimum number of payload bytes that would make inserting a new 53 segment into a PDU worthwhile. 54 55config BT_CTLR_ISOAL_SN_STRICT 56 bool "Enforce Strict Tx ISO Data Sequence Number use" 57 depends on BT_CTLR_ADV_ISO || BT_CTLR_CONN_ISO 58 default y 59 60config BT_CTLR_ISOAL_FRAMED_BIS_OFFSET_MARGIN 61 int "Margin (in microseconds) to be used in framed time offset for BIS" 62 depends on BT_CTLR_ADV_ISO || BT_CTLR_CONN_ISO 63 default 2000 64 range 0 10000 65 help 66 Needed margin for reliable delivery of payloads will vary, but should 67 generally be EVENT_OVERHEAD_START_US + a small margin to cover ISOAL 68 processing overhead 69 70config BT_CTLR_ISOAL_FRAMED_CIS_OFFSET_MARGIN 71 int "Margin (in microseconds) to be used in framed time offset for CIS" 72 depends on BT_CTLR_ADV_ISO || BT_CTLR_CONN_ISO 73 default 0 74 range 0 10000 75 help 76 Note: Usually no margin is needed for CIS as Null PDUs can be used if a payload 77 is too late for the first subevent 78 79source "tests/bluetooth/controller/common/Kconfig" 80 81source "Kconfig.zephyr" 82