Bluetooth: add bluetooth and wifi status sync change
In QCA6234, there is high power consumption when BT alone
is turned on because BT requires WLAN module to be out of
reset and WLAN module provides clock to BT. After BT turns
on WLAN's HSIC interface goes into reset mode, which consume
a lot of power. So adding sync between BT and WLAN module to
put hsic into auto suspend mode when BT alone is turned on.
Change-Id: I80fa8c784e95c8fc31ba75554676a72e4ae9fac4
diff --git a/libbt-vendor/Android.mk b/libbt-vendor/Android.mk
index 1091239..d57ae57 100644
--- a/libbt-vendor/Android.mk
+++ b/libbt-vendor/Android.mk
@@ -45,6 +45,10 @@
-DBT_WAKE_VIA_PROC
endif #BOARD_HAS_QCA_BT_AR3002
+ifeq ($(WIFI_BT_STATUS_SYNC), true)
+LOCAL_CFLAGS += -DWIFI_BT_STATUS_SYNC
+endif #WIFI_BT_STATUS_SYNC
+
LOCAL_SHARED_LIBRARIES := \
libcutils \
liblog \