1 /*
2  * Copyright (C) 2014 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef _BDROID_BUILDCFG_H
18 #define _BDROID_BUILDCFG_H
19 
20 #define BTA_DM_COD \
21     { 0x2C, 0x04, 0x14 }
22 #define BTA_AV_SINK_INCLUDED TRUE
23 
24 #define BLE_VND_INCLUDED TRUE
25 
26 // Turn off BLE_PRIVACY_SPT.  Remote reconnect fails on
27 // often if this is enabled.
28 #define BLE_PRIVACY_SPT FALSE
29 
30 /* minimum acceptable connection interval */
31 #define BTM_BLE_CONN_INT_MIN_LIMIT 0x0006  /*7.5ms=6*1.25*/
32 
33 /*fix bt crash about init */
34 #define KERNEL_MISSING_CLOCK_BOOTTIME_ALARM TRUE
35 
36 #define BTM_BLE_CONN_INT_MIN_DEF       6
37 #define BTM_BLE_CONN_INT_MAX_DEF       12
38 #define BTM_BLE_SCAN_SLOW_INT_1        64
39 #define BTM_BLE_SCAN_SLOW_WIN_1        16
40 
41 #define BTA_SKIP_BLE_READ_REMOTE_FEAT  TRUE
42 #define BLE_DELAY_REQUEST_ENC          TRUE
43 
44 #define BTA_AV_SINK_INCLUDED           TRUE
45 
46 #endif
47