qcacld-3.0: Featurize partial reorder properly
Avoid compiling ol_rx_reorder.c and ol_rx_reorder_timeout.c
for low latency and only compile for high latency
data path.
Change-Id: I1f3819fa093766abba87e5dc6dc44e6d2188740b
CRs-Fixed: 2506005
diff --git a/Kbuild b/Kbuild
index ac45632..bf970b3 100644
--- a/Kbuild
+++ b/Kbuild
@@ -1248,13 +1248,16 @@
$(TXRX_DIR)/ol_rx_defrag.o \
$(TXRX_DIR)/ol_tx_desc.o \
$(TXRX_DIR)/ol_tx.o \
- $(TXRX_DIR)/ol_rx_reorder_timeout.o \
- $(TXRX_DIR)/ol_rx_reorder.o \
$(TXRX_DIR)/ol_rx_pn.o \
$(TXRX_DIR)/ol_txrx_peer_find.o \
$(TXRX_DIR)/ol_txrx_encap.o \
$(TXRX_DIR)/ol_tx_send.o
+ifeq ($(CONFIG_HL_DP_SUPPORT), y)
+TXRX_OBJS += $(TXRX_DIR)/ol_rx_reorder_timeout.o
+TXRX_OBJS += $(TXRX_DIR)/ol_rx_reorder.o
+endif
+
ifeq ($(CONFIG_WDI_EVENT_ENABLE), y)
TXRX_OBJS += $(TXRX_DIR)/ol_txrx_event.o
endif