qcacld-3.0: Kbuild change to enable SCAN priority algorithm
Kbuild change to enable SCAN priority channel list algorithm.
Change-Id: I2dc24dd22e19da6db516332ae14edf4bc0f8cce4
CRs-Fixed: 2568889
diff --git a/Kbuild b/Kbuild
index 1b6d54e..79afe8b 100644
--- a/Kbuild
+++ b/Kbuild
@@ -3013,6 +3013,7 @@
cppflags-y += -DCONFIG_CHAN_FREQ_API
cppflags-$(CONFIG_BAND_6GHZ) += -DCONFIG_BAND_6GHZ
+cppflags-$(CONFIG_6G_SCAN_CHAN_SORT_ALGO) += -DFEATURE_6G_SCAN_CHAN_SORT_ALGO
ccflags-$(CONFIG_HASTINGS_BT_WAR) += -DHASTINGS_BT_WAR
diff --git a/configs/default_defconfig b/configs/default_defconfig
index a3bfd3a..4c939e3 100644
--- a/configs/default_defconfig
+++ b/configs/default_defconfig
@@ -983,4 +983,10 @@
endif
+ifeq ($(CONFIG_BAND_6GHZ), y)
+
+CONFIG_6G_SCAN_CHAN_SORT_ALGO := y
+
+endif
+
CONFIG_SAP_DHCP_FW_IND := y