Browse Source

qcacld-3.0: Use qdf_hrtimer_data_t instead of __qdf_hrtimer_data_t

We should use qdf_hrtimer_data_t, which is QDF abstraction of hr_timers.
We should use QDF_HRTIMER_NORESTART instead of __QDF_HRTIMER_NORESTART.

Change-Id: I02b83a23c94d1acde955313ed39e1b5cc44f76f2
CRs-Fixed: 3253137
Bing Sun 2 years ago
parent
commit
dc90fbafd4
2 changed files with 4 additions and 2 deletions
  1. 2 1
      core/dp/txrx/ol_tx_hl.c
  2. 2 1
      core/dp/txrx/ol_txrx_types.h

+ 2 - 1
core/dp/txrx/ol_tx_hl.c

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2011-2020 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
@@ -1228,7 +1229,7 @@ ol_tx_hl_vdev_tcp_del_ack_timer(qdf_hrtimer_data_t *timer)
 	struct ol_txrx_vdev_t *vdev = qdf_container_of(timer,
 						       struct ol_txrx_vdev_t,
 						       tcp_ack_hash.timer);
-	enum qdf_hrtimer_restart_status ret = __QDF_HRTIMER_NORESTART;
+	enum qdf_hrtimer_restart_status ret = QDF_HRTIMER_NORESTART;
 
 	qdf_sched_bh(&vdev->tcp_ack_hash.tcp_del_ack_tq);
 	qdf_atomic_set(&vdev->tcp_ack_hash.is_timer_running, 0);

+ 2 - 1
core/dp/txrx/ol_txrx_types.h

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2013-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
@@ -1292,7 +1293,7 @@ struct ol_txrx_vdev_t {
 		/** @node: tcp ack frame will be stored in this hash table */
 		struct tcp_del_ack_hash_node node[OL_TX_HL_DEL_ACK_HASH_SIZE];
 		/** @timer: timeout if no more tcp ack feeding */
-		__qdf_hrtimer_data_t timer;
+		qdf_hrtimer_data_t timer;
 		/** @is_timer_running: is timer running? */
 		qdf_atomic_t is_timer_running;
 		/** @tcp_node_in_use_count: number of nodes in use */