qcacld-3.0: Add compile time flag RX_DESC_MULTI_PAGE_ALLOC

Add a compile time feature flag by name RX_DESC_MULTI_PAGE_ALLOC
which will enable the memory allocation of RX descriptors using
multiple pages instead of large contiguous memory.

Change-Id: Ia3803a3685c605c79a34a0c2c000d7ed4adb7d97
CRs-Fixed: 2456267
diff --git a/Kbuild b/Kbuild
index 7b23bcf..43f3479 100644
--- a/Kbuild
+++ b/Kbuild
@@ -2568,6 +2568,9 @@
 
 cppflags-$(CONFIG_DATA_CE_SW_INDEX_NO_INLINE_UPDATE) += -DDATA_CE_SW_INDEX_NO_INLINE_UPDATE
 
+#Flag to enable Multi page memory allocation for RX descriptor pool
+cppflags-$(CONFIG_QCACLD_RX_DESC_MULTI_PAGE_ALLOC) += -DRX_DESC_MULTI_PAGE_ALLOC
+
 ifdef CONFIG_MAX_LOGS_PER_SEC
 ccflags-y += -DWLAN_MAX_LOGS_PER_SEC=$(CONFIG_MAX_LOGS_PER_SEC)
 endif
diff --git a/configs/default_defconfig b/configs/default_defconfig
index 9155077..1a49e3d 100644
--- a/configs/default_defconfig
+++ b/configs/default_defconfig
@@ -700,6 +700,7 @@
 CONFIG_FEATURE_SAP_COND_CHAN_SWITCH := y
 CONFIG_FEATURE_P2P_LISTEN_OFFLOAD := y
 CONFIG_QCACLD_FEATURE_MPTA_HELPER := n
+CONFIG_QCACLD_RX_DESC_MULTI_PAGE_ALLOC := y
 
 #Flags to enable/disable WMI APIs
 CONFIG_WMI_ROAM_SUPPORT := y