From 5b478fd96dedff37aaf6b6683dafc20d7c595f12 Mon Sep 17 00:00:00 2001 From: Chia-Chi Teng Date: Wed, 20 Nov 2024 17:46:46 +0000 Subject: [PATCH] Increase HCI command timeout for BT AOC passghrough This is to include the time required for AOC SSR and restart when AOC reset and re-establish transport to finish queued commands. This will also match the Pixel Watch HCI timeout value. Flag: EXEMPT bugfix Bug: 375044749 Test: build, verify on device, presubmit Change-Id: I18fffdee2a38d784165c048d8adf9edbd0019cfc --- device.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device.mk b/device.mk index 85a6ff5..2d33358 100644 --- a/device.mk +++ b/device.mk @@ -201,6 +201,10 @@ PRODUCT_PRODUCT_PROPERTIES += \ bluetooth.profile.ccp.server.enabled=true \ bluetooth.profile.vcp.controller.enabled=true +# Override default HCI command timeout value for BT stack +PRODUCT_PRODUCT_PROPERTIES += \ + bluetooth.hci.timeout_milliseconds=5000 + # Carrier configuration default location PRODUCT_PROPERTY_OVERRIDES += \ persist.vendor.radio.config.carrier_config_dir=/vendor/firmware/carrierconfig