From 420bf8d2213a2b4d281fe96bd1e719e560967591 Mon Sep 17 00:00:00 2001 From: SamarV-121 Date: Wed, 16 Jun 2021 22:11:57 +0530 Subject: [PATCH] universal7885: Change eSCO Transport Unit Size to 16 * Fixes bluetooth calls * depends on https://review.lineageos.org/c/LineageOS/android_system_bt/+/312698 Change-Id: Ia380fabeb4f890891b46acd9bf13f4a5b0c95eff Signed-off-by: SamarV-121 --- BoardConfigCommon.mk | 3 +++ bluetooth/bdroid_buildcfg.h | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 bluetooth/bdroid_buildcfg.h diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 8b4a3b6..ff2f6bc 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -24,6 +24,9 @@ TARGET_2ND_CPU_ABI2 := armeabi TARGET_2ND_CPU_VARIANT := generic TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a53 +# Bluetooth +BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(COMMON_PATH)/bluetooth + # Build system BUILD_BROKEN_DUP_RULES := true diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h new file mode 100644 index 0000000..fa22c6f --- /dev/null +++ b/bluetooth/bdroid_buildcfg.h @@ -0,0 +1,6 @@ +#ifndef _BDROID_BUILDCFG_H +#define _BDROID_BUILDCFG_H + +#define BTM_ESCO_TRANSPORT_UNIT_SIZE_PCM16 + +#endif