瀏覽代碼

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
Sarada Prasanna Garnayak 8 年之前
父節點
當前提交
8f62b99c33
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      wmi/src/wmi_unified.c

+ 4 - 4
wmi/src/wmi_unified.c

@@ -1665,10 +1665,10 @@ static uint8_t *wmi_id_to_name(uint32_t wmi_command)
 	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 @@ QDF_STATUS wmi_unified_cmd_send(wmi_unified_t wmi_handle, wmi_buf_t buf,
 
 	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