CONFIG_BT=y CONFIG_BT_CENTRAL=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_DEVICE_NAME="L2CAP stress test" CONFIG_BT_EATT=n CONFIG_BT_L2CAP_ECRED=n CONFIG_BT_SMP=y # Next config depends on it CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y # Disable auto-initiated procedures so they don't # mess with the test's execution. CONFIG_BT_AUTO_PHY_UPDATE=n CONFIG_BT_AUTO_DATA_LEN_UPDATE=n CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=n # L2CAP MPS # 23+27+27=77 makes exactly three full packets CONFIG_BT_L2CAP_TX_MTU=77 # Send L2CAP PDUs without any fragmentation. CONFIG_BT_BUF_ACL_TX_SIZE=81 CONFIG_BT_BUF_ACL_TX_COUNT=4 # The minimum value for this is # L2AP MPS + L2CAP header (4) CONFIG_BT_BUF_ACL_RX_SIZE=81 CONFIG_BT_L2CAP_TX_BUF_COUNT=100 CONFIG_BT_CTLR_DATA_LENGTH_MAX=81 CONFIG_BT_CTLR_RX_BUFFERS=10 CONFIG_BT_MAX_CONN=10 CONFIG_LOG=y CONFIG_ASSERT=y CONFIG_NET_BUF_POOL_USAGE=y # CONFIG_BT_L2CAP_LOG_LEVEL_DBG=y # CONFIG_BT_CONN_LOG_LEVEL_DBG=y CONFIG_LOG_THREAD_ID_PREFIX=y CONFIG_THREAD_NAME=y CONFIG_ARCH_POSIX_TRAP_ON_FATAL=y