|
@@ -1709,16 +1709,15 @@ struct hdd_context {
|
|
|
struct ieee80211_channel *channels_2ghz;
|
|
|
struct ieee80211_channel *channels_5ghz;
|
|
|
|
|
|
-#if (defined(CONFIG_BAND_6GHZ) && defined(CFG80211_6GHZ_BAND_SUPPORTED)) || \
|
|
|
- (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0))
|
|
|
+#if defined(WLAN_FEATURE_11AX) && \
|
|
|
+ (defined(CFG80211_SBAND_IFTYPE_DATA_BACKPORT) || \
|
|
|
+ (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)))
|
|
|
struct ieee80211_sband_iftype_data *iftype_data_2g;
|
|
|
struct ieee80211_sband_iftype_data *iftype_data_5g;
|
|
|
-#endif
|
|
|
-
|
|
|
#if defined(CONFIG_BAND_6GHZ) && (defined(CFG80211_6GHZ_BAND_SUPPORTED) || \
|
|
|
(KERNEL_VERSION(5, 4, 0) <= LINUX_VERSION_CODE))
|
|
|
-
|
|
|
struct ieee80211_sband_iftype_data *iftype_data_6g;
|
|
|
+#endif
|
|
|
#endif
|
|
|
/* Completion variable to indicate Mc Thread Suspended */
|
|
|
struct completion mc_sus_event_var;
|