qcacld-3.0: Featurize some vendor commands
Featurize some vendor commands to compile out when not needed.
Change-Id: I6757b5764930efbd9cd1c7ab74e5990e96267421
CRs-Fixed: 2270461
diff --git a/core/wma/inc/wma.h b/core/wma/inc/wma.h
index a0055b8..0dfa018 100644
--- a/core/wma/inc/wma.h
+++ b/core/wma/inc/wma.h
@@ -1729,8 +1729,17 @@
void wma_send_flush_logs_to_fw(tp_wma_handle wma_handle);
void wma_log_completion_timeout(void *data);
+#ifdef FEATURE_RSSI_MONITOR
QDF_STATUS wma_set_rssi_monitoring(tp_wma_handle wma,
- struct rssi_monitor_req *req);
+ struct rssi_monitor_req *req);
+#else /* FEATURE_RSSI_MONITOR */
+static inline
+QDF_STATUS wma_set_rssi_monitoring(tp_wma_handle wma,
+ struct rssi_monitor_req *req)
+{
+ return QDF_STATUS_SUCCESS;
+}
+#endif /* FEATURE_RSSI_MONITOR */
QDF_STATUS wma_send_pdev_set_pcl_cmd(tp_wma_handle wma_handle,
struct wmi_pcl_chan_weights *msg);