Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 872e345b authored by Luca Weiss's avatar Luca Weiss Committed by Bharath
Browse files

FP3: Remove unused bdroid_buildcfg.h

Since Android 13 moved Bluetooth to module, this file is unused.

* BTM_DEF_LOCAL_NAME: is now bluetooth.device.default_name property
* MAX_ACL_CONNECTIONS: new default MAX_BD_CONNECTIONS & MAX_L2CAP_LINKS
  match
* MAX_L2CAP_CHANNELS: is now 64 instead of 16
* BLE_VND_INCLUDED: new default matches
* BT_CLEAN_TURN_ON_DISABLED: unused in Android 11
* AVDT_NUM_SEPS: new default matches

Issue: FP3-A13#50
Change-Id: I63ae56dc8d568cc18341adf6b2928368d4bb488e
(cherry picked from commit 1546bc12069552c96851b3c4fe8f714ba3bf3ff0)
parent b8f31c36
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -110,7 +110,6 @@ USE_CUSTOM_AUDIO_POLICY := 1

# Bluetooth
BOARD_ANT_WIRELESS_DEVICE := "vfs-prerelease"
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth
BOARD_HAVE_BLUETOOTH_QCOM := true


bluetooth/bdroid_buildcfg.h

deleted100644 → 0
+0 −32
Original line number Diff line number Diff line
/*
 *
 *  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   "Fairphone 3"
#define MAX_ACL_CONNECTIONS   16
#define MAX_L2CAP_CHANNELS    16
#define BLE_VND_INCLUDED   TRUE
#define BT_CLEAN_TURN_ON_DISABLED 1

/* Increasing SEPs to 12 from 6 to support SHO/MCast i.e. two streams per codec */
#define AVDT_NUM_SEPS 12
#endif