From a380b93b5d71bcdb93418ea56a9bfc4ac4f6aa35 Mon Sep 17 00:00:00 2001 From: yang.xu Date: Thu, 01 Feb 2018 07:02:42 +0000 Subject: common: BT--fix rc auto disconnect to reference[1/6] PD#158882 1.add bluedroid_buidcfg.h(p212&p241&p230&t962e_r321&t962x_r311) 2.set BTM_BLE_CONN_INT_MIN_LIMIT 0x6 Change-Id: I2ad4337532f7017cf08e4c98751840a6ae885a28 --- diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h new file mode 100644 index 0000000..85ad11f --- a/dev/null +++ b/bluetooth/bdroid_buildcfg.h @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2014 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 BLE_VND_INCLUDED TRUE + +// Turn off BLE_PRIVACY_SPT. Remote reconnect fails on +// often if this is enabled. +#define BLE_PRIVACY_SPT FALSE + +/* minimum acceptable connection interval */ +#define BTM_BLE_CONN_INT_MIN_LIMIT 0x0006 /*7.5ms=6*1.25*/ + +/*fix r311&r321 bt not open*/ +#define KERNEL_MISSING_CLOCK_BOOTTIME_ALARM TRUE + +#endif -- cgit