qcacld-3.0: Converge on struct rssi_monitor_param
The driver currently defines two different data structures to hold
Gateway Update parameters:
- legacy struct rssi_monitor_req
- unified WMI struct rssi_monitor_req
To align with the converged software architecture remove the legacy
definition and exclusively use the unified WMI definition.
Change-Id: Ia3336b68dac84ce8aeb53ea6d5be8b9f2e0f1736
CRs-Fixed: 2404088
diff --git a/core/wma/inc/wma.h b/core/wma/inc/wma.h
index c2a295b..4fb600d 100644
--- a/core/wma/inc/wma.h
+++ b/core/wma/inc/wma.h
@@ -1704,12 +1704,22 @@
void wma_log_completion_timeout(void *data);
#ifdef FEATURE_RSSI_MONITOR
+/**
+ * wma_set_rssi_monitoring() - set rssi monitoring
+ * @handle: WMA handle
+ * @req: rssi monitoring request structure
+ *
+ * This function takes the incoming @req and sends it down to the
+ * firmware
+ *
+ * Return: QDF_STATUS
+ */
QDF_STATUS wma_set_rssi_monitoring(tp_wma_handle wma,
- struct rssi_monitor_req *req);
+ struct rssi_monitor_param *req);
#else /* FEATURE_RSSI_MONITOR */
static inline
QDF_STATUS wma_set_rssi_monitoring(tp_wma_handle wma,
- struct rssi_monitor_req *req)
+ struct rssi_monitor_param *req)
{
return QDF_STATUS_SUCCESS;
}