Bluetooth: add BT SAR tables

Bluetooth SAR tables are for setting tx power of Bluetooth

Bug: 264631351
Test: build and check log of reading SAR table
Change-Id: I0025c9328b4b6b0b290909fe7a70a36975e3817a
This commit is contained in:
kuanyuhuang 2023-01-06 09:02:36 +00:00
parent 67a373d8d8
commit 291e1c2ea3
6 changed files with 20 additions and 1 deletions

View file

@ -20,7 +20,16 @@ DEVICE_MANIFEST_FILE += \
BOARD_SEPOLICY_DIRS += device/google/tangorpro-sepolicy/bluetooth
PRODUCT_PACKAGES += android.hardware.bluetooth@1.1-service.synabtlinux
# Bluetooth SAR test tools
PRODUCT_PACKAGES_DEBUG += bluetooth_sar_test
PRODUCT_PACKAGES_DEBUG += bt_sar_test
# Bluetooth Tx power caps
PRODUCT_COPY_FILES += \
device/google/tangorpro/bluetooth/bluetooth_power_limits_tangorpro.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
device/google/tangorpro/bluetooth/bluetooth_power_limits_tangorpro_GTU8P_CA.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GTU8P_CA.csv \
device/google/tangorpro/bluetooth/bluetooth_power_limits_tangorpro_GTU8P_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GTU8P_EU.csv \
device/google/tangorpro/bluetooth/bluetooth_power_limits_tangorpro_GTU8P_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GTU8P_JP.csv \
device/google/tangorpro/bluetooth/bluetooth_power_limits_tangorpro_GTU8P_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GTU8P_US.csv \
# default BDADDR for EVB only
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"