qcacld-3.0: Enable missed WLAN macro definitions on sdxhedgehog platform
qcacld-2.0 to qcacld-3.0 propagation
Some WLAN driver feature enabling macros are missing on sdxhedgehog
platform, enabling them in Kbuild file to make sure the driver's
behaviors are the same as on mdm9x50
Change-Id: I018e98dea60c7c73ad119394a1016ef592c6552a
CRs-Fixed: 2014423
diff --git a/Kbuild b/Kbuild
index ba8e13b..f820205 100644
--- a/Kbuild
+++ b/Kbuild
@@ -53,6 +53,10 @@
CONFIG_MOBILE_ROUTER := y
endif
+ ifeq ($(CONFIG_ARCH_SDXHEDGEHOG), y)
+ CONFIG_MOBILE_ROUTER := y
+ endif
+
# As per target team, build is done as follows:
# Defconfig : build with default flags
# Slub : defconfig + CONFIG_SLUB_DEBUG=y +
@@ -1626,6 +1630,14 @@
CDEFINES += -DWLAN_FEATURE_DSRC
endif
+ifeq ($(CONFIG_ARCH_SDXHEDGEHOG), y)
+ifeq ($(CONFIG_QCA_WIFI_SDIO), 1)
+ifeq ($(CONFIG_WCNSS_SKB_PRE_ALLOC), y)
+CDEFINES += -DFEATURE_SKB_PRE_ALLOC
+endif
+endif
+endif
+
#Enable USB specific APIS
ifeq ($(CONFIG_HIF_USB), 1)
CDEFINES += -DHIF_USB \
@@ -1697,6 +1709,10 @@
endif
endif
+ifeq ($(CONFIG_ARCH_SDXHEDGEHOG), y)
+CDEFINES += -DSYNC_IPA_READY
+endif
+
#Enable GTK Offload
ifeq ($(CONFIG_GTK_OFFLOAD), 1)
CDEFINES += -DWLAN_FEATURE_GTK_OFFLOAD