summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManjunathappa Prakash <prakashpm@codeaurora.org>2017-09-06 12:52:44 -0700
committersnandini <snandini@codeaurora.org>2017-09-19 01:41:00 -0700
commite0c242b01c6c66cb1ad8fcde77581eb2bdd8e32f (patch)
treea2480ba16b756ad51365fab4bd429e6c9888da1a
parent286a70c6fc4bc78c954fa2c66719eddab20f9741 (diff)
qcacld-3.0: Fix compilation after syncing FW htt.h
Fix compilation error on undefined htt_tx_compl_ind_append_txtstamp, FW htt.h has it defined as htt_tx_compl_ind_append_tx_tstamp. Change-Id: I8df05e49ee565c8db9c745e39fe6b83bd9f54847 CRs-Fixed: 2097226
-rw-r--r--core/dp/txrx/ol_tx_send.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/dp/txrx/ol_tx_send.c b/core/dp/txrx/ol_tx_send.c
index be9be4c1fbd4..3d19019ef10e 100644
--- a/core/dp/txrx/ol_tx_send.c
+++ b/core/dp/txrx/ol_tx_send.c
@@ -564,12 +564,12 @@ static void ol_tx_update_arp_stats(qdf_nbuf_t netbuf,
}
#ifdef WLAN_FEATURE_TSF_PLUS
-static inline struct htt_tx_compl_ind_append_txtstamp *ol_tx_get_txtstamps(
+static inline struct htt_tx_compl_ind_append_tx_tstamp *ol_tx_get_txtstamps(
u_int32_t *msg_word, int num_msdus)
{
u_int32_t has_tx_tsf;
u_int32_t has_retry;
- struct htt_tx_compl_ind_append_txtstamp *txtstamp_list = NULL;
+ struct htt_tx_compl_ind_append_tx_tstamp *txtstamp_list = NULL;
struct htt_tx_compl_ind_append_retries *retry_list = NULL;
int offset_dwords;
@@ -594,7 +594,7 @@ static inline struct htt_tx_compl_ind_append_txtstamp *ol_tx_get_txtstamps(
}
offset_dwords += retry_index * width_for_each_retry;
}
- txtstamp_list = (struct htt_tx_compl_ind_append_txtstamp *)
+ txtstamp_list = (struct htt_tx_compl_ind_append_tx_tstamp *)
(msg_word + offset_dwords);
return txtstamp_list;
@@ -610,7 +610,7 @@ static inline void ol_tx_timestamp(ol_txrx_pdev_handle pdev,
pdev->ol_tx_timestamp_cb(netbuf, ts);
}
#else
-static inline struct htt_tx_compl_ind_append_txtstamp *ol_tx_get_txtstamps(
+static inline struct htt_tx_compl_ind_append_tx_tstamp *ol_tx_get_txtstamps(
u_int32_t *msg_word, int num_msdus)
{
return NULL;
@@ -640,7 +640,7 @@ ol_tx_completion_handler(ol_txrx_pdev_handle pdev,
qdf_nbuf_t netbuf;
tp_ol_packetdump_cb packetdump_cb;
uint32_t is_tx_desc_freed = 0;
- struct htt_tx_compl_ind_append_txtstamp *txtstamp_list = NULL;
+ struct htt_tx_compl_ind_append_tx_tstamp *txtstamp_list = NULL;
u_int32_t *msg_word = (u_int32_t *)msg;
u_int16_t *desc_ids = (u_int16_t *)(msg_word + 1);