qcacld-3.0: Featurize fastpath feature

Featurize fastpath feature cleanly and
also disable unused code when Fastpath
is enabled.

Change-Id: I3922af873ef32544fdca37be0b110ebbc2abc45a
CRs-Fixed: 2226918
This commit is contained in:
Nirav Shah 2018-03-11 14:55:53 +05:30 • committed by nshrivas
commit 5ff1fd05d6
7 changed files with 815 additions and 698 deletions

6
Kbuild
View file

@ -883,6 +883,12 @@ ifeq ($(CONFIG_IPA_OFFLOAD), y)
TXRX_OBJS += $(TXRX_DIR)/ol_txrx_ipa.o
endif
ifeq ($(CONFIG_WLAN_FASTPATH), y)
TXRX_OBJS += $(TXRX_DIR)/ol_tx_ll_fastpath.o
else
TXRX_OBJS += $(TXRX_DIR)/ol_tx_ll_legacy.o
endif
ifeq ($(CONFIG_LITHIUM), y)
############ DP 3.0 ############
DP_INC := -I$(WLAN_COMMON_ROOT)/dp/inc \