* [PATCH v1] Bluetooth: hci_qca: Increase SoC idle timeout to 200ms
@ 2020-06-12 12:21 Balakrishna Godavarthi
2020-06-12 13:19 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Balakrishna Godavarthi @ 2020-06-12 12:21 UTC (permalink / raw)
To: marcel, johan.hedberg
Cc: mka, linux-kernel, linux-bluetooth, hemantg, linux-arm-msm,
abhishekpandit, rjliao, gubbaven, Balakrishna Godavarthi
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>
---
drivers/bluetooth/hci_qca.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index f3fde99..91c9aa6 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth/hci_qca.c
@@ -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
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] Bluetooth: hci_qca: Increase SoC idle timeout to 200ms
2020-06-12 12:21 [PATCH v1] Bluetooth: hci_qca: Increase SoC idle timeout to 200ms Balakrishna Godavarthi
@ 2020-06-12 13:19 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2020-06-12 13:19 UTC (permalink / raw)
To: Balakrishna Godavarthi
Cc: Johan Hedberg, Matthias Kaehlcke, open list, Bluez mailing list,
Hemantg, MSM, Abhishek Pandit-Subedi, Rocky Liao, gubbaven
Hi Balakrishna,
> 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>
> ---
> drivers/bluetooth/hci_qca.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-12 13:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-12 12:21 [PATCH v1] Bluetooth: hci_qca: Increase SoC idle timeout to 200ms Balakrishna Godavarthi
2020-06-12 13:19 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).