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# Send L2CAP PDUs without any fragmentation.
23CONFIG_BT_BUF_ACL_TX_SIZE=81
24
25CONFIG_BT_BUF_ACL_TX_COUNT=4
26
27# The minimum value for this is
28# L2AP MPS + L2CAP header (4)
29CONFIG_BT_BUF_ACL_RX_SIZE=81
30
31CONFIG_BT_L2CAP_TX_BUF_COUNT=100
32
33CONFIG_BT_CTLR_DATA_LENGTH_MAX=81
34CONFIG_BT_CTLR_RX_BUFFERS=10
35
36CONFIG_BT_MAX_CONN=10
37
38CONFIG_LOG=y
39CONFIG_ASSERT=y
40CONFIG_NET_BUF_POOL_USAGE=y
41
42# CONFIG_BT_L2CAP_LOG_LEVEL_DBG=y
43# CONFIG_BT_CONN_LOG_LEVEL_DBG=y
44CONFIG_LOG_THREAD_ID_PREFIX=y
45CONFIG_THREAD_NAME=y
46
47CONFIG_ARCH_POSIX_TRAP_ON_FATAL=y
48