qcacmn: Add qdf time api to get time of the day in millisec

qcacld-2.0 to qcacmn propagation

Adds qdf time api to get time of the day in millisec

Also send host timestamp to firmware, so that firmware can print the
logs timestamp in sync with host via the wmi interface,with
api wmi_send_time_stamp_sync_cmd_tlv()

Change-Id: Id6acfc5227fdca2fbf8d266998fdfc4046adc5f4
CRs-Fixed: 2193978
This commit is contained in:
gaurank kathpalia
2018-02-21 18:58:29 +05:30
committed by snandini
parent 5e751d4906
commit cdfb4450d5
2 changed files with 61 additions and 0 deletions

View File

@@ -2881,6 +2881,13 @@ QDF_STATUS wmi_unified_log_supported_evt_cmd(void *wmi_hdl,
return QDF_STATUS_E_FAILURE;
}
void wmi_send_time_stamp_sync_cmd_tlv(void *wmi_hdl)
{
wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
if (wmi_handle->ops->send_time_stamp_sync_cmd)
wmi_handle->ops->send_time_stamp_sync_cmd(wmi_handle);
}
/**
* wmi_unified_enable_specific_fw_logs_cmd() - Start/Stop logging of diag log id
* @wmi_hdl: wmi handle