Commit graph

22 commits

Author SHA1 Message Date
Michael Bestas
7b2692ce56
pantah: Remove non-existent vendor includes
Change-Id: I1bc76430d30259984f4eb91907be61ef39646c27
2025-06-26 10:18:44 +03:00
Michael Bestas
293aa36532
pantah: Update UWB calibration from BP2A
Change-Id: I5114b07f04d1870abdd85170c9e1aaa9ac9d40d6
2025-06-23 21:56:12 +03:00
Cole Faust
751d9f1935 Use PRODUCT_COPY_FILES to install uwb country files
Previously, these files were installed with a custom $(shell) command
in an Android.mk file. This doesn't let the build system know that
these files exist, and breaks hermetic partition builds.

Instead, install them with PRODUCT_COPY_FILES, and add a check that
the list is up-to-date.

Bug: 205632228
Test: Presubmits
Change-Id: I54c1d5600432b3ecc8a9a924f6cde311dc3b41fd
2023-10-10 23:20:39 -07:00
Hasan Awais
89b7519ad4 uwb: update calibration for range bias
Bug: 287082706
Test: build pass
Signed-off-by: Hasan Awais <hasanawais@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:96fc698193615a817159fd24a207809f8be9ed1c)
Merged-In: I1671dbae3a1a31120e8e15d0cec5e2346a186d53
Change-Id: I1671dbae3a1a31120e8e15d0cec5e2346a186d53
2023-06-24 01:54:49 +00:00
Rex Lin
58e2461348 uwb: update uwb calibration for CCC antenna config
Bug: 249170179
Test: build pass
Change-Id: Ief9f932b71bba71555d601da92bb7e4d4dc69e1e
Signed-off-by: Rex Lin <rexcylin@google.com>
2023-05-11 18:40:48 +00:00
Rex Lin
c2d4dc4e06 uwb: update conf file for C10
Bug: 258863366
Test: build pass
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: I27e21d4457fe8c4705c92f08a0497765164ff687
2022-11-15 19:11:39 +00:00
Yang Qi
69ec4328d8 calibration: update CCC minimum system offset to 250 for P22
Bug: 244622298
Test: see b/244622298
Change-Id: I9625ff6e84c43f31d6ecb8eee1f3b65fc8a7bfa9
2022-09-15 17:03:37 +00:00
Rex Lin
dd2c9ef82f uwb: update country conf file for C10
- update script for restricted channels
- set UWB-calibration_fcc.conf as UWB-calibration.conf which will served as default and unknown configuration

Bug: 240199018
Test: Verified with local build
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: I2dc2e2c57ab145afcdd0c2fd50682f5d8ee5ba2b
2022-08-29 23:04:46 +00:00
Yang Qi
a8cd0dbee2 calibration: update CCC minimum system offset
Change the value to wait on the get session state and start command on
SE side to an optimal value after tuning

Bug: 237644730
Test: see b/237644730
Change-Id: I8ae99a1d85df55cc2ba8ab372c8879a7abdb8eb3
2022-08-24 22:33:07 +00:00
Rex Lin
bfb440fa08 uwb: include init.uwb.calib.sh
Bug: 233619860
Bug: 237485063
Test: build pass on both cheetah and aosp_cheetah
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: Ic759b1efc206a3c1e68526098d258f2c142c6799
2022-06-29 20:06:08 +08:00
Wilson Sung
7631287df4 Revert "uwb: add back init.uwb.calib.sh"
This reverts commit 915bde6ffe.

Reason for revert: Fix build breakage

Bug: 237485063
Bug: 233619860
Change-Id: I3ad1dc034e2e4c699f9b32e79c40aa257bf19914
2022-06-29 05:27:29 +00:00
Rex Lin
915bde6ffe uwb: add back init.uwb.calib.sh
Bug: 233619860
Test: build pass
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: Iee42962bb19026a5c10f6bb74f723694da27ab76
2022-06-28 16:08:13 +00:00
Rex Lin
ba2be5e4a7 uwb: update country files and path
- Add script and conf file to generate country conf
- Modify the cal path

Bug: 233619860
Test: Verified with local build on C10
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: I4d480cea4b06f02082c86fbb6d4a0613f8dfb0c2
2022-06-23 18:38:40 +00:00
Victor Liu
b1f36fbad6 uwb: update antenna delay calibration
Bug: 236387721
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: Ia0dca042f30f997b8663bb718aa43d6d19b91473
2022-06-17 10:14:58 -07:00
Victor Liu
438c0854bb uwb: calibration file update
Fix C10 AoA polarity by modifying LUT in config file

Bug: 233072004
Change-Id: Ic163f03efa14f3af38fff92902241cd09516546f
Signed-off-by: Victor Liu <victorliu@google.com>
2022-05-18 20:24:09 +00:00
Victor Liu
4974196267 uwb: update calibration
add missing parameters for antenna pairs

Bug: 229426438
Signed-off-by: Victor Liu <victorliu@google.com>
Test: TH test comms/uwb/presubmit_2_cheetah
Change-Id: Ic7ddfa539ee85c4cfdec099767e322d1dd1742bf
2022-05-05 19:56:51 +00:00
Victor Liu
be32d26e70 uwb: update calibrations
update default calibration
update japan specific calibration
use japan specific calibration

Bug: 229426438
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: Ifabe90d0b1361c64b588e032baeec49cc2184e7e
2022-05-02 16:05:55 +00:00
Victor Liu
d36f9382e0 uwb: update aoa_capability in calibration file
Test: builds
Bug: 227427724
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I9d5d5ad6a89ec2081993e02d00eebe5f3e678831
2022-04-01 23:39:18 +00:00
Victor Liu
16c5cab354 uwb: Increase CCC uwbtime0 delay
Delay between NFC start and kernel has increased
This patchs update this delay to avoid lock at start

Bug: 223228405
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I1c91c73e420315e67ecfb076f90a0fcc20deb3fe
2022-03-23 20:34:34 +00:00
Roshan Pius
27eebf2eed panta(uwb): update calibration file for uci uwb stack
Bug: 186585880
Test: Manual Tests
Change-Id: Ife210d69be43587dbeace49764dd07aa83375b9a
2022-03-14 16:09:02 +00:00
Victor Liu
723ea1022f uwb: remove calibration script
The calibration script will be copied higher level device uwb.mk

Bug: 219611318
Test: builds
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I68175f99e063bd196555929fd2c55e848c3c360a
2022-02-15 19:52:43 +00:00
Victor Liu
93cd6c132a uwb: use per device factory calibration
Use device specific script to select which factory calibration
values to use.

Bug: 218719905
Test: on device
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: Ie5adea6ce7b15c762a1c09a50b0a872465dcd3eb
2022-02-11 16:29:05 +00:00