wlan: Support to disable 11ac dynamically.

For some of the countries device should not be in 11ac mode.
When new country code is set through COUNTRY IOCTL,
host driver will check whether 11ac needs to be disabled for this
country and it changes mode accordingly which would take effect in
successive association request unless driver is unloaded.

CRs-fixed: 473375
Change-Id: I427e6a1052958ed8ae638935fd7b5539715e6c1e
diff --git a/CORE/HDD/inc/wlan_hdd_cfg.h b/CORE/HDD/inc/wlan_hdd_cfg.h
index 68b2ce9..8d6add1 100644
--- a/CORE/HDD/inc/wlan_hdd_cfg.h
+++ b/CORE/HDD/inc/wlan_hdd_cfg.h
@@ -1697,18 +1697,8 @@
 #define CFG_LIST_OF_NON_DFS_COUNTRY_CODE                    "gListOfNonDfsCountryCode"
 #define CFG_LIST_OF_NON_DFS_COUNTRY_CODE_DEFAULT            "JO,MA"
 
-/*
- * IBSS Operating Channels for 2.4G and 5GHz channels
- */
-#define CFG_IBSS_ADHOC_CHANNEL_5GHZ_NAME          "gAdHocChannel5G"
-#define CFG_IBSS_ADHOC_CHANNEL_5GHZ_MIN           ( 36 )
-#define CFG_IBSS_ADHOC_CHANNEL_5GHZ_MAX           ( 165 )
-#define CFG_IBSS_ADHOC_CHANNEL_5GHZ_DEFAULT       ( 44 )
-
-#define CFG_IBSS_ADHOC_CHANNEL_24GHZ_NAME         "gAdHocChannel24G"
-#define CFG_IBSS_ADHOC_CHANNEL_24GHZ_MIN          ( 1 )
-#define CFG_IBSS_ADHOC_CHANNEL_24GHZ_MAX          ( 14 )
-#define CFG_IBSS_ADHOC_CHANNEL_24GHZ_DEFAULT      ( 6 )
+#define CFG_LIST_OF_NON_11AC_COUNTRY_CODE                    "gListOfNon11acCountryCode"
+#define CFG_LIST_OF_NON_11AC_COUNTRY_CODE_DEFAULT            "RU,UA,ZA"
 
 /*--------------------------------------------------------------------------- 
   Type declarations
@@ -2076,6 +2066,7 @@
    v_U8_t                      retryLimitTwo;
    char                        listOfNonDfsCountryCode[128];
    v_BOOL_t                    enableSSR;
+   char                        listOfNon11acCountryCode[128];
 } hdd_config_t;
 /*--------------------------------------------------------------------------- 
   Function declarations and documenation