1CONFIG_BT=y 2CONFIG_BT_CENTRAL=y 3CONFIG_BT_PERIPHERAL=y 4CONFIG_BT_DEVICE_NAME="L2CAP stress test" 5 6CONFIG_BT_EATT=n 7CONFIG_BT_L2CAP_ECRED=n 8 9CONFIG_BT_SMP=y # Next config depends on it 10CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y 11 12# Disable auto-initiated procedures so they don't 13# mess with the test's execution. 14CONFIG_BT_AUTO_PHY_UPDATE=n 15CONFIG_BT_AUTO_DATA_LEN_UPDATE=n 16CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=n 17 18# L2CAP MPS 19# 23+27+27=77 makes exactly three full packets 20CONFIG_BT_L2CAP_TX_MTU=77 21 22# Use this to send L2CAP PDUs without any fragmentation. 23# In this particular case, we prefer fragmenting to test that code path. 24# CONFIG_BT_BUF_ACL_TX_SIZE=81 25 26# L2CAP PDUs will be fragmented in 3 ACL packets. 27CONFIG_BT_BUF_ACL_TX_SIZE=27 28 29CONFIG_BT_BUF_ACL_TX_COUNT=4 30 31# The minimum value for this is 32# L2AP MPS + L2CAP header (4) 33CONFIG_BT_BUF_ACL_RX_SIZE=81 34 35# Governs BT_CONN_TX_MAX, and so must be >= than the max number of 36# peers, since we attempt to send one SDU per peer. The test execution 37# is a bit slowed down by having this at the very minimum, but we want 38# to keep it that way as to stress the stack as much as possible. 39CONFIG_BT_L2CAP_TX_BUF_COUNT=6 40 41CONFIG_BT_CTLR_DATA_LENGTH_MAX=27 42CONFIG_BT_CTLR_RX_BUFFERS=10 43 44CONFIG_BT_MAX_CONN=10 45 46CONFIG_LOG=y 47CONFIG_ASSERT=y 48CONFIG_NET_BUF_POOL_USAGE=y 49 50# CONFIG_BT_L2CAP_LOG_LEVEL_DBG=y 51# CONFIG_BT_CONN_LOG_LEVEL_DBG=y 52CONFIG_LOG_THREAD_ID_PREFIX=y 53CONFIG_THREAD_NAME=y 54 55CONFIG_ARCH_POSIX_TRAP_ON_FATAL=y 56