qcacmn: Send kernel time to userspace
Send kernel timestamp to userspace via a new vendor attribute QCA_WLAN_VENDOR_ATTR_DIAG_KERNEL_TIMESTAMP. Change-Id: Iec957f0516c06369e0d2991d96936cb1f7fff5f4 CRs-Fixed: 3150781
このコミットが含まれているのは:
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -336,6 +337,18 @@ static inline int64_t qdf_ktime_to_ms(qdf_ktime_t ktime)
|
||||
return __qdf_ktime_to_ms(ktime);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_ktime_to_us - Convert the qdf_ktime_t object into microseconds
|
||||
* @ktime: time as qdf_ktime_t object
|
||||
*
|
||||
* Return: qdf_ktime_t in microseconds
|
||||
*/
|
||||
|
||||
static inline int64_t qdf_ktime_to_us(qdf_ktime_t ktime)
|
||||
{
|
||||
return __qdf_time_ktime_to_us(ktime);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_ktime_to_ns - Convert the qdf_ktime_t object into nanoseconds
|
||||
* @ktime: time as qdf_ktime_t object
|
||||
|
新しいイシューから参照
ユーザーをブロックする