|
@@ -2072,10 +2072,10 @@ static void hdd_extract_fw_version_info(struct hdd_context *hdd_ctx)
|
|
|
HDD_FW_VER_REL_ID(hdd_ctx->target_fw_vers_ext);
|
|
|
}
|
|
|
|
|
|
-#if (defined(CONFIG_BAND_6GHZ) && defined(CFG80211_6GHZ_BAND_SUPPORTED)) || \
|
|
|
- (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0))
|
|
|
+#if (((defined(CONFIG_BAND_6GHZ) && defined(CFG80211_6GHZ_BAND_SUPPORTED)) || \
|
|
|
+ (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0))) && defined(WLAN_FEATURE_11AX))
|
|
|
#if defined(CONFIG_BAND_6GHZ) && (defined(CFG80211_6GHZ_BAND_SUPPORTED) || \
|
|
|
- (KERNEL_VERSION(5, 4, 0) <= LINUX_VERSION_CODE))
|
|
|
+ (KERNEL_VERSION(5, 4, 0) <= LINUX_VERSION_CODE))
|
|
|
static void
|
|
|
hdd_update_wiphy_he_caps_6ghz(struct hdd_context *hdd_ctx)
|
|
|
{
|