Browse Source

qcacld-3.0: Add support for contiguous multi-page allocation

Add config option for enabling physically contiguous multi-page
allocation, and enable the same for qca6174.

CRs-Fixed: 3588484
Change-Id: Ib649cbb6e3d3e5b00a5e8f94cde99f621fa9b124
Nijun Gong 1 year ago
parent
commit
75b8edf980
2 changed files with 4 additions and 0 deletions
  1. 2 0
      Kbuild
  2. 2 0
      configs/qca6174_defconfig

+ 2 - 0
Kbuild

@@ -3673,6 +3673,8 @@ ccflags-y += \
 	-DWLAN_PERIODIC_WORK_DEBUG
 endif
 
+cppflags-$(CONFIG_ALLOC_CONTIGUOUS_MULTI_PAGE) += -DALLOC_CONTIGUOUS_MULTI_PAGE
+
 ifeq ($(CONFIG_QCOM_VOWIFI_11R), y)
 ccflags-y += -DKERNEL_SUPPORT_11R_CFG80211
 ccflags-y += -DUSE_80211_WMMTSPEC_FOR_RIC

+ 2 - 0
configs/qca6174_defconfig

@@ -756,3 +756,5 @@ endif
 
 #Enable thermal throttle
 CONFIG_FW_THERMAL_THROTTLE := y
+
+CONFIG_ALLOC_CONTIGUOUS_MULTI_PAGE := y