Commit Graph

10 Commits

Author SHA1 Message Date
ziyiw
49aa335f8c [uwb-chip] Send DeviceResetCmd and poll rsp and ntf before hal is closed.
Bug: 315324807
Test: manual
Change-Id: I802551f77e031a32b04b49ab5d3134356dd1cd46
2023-12-14 04:23:08 +00:00
Jooyung Han
3d66ca3689 Cleanup: use shared apex_key
Bug: 296524155
Test: m
Change-Id: I353d4803d0e6bd16d4a5617ca7790d33ff589747
2023-10-10 13:46:47 +09:00
Henri Chataing
7e798080c8 UWB: Cleanup in default HAL
Resolve comments on I8ad8072fe01c8d1f466d8debf0ccf5831b3eddf8

Bug: 302005209
Test: m android.hardware.uwb-service
Change-Id: I1c4348fa7548441555c46cac88c2e5787d764f03
2023-10-06 00:11:08 +00:00
ziyiw
4fec12a6f0 [UWB HAL] Use AsyncFd to read the buffer only when it's readable.
This CL fixes the issue that some bytes are missing after we toggle uwb
off and on.

Test: atest CtsUwbTestCases
Bug: 302005209

Change-Id: I8ad8072fe01c8d1f466d8debf0ccf5831b3eddf8
2023-10-03 00:58:04 +00:00
Jooyung Han
83497068b9 Move uwb-service into VAPEX
Bug: 296487624
Test: launch cuttlefish / uwb-service runs
Change-Id: I5436d9215ad396fe6cd151690d299dd345c56cb0
2023-08-21 15:12:07 +09:00
Jooyung Han
3e0519690f Move uwb-service.rc
Previously, .rc file is installed separately. Now it's installed as part
of the uwb-service binary installation.

Bug: 296487624
Test: launch cuttlefish / uwb-service runs with /dev/hvc9
Change-Id: I49108c74a5ca964818c90407cc7916d80439d5ab
2023-08-21 12:57:20 +09:00
Charlie Boutier
d572dd0bc7 Revert "Revert "uwb(hal): Implement UCI over serial in the defau..."
Revert submission 2528605-revert-2215484-pica_cf-BZDQSZLKEP

Reason for revert: revert^2

Reverted changes: /q/submissionid:2528605-revert-2215484-pica_cf-BZDQSZLKEP

Change-Id: I0c64b449c5da236a7cd63f88a605d48b9c471c67
2023-04-10 18:14:23 +00:00
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
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