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:
@@ -695,6 +695,7 @@ struct wow_cmd_params {
|
|||||||
bool enable;
|
bool enable;
|
||||||
bool can_suspend_link;
|
bool can_suspend_link;
|
||||||
uint8_t pause_iface_config;
|
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;
|
cmd->pause_iface_config = WOW_IFACE_PAUSE_ENABLED;
|
||||||
else
|
else
|
||||||
cmd->pause_iface_config = WOW_IFACE_PAUSE_DISABLED;
|
cmd->pause_iface_config = WOW_IFACE_PAUSE_DISABLED;
|
||||||
|
cmd->flags = param->flags;
|
||||||
|
|
||||||
WMI_LOGI("suspend type: %s",
|
WMI_LOGI("suspend type: %s",
|
||||||
cmd->pause_iface_config == WOW_IFACE_PAUSE_ENABLED ?
|
cmd->pause_iface_config == WOW_IFACE_PAUSE_ENABLED ?
|
||||||
|
Reference in New Issue
Block a user