summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormullerf <mullerf@google.com>2020-07-10 12:05:54 -0700
committermullerf <mullerf@google.com>2020-07-27 10:30:15 -0700
commit57ef60fdf36187692fc922456d8ea461f003aa91 (patch)
tree1df2a9c56a9f25a9a81617f703831743d2787a62
parent33ab16ebcd5f6e434ff0f5479367ef76db3bac1e (diff)
downloadlibbt-57ef60fdf36187692fc922456d8ea461f003aa91.tar.gz
LMP idle timeout update
Broadcom provided this patch to update the way the LPM idle timeout gets calculated. Currently, it is leading to a timeout that is too long. Updating with this patch to remove the multipliying constant when obtaining the value of timeout. Bug: 160981386 Signed-off-by: mullerf <mullerf@google.com> Change-Id: If451b8c9f76233f4ab307c5ce811e79b88643d76
-rw-r--r--src/hardware.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hardware.c b/src/hardware.c
index 701cb86..8f96d60 100644
--- a/src/hardware.c
+++ b/src/hardware.c
@@ -1238,6 +1238,8 @@ uint32_t hw_lpm_get_idle_timeout(void)
timeout_ms *= 25; // 12.5 or 25 ?
else if (strstr(hw_cfg_cb.local_chip_name, "BCM4358") != NULL)
timeout_ms *= 50;
+ else if (strstr(hw_cfg_cb.local_chip_name, "BCM43013") != NULL)
+ timeout_ms *= 1;
else
timeout_ms *= 300;