Bluetooth: hci_qca: Increase SoC idle timeout to 200ms
authorBalakrishna Godavarthi <bgodavar@codeaurora.org>
Fri, 12 Jun 2020 12:21:31 +0000 (17:51 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 12 Jun 2020 13:17:47 +0000 (15:17 +0200)
In some version of WCN399x, SoC idle timeout is configured
as 80ms instead of 20ms or 40ms. To honor all the SoC's
supported in the driver increasing SoC idle timeout to 200ms.

Fixes: 41d5b25fed0a0 ("Bluetooth: hci_qca: add PM support")
Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_qca.c

index f3fde99..91c9aa6 100644 (file)
@@ -46,7 +46,7 @@
 #define HCI_MAX_IBS_SIZE       10
 
 #define IBS_WAKE_RETRANS_TIMEOUT_MS    100
-#define IBS_BTSOC_TX_IDLE_TIMEOUT_MS   40
+#define IBS_BTSOC_TX_IDLE_TIMEOUT_MS   200
 #define IBS_HOST_TX_IDLE_TIMEOUT_MS    2000
 #define CMD_TRANS_TIMEOUT_MS           100
 #define MEMDUMP_TIMEOUT_MS             8000