Commit graph

8 commits

Author SHA1 Message Date
Sam Wu
63bcd88052 Revert "uwb(hal): Implement UCI over serial in the default HAL"
Revert submission 2215484-pica_cf

Reason for revert: DroidMonitor: Potential culprit for Bug X - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Reverted changes: /q/submissionid:2215484-pica_cf

Change-Id: Ifd9f5cf04631e19a33b29b4b2917eaab2b506e23
2023-04-07 18:35:20 +00:00
David Duarte
e432bdd45b uwb(hal): Implement UCI over serial in the default HAL
Bug: 229824143
Test: manual with cuttlefish
Change-Id: Ia29e618b8c9b53f295f66ff0b94965d4f571f8e4
2023-04-03 17:32:44 +00:00
Roshan Pius
b44de0093b uwb(hal): Remove getAndroidCapabilities HAL API
This is unnecessary since we are anyway using GET_CAPS_INFO for querying
non-fira capabilities.

Bug: 208678993
Bug: 209053358
Test: Compiles
Change-Id: Id9af03b313ceaf00fb6d5231c454dc7c74a6287a
2022-02-07 08:35:57 -08:00
Roshan Pius
f2c2939b98 uwb(hal): Add HAL API for session initialization
Bug: 209990508
Test: atest VtsHalUwbTargetTest
Change-Id: I7d10062cb3854ab39717d93a6eadba9dde99330d
2021-12-10 01:29:15 +00:00
Roshan Pius
a55560f5dc Move uwb owners file to top-level
Bug: None
Test: N/A
Change-Id: Ifa6cb7eac60c38edb038cbf7316a4f852f3e8f08
2021-11-10 13:47:18 -08:00
Roshan Pius
1e1c842867 uwb(hal): Add a capabilities mechanism for vendor commands
For the vendor commands defined for Android, allow UWB chip vendors to
optionally expose some of the features defined in a given version.

Without this mechanism, any vendor commands added has to be supported by
all chip vendors unconditionally (which may not be feasible based on
hardware capabilities).

Bug: 197886322
Test: Compiles

Change-Id: I917f2dc0d203ba9304f58955ac3cdb9d1735106c
2021-11-05 13:34:59 -07:00
Roshan Pius
90f5171cb8 uwb: Add vts tests for UWB HAL
No target to run the tests yet. So, just starting the VTS test suite for
UWB with some simple tests.

Also, modified the reference HAL implementation to emulate the startuo
flow.

Bug: 191175259
Test: atest VtsHalUwbTargetTest (using reference HAL on cuttlefish)
Change-Id: I2f01a3fec3324e85123d1d17e1b03dd284aee7b1
2021-09-23 00:45:53 +00:00
Roshan Pius
80c3cc61cb uwb: Default HAL implementation
Skeletal implementation of UWB HAL which will be used for
cuttlefish/reference implementation in the future.

Bug: 195992658
Test: Manual verification of HAL booting up and handling HAL
API calls.

Change-Id: I894b7aef893ff2ed4f287f72471326b5211245c3
2021-08-27 22:09:44 +00:00