qcacmn: Add support for wmi pktlog disable
Add API to send WMI command to FW when pktlog disable
by user.
CRs-Fixed: 2095489
Change-Id: Id5960aa9447fbee534a3c1e8a21085bc6f12dc50
diff --git a/wmi_unified_tlv.c b/wmi_unified_tlv.c
index 2df98fe..f708534 100644
--- a/wmi_unified_tlv.c
+++ b/wmi_unified_tlv.c
@@ -1623,7 +1623,7 @@
* Return: 0 on success and -ve on failure.
*/
static QDF_STATUS send_packet_log_disable_cmd_tlv(wmi_unified_t wmi_handle,
- WMI_HOST_PKTLOG_EVENT PKTLOG_EVENT, uint8_t mac_id)
+ uint8_t mac_id)
{
int32_t ret;
wmi_pdev_pktlog_disable_cmd_fixed_param *cmd;
@@ -1653,7 +1653,8 @@
}
#else
/**
- * send_packet_log_enable_cmd_tlv() - WMI request stats function
+ * send_packet_log_enable_cmd_tlv() - Send WMI command to enable
+ * packet-log
* @param wmi_handle : handle to WMI.
* @param macaddr : MAC address
* @param param : pointer to hold stats request parameter
@@ -1666,6 +1667,19 @@
{
return 0;
}
+/**
+ * send_packet_log_disable_cmd_tlv() - Send WMI command to disable
+ * packet-log
+ * @param wmi_handle : handle to WMI.
+ * @mac_id: mac id to have radio context
+ *
+ * Return: 0 on success and -ve on failure.
+ */
+static QDF_STATUS send_packet_log_disable_cmd_tlv(wmi_unified_t wmi_handle,
+ uint8_t mac_id)
+{
+ return 0;
+}
#endif
static QDF_STATUS send_beacon_send_cmd_tlv(wmi_unified_t wmi_handle,
@@ -18658,6 +18672,7 @@
.send_vdev_set_param_cmd = send_vdev_set_param_cmd_tlv,
.send_stats_request_cmd = send_stats_request_cmd_tlv,
.send_packet_log_enable_cmd = send_packet_log_enable_cmd_tlv,
+ .send_packet_log_disable_cmd = send_packet_log_disable_cmd_tlv,
.send_beacon_send_cmd = send_beacon_send_cmd_tlv,
.send_beacon_tmpl_send_cmd = send_beacon_tmpl_send_cmd_tlv,
.send_peer_assoc_cmd = send_peer_assoc_cmd_tlv,