Commit graph

106 commits

Author SHA1 Message Date
Charlie Boutier
25d2f7f4ff Merge "Revert "Revert "uwb(hal): Implement UCI over serial in the defau..."" am: 29567e796b am: 57cccf0cd7 am: 33fc82390c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2530005

Change-Id: If6bce69d107ce972ba6d96a8af626d2d6ac20f77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 00:07:08 +00:00
Charlie Boutier
29567e796b Merge "Revert "Revert "uwb(hal): Implement UCI over serial in the defau..."" 2023-04-17 23:22:04 +00: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
62531b1267 Merge "Revert "uwb(hal): Implement UCI over serial in the default HAL"" am: 9f8fac2faa am: d567cecdbb am: 57f9808c23
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2528604

Change-Id: I0603d78b7565d868c4044e219abcc401d9df4f77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-08 01:25:05 +00:00
Sam Wu
9f8fac2faa Merge "Revert "uwb(hal): Implement UCI over serial in the default HAL"" 2023-04-07 23:45:06 +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
Charlie Boutier
9eb209dce8 Merge "uwb(hal): Implement UCI over serial in the default HAL" am: 77ee578477 am: d0e586d474 am: 20abb491c8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2215484

Change-Id: Ia894b0a5598abb18fb3a02e6d8f17f78dde011bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 17:29:27 +00:00
Charlie Boutier
77ee578477 Merge "uwb(hal): Implement UCI over serial in the default HAL" 2023-04-06 16:09:27 +00:00
ziyiw
46b5ac8692 Add min uwb initiation time as new vendor capability.
Test: manual
Bug: 245854896
Merged-In: I640b54356d4a7dc338d995596147aa6716278b54
Change-Id: I12436cad527255d8f88e9ca34409aee0a59b3c92
2023-04-04 20:06:49 +00:00
ziyiw
090e46a17f [automerge] Add min uwb initiation time as new vendor capability. 2p: 2f83e56e61
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/22399100

Bug: 245854896
Change-Id: I8507e1257fe809ad0db8c184c1638cfa4396f66c
2023-04-03 20:34:07 +00:00
ziyiw
2f83e56e61 Add min uwb initiation time as new vendor capability.
Test: manual
Bug: 245854896
Change-Id: I640b54356d4a7dc338d995596147aa6716278b54
2023-04-03 20:31:44 +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
cca5eefb32 uwb[aidl]: Added LAST_STS_INDEX_USED config into CCC open ranging params
Add LAST_STS_INDEX_USED to CCC ranging

Bug: 268762844
Test: test CCC
Merged-In: I56514e7d7d0c927e6bf8e257547f7baeadd3770c
Change-Id: I56514e7d7d0c927e6bf8e257547f7baeadd3770c
2023-03-28 11:52:18 -07:00
Roshan Pius
fff90a26ae [automerge] uwb[aidl]: Added LAST_STS_INDEX_USED config into CCC open ranging params 2p: 9bd47ef77c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/22292494

Bug: 268762844
Change-Id: I5cc5234025cfd386e122825eb5cc081df98d3dd0
2023-03-27 16:41:27 +00:00
Roshan Pius
9bd47ef77c uwb[aidl]: Added LAST_STS_INDEX_USED config into CCC open ranging params
Add LAST_STS_INDEX_USED to CCC ranging

Bug: 268762844
Test: test CCC
Change-Id: I56514e7d7d0c927e6bf8e257547f7baeadd3770c
2023-03-27 09:40:12 -07:00
ziyiw
617c2baaaa Add new reason code and status code for session conflict.
Also assigned a new number to the UWB regulation off status/reason code.

Test: compile
Bug: 272361935
Merged-In: I4cbf2443d7e3ec914ee465d9128fef5225a74712
Change-Id: Ib219ea213be050944a0bbd601f79ccbbba18f299
2023-03-14 19:58:03 +00:00
ziyiw
1c2d1bda32 [automerge] Add new reason code and status code for session conflict. 2p: fbe75bbcf1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/21996393

Bug: 272361935
Change-Id: If679383a5b702334dc490e25c53755458947a158
2023-03-14 00:20:21 +00:00
ziyiw
fbe75bbcf1 Add new reason code and status code for session conflict.
Also assigned a new number to the UWB regulation off status/reason code.

Test: compile
Bug: 272361935
Change-Id: I4cbf2443d7e3ec914ee465d9128fef5225a74712
2023-03-14 00:17:23 +00:00
Ayush Jain
471879fcfe Merge "Add a Vendor-dependent UCI Reason code for UWB OFF" into tm-mainline-prod 2023-03-03 22:41:43 +00:00
Ayush Jain
93752a76ff Merge changes from topic "presubmit-am-de536539e6c7464a871423c40221150c" into udc-dev
* changes:
  [automerge] Add a Vendor-dependent UCI Reason code for UWB OFF 2p: ff9268b13b
  Add a Vendor-dependent UCI Reason code for UWB OFF
2023-03-03 22:41:43 +00:00
Presubmit Automerger Backend
5c7f972d00 [automerge] Add a Vendor-dependent UCI Reason code for UWB OFF 2p: ff9268b13b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/21683422

Bug: 267554906
Change-Id: Iaac1b79eb02ecc621b7423650abb2ef1e0bb9d2a
2023-03-01 23:02:13 +00:00
Ayush Jain
ff9268b13b Add a Vendor-dependent UCI Reason code for UWB OFF
Add a UCI reason code (sent in a SESSION_STATUS_NTF) for the scenario when UWB needs to be turned off due to Regulatory reasons.

Ran the "m android.hardware.uwb.fira_android-update-api" command to
update the generated AIDL API.

Bug: 267554906
Test: Compile make.com.google.android.uwb
Change-Id: I52d9f2dae203c3e2d3d26a8a5c30a2f2a969b591
2023-03-01 23:00:44 +00:00
Presubmit Automerger Backend
2667c1edcf [automerge] Add a Vendor dependent UCI Status code for UWB OFF 2p: 3f884a8b91
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/21677124

Bug: 267554906
Change-Id: I63d931a83e2654b28ec180dd2fd9b02524606072
2023-03-01 19:54:51 +00:00
Ayush Jain
3f884a8b91 Add a Vendor dependent UCI Status code for UWB OFF
Add a UCI status code for scenario when UWB needs to be turned off due
to Regulatory reasons.

Ran the "m android.hardware.uwb.fira_android-update-api" command to
update the generated AIDL API.

Bug: 267554906
Test: Compile make.com.google.android.uwb
Change-Id: I5f86007776479fefe2d3b3e36d16ef628f92cebd
2023-03-01 19:53:12 +00:00
ziyiw
3b1252c88c Change the unit of slot duration from ms to rstu.
Test: compile
Bug: 266980744
Merged-In: Iba643094f9d44293e47b68487aeae30847af4826
Change-Id: I255b46d110d1a30a548fc37a479c1fc62b770f14
2023-02-28 17:29:27 +00:00
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
ziyiw
8ad5f800c2 [UWB HAL] Add new capability and reason code to show the channels that are capable for AoA.
Test: compile
Bug: 242951474
Merged-In: I307062b7ded64014327549e8c4a717d53e97f54b
Change-Id: Ia9c801cce335214cbfc0b09c8d5498193c741dfa
2023-02-17 19:07:11 +00:00
ziyiw
5363e6a547 Add the unit of slot duration to its name.
Test: compile
Bug: 266980744
Merged-In: I1418b7a1b9e938b03e785cb1b2b4c92a8f4c9ecf
Change-Id: Ie0e8e983c2044721b25c076c24a02f6460923571
2023-02-17 19:06:26 +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