OSDN Git Service

Fix the command timeout issue with either LPM or TX idle timer
authorLuke Zhang <lukez@codeaurora.org>
Fri, 6 Nov 2015 02:23:07 +0000 (18:23 -0800)
committerGerrit - the friendly Code Review server <code-review@localhost>
Thu, 27 Oct 2016 05:05:40 +0000 (22:05 -0700)
commit0f5cc0178fac540fd44cb0faeff4845270c67c2a
tree87f2fddb151ac7996b58e39f67fe9bfcbe777450
parent9a47e121be9931d87755c92efdc03cbdde25fe15
Fix the command timeout issue with either LPM or TX idle timer

We can fix it by either starting the idle timer after sending out
each command to prevent power collapse, or by just enabling LPM
mode. We added a new persitent property to select these different
approaches

CRs-fixed:926763

Change-Id: I98e649fa40a4622e3c6bce4ea5c53d51e25413b3
hci/include/low_power_manager.h
hci/src/hci_layer.c
hci/src/low_power_manager.c