qcacld-3.0: Allocate DFS buffers dynamically

Disable WLAN_DFS_STATIC_MEM_ALLOC for Genoa

Change-Id: Ie035c9f327dccbe4c2cc10f2354d1b23c7890675
CRs-Fixed: 2312050
This commit is contained in:
Rachit Kankane 2018-09-10 12:36:20 +05:30 • committed by nshrivas
commit b57ea618f2
3 changed files with 7 additions and 1 deletions

2
Kbuild
View file

@ -2251,7 +2251,7 @@ cppflags-y += -DCONFIG_SERIALIZATION_V1
ccflags-$(CONFIG_ENABLE_SIZE_OPTIMIZE) += -Os
# DFS component
cppflags-y += -DWLAN_DFS_STATIC_MEM_ALLOC
cppflags-$(CONFIG_WLAN_DFS_STATIC_MEM_ALLOC) += -DWLAN_DFS_STATIC_MEM_ALLOC
cppflags-$(CONFIG_WLAN_DFS_MASTER_ENABLE) += -DQCA_MCL_DFS_SUPPORT
ifeq ($(CONFIG_WLAN_FEATURE_DFS_OFFLOAD), y)
cppflags-$(CONFIG_WLAN_DFS_MASTER_ENABLE) += -DWLAN_DFS_FULL_OFFLOAD

View file

@ -524,6 +524,7 @@ CONFIG_FEATURE_STATS_EXT := y
#Flag to allocate memory dynamically for different buffers
CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY := n
CONFIG_WLAN_DFS_STATIC_MEM_ALLOC := y
#Flag to enable HTC credit history feature
CONFIG_FEATURE_HTC_CREDIT_HISTORY := y

View file

@ -157,6 +157,11 @@ CONFIG_BUILD_TAG := y
endif
endif
#Buffer allocations dynamically
ifeq ($(CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY), y)
CONFIG_WLAN_DFS_STATIC_MEM_ALLOC := n
endif
# WoW filer configs
CONFIG_CFG_PMO_WOW_FILTERS_MAX := 16