mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacmn: Pass WOW enable flags to FW
For WOW Enable, firmware accepts a bitmap of flags, but passing them to firmware is not exposed by WMI. Modify WMI to allow passing WOW Enable flags to firmware. Change-Id: I458b01bc6a4e5b14b2a1dfee928136daeb70ebe9 CRs-Fixed: 1092068
This commit is contained in:
parent
91cf3175bf
commit
72e658b87a
2 changed files with 2 additions and 0 deletions
|
|
@ -695,6 +695,7 @@ struct wow_cmd_params {
|
|||
bool enable;
|
||||
bool can_suspend_link;
|
||||
uint8_t pause_iface_config;
|
||||
uint32_t flags;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1120,6 +1120,7 @@ QDF_STATUS send_wow_enable_cmd_tlv(wmi_unified_t wmi_handle,
|
|||
cmd->pause_iface_config = WOW_IFACE_PAUSE_ENABLED;
|
||||
else
|
||||
cmd->pause_iface_config = WOW_IFACE_PAUSE_DISABLED;
|
||||
cmd->flags = param->flags;
|
||||
|
||||
WMI_LOGI("suspend type: %s",
|
||||
cmd->pause_iface_config == WOW_IFACE_PAUSE_ENABLED ?
|
||||
|
|
|
|||
Loading…
Reference in a new issue