From ce65875d4a529914bcaa5cce6b8e6950493f0bd3 Mon Sep 17 00:00:00 2001 From: Nisha Menon Date: Wed, 29 Jan 2020 11:59:05 -0800 Subject: [PATCH] qcacld-3.0: Enable MCL feature flag MAX_ALLOC_PAGE_SIZE This feature flag is used to set the page size to 4KB for MCL and to use the max_alloc_size config ini param for page size in the WIN specific code. The page size is used to allocate link descriptor pages for the WBM idle link ring instead of the desc bank contiguous memory allocations. Change-Id: I9ff575efc475473654cb4b66a95285c779599b24 CRs-Fixed: 2612385 --- Kbuild | 1 + configs/default_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/Kbuild b/Kbuild index 4efbb00150e5..5940ce8ad07f 100644 --- a/Kbuild +++ b/Kbuild @@ -2851,6 +2851,7 @@ cppflags-$(CONFIG_WLAN_FEATURE_11AX) += -DWLAN_FEATURE_11AX cppflags-$(CONFIG_WLAN_FEATURE_11AX) += -DWLAN_FEATURE_11AX_BSS_COLOR cppflags-$(CONFIG_WLAN_FEATURE_11AX) += -DSUPPORT_11AX_D3 cppflags-$(CONFIG_RXDMA_ERR_PKT_DROP) += -DRXDMA_ERR_PKT_DROP +cppflags-$(CONFIG_MAX_ALLOC_PAGE_SIZE) += -DMAX_ALLOC_PAGE_SIZE cppflags-$(CONFIG_LITHIUM) += -DFEATURE_AST cppflags-$(CONFIG_LITHIUM) += -DPEER_PROTECTED_ACCESS diff --git a/configs/default_defconfig b/configs/default_defconfig index e8d50809c69f..9cd1dcdd15f6 100644 --- a/configs/default_defconfig +++ b/configs/default_defconfig @@ -450,6 +450,7 @@ CONFIG_TX_TID_OVERRIDE := y CONFIG_DP_TXRX_SOC_ATTACH := y CONFIG_WLAN_CLD_PM_QOS := y CONFIG_DISABLE_DP_STATS := n +CONFIG_MAX_ALLOC_PAGE_SIZE := y CONFIG_REO_DESC_DEFER_FREE := y CONFIG_RXDMA_ERR_PKT_DROP := y