From 817423cf3a15ca0f2ecfa87f025011a1a7851a7f Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Thu, 29 Sep 2022 12:35:43 +0300 Subject: [PATCH] berlin: Remove bdroid_buildcfg.h As of I3c7aed1bdb45db728d319f7d757400e44d232283 the Bluetooth stack defaults to reasonable defaults that should work for all devices. Change-Id: I056d63c4c8a2727e384172e964dc0000b6773504 --- BoardConfig.mk | 3 --- bluetooth/bdroid_buildcfg.h | 31 ------------------------------- 2 files changed, 34 deletions(-) delete mode 100644 bluetooth/bdroid_buildcfg.h diff --git a/BoardConfig.mk b/BoardConfig.mk index dd67edc..464dd26 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -22,9 +22,6 @@ include device/motorola/sm7325-common/BoardConfigCommon.mk # Bootloader TARGET_BOOTLOADER_BOARD_NAME := berlin -# Bluetooth -BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth - # HIDL DEVICE_MANIFEST_YUPIK_FILES += $(DEVICE_PATH)/manifest_berlin.xml diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h deleted file mode 100644 index b317d89..0000000 --- a/bluetooth/bdroid_buildcfg.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * 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 - * Copyright (C) 2018 The LineageOS 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 - -// Disables read remote device feature -#define MAX_ACL_CONNECTIONS 16 -#define MAX_L2CAP_CHANNELS 16 -#define BLE_VND_INCLUDED TRUE -/* Increasing SEPs to 12 from 6 to support SHO/MCast i.e. two streams per codec */ -#define AVDT_NUM_SEPS 12 -#endif