wlan: honor dfs capability for country code
Based on new country code setting disable DFS channel scanning
CRs-Fixed: 478087
Change-Id: I593c8efa60b936ff01d2d3dc8667737f53c5c61b
diff --git a/CORE/HDD/inc/wlan_hdd_cfg.h b/CORE/HDD/inc/wlan_hdd_cfg.h
index 36c953d..d6641d7 100644
--- a/CORE/HDD/inc/wlan_hdd_cfg.h
+++ b/CORE/HDD/inc/wlan_hdd_cfg.h
@@ -1686,6 +1686,10 @@
#define CFG_DISABLE_LDPC_WITH_TXBF_AP_MAX ( 1 )
#define CFG_DISABLE_LDPC_WITH_TXBF_AP_DEFAULT ( 0 )
#endif
+
+#define CFG_LIST_OF_NON_DFS_COUNTRY_CODE "gListOfNonDfsCountryCode"
+#define CFG_LIST_OF_NON_DFS_COUNTRY_CODE_DEFAULT "JO,MA"
+
/*---------------------------------------------------------------------------
Type declarations
-------------------------------------------------------------------------*/
@@ -2046,6 +2050,7 @@
v_U8_t retryLimitZero;
v_U8_t retryLimitOne;
v_U8_t retryLimitTwo;
+ char listOfNonDfsCountryCode[128];
} hdd_config_t;
/*---------------------------------------------------------------------------
Function declarations and documenation