Ver Fonte

qcacld-3.0: Compile hal files based on QCA6390

Compile new hal header files based on CONFIG_CNSS_QCA6390

Change-Id: I1c4a55dbc8c74b9ea960a79653eb5f1f5f371c2b
CRs-Fixed: 2279698
Venkata Sharath Chandra Manchala há 6 anos atrás
pai
commit
9220e32709
2 ficheiros alterados com 14 adições e 5 exclusões
  1. 14 4
      Kbuild
  2. 0 1
      configs/default_defconfig

+ 14 - 4
Kbuild

@@ -954,10 +954,9 @@ endif
 
 ifeq ($(CONFIG_LITHIUM), y)
 ############ DP 3.0 ############
-DP_TARGET_INC_DIR := $(WLAN_COMMON_ROOT)/target_if/dp/inc
-DP_INC := -I$(WLAN_COMMON_ROOT)/dp/inc \
-	-I$(WLAN_COMMON_ROOT)/dp/wifi3.0 \
-	-I$(WLAN_ROOT)/$(DP_TARGET_INC_DIR)
+DP_INC := -I$(WLAN_COMMON_INC)/dp/inc \
+	-I$(WLAN_COMMON_INC)/dp/wifi3.0 \
+	-I$(WLAN_COMMON_INC)/target_if/dp/inc
 
 DP_SRC := $(WLAN_COMMON_ROOT)/dp/wifi3.0
 DP_OBJS := $(DP_SRC)/dp_main.o \
@@ -1292,8 +1291,19 @@ HAL_OBJS :=	$(WLAN_COMMON_ROOT)/$(HAL_DIR)/wifi3.0/hal_srng.o \
 		$(WLAN_COMMON_ROOT)/$(HAL_DIR)/wifi3.0/hal_rx.o \
 		$(WLAN_COMMON_ROOT)/$(HAL_DIR)/wifi3.0/hal_wbm.o \
 		$(WLAN_COMMON_ROOT)/$(HAL_DIR)/wifi3.0/hal_reo.o
+
+ifeq ($(CONFIG_CNSS_QCA6290), y)
+HAL_INC += -I$(WLAN_COMMON_INC)/$(HAL_DIR)/wifi3.0/qca6290
+HAL_OBJS += $(WLAN_COMMON_ROOT)/$(HAL_DIR)/wifi3.0/qca6290/hal_6290_srng.o
+else ifeq ($(CONFIG_CNSS_QCA6390), y)
+HAL_INC += -I$(WLAN_COMMON_INC)/$(HAL_DIR)/wifi3.0/qca6390
+HAL_OBJS += $(WLAN_COMMON_ROOT)/$(HAL_DIR)/wifi3.0/qca6390/hal_6390_srng.o
+else
+#error "Not 11ax"
 endif
 
+endif #####CONFIG_LITHIUM####
+
 ############ WMA ############
 WMA_DIR :=	core/wma
 

+ 0 - 1
configs/default_defconfig

@@ -8,7 +8,6 @@ ifeq ($(CONFIG_CNSS_QCA6290), y)
 	CONFIG_IPA3 := n
 endif
 
-
 ifeq ($(CONFIG_CNSS_QCA6390), y)
 	ifeq ($(CONFIG_CNSS_EMULATION), y)
 		CONFIG_QCA_WIFI_NAPIER_EMULATION := y