summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarada Prasanna Garnayak <c_sgarna@qti.qualcomm.com>2016-06-01 20:17:51 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-06-07 16:32:56 +0530
commitf5e65e947acc993e66061acaea678fc3b60280ec (patch)
tree5b24629e103359e6ca52dd414166a9bfc432e5d6
parent18dd730c9ec85c3e2535f1eacfd993bc1a7a638d (diff)
qcacld-2.0: update Kbuild for skb pre-alloc support for dual WiFi
The cnss wlan module which has interfaced with high latency bus(e.g. SDIO) needs physical contiguous memory more than one page for its socket buffer initialization. If the system memory has high fragmented it’s not possible to get this much huge physically contiguous memory through dynamic memory allocation and will create the wlan driver load, socket descriptor initiation, scanning and connection failure for the cnss wlan module. This feature enable socket buffer to use pre allocated memory from cnss prealloc module for socket buffer initialization and release it to back to pre-allocated pool. Enable FEATURE_SKB_PRE_ALLOC for MDMCALIFORNIUM device. CRs-Fixed: 1023094 Change-Id: If6d98a5646d259143614726cf8e7b71b46fedef1
-rw-r--r--Kbuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/Kbuild b/Kbuild
index b8a64f1b8d1d..aad48a3f5641 100644
--- a/Kbuild
+++ b/Kbuild
@@ -1032,6 +1032,14 @@ CDEFINES += -DCONFIG_HL_SUPPORT \
-DHIF_MBOX_SLEEP_WAR
endif
+ifeq ($(CONFIG_ARCH_MDMCALIFORNIUM), y)
+ifeq ($(CONFIG_QCA_WIFI_SDIO), 1)
+ifeq ($(CONFIG_WCNSS_SKB_PRE_ALLOC), y)
+CDEFINES += -DFEATURE_SKB_PRE_ALLOC
+endif
+endif
+endif
+
ifeq ($(CONFIG_ARCH_MDM9607), y)
ifeq ($(CONFIG_QCA_WIFI_SDIO), 1)
CDEFINES += -DDEBUG_HL_LOGGING