aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Diewald <Diewi@diewald-net.com>2017-03-15 21:56:11 +0100
committerArian <arian.kulmer@web.de>2019-10-25 22:16:13 +0200
commit8f5052f89c68961bf7f3ecd0cc1ec9780ce283b3 (patch)
treee06912c890b4e3aa0c274229b5d3dbf1fe9e8bcb
parent0d75388541bfe929313006e4d8d1eae5afa034a3 (diff)
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 <Diewi@diewald-net.com>
-rw-r--r--bluetooth/vnd_shinano.txt7
1 files changed, 3 insertions, 4 deletions
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