Commit graph

20 commits

Author SHA1 Message Date
Patty Huang
52bc1939d2 Enable 32k for some audio configurations with offload path
Bug: 272597112
Test: check the offload supported config
Change-Id: I644c3429c1ebad892a77ccfcbf45deb2d8278cf2
2023-04-21 02:15:16 +00:00
kuanyuhuang
a62a0aa0ae BT: add sysprop to enable OPUS codec am: 1eda2f37e7 am: ecf0d563f6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/20296583

Change-Id: If926c5859c958259e41049c38517633e36e167cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-31 21:27:08 +00:00
kuanyuhuang
1eda2f37e7 BT: add sysprop to enable OPUS codec
Add new system proprty persist.bluetooth.opus.enabled to
indicate devices enable OPUS codec.

Bug: 254609888
Test: atest net_test_stack:A2dpCodecConfigTest#init
Change-Id: I3741ea42b5513ae1dd0cb7609301953a13861293
2022-10-28 08:24:40 +00:00
shihchienc
0b95edea78 Change config path for LE Audio Capabilities file
Since there is no different setting for sub project under same prohject,
we will change the setting file from `bluetooth/project/` to
`bluetooth/` to simplify the file structure.

Bug: 238983662
Test: make sure file added in config folder can be copied into devices
Change-Id: I1b0d6a2107f5d69fd7bf650bad314e920810c156
Merged-In: I1b0d6a2107f5d69fd7bf650bad314e920810c156
(cherry picked from commit 6f30806b78)
2022-10-11 09:00:59 +00:00
shihchienc
6f30806b78 Change config path for LE Audio Capabilities file
Since there is no different setting for sub project under same prohject,
we will change the setting file from `bluetooth/project/` to
`bluetooth/` to simplify the file structure.

Bug: 238983662
Test: make sure file added in config folder can be copied into devices
Change-Id: I1b0d6a2107f5d69fd7bf650bad314e920810c156
2022-09-22 07:02:44 +00:00
Patty Huang
df620727aa Remove 32k capability due to controller bandwidth concern am: 9177744d65 am: 23796af268
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19999326

Change-Id: I31437106b28f8ce62c9c0015b990cceb38313960
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-22 02:11:48 +00:00
Patty Huang
9177744d65 Remove 32k capability due to controller bandwidth concern
Bug: 237991066
Test: Checks the 32k configuration is not supported in offload path.
Test: Checks the later join case, both earbud have sound, and the active
CIS doesn't need to do the reconfiguration when the other bud connected.

Change-Id: I47f6f70b86ed9e39a1d7a29c64672f2eb2b76692
2022-09-21 14:09:18 +00:00
shihchienc
a70d7022f0 Add by project le audio offload capabilities config file
We create by project offload capabilities config file to make each
project have its own customized default device offload capabilities.

Bug: 238983662
Test: make sure file added in config folder can be copied into devices
Change-Id: I23ac69ef5770a6e471a70f18205c027f2976af16
Merged-In: I23ac69ef5770a6e471a70f18205c027f2976af16
(cherry picked from commit e559a93d8f690bbe811f8316f61a100964313bfc)
2022-09-19 14:40:49 +00:00
shihchienc
1586f2ae70 Add by project le audio offload capabilities config file
We create by project offload capabilities config file to make each
project have its own customized default device offload capabilities.

Bug: 238983662
Test: make sure file added in config folder can be copied into devices
Change-Id: Ibc12a2774d3b32fe54574372121ce3e93d395167
Merged-In: Ibc12a2774d3b32fe54574372121ce3e93d395167
(cherry picked from commit c337787e1d)
2022-09-19 14:40:49 +00:00
shihchienc
b1046f32d5 Add by project le audio offload capabilities config file
We create by project offload capabilities config file to make each
project have its own customized default device offload capabilities.

Bug: 238983662
Test: make sure file added in config folder can be copied into devices
Change-Id: I23ac69ef5770a6e471a70f18205c027f2976af16
2022-09-19 04:55:13 +00:00
shihchienc
c337787e1d Add by project le audio offload capabilities config file
We create by project offload capabilities config file to make each
project have its own customized default device offload capabilities.

Bug: 238983662
Test: make sure file added in config folder can be copied into devices
Change-Id: Ibc12a2774d3b32fe54574372121ce3e93d395167
2022-09-16 05:13:06 +00:00
Adam Shih
f3f226ee45 Move bt Compatibility matrix to gs-common
Bug: 242661555
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Change-Id: I5c2428cc42a712b3c416bd62ec6c70c05ea0a82f
2022-09-07 22:59:46 +00:00
Ted Wang
9d09e7dc42 bt: update bt a2dp offload capabilities
* set BtA2dpOffloadCap value to sbc-aac-aptx-aptxhd-ldac-opus
  in bt_vendor_overlay.conf to suppot OPUS offloading.

Bug: 243958304
Test: manully
Change-Id: I0482a86584ad0ae36daff810a1c853e8edffd375
2022-08-31 19:28:07 +08:00
jonerlin
8090f5f733 bt: update bt bqr event mask property value
* set BtBqrEventMaskOverride value to 262238 in bt_vendor_overlay.conf
  to disable firmware BTRT logging.

Bug: 237906721
Test: Manually
Change-Id: Ic509d750dcbbd8089df73c454d29f40bfe433716
2022-08-04 16:28:28 +08:00
jonerlin
870b1dca7c Bluetooth: update C10/P10 BT RC SAR tables for differnt SKUs/countries
Bug: 234377643
Bug: 234376892
Test: make and manual test, RF member verification
Change-Id: I8dda4bbb1c848fac1d1f880236a27635227d1f23
2022-06-02 04:07:26 +00:00
jonerlin
9170bc5507 Add IBluetoothExt interface and hci_inject tool in user debug build
Bug: 228943442
Test: manually
Change-Id: Ib3ca868ce4d3eebe7c9a5f9e33ceab3f9a9b9a41
2022-05-20 05:06:29 +00:00
Ted Wang
621a512859 Switch BluetoothCcc to 1.1 version
Bug: 229710243
Test: make
Change-Id: I79beee03e8773bb7b3e1dbdd881ddaf6fdb24827
2022-04-26 10:07:23 +00:00
Patty
d92f08f9a2 Add EWP bthal interface
Bug: 220121592
Test: Manual
Change-Id: I693379056b83c1dfc9345b3c2cb6d514d56986af
2022-04-19 11:40:00 +00:00
jonerlin
3275b689d7 bt: support Sar backoff high resolution command in P22 projects
* set SarBackOffHighResolution = true for support power index
  from 0 to 80 for setting backoff in 0.25 dB step

Bug: 170369474
Test: sending sar command with power cap index between 20 ~ 80 and
confirm the SAR backoff is workable.

Change-Id: I56d75abcff55e93554bf656fff164b861fe0e3c2
2022-03-18 06:04:58 +00:00
Cyan_Hsieh
ff4c7ca3b5 Initialize device folder
from: 715ff58363e1fd4edc7c1bd428a77af6ddcb7684
with updated device path

Bug: 198128551
Change-Id: I2d9eace5077290b74ef00efb7304128f344514c1
2021-11-25 19:59:21 +08:00