ATH10K_DFS_STAT_INC(ar, pulses_total);
--- a/ath10k-4.13/wmi.c
+++ b/ath10k-4.13/wmi.c
-@@ -3990,7 +3990,7 @@ static void ath10k_dfs_radar_report(stru
+@@ -4031,7 +4031,7 @@ static void ath10k_dfs_radar_report(stru
+
+ ATH10K_DFS_STAT_INC(ar, pulses_detected);
+
+- if (!ar->dfs_detector->add_pulse(ar->dfs_detector, &pe)) {
++ if (!ar->dfs_detector->add_pulse(ar->dfs_detector, &pe, NULL)) {
+ ath10k_dbg(ar, ATH10K_DBG_REGULATORY,
+ "dfs no pulse pattern detected, yet\n");
+ return;
+--- a/ath10k-4.16/wmi.c
++++ b/ath10k-4.16/wmi.c
+@@ -4061,7 +4061,7 @@ static void ath10k_dfs_radar_report(stru
ATH10K_DFS_STAT_INC(ar, pulses_detected);