Commit graph

10 commits

Author SHA1 Message Date
Cheney Ni
d116a1212c Bluetooth: Enable AAC VBR by default
AAC VBR is more preferred than CBR for A2DP playback. This also moves
those A2DP system properties into the product partition.

Bug: 112325138
Test: dumpsys bluetooth_manager
Change-Id: I4496d44309faa805059147166c681777c59c4566
2022-06-22 08:57:48 +00:00
Cheney Ni
31019e12e1 BluetoothSar: Support SAR version 1.1
Add build flag: TARGET_USE_QTI_BT_SAR_V1_1 to control IBluetoothSar @1.1

Bug: 203055537
Test: bluetooth_sar_test
Change-Id: I81f79d08ad92d2b393d438739640f051e94d0426
2022-06-15 07:34:47 +00:00
Cheney Ni
006ea2415e Bluetooth: Don't enable OOBS before NVM ready
Bug: 202091533
Test: Turn on Bluetooth without OOBS NVM
Change-Id: Id85e896a0c9663311c55a7975b94fa5a8081d6eb
2022-05-26 06:57:34 +00:00
Cheney Ni
7d4c43f5fc Bluetooth: Adds more debugging properties
Set vendor properties about SoC logging and firmware snoop to true on
userdebug build, and set to false under user build.

Bug: 229691092
Test: Flash the build to check if there is SoC logging
Change-Id: Idaf490a68fe5fbefb1338f351931553222191137
2022-04-20 13:49:01 +00:00
Cheney Ni
e02c9bb086 Bluetooth: disable IBS low power control
Bug: 202113218
Test: pass Bluetooth HAL log check
Change-Id: Ia3d1435ab2cba8c48c0162179bb43b2101b7e5df
2022-01-19 20:04:25 +08:00
Cheney Ni
3da8ff16ce Bluetooth: update the HAL to be IBluetoothHci @1.1
A build flag TARGET_BLUETOOTH_HCI_V1_1 to control the implementation version

Bug: 202113218
Test: pass Bluetooth ON / OFF manually test
Change-Id: I42b8e9fede9c38c51a6498df52f514f0841fca17
2022-01-10 08:21:23 +00:00
Cheney Ni
c2b43ffd7f Bluetooth: disable A2DP offloading temporarily
It does not support the A2DP offloading yet.

Bug: 203042971
Test: pass A2DP playback manual test
Change-Id: I998b9fe75c4901a18eec667b6f7e9417297dd53d
2022-01-07 12:16:46 +00:00
Cheney Ni
ba4454c5f7 Bluetooth: control A2DP capabilities by each project
Bug: 194607800
Bug: 203042971
Test: pass A2DP playback manual test
Change-Id: I2021ad7ef115dee9b43784ffa27f2ab78306f3dc
2022-01-07 12:16:46 +00:00
Cheney Ni
86825193b2 Bluetooth: Add Sepolicy for QTI default HAL (2/2)
Uncouple from other projects sepolicy

Bug: 202113218
Test: Build pass
Change-Id: I975ffe8c273a7ecff855d0804b97cc8a5b868ba9
2021-12-16 04:58:59 +00:00
Cheney Ni
7dbebb7ab4 Bluetooth: Bring up QCOM Bluetooth HAL
Specify all configurations on qti_default.mk, and here are some
important items:
 * QCOM_BLUETOOTH_USING_DIAG = false
 * TARGET_BLUETOOTH_UART_DEVICE = "/dev/ttySAC18"
 * UART_USE_TERMIOS_AFC = true
 * TARGET_USE_QTI_BT_OBS = true

Bug: 202113218
Test: Build pass
Change-Id: I444d64e7413d1b08aff295e3ad64238cbaec1286
2021-12-16 02:12:32 +00:00