qcacld-3.0: Kbuild: Define CONFIG_CHANNEL_HOPPING_ALL_BANDS

Currently the switch -DCHANNEL_HOPPING_ALL_BANDS 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_CHANNEL_HOPPING_ALL_BANDS
configuration parameter.

Change-Id: Icc9aef38445cdcd9269210b578b1e1be2fe18ac9
CRs-Fixed: 2224811
This commit is contained in:
Jeff Johnson 2018-04-13 21:30:49 -07:00 • committed by nshrivas
commit b3e1bd11fc

8
Kbuild
View file

@ -545,6 +545,10 @@ CONFIG_FEATURE_WLAN_D0WOW := y
endif
endif
ifeq ($(CONFIG_ARCH_MSM8996), y)
CONFIG_CHANNEL_HOPPING_ALL_BANDS := y
endif
ifneq ($(CONFIG_HIF_USB), y)
CONFIG_WLAN_LOGGING_SOCK_SVC := y
endif
@ -2292,9 +2296,7 @@ ifeq ($(CONFIG_ARCH_MDM9607), y)
ccflags-y += -DCONFIG_TUFELLO_DUAL_FW_SUPPORT
endif
ifeq ($(CONFIG_ARCH_MSM8996), y)
ccflags-y += -DCHANNEL_HOPPING_ALL_BANDS
endif
ccflags-$(CONFIG_CHANNEL_HOPPING_ALL_BANDS) += -DCHANNEL_HOPPING_ALL_BANDS
#Enable Signed firmware support for split binary format
ccflags-$(CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT) += -DQCA_SIGNED_SPLIT_BINARY_SUPPORT