aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-29topshim: Add A2dp Sink DisconnectCharlie Boutier
Test: m bt_topshim_facade Change-Id: I6c755e4aedef1b6e1a01c3c815a3e14403613551
2021-10-29topshim: Add A2dp Sink Connect and Set ActiveCharlie Boutier
Test: m bt_topshim_facade Change-Id: I648aead5ab379e53a9e98d4293b77f6185810c8b
2021-10-29topshim: Add A2dp Sink Callback DispatcherCharlie Boutier
Test: m bt_topshim_facade Change-Id: Ic92335175f64e300d741eebdf8f70864cbfb2a49
2021-10-29topshim: Add controller shimCharlie Boutier
Test: m bt_topshim_facade Change-Id: I98a14186400e9d1edd0e4388530f4689d6ba574a
2021-10-29topshim/facade: Don't link with libbluetooth twiceDavid Duarte
libbluetooth was linked statically and dynamically causing a lot of issue because of duplicated instances, to fix that we only link with libbluetooth statically. Linking statically with libluetooth is not straightforward because of the dependency with bt_shim that depends on rust crates that are used by bt_topshim_facade too, leading to linking twice with theses libs and so the linker complaining of duplicate symbols. To fix that we instead pass bt_shim as dependency of bt_topshim_facade so the rust compiler will take care of only including the transitive dependencies once Test: m bt_topshim_facade Test: out/host/linux-x86/bin/bt_topshim_facade Change-Id: Ic24f383a4b2f9eda17f33dd344a90e416c482582
2021-10-27use device_type from SEC dev record when availableAndriy Naborskyy
When deciding on transport to use for bonding device, BTM to use device_type already stored in SEC dev record. This takes care of the case when new device was just discovered and no inquire info or identity resolving keys available to distinguish BLE from BR. But record creation is already must be driven from transport specific flow and must trust device_type in the record in this case. Bug: 160645596 Bug: 199827901 Test: gd/cert/run Tag: #compatibility Change-Id: I9cfb912d8bcba6c5d02d5415aa1ee8f2dc6cb847 (cherry picked from commit 3684a7f88cf4d493781f5b7626faf7334c5cdc5c)
2021-10-27A build flag to disable phone signal strength indicators.Calvin On
This uses the post-Service Level Connection command AT+BIA to turn off the indicators. By default it enables all the indicators that are sent by the AG device, but this change keeps the signal strength indicator bit set to 0. See b/157935962 for HCI logs and analysis. Bug: 157935962 Bug: 199827901 Tag: #security Test: gd/cert/run Change-Id: Iac2283440175cf42a3373f67c98ef2eb13b5f880 (cherry picked from commit 2db3bcdbda9fdd0cdc9d5eb1a2f711541ac33fc8)
2021-10-27BTM resolve race condition in ble local resolving listCalvin On
The BLE advertiser address resolving list is stored on the controller, a local copy is kept on the host. The updates to the local copy did not always match the remote list. In this change the update of the local list for the add operation is moved to the callback in order to ensure the order of operations at the controller is respected and that the operation was successful. Bug: 119574882 Bug: 199827901 Test: gd/cert/run Tag: #stability Change-Id: Ib215590e4a292b8d04fcb1a46c13b464d517c73c (cherry picked from commit 42059daf9be75ac3daeda5955b9759584a439ae6) (cherry picked from commit fb070a9fd45bfdc6e452c9735649526d4ba6b65e)
2021-10-27Don't start peer authentication when peer device already started it.Calvin On
Bug: 199827901 Tag: #stability Test: manually test (cherry picked from commit Icb7341c7fdceea0591d5586f0dcffee3e6c3940d) Change-Id: I67428bb0f4ae0eec661999854bcb07d40bba1abd
2021-10-27Merge "BTM: added delay to resolve conflict between auth request from ↵Md Shahriar Hossain Sajib
multiple devices"
2021-10-27Merge "floss: dpkg build script and configs"Treehugger Robot
2021-10-27avrcp: PTS mode track selectedAndriy Naborskyy
PTSTesting mode forces "browsing not supported" case when handling TRACK_CHANGE notification command. Respond with UID 0 when track is selected (both INTERIM and CHANGED responses); resposond with UID (long)-1 in INTERIM when no track is selected. Bug: 199827901 Test: gd/cert/run Tag: #stability Change-Id: I4a443897fc5236fcf57c8101ffc0458df95e43f4 (cherry picked from commit a975087bd076c6abae5c666c4c9b5faf1e34ff3e)
2021-10-27Merge "GD: Add cert test for background connection"Treehugger Robot
2021-10-26Merge "Add in enable address resolution to le_address_manager"Treehugger Robot
2021-10-26floss: dpkg build script and configsMartin Brabham
- systemd configs - dbus configs - script to verify dependencies, download, and build - build btclient, btmanagerd, btadapterd - generate dpkg for debian linux Bug: 195443545 Bug: 195443539 Test: build the dpkg Tag: #floss Change-Id: Iec679ead5fd94abe45476ea7173bbccf67c45bca
2021-10-26Merge "[GD-HCI] ACL handle should be AND'ed with 0xFFF instead of 0xEFF"Treehugger Robot
2021-10-26Merge "gd: Specialize template ToHexString<unsigned int>"Treehugger Robot
2021-10-26Add in enable address resolution to le_address_managerChris Manton
Bug: 203417776 Tag: #refactor Test: gd/cert/run Change-Id: Ib7832335fc2a5386591c8757cf8c829a19d61f08
2021-10-26floss: Include bta/le_audio/le_audio_types:std::bitsetChris Manton
Bug: 203870024 Tag: #floss Test: Manual - build.py floss on Linux Change-Id: Ic2649bc96875b450437d1d6c92da1f54e8519025
2021-10-26[GD-HCI] ACL handle should be AND'ed with 0xFFF instead of 0xEFFJack He
* The spec says that connection handle range is 0x000 to 0xEFF * 0xEFF is actually 0b111011111111 (3839) * 0x7FF is 0b011111111111 (2047) * 0x7FF is a valid ACL handle, but if we AND 0x7FF with 0xEFF, we get 0b011011111111 which is 0x6FF (1791) Bug: 203729791 Test: gd/cert/run Tag: #gd-refactor Change-Id: I7240f997e502287cd6bbbd6a8b69cef88bd51729
2021-10-26Merge "floss: Fix Flatbuffer build rework"Treehugger Robot
2021-10-26gd: Specialize template ToHexString<unsigned int>Chris Manton
Bug: 183171310 Tag: #refactor Test: gd/cert/run BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: I73b5b986d6b38db006d11e7474a3fa1811e6efe3
2021-10-26Merge "L2cap: Cancel Sm4 timeout after security complete"Treehugger Robot
2021-10-26floss: Fix Flatbuffer build reworkSonny Sasaka
Since CL:1866813, bt_flatc_bundler should no longer produce a header file, but produce a c++ compilation target from a generated .cc file. Bug: 203870024 Tag: #floss Test: Manual - build floss on Linux Change-Id: Id774227f36b4deb3f3cebe5b225ec3fb32c13253
2021-10-26GD: Add cert test for background connectionChienyuan
Tag: #refactor Bug: 187597063 Test: gd/cert/run Test: manual BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: I340c6e6fb30ba63892360ee491c2be915d34c94c
2021-10-26Configurable Generic Attribute service handles in ServiceChanged indicationsMd Shahriar Hossain Sajib
Using generic config variables to handle service change indications to handle device specific behaviors. Bug: 199827901 Test: gd/cert/run Tag: #compatibility Change-Id: Id584a46857b2af6f75dddc96215610c21b6fa59f
2021-10-26Merge "legacy: Truncate hci packet factory"Treehugger Robot
2021-10-26Merge "Add prebuilt_etc module (bt_controller_properties) for controller ↵Rob Seymour
properties."
2021-10-26legacy: Truncate hci packet factoryChris Manton
Bug: 197150934 Tag: #refactor Test: gd/cert/run Change-Id: Ic394e6ac360ba18f1f7cc3e0f4b3df47839d3bea
2021-10-25Merge "RootCanal: Add LE Parameter Updates"Treehugger Robot
2021-10-25Merge "legacy: Remove #PAN_SUPPORTS_ROLE_PANU"Treehugger Robot
2021-10-25Merge "Consti-ify ListDependencies for modules"Treehugger Robot
2021-10-25RootCanal: Add LE Parameter UpdatesMyles Watson
Bug: 202032539 Test: CtsVerifier LE Insecure Server Test Tag: #feature Change-Id: I64c549b35269fb70815fd1f26f8f1147ec1a9499
2021-10-25Merge "Disable advertising set on connection"Treehugger Robot
2021-10-25Merge "HCI: Add address to LinkKeyRequestReplyComplete"Treehugger Robot
2021-10-25Merge "Fix build with global ThinLTO"Yi Kong
2021-10-25Merge changes I62432051,I95705e96,Ic454d8e5,I0ee8353b,I4163fec7, ...Jakub Pawlowski
* changes: leaudio: Improve switching context types leaudio: Allow to disable Link Quality Reports leaudio: Fix handling invalid peer device le_audio: Handle multiple audio server tracks le_audio: Initial implementation of updating metadata vc: Add support for group operations
2021-10-25Merge "RootCanal: Add RPA resolution for connections"Treehugger Robot
2021-10-25Fix build with global ThinLTOYi Kong
net_test_stack_multi_adv uses symbols from some shared libs that happens to be re-exported by one of the static libs in non-LTO mode. ThinLTO is more aggressive/accurate at pruning unused symbols, thus the build fails due to missing symbols. Fixed by explicitly listing the dependent shared libs. Bug: 195134194 Test: m GLOBAL_THINLTO=true net_test_stack_multi_adv Change-Id: Ie9462eeef1fec56ce9855e06a17394bd222134ff
2021-10-25legacy: Remove #PAN_SUPPORTS_ROLE_PANUChris Manton
Stack always supports PAN user profile Bug: 191555414 Tag: #refactor Test: gd/cert/run Change-Id: I82b04308997f7cdb995062eebc425597f6dc70c0
2021-10-25Merge "legacy: Remove #PAN_SUPPORTS_ROLE_NAP"Treehugger Robot
2021-10-25Consti-ify ListDependencies for modulesChris Manton
Bug: 187830698 Tag: #refactor Test: gd/cert/run Change-Id: I882e4fa133dec96b9113be87a17642b25ec28d34
2021-10-25leaudio: Improve switching context typesŁukasz Rymanowski
With this patch leaudio handles switch from media to conversation context type. Bug: 150670922 Tag: #feature Sponsor: jpawlowski@ Test: atest --host bluetooth_le_audio_client_test bluetooth_le_audio_test Change-Id: I624320512872abe39ad00885263013fb685582e8
2021-10-25leaudio: Allow to disable Link Quality ReportsŁukasz Rymanowski
This is debug function which should be behind the prop. This patch adds prop "persist.bluetooth.iso_link_quality_report" Bug: 150670922 Tag: #feature Sponsor: jpawlowski@ Test: atest --host bluetooth_le_audio_test bluetooth_le_audio_client_test Change-Id: I95705e9641aab74d282c2ca18beac1471068c46d
2021-10-25leaudio: Fix handling invalid peer deviceŁukasz Rymanowski
With this patch we make sure that le audio device is recognize as a part of CSIS member if CSIS service is primary and is included by CAS on the peer device. Bug: 150670922 Tag: #feature Sponsor: jpawlowski@ Test: atest --host bluetooth_le_audio_test bluetooth_le_audio_client_test Change-Id: Ic454d8e586b4e42bc6af887479e5b824ac2afcc4
2021-10-25le_audio: Handle multiple audio server tracksGrzegorz Kołodziejczyk
Initial patch for handling multiple server tracks. In this patch, if there is any track with voice communication purpose, we add priority on it. Bug: 150670922 Tag: #feature Sponsor: jpawlowski@ Test: atest --host bluetooth_le_audio_test bluetooth_le_audio_client_test Change-Id: I0ee8353b3ae304d5151ed4d2d860ca5f924b8ae7
2021-10-25le_audio: Initial implementation of updating metadataGrzegorz Kołodziejczyk
Patch adds initial implementation for updating metadata of ASEs Bug: 150670922 Tag: #feature Sponsor: jpawlowski@ Test: atest --host bluetooth_le_audio_test bluetooth_le_audio_client_test Change-Id: I4163fec7579997ad0e5eaa08cc02970ed445f223
2021-10-25vc: Add support for group operationsŁukasz Rymanowski
Bug: 150670922 Tag: #feature Sponsor: jpawlowski@ test: atest --host bluetooth_vc_test Change-Id: Ib755b908197375af0ddc662cb32a33ac27b92fe7
2021-10-25BTM: added delay to resolve conflict between auth request from multipleMd Shahriar Hossain Sajib
devices Added a delay before starting authentication request so that it resolves conflicts between multiple devices having different wait time Bug: 177641632 Bug: 199827901 Test: gd/cert/run Tag: #compatibility Change-Id: I773b90ca1d293474e31fce3dcab5cb6c0321758b
2021-10-25Merge "GD: Add background connection list for LE"Treehugger Robot