From 8430cfe0edececd7912afbc7b0887092930dbe21 Mon Sep 17 00:00:00 2001 From: bings Date: Mon, 6 Mar 2017 07:06:58 +0800 Subject: 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 --- Kbuild | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Kbuild b/Kbuild index 699b1742f8c0..db0c847aa480 100644 --- a/Kbuild +++ b/Kbuild @@ -49,6 +49,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 + @@ -1368,6 +1372,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 \ @@ -1439,6 +1451,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 -- cgit v1.2.3