mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
qcacld-3.0: Add a mod DTIM on system suspend flag
If the INI item enable_mod_dtim_on_system_suspend is set, then set the bit WMI_WOW_FLAG_MOD_DTIM_ON_SYS_SUSPEND in wow flag parameter. Change-Id: I15a717bd5f5532dd2c8a6e27e5df8c28965da062 CRs-Fixed: 2789161
This commit is contained in:
parent
ca5ce8b6f6
commit
cf9f033d8f
1 changed files with 7 additions and 3 deletions
|
|
@ -813,13 +813,17 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc,
|
|||
|
||||
if (type == QDF_SYSTEM_SUSPEND) {
|
||||
pmo_info("system suspend wow");
|
||||
if ((psoc_cfg) &&
|
||||
(psoc_cfg->is_mod_dtim_on_sys_suspend_enabled))
|
||||
param.flags |= WMI_WOW_FLAG_SYSTEM_SUSPEND_WOW;
|
||||
param.flags |= WMI_WOW_FLAG_SYSTEM_SUSPEND_WOW;
|
||||
} else {
|
||||
pmo_info("RTPM wow");
|
||||
}
|
||||
|
||||
if ((psoc_cfg) &&
|
||||
(psoc_cfg->is_mod_dtim_on_sys_suspend_enabled)) {
|
||||
pmo_info("mod DTIM enabled");
|
||||
param.flags |= WMI_WOW_FLAG_MOD_DTIM_ON_SYS_SUSPEND;
|
||||
}
|
||||
|
||||
status = pmo_tgt_psoc_send_wow_enable_req(psoc, ¶m);
|
||||
if (status != QDF_STATUS_SUCCESS) {
|
||||
pmo_err("Failed to enable wow in fw");
|
||||
|
|
|
|||
Loading…
Reference in a new issue