qti_default.mk 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #
  2. # Copyright (C) 2021 The Android Open-Source Project
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. #
  16. # Bluetooth HAL and Pixel extension
  17. DEVICE_MANIFEST_FILE += \
  18. device/google/lynx/bluetooth/manifest_bluetooth.xml
  19. BOARD_HAVE_BLUETOOTH_QCOM = true
  20. BOARD_USES_COMMON_BLUETOOTH_HAL = true
  21. QCOM_BLUETOOTH_USING_DIAG = false
  22. TARGET_BLUETOOTH_UART_DEVICE = "/dev/ttySAC18"
  23. UART_USE_TERMIOS_AFC = true
  24. TARGET_USE_QTI_BT_OBS = true
  25. TARGET_USE_QTI_BT_SAR = true
  26. TARGET_USE_QTI_BT_CHANNEL_AVOIDANCE = true
  27. PRODUCT_PACKAGES += \
  28. [email protected] \
  29. [email protected] \
  30. [email protected] \
  31. [email protected]
  32. # Bluetooth SAR test tools
  33. PRODUCT_PACKAGES_DEBUG += \
  34. bluetooth_sar_test
  35. # Bluetooth SoC, BDA in device tree, and WiPower
  36. PRODUCT_PROPERTY_OVERRIDES += \
  37. vendor.qcom.bluetooth.soc=hastings \
  38. ro.vendor.bt.bdaddr_path=/proc/device-tree/chosen/config/bt_addr \
  39. ro.vendor.bluetooth.emb_wp_mode=false \
  40. ro.vendor.bluetooth.wipower=false