From 8f5052f89c68961bf7f3ecd0cc1ec9780ce283b3 Mon Sep 17 00:00:00 2001 From: Alexander Diewald Date: Wed, 15 Mar 2017 21:56:11 +0100 Subject: shinano-common: Use the wake asserts again. - Remove the define "HCILP_INCLUDED false" to allow Android's bt stack emitting BT_WAKE calls again. - Switch back from using the IOCTL interface to the ProcFS interface to make the wake asserts for BT. Since we now use the brcm ldisc driver and the interface functionally equivalent, we do not need to implement a special IOCTL handling in the ldics driver's code. Change-Id: I9b8fa941619aac657c4c6d6dc3053e7c1cf1d480 Signed-off-by: Alexander Diewald --- bluetooth/vnd_shinano.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'bluetooth') diff --git a/bluetooth/vnd_shinano.txt b/bluetooth/vnd_shinano.txt index 06f941e..96c571c 100644 --- a/bluetooth/vnd_shinano.txt +++ b/bluetooth/vnd_shinano.txt @@ -1,10 +1,9 @@ BLUETOOTH_UART_DEVICE_PORT = "/dev/ttyHS0" FW_PATCHFILE_LOCATION = "/system/etc/firmware/" FW_PATCHFILE_NAME = "BCM43xx.hcd" -BT_WAKE_VIA_USERIAL_IOCTL = TRUE -USERIAL_IOCTL_BT_WAKE_ASSERT = 0x5441 -USERIAL_IOCTL_BT_WAKE_DEASSERT = 0x5442 -USERIAL_IOCTL_BT_WAKE_GET_ST = 0x5443 +BT_WAKE_VIA_PROC = TRUE +BT_WAKE_VIA_PROC_NOTIFY_DEASSERT=TRUE +PROC_BTWRITE_TIMER_TIMEOUT_MS = 0 FW_PATCH_SETTLEMENT_DELAY_MS = 100 UART_TARGET_BAUD_RATE = 3000000 LPM_IDLE_TIMEOUT_MULTIPLE = 5 -- cgit v1.2.3