diff options
| author | Sarada Prasanna Garnayak <c_sgarna@qti.qualcomm.com> | 2016-06-01 20:17:51 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-06-07 03:31:14 -0700 |
| commit | 322defb5522f0b96b2a5da912e14cd01f26c3620 (patch) | |
| tree | 5b24629e103359e6ca52dd414166a9bfc432e5d6 | |
| parent | 0de21f8e8a9af2390ae66fa9589e7479e9da263d (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-- | Kbuild | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |
