zephyr/tests/bsim/bluetooth/ll/multiple_id/prj.conf
Vinayak Kariappa Chettimada 31863fd8e3 tests: bsim: Bluetooth: nrRF53/54L: Throughput and multiple_id testing
Enable throughput and multiple_id testing on nRF5340bsim and
nrf54l15bsim.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-01-18 10:03:41 +01:00

67 lines
2.4 KiB
Plaintext

CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_PRIVACY=y
CONFIG_BT_DEVICE_NAME="Multiple"
CONFIG_BT_USER_PHY_UPDATE=y
CONFIG_BT_AUTO_PHY_UPDATE=y
CONFIG_BT_USER_DATA_LEN_UPDATE=y
CONFIG_BT_AUTO_DATA_LEN_UPDATE=y
# Maximum simultaneous ACL connections, current maximum considering other roles
# using ticker nodes count up to 255 (UINT8_MAX) in the hci_ipc with ISO support
CONFIG_BT_MAX_CONN=233
CONFIG_BT_ID_MAX=233
# Avoid using the PPCP provided connection interval so that the multiple
# connections are kept non-overlapping as initially scheduled at connection
# setup
CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=n
# Enables simultaneousn MTU exchange in the test
CONFIG_BT_GATT_CLIENT=y
# Having simulataneous SMP procedures leads to deadlock, disabled pending
# required investigation of the issue.
# CONFIG_BT_SMP=y
# CONFIG_BT_MAX_PAIRED=233
CONFIG_BT_L2CAP_TX_MTU=247
CONFIG_BT_BUF_CMD_TX_SIZE=255
CONFIG_BT_BUF_EVT_RX_SIZE=255
CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=255
CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_BUF_ACL_RX_SIZE=251
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
# Each PHY update can pause connections for 6 interval hence to let other
# parallel connection establishment to succeed increase Rx buffer count.
# A minimum of 1 Rx buffer is required to receive data PDU, during control
# procedures Rx buffer could be held, preventing new connections to be
# established, a value of 3 is tuned based on this test case execution for 2
# iterations. If there is buffer leak, simulated by using value of 2 here, the
# test is failing.
# If there is buffer leak, this test now should catch it.
CONFIG_BT_CTLR_RX_BUFFERS=3
# Provide enough spacing between connections so that multiple peripheral roles
# when connected to a single peer device (peripheral_identity sample) have
# room for window widening and do not overlap with each other in that single
# peer device. This can be tuned based on connection interval and clock
# accuracy, current value here is sufficient for 500ppm at 1 second interval and
# considering required connection event length for 251 byte PDU on 2M PHY.
# (Event Overhead + Radio Ready Delay + Rx window + 1064 + 154 + 1064)
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
CONFIG_BT_CTLR_CENTRAL_SPACING=3750
# Do not use max data PDU size time reservation for connection events spacing
# instead use lesser value as supplied in CONFIG_BT_CTLR_CENTRAL_SPACING
CONFIG_BT_CTLR_CENTRAL_RESERVE_MAX=n
CONFIG_BT_CTLR_SLOT_RESERVATION_UPDATE=n
CONFIG_LOG=y