wlan: Enable WIPHY_FLAG_HAS_CHANNEL_SWITCH capability in wiphy
Enable WIPHY_FLAG_HAS_CHANNEL_SWITCH capability to add channel switch
support through cfg80211 ops.
Change-Id: I64ef8b8e1b41c1b70a90705d5990b1ab60890ce2
CRs-Fixed: 2224125
diff --git a/CORE/HDD/inc/wlan_hdd_cfg80211.h b/CORE/HDD/inc/wlan_hdd_cfg80211.h
index 369477b..43e9acb 100644
--- a/CORE/HDD/inc/wlan_hdd_cfg80211.h
+++ b/CORE/HDD/inc/wlan_hdd_cfg80211.h
@@ -100,6 +100,13 @@
#endif
#endif
+/*
+ * Max number of supported csa_counters in beacons
+ * and probe responses. Set to the same value as
+ * IEEE80211_MAX_CSA_COUNTERS_NUM
+ */
+#define WLAN_HDD_MAX_NUM_CSA_COUNTERS 2
+
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 12, 0)) \
|| defined(BACKPORTED_CHANNEL_SWITCH_PRESENT)
#define CHANNEL_SWITCH_SUPPORTED