Skip to content
Snippets Groups Projects
Commit baf795a9 authored by Hardik Kantilal Patel's avatar Hardik Kantilal Patel Committed by Gerrit - the friendly Code Review server
Browse files

wcnss: Add API to get monotonic boot time


Add WCNSS platform driver API to expose monotonic boot time so that
WLAN host driver can get the timestamp.

Change-Id: Id1db5bc7efac036cf76d2090ab5c07d2aece5e1a
CRs-Fixed: 706813
Signed-off-by: default avatarHardik Kantilal Patel <hkpatel@codeaurora.org>
parent 58c30f38
No related merge requests found
......@@ -1333,6 +1333,12 @@ struct device *wcnss_wlan_get_device(void)
}
EXPORT_SYMBOL(wcnss_wlan_get_device);
void wcnss_get_monotonic_boottime(struct timespec *ts)
{
get_monotonic_boottime(ts);
}
EXPORT_SYMBOL(wcnss_get_monotonic_boottime);
struct platform_device *wcnss_get_platform_device(void)
{
if (penv && penv->pdev)
......
......
......@@ -67,6 +67,7 @@ enum {
#define WLAN_RF_DATA2_SHIFT 2
struct device *wcnss_wlan_get_device(void);
void wcnss_get_monotonic_boottime(struct timespec *ts);
struct resource *wcnss_wlan_get_memory_map(struct device *dev);
int wcnss_wlan_get_dxe_tx_irq(struct device *dev);
int wcnss_wlan_get_dxe_rx_irq(struct device *dev);
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment