xref: /btstack/test/fuzz/btstack_config.h (revision 1f805efefda17c3c51b11aaa365eaa161e780e81)
1*1f805efeSMatthias Ringwald //
2*1f805efeSMatthias Ringwald // btstack_config.h for test/fuzz
3*1f805efeSMatthias Ringwald //
4*1f805efeSMatthias Ringwald 
5*1f805efeSMatthias Ringwald #ifndef __BTSTACK_CONFIG
6*1f805efeSMatthias Ringwald #define __BTSTACK_CONFIG
7*1f805efeSMatthias Ringwald 
8*1f805efeSMatthias Ringwald // Port related features
9*1f805efeSMatthias Ringwald #define HAVE_MALLOC
10*1f805efeSMatthias Ringwald #define HAVE_POSIX_FILE_IO
11*1f805efeSMatthias Ringwald #define HAVE_BTSTACK_STDIN
12*1f805efeSMatthias Ringwald #define HAVE_POSIX_TIME
13*1f805efeSMatthias Ringwald 
14*1f805efeSMatthias Ringwald // BTstack features that can be enabled
15*1f805efeSMatthias Ringwald #define ENABLE_BLE
16*1f805efeSMatthias Ringwald #define ENABLE_CLASSIC
17*1f805efeSMatthias Ringwald #define ENABLE_HFP_WIDE_BAND_SPEECH
18*1f805efeSMatthias Ringwald #define ENABLE_LE_CENTRAL
19*1f805efeSMatthias Ringwald #define ENABLE_LE_PERIPHERAL
20*1f805efeSMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS
21*1f805efeSMatthias Ringwald #define ENABLE_LE_DATA_CHANNELS
22*1f805efeSMatthias Ringwald #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS
23*1f805efeSMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION
24*1f805efeSMatthias Ringwald #define ENABLE_ATT_DELAYED_RESPONSE
25*1f805efeSMatthias Ringwald //#define ENABLE_LOG_ERROR
26*1f805efeSMatthias Ringwald //#define ENABLE_LOG_INFO
27*1f805efeSMatthias Ringwald #define ENABLE_SCO_OVER_HCI
28*1f805efeSMatthias Ringwald #define ENABLE_SDP_DES_DUMP
29*1f805efeSMatthias Ringwald #define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
30*1f805efeSMatthias Ringwald #define ENABLE_SOFTWARE_AES128
31*1f805efeSMatthias Ringwald 
32*1f805efeSMatthias Ringwald // BTstack configuration. buffers, sizes, ...
33*1f805efeSMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
34*1f805efeSMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy
35*1f805efeSMatthias Ringwald 
36*1f805efeSMatthias Ringwald #define NVM_NUM_DEVICE_DB_ENTRIES      20
37*1f805efeSMatthias Ringwald 
38*1f805efeSMatthias Ringwald // Mesh Configuration
39*1f805efeSMatthias Ringwald #define ENABLE_MESH
40*1f805efeSMatthias Ringwald #define ENABLE_MESH_ADV_BEARER
41*1f805efeSMatthias Ringwald #define ENABLE_MESH_GATT_BEARER
42*1f805efeSMatthias Ringwald #define ENABLE_MESH_PB_ADV
43*1f805efeSMatthias Ringwald #define ENABLE_MESH_PB_GATT
44*1f805efeSMatthias Ringwald #define ENABLE_MESH_PROXY_SERVER
45*1f805efeSMatthias Ringwald #define ENABLE_MESH_PROVISIONER
46*1f805efeSMatthias Ringwald 
47*1f805efeSMatthias Ringwald #define MAX_NR_MESH_TRANSPORT_KEYS    16
48*1f805efeSMatthias Ringwald #define MAX_NR_MESH_VIRTUAL_ADDRESSES 16
49*1f805efeSMatthias Ringwald #define MAX_NR_MESH_SUBNETS            2
50*1f805efeSMatthias Ringwald 
51*1f805efeSMatthias Ringwald // allow for one NetKey update
52*1f805efeSMatthias Ringwald #define MAX_NR_MESH_NETWORK_KEYS      (MAX_NR_MESH_SUBNETS+1)
53*1f805efeSMatthias Ringwald 
54*1f805efeSMatthias Ringwald #endif
55*1f805efeSMatthias Ringwald 
56