summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/dp/htt/htt_rx.c4
-rw-r--r--core/dp/txrx/ol_txrx.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/core/dp/htt/htt_rx.c b/core/dp/htt/htt_rx.c
index 566c5c616a7f..a2a087d2cce9 100644
--- a/core/dp/htt/htt_rx.c
+++ b/core/dp/htt/htt_rx.c
@@ -960,6 +960,7 @@ static inline qdf_nbuf_t htt_rx_netbuf_pop(htt_pdev_handle pdev)
return msdu;
}
+#ifndef CONFIG_HL_SUPPORT
static inline qdf_nbuf_t
htt_rx_in_order_netbuf_pop(htt_pdev_handle pdev, qdf_dma_addr_t paddr)
{
@@ -968,6 +969,7 @@ htt_rx_in_order_netbuf_pop(htt_pdev_handle pdev, qdf_dma_addr_t paddr)
paddr = htt_paddr_trim_to_37(paddr);
return htt_rx_hash_list_lookup(pdev, paddr);
}
+#endif
/* FIX ME: this function applies only to LL rx descs.
An equivalent for HL rx descs is needed. */
@@ -2998,7 +3000,6 @@ int htt_rx_msdu_buff_in_order_replenish(htt_pdev_handle pdev, uint32_t num)
return filled;
}
-#endif
#define AR600P_ASSEMBLE_HW_RATECODE(_rate, _nss, _pream) \
(((_pream) << 6) | ((_nss) << 4) | (_rate))
@@ -3198,6 +3199,7 @@ qdf_nbuf_t htt_rx_hash_list_lookup(struct htt_pdev_t *pdev,
return netbuf;
}
+#endif
#ifndef CONFIG_HL_SUPPORT
/* Initialization function of the rx buffer hash table. This function will
diff --git a/core/dp/txrx/ol_txrx.c b/core/dp/txrx/ol_txrx.c
index 9b988a700fb8..a359cd158801 100644
--- a/core/dp/txrx/ol_txrx.c
+++ b/core/dp/txrx/ol_txrx.c
@@ -78,6 +78,7 @@
#include <cdp_txrx_pmf.h>
#include "wma.h"
#include "hif.h"
+#include "hif_main.h"
#include <cdp_txrx_peer_ops.h>
#ifndef REMOVE_PKT_LOG
#include "pktlog_ac.h"