Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85039d88 authored by Dmitry Grinberg's avatar Dmitry Grinberg
Browse files

commit 001ccea74ec61b1be00c8ede827f55c0359d1051

Author: Nitin Shivpure <nshivpur@codeaurora.org>
Date:   Tue Jun 17 16:29:18 2014 +0530

    LW: Set sniff interval as 1.28s for JV RFCOMM server

    - Reducing sniff timer value to 1s for JV RFCOMM Server
      to reduce power consumption on wearable in idle scenario.
    - Changing sniff interval value as 1.28s for BTA_DM_PM_SNIFF
      to reduce power consumption on wearable, when wearable is
      in sniff with remote device.

    CRs-Fixed: 686491

Bug: 16378407
Change-Id: Ibe4650a63a97fec86bb7d5ed8bafad9e56269287
parent bd3b417e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -305,7 +305,7 @@ tBTA_DM_PM_TYPE_QUALIFIER tBTA_DM_PM_SPEC bta_dm_pm_spec[BTA_DM_NUM_PM_SPEC] =
      {{BTA_DM_PM_NO_ACTION, 0},   {BTA_DM_PM_NO_ACTION, 0}},    /* app close */
      {{BTA_DM_PM_NO_ACTION, 0},   {BTA_DM_PM_NO_ACTION, 0}},    /* sco open  */
      {{BTA_DM_PM_NO_ACTION, 0},   {BTA_DM_PM_NO_ACTION, 0}},    /* sco close   */
      {{BTA_DM_PM_SNIFF,  7000},   {BTA_DM_PM_NO_ACTION, 0}},    /* idle */
      {{BTA_DM_PM_SNIFF,  1000},   {BTA_DM_PM_NO_ACTION, 0}},    /* idle */
      {{BTA_DM_PM_ACTIVE,    0},   {BTA_DM_PM_NO_ACTION, 0}},    /* busy */
      {{BTA_DM_PM_NO_ACTION, 0},   {BTA_DM_PM_NO_ACTION, 0}}     /* mode change retry */
  }
@@ -396,7 +396,7 @@ The SNIFF table entries must be in the order from highest latency (biggest inter
If there's a conflict among the connected services, the setting with lowest latency wins.
*/
/* sniff modes: max interval, min interval, attempt, timeout */
  {800, 400, 4, 1, BTM_PM_MD_SNIFF}, /*for BTA_DM_PM_SNIFF - A2DP */
  {2048, 1024, 4, 1, BTM_PM_MD_SNIFF}, /*for BTA_DM_PM_SNIFF - A2DP */
  {400, 200, 4, 1, BTM_PM_MD_SNIFF}, /*for BTA_DM_PM_SNIFF1 */
  {180, 150, 4, 1, BTM_PM_MD_SNIFF}, /*for BTA_DM_PM_SNIFF2- HD idle */
  {150,  50, 4, 1, BTM_PM_MD_SNIFF}, /*for BTA_DM_PM_SNIFF3- SCO open */