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:
@@ -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");
|
||||
|
Reference in New Issue
Block a user