qcacmn: Log Transport Layer Tag for debugging purposes
Log Transport Layer Tag for debugging. The tag differs for
normal command and the runtime pm commands.
CRs-Fixed: 1072520
Change-Id: I7ec085410aaa429cfeb8cc09729e62deee9c7d95
diff --git a/wmi_unified.c b/wmi_unified.c
index e7a92ab..ee5f922 100644
--- a/wmi_unified.c
+++ b/wmi_unified.c
@@ -1665,10 +1665,10 @@
return "Invalid WMI cmd";
}
-static inline void wma_log_cmd_id(uint32_t cmd_id)
+static inline void wma_log_cmd_id(uint32_t cmd_id, uint32_t tag)
{
- WMI_LOGD("Send WMI command:%s command_id:%d",
- wmi_id_to_name(cmd_id), cmd_id);
+ WMI_LOGD("Send WMI command:%s command_id:%d htc_tag:%d\n",
+ wmi_id_to_name(cmd_id), cmd_id, tag);
}
#else
static uint8_t *wmi_id_to_name(uint32_t wmi_command)
@@ -1816,7 +1816,7 @@
SET_HTC_PACKET_NET_BUF_CONTEXT(pkt, buf);
#ifdef CONFIG_MCL
- wma_log_cmd_id(cmd_id);
+ wma_log_cmd_id(cmd_id, htc_tag);
#endif
#ifdef WMI_INTERFACE_EVENT_LOGGING