diff options
| author | Komal Seelam <kseelam@codeaurora.org> | 2016-09-06 17:09:08 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-09-08 14:27:11 +0530 |
| commit | 69b2a2e8aea37fbb361ebd409ae5ec3590cd5a64 (patch) | |
| tree | 5dcc71e96d313b0b1d763c61dd345cb128fe6666 | |
| parent | b1ff18e02d402a6df6a6fd6fc25ca4fc7e38a72e (diff) | |
qcacld-2.0: Tag STA PowerSave Params
On Enabling Modulted DTIM, STA Power Save Commands are not tagged
during runtime suspend, resulting an immediate wakeup in runtime resume.
This results in an increase in current consumption.
Fix it by tagging STA Power Save Commands, during Runtime PM
Change-Id: I87d6b194399e5aafadb2de34968a560284ffbf76
CRs-Fixed: 1062930
| -rw-r--r-- | CORE/SERVICES/WMI/wmi_unified.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CORE/SERVICES/WMI/wmi_unified.c b/CORE/SERVICES/WMI/wmi_unified.c index 1de60cf44975..a79cabf3ebbe 100644 --- a/CORE/SERVICES/WMI/wmi_unified.c +++ b/CORE/SERVICES/WMI/wmi_unified.c @@ -754,6 +754,8 @@ static uint16_t wmi_tag_sta_powersave_cmd(wmi_unified_t wmi_hdl, wmi_buf_t buf) ps_cmd = (wmi_sta_powersave_param_cmd_fixed_param *)wmi_buf_data(buf); switch(ps_cmd->param) { + case WMI_STA_PS_PARAM_TX_WAKE_THRESHOLD: + case WMI_STA_PS_PARAM_INACTIVITY_TIME: case WMI_STA_PS_ENABLE_QPOWER: return HTC_TX_PACKET_TAG_AUTO_PM; default: |
