uwb: remove device name from gs101 am: 49d231b50d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16124536 Change-Id: Ia78c583e07a484543c8287f8052edf4cb0dab741
This commit is contained in:
commit
7ef143deff
3 changed files with 138 additions and 0 deletions
|
@ -40,6 +40,7 @@ endif
|
||||||
|
|
||||||
ifeq ($(filter factory_raven, $(TARGET_PRODUCT)),)
|
ifeq ($(filter factory_raven, $(TARGET_PRODUCT)),)
|
||||||
include device/google/gs101/uwb/uwb.mk
|
include device/google/gs101/uwb/uwb.mk
|
||||||
|
include device/google/raviole/uwb/uwb_calibration.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include hardware/google/pixel/vibrator/cs40l25/device.mk
|
include hardware/google/pixel/vibrator/cs40l25/device.mk
|
||||||
|
|
116
uwb/UWB-calibration.conf
Normal file
116
uwb/UWB-calibration.conf
Normal file
|
@ -0,0 +1,116 @@
|
||||||
|
[CCC]format=1
|
||||||
|
[CCC]kind=0
|
||||||
|
[CCC]settings=1
|
||||||
|
[CCC]ant0.ch5.prf64.pdoa_iso_rf2_rf1=0
|
||||||
|
[CCC]ant0.ch5.prf64.pdoa_iso_rf1_rf2=0
|
||||||
|
[CCC]ant0.ch9.prf64.pdoa_iso_rf2_rf1=0
|
||||||
|
[CCC]ant0.ch9.prf64.pdoa_iso_rf1_rf2=0
|
||||||
|
[CCC]ant0.ch5.prf64.pdoa_offset=0
|
||||||
|
[CCC]ant0.ch9.prf64.pdoa_offset=0
|
||||||
|
[CCC]ant0.ch5.prf64.pll_locking_code=0
|
||||||
|
[CCC]ant0.ch9.prf64.pll_locking_code=0
|
||||||
|
[CCC]id=0
|
||||||
|
[CCC]wifi_coex_time_gap=10
|
||||||
|
[CCC]ap_coop_mode=1
|
||||||
|
[CCC]antenna_selection=4
|
||||||
|
ant0.ch5.prf16.ant_delay=16450
|
||||||
|
ant0.ch5.prf16.tx_power=0x4E4E4E4E
|
||||||
|
ant0.ch5.prf16.pg_count=0
|
||||||
|
ant0.ch5.prf16.pg_delay=0x26
|
||||||
|
ant0.ch5.prf64.ant_delay=16450
|
||||||
|
ant0.ch5.prf64.tx_power=0x4E4E4E4E
|
||||||
|
ant0.ch5.prf64.pg_count=0
|
||||||
|
ant0.ch5.prf64.pg_delay=0x26
|
||||||
|
ant0.ch9.prf16.ant_delay=16450
|
||||||
|
ant0.ch9.prf16.tx_power=0x56565656
|
||||||
|
ant0.ch9.prf16.pg_count=0
|
||||||
|
ant0.ch9.prf16.pg_delay=0x26
|
||||||
|
ant0.ch9.prf64.ant_delay=16450
|
||||||
|
ant0.ch9.prf64.tx_power=0x56565656
|
||||||
|
ant0.ch9.prf64.pg_count=0
|
||||||
|
ant0.ch9.prf64.pg_delay=0x26
|
||||||
|
ant0.port=0
|
||||||
|
ant0.selector_gpio=7
|
||||||
|
ant0.selector_gpio_value=0
|
||||||
|
ant1.ch5.prf16.ant_delay=16450
|
||||||
|
ant1.ch5.prf16.tx_power=0x4E4E4E4E
|
||||||
|
ant1.ch5.prf16.pg_count=0
|
||||||
|
ant1.ch5.prf16.pg_delay=0x26
|
||||||
|
ant1.ch5.prf64.ant_delay=16450
|
||||||
|
ant1.ch5.prf64.tx_power=0x4E4E4E4E
|
||||||
|
ant1.ch5.prf64.pg_count=0
|
||||||
|
ant1.ch5.prf64.pg_delay=0x26
|
||||||
|
ant1.ch9.prf16.ant_delay=16450
|
||||||
|
ant1.ch9.prf16.tx_power=0x56565656
|
||||||
|
ant1.ch9.prf16.pg_count=0
|
||||||
|
ant1.ch9.prf16.pg_delay=0x26
|
||||||
|
ant1.ch9.prf64.ant_delay=16450
|
||||||
|
ant1.ch9.prf64.tx_power=0x56565656
|
||||||
|
ant1.ch9.prf64.pg_count=0
|
||||||
|
ant1.ch9.prf64.pg_delay=0x26
|
||||||
|
ant1.port=0
|
||||||
|
ant1.selector_gpio=7
|
||||||
|
ant1.selector_gpio_value=1
|
||||||
|
ant2.ch5.prf16.ant_delay=16450
|
||||||
|
ant2.ch5.prf16.tx_power=0x4E4E4E4E
|
||||||
|
ant2.ch5.prf16.pg_count=0
|
||||||
|
ant2.ch5.prf16.pg_delay=0x26
|
||||||
|
ant2.ch5.prf64.ant_delay=16450
|
||||||
|
ant2.ch5.prf64.tx_power=0x4E4E4E4E
|
||||||
|
ant2.ch5.prf64.pg_count=0
|
||||||
|
ant2.ch5.prf64.pg_delay=0x26
|
||||||
|
ant2.ch9.prf16.ant_delay=16450
|
||||||
|
ant2.ch9.prf16.tx_power=0x56565656
|
||||||
|
ant2.ch9.prf16.pg_count=0
|
||||||
|
ant2.ch9.prf16.pg_delay=0x26
|
||||||
|
ant2.ch9.prf64.ant_delay=16450
|
||||||
|
ant2.ch9.prf64.tx_power=0x56565656
|
||||||
|
ant2.ch9.prf64.pg_count=0
|
||||||
|
ant2.ch9.prf64.pg_delay=0x26
|
||||||
|
ant2.port=1
|
||||||
|
ant2.selector_gpio=6
|
||||||
|
ant2.selector_gpio_value=0
|
||||||
|
ant3.ch5.prf16.ant_delay=16450
|
||||||
|
ant3.ch5.prf16.tx_power=0x4E4E4E4E
|
||||||
|
ant3.ch5.prf16.pg_count=0
|
||||||
|
ant3.ch5.prf16.pg_delay=0x26
|
||||||
|
ant3.ch5.prf64.ant_delay=16450
|
||||||
|
ant3.ch5.prf64.tx_power=0x4E4E4E4E
|
||||||
|
ant3.ch5.prf64.pg_count=0
|
||||||
|
ant3.ch5.prf64.pg_delay=0x26
|
||||||
|
ant3.ch9.prf16.ant_delay=16450
|
||||||
|
ant3.ch9.prf16.tx_power=0x56565656
|
||||||
|
ant3.ch9.prf16.pg_count=0
|
||||||
|
ant3.ch9.prf16.pg_delay=0x26
|
||||||
|
ant3.ch9.prf64.ant_delay=16450
|
||||||
|
ant3.ch9.prf64.tx_power=0x56565656
|
||||||
|
ant3.ch9.prf64.pg_count=0
|
||||||
|
ant3.ch9.prf64.pg_delay=0x26
|
||||||
|
ant3.port=1
|
||||||
|
ant3.selector_gpio=6
|
||||||
|
ant3.selector_gpio_value=1
|
||||||
|
ant0.ant1.ch5.pdoa_offset=0
|
||||||
|
ant0.ant1.ch9.pdoa_offset=0
|
||||||
|
ant0.ant2.ch5.pdoa_offset=0
|
||||||
|
ant0.ant2.ch9.pdoa_offset=0
|
||||||
|
ant1.ant2.ch5.pdoa_offset=0
|
||||||
|
ant1.ant2.ch9.pdoa_offset=0
|
||||||
|
ant0.ant3.ch5.pdoa_offset=0
|
||||||
|
ant0.ant3.ch9.pdoa_offset=0
|
||||||
|
ant1.ant3.ch5.pdoa_offset=-4710
|
||||||
|
ant1.ant3.ch9.pdoa_offset=-6144
|
||||||
|
ant2.ant3.ch5.pdoa_offset=0
|
||||||
|
ant2.ant3.ch9.pdoa_offset=0
|
||||||
|
ch5.pll_locking_code=0
|
||||||
|
ch9.pll_locking_code=0
|
||||||
|
ant1.ant3.ch5.pdoa_lut=e1:f2:85:f5:ae:f3:3d:f6:52:f4:f6:f6:8f:f4:9a:f7:48:f5:52:f8:d7:f5:0a:f9:66:f6:ae:f9:85:f7:66:fa:8f:f8:1f:fb:48:f9:d7:fb:8f:fa:7b:fc:ec:fb:33:fd:0a:fd:ec:fd:66:fe:a4:fe:00:00:48:ff:71:01:00:00:b8:02:b8:00:29:04:64:01:ae:05:19:02:85:07:cb:02:33:09:7d:03:f6:0a:2f:04:0a:0d:e3:04:cd:0e:96:05:14:10:48:06:71:11:fa:06:66:12:ac:07:33:13:60:08:3d:14:12:09:85:15:c5:09:ec:15:77:0a
|
||||||
|
ant1.ant3.ch9.pdoa_lut=e1:ec:f6:f6:48:ed:3d:f6:85:ed:85:f5:14:ee:9a:f7:3d:ee:52:f8:e1:ee:0a:f9:3d:f0:ae:f9:85:f1:66:fa:85:f3:1f:fb:00:f6:d7:fb:9a:f7:7b:fc:14:fa:33:fd:ec:fb:ec:fd:71:fd:a4:fe:cd:fe:48:ff:a4:00:00:00:85:01:b8:00:7b:02:5c:01:d7:03:14:02:cd:04:cd:02:48:07:85:03:ae:09:29:04:e1:0c:e1:04:7b:10:9a:05:cd:12:52:06:f6:14:f6:06:a4:16:ae:07:ae:17:0a:09:d7:17:c3:09:52:18:66:08:7b:18:7b:0a
|
||||||
|
xtal_trim=31
|
||||||
|
temperature_reference=85
|
||||||
|
smart_tx_power=1
|
||||||
|
auto_sleep_margin=20000
|
||||||
|
[HAL]antenna_pair_azimuth=4
|
||||||
|
[HAL]antenna_pair_elevation=4
|
||||||
|
[HAL]tx_antenna=0
|
||||||
|
[HAL]minimum_system_offset_uwbtime0=200
|
||||||
|
restricted_channels=0
|
21
uwb/uwb_calibration.mk
Normal file
21
uwb/uwb_calibration.mk
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2021 The Android Open-Source Project
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
LOCAL_UWB_CAL_DIR=device/google/raviole/uwb
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(LOCAL_UWB_CAL_DIR)/UWB-calibration.conf:$(TARGET_COPY_OUT_VENDOR)/etc/UWB-calibration.conf \
|
||||||
|
$(LOCAL_UWB_CAL_DIR)/UWB-calibration.conf:$(TARGET_COPY_OUT_VENDOR)/etc/UWB-calibration-unknown.conf \
|
||||||
|
$(LOCAL_UWB_CAL_DIR)/UWB-calibration.conf:$(TARGET_COPY_OUT_VENDOR)/etc/UWB-calibration-default.conf \
|
Loading…
Add table
Add a link
Reference in a new issue