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
This commit is contained in:
bings 2017-03-06 07:21:04 +08:00 committed by Sandeep Puligilla
parent e663c5cefa
commit 7762da1a12

16
Kbuild
View File

@ -53,6 +53,10 @@ ifeq ($(KERNEL_BUILD), 0)
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 @@ ifeq ($(CONFIG_WLAN_FEATURE_DSRC), y)
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 @@ CDEFINES += -DQCA_CONFIG_SMP
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