qcacld-3.0: Kbuild: Define CONFIG_CHNL_MATRIX_RESTRICTION

Currently the switch -DWLAN_ENABLE_CHNL_MATRIX_RESTRICTION is inferred
by examining a seemingly unrelated configuration option. In order to
clearly separate setting the configuration from applying the
configuration create a new CONFIG_CHNL_MATRIX_RESTRICTION
configuration parameter.

Change-Id: I337d026ac0651e729d899058ee0e9d7e8256f018
CRs-Fixed: 2224813
This commit is contained in:
Jeff Johnson 2018-04-14 08:38:01 -07:00 committed by nshrivas
parent 7bfd46ea5c
commit f31bb21acc

10
Kbuild
View File

@ -545,6 +545,11 @@ CONFIG_FEATURE_WLAN_D0WOW := y
endif
endif
#Enable Channel Matrix restriction for all Rome only targets
ifneq ($(CONFIG_ICNSS), y)
CONFIG_CHNL_MATRIX_RESTRICTION := y
endif
ifeq ($(CONFIG_ARCH_MDM9607), y)
CONFIG_TUFELLO_DUAL_FW_SUPPORT := y
endif
@ -2251,10 +2256,7 @@ ccflags-$(CONFIG_EXT_WOW) += -DWLAN_FEATURE_EXTWOW_SUPPORT
#Mark it as SMP Kernel
ccflags-$(CONFIG_SMP) += -DQCA_CONFIG_SMP
#Enable Channel Matrix restriction for all Rome only targets
ifneq ($(CONFIG_ICNSS), y)
ccflags-y += -DWLAN_ENABLE_CHNL_MATRIX_RESTRICTION
endif
ccflags-$(CONFIG_CHNL_MATRIX_RESTRICTION) += -DWLAN_ENABLE_CHNL_MATRIX_RESTRICTION
#Enable ICMP packet disable powersave feature
ccflags-$(CONFIG_ICMP_DISABLE_PS) += -DWLAN_ICMP_DISABLE_PS