qti_default.mk 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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_SEPOLICY_DIRS += device/google/lynx-sepolicy/bluetooth
  20. BOARD_HAVE_BLUETOOTH_QCOM = true
  21. BOARD_USES_COMMON_BLUETOOTH_HAL = true
  22. QCOM_BLUETOOTH_USING_DIAG = false
  23. TARGET_BLUETOOTH_UART_DEVICE = "/dev/ttySAC18"
  24. UART_USE_TERMIOS_AFC = true
  25. TARGET_USE_QTI_BT_OBS = true
  26. TARGET_USE_QTI_BT_SAR = true
  27. TARGET_USE_QTI_BT_CHANNEL_AVOIDANCE = true
  28. PRODUCT_PACKAGES += \
  29. [email protected] \
  30. [email protected] \
  31. [email protected] \
  32. [email protected]
  33. # Bluetooth SAR test tools
  34. PRODUCT_PACKAGES_DEBUG += \
  35. bluetooth_sar_test
  36. # Bluetooth SoC, BDA in device tree, and WiPower
  37. PRODUCT_PROPERTY_OVERRIDES += \
  38. vendor.qcom.bluetooth.soc=hastings \
  39. ro.vendor.bt.bdaddr_path=/proc/device-tree/chosen/config/bt_addr \
  40. ro.vendor.bluetooth.emb_wp_mode=false \
  41. ro.vendor.bluetooth.wipower=false