mirror of
https://github.com/joel16/android_kernel_sony_msm8994.git
synced 2024-11-30 15:41:27 +00:00
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:
parent
51bd607505
commit
cbb7015db4
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user