bluez5: initialize BT in HCI_H4 mode and disable IBS and DEEP_SLEEP on firmware binary
Initialize Bluetooth chip in HCI_H4 mode and provide a firmware binary with the IBS and DEEP_SLEEP mode disabled by default. Also this firmware enables an internal clock required to maintain the system on low power modes. https://jira.digi.com/browse/DEL-3711 Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
569c95511f
commit
4cdb24d0f5
Binary file not shown.
|
|
@ -0,0 +1,28 @@
|
|||
From: Arturo Buzarra <arturo.buzarra@digi.com>
|
||||
Date: Wed, 10 Oct 2018 09:14:56 +0200
|
||||
Subject: [PATCH] bluetooth: Disable bluetooth low power mode functionality
|
||||
|
||||
In some conditions the low power modes cause communication
|
||||
errors between the BT chip and the system, for this reason
|
||||
we disable it by default.
|
||||
|
||||
https://jira.digi.com/browse/DEL-3711
|
||||
|
||||
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
|
||||
---
|
||||
tools/hciattach.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tools/hciattach.c b/tools/hciattach.c
|
||||
index 4aacdafed..234283882 100644
|
||||
--- a/tools/hciattach.c
|
||||
+++ b/tools/hciattach.c
|
||||
@@ -1120,7 +1120,7 @@ struct uart_t uart[] = {
|
||||
FLOW_CTL, DISABLE_PM, NULL, ath3k_ps, ath3k_pm },
|
||||
|
||||
/* QCA ROME */
|
||||
- { "qca", 0x0000, 0x0000, HCI_UART_IBS, 115200, 115200,
|
||||
+ { "qca", 0x0000, 0x0000, HCI_UART_H4, 115200, 115200,
|
||||
FLOW_CTL, DISABLE_PM, NULL, qca, NULL },
|
||||
|
||||
/* QUALCOMM BTS */
|
||||
|
|
@ -163,7 +163,7 @@ index fad176c9b804..dda639cabca3 100644
|
|||
FLOW_CTL, DISABLE_PM, NULL, ath3k_ps, ath3k_pm },
|
||||
|
||||
+ /* QCA ROME */
|
||||
+ { "qca", 0x0000, 0x0000, HCI_UART_IBS, 115200, 115200,
|
||||
+ { "qca", 0x0000, 0x0000, HCI_UART_H4, 115200, 115200,
|
||||
+ FLOW_CTL, DISABLE_PM, NULL, qca, NULL },
|
||||
+
|
||||
/* QUALCOMM BTS */
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ QCA65XX_COMMON_PATCHES = " \
|
|||
file://0013-hciattach_rome-Respect-the-user-indication-for-noflo.patch \
|
||||
file://0014-hciattach-If-the-user-supplies-a-bdaddr-use-it.patch \
|
||||
file://0015-hciattach-Add-verbosity-option.patch \
|
||||
file://0016-bluetooth-Disable-bluetooth-low-power-mode-functionality.patch \
|
||||
"
|
||||
|
||||
SRC_URI_append_ccimx6ul = " ${QCA65XX_COMMON_PATCHES}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue