dre: bluetooth: Import QVA bdroid config
Change-Id: I2eb685fba2a4fff45b0acfeef29b11b3cde02900
This commit is contained in:
parent
ab3a259438
commit
ef1a896dcb
2 changed files with 34 additions and 0 deletions
|
@ -119,6 +119,7 @@ BOARD_USES_ALSA_AUDIO := true
|
||||||
USE_CUSTOM_AUDIO_POLICY := 1
|
USE_CUSTOM_AUDIO_POLICY := 1
|
||||||
|
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
|
BOARD_BLUETOOTH_BDROID_BUILDCFG_INLUDE_DIR := $(DEVICE_PATH)/bluetooth
|
||||||
TARGET_USE_QTI_BT_STACK := true
|
TARGET_USE_QTI_BT_STACK := true
|
||||||
|
|
||||||
# Camera
|
# Camera
|
||||||
|
|
33
bluetooth/bdroid_buildcfg.h
Normal file
33
bluetooth/bdroid_buildcfg.h
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2013, The Linux Foundation. All rights reserved.
|
||||||
|
* Not a Contribution.
|
||||||
|
*
|
||||||
|
* Copyright (C) 2012 The Android Open Source Project
|
||||||
|
* Copyright (C) 2022 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
|
||||||
|
#define BTM_DEF_LOCAL_NAME "OnePlus Nord N200"
|
||||||
|
// Disables read remote device feature
|
||||||
|
#define MAX_ACL_CONNECTIONS 16
|
||||||
|
#define MAX_L2CAP_CHANNELS 32
|
||||||
|
#define BLE_VND_INCLUDED TRUE
|
||||||
|
#define GATT_MAX_PHY_CHANNEL 10
|
||||||
|
// skips conn update at conn completion
|
||||||
|
#define BT_CLEAN_TURN_ON_DISABLED 1
|
||||||
|
|
||||||
|
#define AVDT_NUM_SEPS 35
|
||||||
|
#endif
|
Loading…
Reference in a new issue