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: Yue Ma <yuem@codeaurora.org>
This commit is contained in:
Yue Ma 2014-05-07 17:21:26 -07:00
parent 51bd607505
commit cbb7015db4
2 changed files with 7 additions and 0 deletions

View File

@ -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;

View File

@ -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);