sm6250-common: Switch to QTI bt stack

Change-Id: I47016b066ae800d0071dbad6a1235cbc9db3cf80
This commit is contained in:
dianlujitao 2020-05-25 11:15:11 +08:00 committed by Cosmin Tanislav
parent 2af9e31f7b
commit 14509d9e2f
5 changed files with 30 additions and 7 deletions

View File

@ -132,6 +132,7 @@ TARGET_VENDOR_PROP += $(COMMON_PATH)/vendor.prop
# QCOM # QCOM
BOARD_USES_QCOM_HARDWARE := true BOARD_USES_QCOM_HARDWARE := true
TARGET_FWK_SUPPORTS_FULL_VALUEADDS := true
# Recovery # Recovery
BOARD_INCLUDE_RECOVERY_DTBO := true BOARD_INCLUDE_RECOVERY_DTBO := true

View File

@ -58,12 +58,12 @@ static inline const char *BtmGetDefaultName()
#define BTM_DEF_LOCAL_NAME BtmGetDefaultName() #define BTM_DEF_LOCAL_NAME BtmGetDefaultName()
// Disables read remote device feature // Disables read remote device feature
#define MAX_ACL_CONNECTIONS 16 #define MAX_ACL_CONNECTIONS 16
#define MAX_L2CAP_CHANNELS 16 #define MAX_L2CAP_CHANNELS 32
#define BLE_VND_INCLUDED TRUE #define BLE_VND_INCLUDED TRUE
#define GATT_MAX_PHY_CHANNEL 10
// Skips conn update at conn completion // Skips conn update at conn completion
#define BT_CLEAN_TURN_ON_DISABLED 1 #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 35
#define AVDT_NUM_SEPS 12
#pragma pop_macro("PROPERTY_VALUE_MAX") #pragma pop_macro("PROPERTY_VALUE_MAX")

View File

@ -36,6 +36,10 @@ PRODUCT_PACKAGES += \
r-gsi.avbpubkey \ r-gsi.avbpubkey \
s-gsi.avbpubkey s-gsi.avbpubkey
# Bluetooth
PRODUCT_PACKAGES += \
BluetoothQti
# Camera # Camera
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
Snap Snap
@ -74,12 +78,14 @@ PRODUCT_COPY_FILES += \
# Overlays # Overlays
DEVICE_PACKAGE_OVERLAYS += \ DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \ $(LOCAL_PATH)/overlay \
$(LOCAL_PATH)/overlay-lineage $(LOCAL_PATH)/overlay-lineage \
$(LOCAL_PATH)/overlay-system
PRODUCT_ENFORCE_RRO_TARGETS := * PRODUCT_ENFORCE_RRO_TARGETS := *
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += \ PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += \
$(LOCAL_PATH)/overlay-lineage/lineage-sdk \ $(LOCAL_PATH)/overlay-lineage/lineage-sdk \
$(LOCAL_PATH)/overlay-lineage/packages/apps/Snap $(LOCAL_PATH)/overlay-lineage/packages/apps/Snap \
$(LOCAL_PATH)/overlay-system
# Partitions # Partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true PRODUCT_USE_DYNAMIC_PARTITIONS := true

View File

@ -13,9 +13,7 @@
limitations under the License. limitations under the License.
--> -->
<resources> <resources>
<bool name="profile_supported_a2dp_sink">true</bool>
<bool name="profile_supported_avrcp_controller">true</bool> <bool name="profile_supported_avrcp_controller">true</bool>
<bool name="profile_supported_avrcp_target">false</bool>
<bool name="profile_supported_ba">true</bool> <bool name="profile_supported_ba">true</bool>
<bool name="profile_supported_hfpclient">false</bool> <bool name="profile_supported_hfpclient">false</bool>
<bool name="profile_supported_hid_device">false</bool> <bool name="profile_supported_hid_device">false</bool>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2020 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.
-->
<resources>
<bool name="profile_supported_a2dp_sink">true</bool>
<bool name="profile_supported_avrcp_target">false</bool>
</resources>