qcacmn: Auto Detect SoC Power Collapse Failure changes
Add host support for detecting SOC power collapse failures in FW and communicating the same to framework. Change-Id: Icee39c896802c4d7136e0b8ef442a33feeb4799c CRs-Fixed: 2016580
This commit is contained in:

zatwierdzone przez
snandini

rodzic
7698b6d332
commit
ce4ac394dd
@@ -12550,7 +12550,7 @@ send_pdev_fips_cmd_tlv(wmi_unified_t wmi_handle,
|
||||
*/
|
||||
static QDF_STATUS send_add_wow_wakeup_event_cmd_tlv(wmi_unified_t wmi_handle,
|
||||
uint32_t vdev_id,
|
||||
uint32_t bitmap,
|
||||
uint32_t *bitmap,
|
||||
bool enable)
|
||||
{
|
||||
WMI_WOW_ADD_DEL_EVT_CMD_fixed_param *cmd;
|
||||
@@ -12571,7 +12571,12 @@ static QDF_STATUS send_add_wow_wakeup_event_cmd_tlv(wmi_unified_t wmi_handle,
|
||||
(WMI_WOW_ADD_DEL_EVT_CMD_fixed_param));
|
||||
cmd->vdev_id = vdev_id;
|
||||
cmd->is_add = enable;
|
||||
cmd->event_bitmap = bitmap;
|
||||
qdf_mem_copy(&(cmd->event_bitmaps[0]), bitmap, sizeof(uint32_t) *
|
||||
WMI_WOW_MAX_EVENT_BM_LEN);
|
||||
|
||||
WMI_LOGD("Wakeup pattern 0x%x%x%x%x %s in fw", cmd->event_bitmaps[0],
|
||||
cmd->event_bitmaps[1], cmd->event_bitmaps[2],
|
||||
cmd->event_bitmaps[3], enable ? "enabled" : "disabled");
|
||||
|
||||
ret = wmi_unified_cmd_send(wmi_handle, buf, len,
|
||||
WMI_WOW_ENABLE_DISABLE_WAKE_EVENT_CMDID);
|
||||
@@ -12581,9 +12586,6 @@ static QDF_STATUS send_add_wow_wakeup_event_cmd_tlv(wmi_unified_t wmi_handle,
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
WMI_LOGD("Wakeup pattern 0x%x %s in fw", bitmap,
|
||||
enable ? "enabled" : "disabled");
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user