qcacmn: Add rate limited variants of Spectral logging functions

Add the rate limited variants of the QDF trace based logging functions
for Spectral. These include the sub-variants with and without
file/line information.

Change-Id: I56be5dcdfb070e8212c4e9a7e1c1140bfdfaae05
CRs-Fixed: 2426985
diff --git a/spectral/core/spectral_defs_i.h b/spectral/core/spectral_defs_i.h
index 3cfd6b6..a90df27 100644
--- a/spectral/core/spectral_defs_i.h
+++ b/spectral/core/spectral_defs_i.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
  *
  *
  * Permission to use, copy, modify, and/or distribute this software for
@@ -54,6 +54,28 @@
 #define spectral_debug_nofl(format, args...) \
 	QDF_TRACE_DEBUG_NO_FL(QDF_MODULE_ID_SPECTRAL, format, ## args)
 
+#define spectral_fatal_rl(format, args...) \
+	QDF_TRACE_FATAL_RL(QDF_MODULE_ID_SPECTRAL, format, ## args)
+#define spectral_err_rl(format, args...) \
+	QDF_TRACE_ERROR_RL(QDF_MODULE_ID_SPECTRAL, format, ## args)
+#define spectral_warn_rl(format, args...) \
+	QDF_TRACE_WARN_RL(QDF_MODULE_ID_SPECTRAL, format, ## args)
+#define spectral_info_rl(format, args...) \
+	QDF_TRACE_INFO_RL(QDF_MODULE_ID_SPECTRAL, format, ## args)
+#define spectral_debug_rl(format, args...) \
+	QDF_TRACE_DEBUG_RL(QDF_MODULE_ID_SPECTRAL, format, ## args)
+
+#define spectral_fatal_rl_nofl(format, args...) \
+	QDF_TRACE_FATAL_RL_NO_FL(QDF_MODULE_ID_SPECTRAL, format, ## args)
+#define spectral_err_rl_nofl(format, args...) \
+	QDF_TRACE_ERROR_RL_NO_FL(QDF_MODULE_ID_SPECTRAL, format, ## args)
+#define spectral_warn_rl_nofl(format, args...) \
+	QDF_TRACE_WARN_RL_NO_FL(QDF_MODULE_ID_SPECTRAL, format, ## args)
+#define spectral_info_rl_nofl(format, args...) \
+	QDF_TRACE_INFO_RL_NO_FL(QDF_MODULE_ID_SPECTRAL, format, ## args)
+#define spectral_debug_rl_nofl(format, args...) \
+	QDF_TRACE_DEBUG_RL_NO_FL(QDF_MODULE_ID_SPECTRAL, format, ## args)
+
 /**
  * struct pdev_spectral - Radio specific spectral object
  * @psptrl_pdev:          Back-pointer to struct wlan_objmgr_pdev