Commit graph

79 commits

Author SHA1 Message Date
Presubmit Automerger Backend
732b749231 [automerge] Change the unit of slot duration from ms to rstu. 2p: 40bc040455
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/21546973

Bug: 266980744
Change-Id: I73b4a1286b3f3b4ee28f9612737e39e93ef47972
2023-02-23 04:10:02 +00:00
ziyiw
40bc040455 Change the unit of slot duration from ms to rstu.
Test: compile
Bug: 266980744
Change-Id: Iba643094f9d44293e47b68487aeae30847af4826
2023-02-23 04:09:36 +00:00
Bob Wang
132345cbac Merge changes from topics "min-slot-duration", "presubmit-am-9b6b545e139045589d95a07642d6096d" into tm-mainline-prod am: c274bf47ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/21128238

Change-Id: Iff4ba37e0729442ab7f039cbfe92b4a30940e3ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 06:20:22 +00:00
ziyiw
420ae531b0 Add the unit of slot duration to its name. am: 9bf67194db
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/21161338

Change-Id: I288a772416f9283896fdf981096cd8cf01621049
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 06:20:18 +00:00
ziyiw
e7613eb815 [UWB HAL] Add new capability and reason code to show the channels that are capable for AoA.
Test: compile
Bug: 242951474
Change-Id: I307062b7ded64014327549e8c4a717d53e97f54b
2023-02-16 21:56:19 +00:00
ziyiw
9bf67194db Add the unit of slot duration to its name.
Test: compile
Bug: 266980744
Change-Id: I1418b7a1b9e938b03e785cb1b2b4c92a8f4c9ecf
2023-02-16 21:50:32 +00:00
Treehugger Robot
a56924244e Merge "uwb: Allow Java backened jar to be created" am: dbfdb659e0 am: 33034407ff am: eedf884325
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2420979

Change-Id: I8a502156dd3340e8ea9f0a8eceeadd7181abdee4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-09 22:30:20 +00:00
Bhautik Ardeshana
dd8a1ae2e7 uwb: Allow Java backened jar to be created
Bug: 254568115
Test: Check for jar file in intermediate path
Change-Id: I36c0c356a5300f8ba31a1ab9a812740a8ea99335
2023-02-03 10:45:09 +05:30
ziyiw
5f0d4c663e Add supported maximum number of ranging session as capability.
Test: compile
Bug: 259493075
Merged-In: Ibe7edb84c968b70be62059bb0bb6ffeedfa4bad6
Change-Id: I313fdd7e894be322105befd91a1fc92d28f8c402
2022-12-07 07:50:47 +00:00
Presubmit Automerger Backend
39e75b99b5 [automerge] Add supported maximum number of ranging session as capability. 2p: 0891de19e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20583414

Bug: 259493075
Change-Id: Ib67d324b3b8e9bc921073d787e32f8802a5c6afa
2022-12-01 19:37:53 +00:00
ziyiw
0891de19e6 Add supported maximum number of ranging session as capability.
Test: compile
Bug: 259493075
Change-Id: Ibe7edb84c968b70be62059bb0bb6ffeedfa4bad6
2022-12-01 19:37:32 +00:00
ziyiw
b922b6b215 Add a new capability to indcate min slot duration.
Test: compile
Bug: 254655623
Merged-In: Icac53069ddc61bbd60049880119973f1b4b0286d
Change-Id: Icac53069ddc61bbd60049880119973f1b4b0286d
2022-11-18 18:25:47 +00:00
ziyiw
5776ec4463 [automerge] Add a new capability to indcate min slot duration. 2p: f5535531e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20427847

Bug: 254655623
Change-Id: If91b8f613afd229ca8ab4c7be4f26e68c0f62289
2022-11-09 21:55:07 +00:00
ziyiw
f5535531e7 Add a new capability to indcate min slot duration.
Test: compile
Bug: 254655623
Change-Id: Icac53069ddc61bbd60049880119973f1b4b0286d
2022-11-09 21:53:38 +00:00
Roshan Pius
493e8216b0 uwb(hal): Doc update to clarify country code payload of 00
Bug: 243426975
Test: N/A
Merged-In: I6ec56c68df5e1049d93c31e498934501f7d75ad1
Change-Id: I6ec56c68df5e1049d93c31e498934501f7d75ad1
2022-11-09 09:50:20 -08:00
ziyiw
2cf69b7084 Add Diagnostics Oid in HAL.
Test: compile
Bug: 236969605
Merged-In: Idc44d73f31dc23d4dfaf4f461d8c312338421234
Change-Id: Idc44d73f31dc23d4dfaf4f461d8c312338421234
2022-11-09 09:50:01 -08:00
ziyiw
e27f56430c Add new capability TLV and config TLV for supported diagnostics.
Test: Compile
Bug: 236969605
Merged-In: I9cd3e442857cf8691420f7d3f3386f1aa45a78a2
Change-Id: I9cd3e442857cf8691420f7d3f3386f1aa45a78a2
2022-11-09 09:49:38 -08:00
ziyiw
8ad4251bbb Add new capability TLV for supported RSSI reporting
Test: Compile
Bug: 236720553
Merged-In: Iae490f193c7e613ef8c9ee03784563b3286182bb
Change-Id: Iae490f193c7e613ef8c9ee03784563b3286182bb
2022-11-09 09:49:11 -08:00
Roshan Pius
745c36cb74 uwb(hal): Add a new capability TLV for supported rng ntf thresholds
Bug: 235355249
Test: Compiles
Merged-In: I44dd28b0b3ff5cfe6bf227e4cad917edfce10262
Change-Id: I44dd28b0b3ff5cfe6bf227e4cad917edfce10262
2022-11-09 09:48:51 -08:00
Roshan Pius
4c0fffb0ab uwb(hal): Add a new capability TLV for min ranging interval
Bug: 235488259
Test: Compiles
Merged-In: I7f0c6d9b68ea3a1ba31911a031f2e7ee24c9d331
Change-Id: I7f0c6d9b68ea3a1ba31911a031f2e7ee24c9d331
2022-11-09 09:48:28 -08:00
Roshan Pius
aa3e2e24f7 uwb(hal): Doc update to clarify country code payload of 00 am: 778ddca75a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19698276

Change-Id: I9b86749776f49fe09c2934ec2e3a63eca7123d6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23 18:35:32 +00:00
Roshan Pius
778ddca75a uwb(hal): Doc update to clarify country code payload of 00
Bug: 243426975
Change-Id: I6ec56c68df5e1049d93c31e498934501f7d75ad1
Test: N/A
2022-08-23 16:13:52 +00:00
Presubmit Automerger Backend
e35dd69c89 [automerge] Add Diagnostics Oid in HAL. 2p: d5796d6576
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19439059

Bug: 236969605
Change-Id: I871b7448de09de4c1c8ce910318e366ae3a5f0ef
2022-07-27 20:26:44 +00:00
ziyiw
d5796d6576 Add Diagnostics Oid in HAL.
Test: compile
Bug: 236969605
Change-Id: Idc44d73f31dc23d4dfaf4f461d8c312338421234
2022-07-27 20:26:21 +00:00
Presubmit Automerger Backend
ad2dd7f18e [automerge] Add new capability TLV and config TLV for supported diagnostics. 2p: 6d25b825e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19213673

Bug: 236969605
Change-Id: Ie721355a885cf7357c3a65360271cdbf4a9395b5
2022-07-07 23:40:25 +00:00
ziyiw
6d25b825e8 Add new capability TLV and config TLV for supported diagnostics.
Test: Compile
Bug: 236969605
Change-Id: I9cd3e442857cf8691420f7d3f3386f1aa45a78a2
2022-07-07 23:40:08 +00:00
ziyiw
c0ef5c5fa8 Add new capability TLV for supported RSSI reporting am: 2da346d0d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19067900

Change-Id: I709ffcc86665253dcf2910f6463b3e92140d89c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-28 02:11:59 +00:00
ziyiw
2da346d0d5 Add new capability TLV for supported RSSI reporting
Test: Compile
Bug: 236720553
Change-Id: Iae490f193c7e613ef8c9ee03784563b3286182bb
2022-06-24 22:12:53 +00:00
TreeHugger Robot
9e47e3058f Merge "uwb(hal): Add a new capability TLV for supported rng ntf thresholds" into tm-mainline-prod am: fee00f3fdf
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19039746

Change-Id: I24998e25981b6095d3180266b9232ccd880f727d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-23 19:14:27 +00:00
Roshan Pius
d32a5ed842 uwb(hal): Add a new capability TLV for supported rng ntf thresholds
Bug: 235355249
Test: Compiles
Change-Id: I44dd28b0b3ff5cfe6bf227e4cad917edfce10262
2022-06-22 14:51:45 -07:00
TreeHugger Robot
73c8adc6a9 Merge "uwb(hal): Add a new capability TLV for min ranging interval" into tm-mainline-prod 2022-06-16 23:42:44 +00:00
Roshan Pius
427e03180f [automerge] uwb(hal): Add a new capability TLV for min ranging interval 2p: d6a1025c62
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18820331

Bug: 235488259
Change-Id: I2da449f88c64d8ad8787e216a6ce695b0adea8f3
2022-06-14 18:10:42 +00:00
Jooyung Han
c0b24f4f13 Remove AIDL-libs from VNDK
Some are still in VNDK because they are used in other VNDK libs.

Ignore-AOSP-First: some libs are still in internal master only.

Bug: 234181591
Test: m
Merged-In: If999df9c78a20df931177da11742b1c5de19bc08
Change-Id: If999df9c78a20df931177da11742b1c5de19bc08
(cherry picked from commit 5527adfd7f)
2022-06-14 14:08:59 +09:00
TreeHugger Robot
20a62be9c1 Merge "Remove AIDL-libs from VNDK" 2022-06-14 03:13:27 +00:00
Roshan Pius
d6a1025c62 uwb(hal): Add a new capability TLV for min ranging interval
Bug: 235488259
Test: Compiles
Change-Id: I7f0c6d9b68ea3a1ba31911a031f2e7ee24c9d331
2022-06-13 20:54:27 +00:00
Roshan Pius
95986ea102 Merge "uwb(vts): Close HAL at end of each test" into tm-dev am: 987a7e3f30 am: 26e8f8c071 am: bf4774aa80 am: 298ce70c9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18840238

Change-Id: Ie4cb2f3d2559f9b0071dd605231e280cd939c881
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-13 18:49:27 +00:00
Roshan Pius
3ba0e635e1 uwb(vts): Close HAL at end of each test
Bug: 235558748
Test: atest VtsHalUwbTargetTest
Change-Id: I5361baab1f9204052e0f625b3c17242fbfe66190
2022-06-10 20:03:18 +00:00
Jooyung Han
5527adfd7f Remove AIDL-libs from VNDK
Some are still in VNDK because they are used in other VNDK libs.

Ignore-AOSP-First: some libs are still in internal master only.

Bug: 234181591
Test: m
Change-Id: If999df9c78a20df931177da11742b1c5de19bc08
2022-06-02 17:43:19 +09:00
Jiyong Park
8065d19402 Freeze AIDL APIs for TM am: 70f5837e1f am: 9f7c8a1e57
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17753326

Change-Id: Ic29d57a4d099e472e2c88ba9cac77d7657aa958a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 16:47:16 +00:00
Jiyong Park
70f5837e1f Freeze AIDL APIs for TM
Bug: 225941299
Test: m
Change-Id: I61eb51c0334eb99489c6f1570110d7e18c350c99
2022-04-16 07:03:24 +09:00
TreeHugger Robot
cb0ea63742 Merge "uwb(hal): Adding support for host tests." into tm-dev am: 6a88f79b64 am: 3925e15532
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17238974

Change-Id: I3f51b4b421acb456bb1c9bce25ffc3ecb17d1202
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 03:21:58 +00:00
Alain Michaud
2e2c6e7b31 uwb(hal): Adding support for host tests.
Adding support for building hosts tests using the HAL interface.

Bug: 216784920
Test: atest --host libuwb_uci_packet_tests
Change-Id: I3e855b8b7bf203fc4f9769327348bfc3d1e10796
2022-03-17 14:51:39 +00:00
Roshan Pius
de9336b13c uwb(hal): Add link to official UCI specification
Resolving a TODO.

Bug: 196004116
Change-Id: I1b2e3caa6f67f2d04bd728ab682cfb31e8f3ee82
Test: Compiles
2022-03-15 19:39:59 +00:00
Roshan Pius
88561d9380 uwb(hal): Add 2 CCC specific error codes in vendor portion
Note: This update is in the types-only package that we plan to update
throughout the year.

Bug: 222291913
Test: Compiles
Change-Id: Iffc7532a86f3beb6b9f745faf4a523d6d0017542
2022-03-10 10:31:14 -08:00
Roshan Pius
8974cbcdd7 uwb(hal): Fix typo in pulse shape combo caps
This does not align with the values defined in
UwbVendorCapabilityTlvValues.aidl.

Bug: 221001452
Test: Compiles
Change-Id: I41d4850e5455ec6679af5edfa0e510d20439a651
2022-02-23 09:00:01 -08:00
Roshan Pius
89791a7891 uwb(hal): Modify TLV value size for interleaving params
Bug: 220173516
Test: Compiles
Change-Id: Idf26f6d4adbbc79f4f1f260aa8b8c608f3391b98
2022-02-22 10:09:35 -08:00
Roshan Pius
8db34352b7 uwb(hal): Switch ANDROID GID to 0xC
Based on vendor feedback since 0xE is already being used for a bunch of
vendor specific stuff.

Bug: 210933436
Bug: 218883784
Test: Compiles
Change-Id: I49b5018569164a52fa7c9f78ca9c69a181747f44
2022-02-10 10:54:31 -08:00
Roshan Pius
62b89b1670 uwb(hal): Some changes to the CCC capabilities to align with latest proposals in standards body
Bug: 208678993
Bug: 209053358
Change-Id: I6610b106323db4ceab047b34b91aaa13a1a7f83d
Test: Compiles
2022-02-08 15:31:33 -08: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
5ea2d1799c uwb(hal): Add an android specifci aoa_result_req value
This is needed for supporting antenna interleaving feature.

Bug: 205730040
Test: Compiles
Change-Id: I06696c1624cbe5af67124ae5f807ef0bcc983194
2022-02-04 13:13:35 -08:00