|
@@ -1,5 +1,6 @@
|
|
/*
|
|
/*
|
|
* Copyright (c) 2014-2021 The Linux Foundation. All rights reserved.
|
|
* 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
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -692,6 +693,12 @@ QDF_STATUS qdf_mc_timer_start(qdf_mc_timer_t *timer, uint32_t expiration_time)
|
|
|
|
|
|
timer->state = QDF_TIMER_STATE_RUNNING;
|
|
timer->state = QDF_TIMER_STATE_RUNNING;
|
|
|
|
|
|
|
|
+ /* Save the jiffies value in a per-timer context in qdf_mc_timer_t
|
|
|
|
+ * It will help the debugger to know the exact time at which the host
|
|
|
|
+ * starts the QDF timer.
|
|
|
|
+ */
|
|
|
|
+ timer->timer_start_jiffies = jiffies;
|
|
|
|
+
|
|
/* get the thread ID on which the timer is being started */
|
|
/* get the thread ID on which the timer is being started */
|
|
timer->platform_info.thread_id = current->pid;
|
|
timer->platform_info.thread_id = current->pid;
|
|
|
|
|