Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Bluetooth: hci_qca: Increase SoC idle timeout to 200ms

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>

authored by

Balakrishna Godavarthi and committed by
Marcel Holtmann
2d68476c 590deccf

+1 -1
+1 -1
drivers/bluetooth/hci_qca.c
··· 46 46 #define HCI_MAX_IBS_SIZE 10 47 47 48 48 #define IBS_WAKE_RETRANS_TIMEOUT_MS 100 49 - #define IBS_BTSOC_TX_IDLE_TIMEOUT_MS 40 49 + #define IBS_BTSOC_TX_IDLE_TIMEOUT_MS 200 50 50 #define IBS_HOST_TX_IDLE_TIMEOUT_MS 2000 51 51 #define CMD_TRANS_TIMEOUT_MS 100 52 52 #define MEMDUMP_TIMEOUT_MS 8000