summaryrefslogtreecommitdiff
path: root/bluetooth
diff options
context:
space:
mode:
authorAlexey Polyudov <apolyudov@google.com>2017-02-21 16:22:23 -0800
committerAlexey Polyudov <apolyudov@google.com>2017-02-23 12:39:30 -0800
commit860e6f95de710ea2805aaf2981f5a802f0de5f56 (patch)
tree655e148bb8ae44b9b8e2601bb88fc6443340ed06 /bluetooth
parent0c537e63b984ae9d42d238c49f76286d9bd85df9 (diff)
borrrow from muskie: qcom opensource + some settings
Change-Id: Ib374d4191870f2f83ec6f4a2c0b69e1dc1c0f59f
Diffstat (limited to 'bluetooth')
-rw-r--r--bluetooth/bdroid_buildcfg.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h
new file mode 100644
index 0000000..82283a5
--- /dev/null
+++ b/bluetooth/bdroid_buildcfg.h
@@ -0,0 +1,34 @@
+/*
+ *
+ * Copyright (c) 2013, The Linux Foundation. All rights reserved.
+ * Not a Contribution, Apache license notifications and license are retained
+ * for attribution purposes only.
+ *
+ * Copyright (C) 2012 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _BDROID_BUILDCFG_H
+#define _BDROID_BUILDCFG_H
+#define BTM_DEF_LOCAL_NAME "QCOM-BTD"
+// Disables read remote device feature
+#define BTA_SKIP_BLE_READ_REMOTE_FEAT FALSE
+#define MAX_ACL_CONNECTIONS 7
+#define MAX_L2CAP_CHANNELS 16
+#define BLE_VND_INCLUDED TRUE
+// skips conn update at conn completion
+#define BTA_BLE_SKIP_CONN_UPD FALSE
+#define BLE_PERIPHERAL_ADV_NAME FALSE
+#define BT_CLEAN_TURN_ON_DISABLED 1
+#endif