Browse Source

Merge "qca-wifi: Add ADFS compile-time macros"

Linux Build Service Account 4 years ago
parent
commit
e67282bc26
1 changed files with 3 additions and 1 deletions
  1. 3 1
      umac/dfs/core/src/misc/dfs_zero_cac.c

+ 3 - 1
umac/dfs/core/src/misc/dfs_zero_cac.c

@@ -5168,7 +5168,9 @@ exit:
 	return status;
 }
 #endif
-#if defined(WLAN_DFS_TRUE_160MHZ_SUPPORT) && defined(WLAN_DFS_FULL_OFFLOAD)
+
+#if (defined(QCA_SUPPORT_AGILE_DFS) || defined(QCA_SUPPORT_ADFS_RCAC)) && \
+     defined(WLAN_DFS_TRUE_160MHZ_SUPPORT) && defined(WLAN_DFS_FULL_OFFLOAD)
 void dfs_translate_radar_params_for_agile_chan(struct wlan_dfs *dfs,
 					       struct radar_found_info *r_info)
 {