[WCNCR00158507] misc: Change DFS support (802.11h) as configurable.
[Description]
Change DFS support (802.11h) as configurable.
1. Some project doesn't support DFS channels, so let spectrum management
bit can be set by makefile according to project requirement.
Test:
1. Sanity check: WiFi scan/connection OK.
Feature: misc
Change-Id: I5c0a006e9ac3a815a939c95f542b1c26b825e80e
CR-Id: WCNCR00158507
Signed-off-by: Alice Ou <alice.ou@mediatek.com>
(cherry picked from commit 845ad7ac9d25fdc8f374d0b45f17dfcd57c30259)
diff --git a/include/config.h b/include/config.h
index ae2b733..617b868 100644
--- a/include/config.h
+++ b/include/config.h
@@ -153,7 +153,9 @@
/* 0: Disable */
#define CFG_SUPPORT_RRM 0 /* Radio Reasource Measurement (802.11k) */
+#ifndef CFG_SUPPORT_DFS
#define CFG_SUPPORT_DFS 1 /* DFS (802.11h) */
+#endif
#ifndef CFG_SUPPORT_DFS_MASTER
#define CFG_SUPPORT_DFS_MASTER 1
#endif