Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbb7015d authored by Yue Ma's avatar Yue Ma
Browse files

cnss: Add API to get monotonic boot time



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

CRs-Fixed: 658966
Change-Id: Ic12da4cc6bf36b343ab0858165ae8bf4a2ab95e8
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent 51bd6075
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -792,6 +792,12 @@ void cnss_flush_delayed_work(void *dwork)
}
EXPORT_SYMBOL(cnss_flush_delayed_work);

void cnss_get_monotonic_boottime(struct timespec *ts)
{
	get_monotonic_boottime(ts);
}
EXPORT_SYMBOL(cnss_get_monotonic_boottime);

int cnss_get_ramdump_mem(unsigned long *address, unsigned long *size)
{
	struct resource *res;
+1 −0
Original line number Diff line number Diff line
@@ -69,6 +69,7 @@ extern void cnss_wlan_unregister_driver(struct cnss_wlan_driver *driver);
extern int cnss_get_fw_files(struct cnss_fw_files *pfw_files);
extern void cnss_flush_work(void *work);
extern void cnss_flush_delayed_work(void *dwork);
extern void cnss_get_monotonic_boottime(struct timespec *ts);
extern int cnss_request_bus_bandwidth(int bandwidth);

extern void cnss_pm_wake_lock_init(struct wakeup_source *ws, const char *name);