瀏覽代碼

qcacmn: Add message to print off-channel timestamp

Add a log to print off-channel timestamp to verify
off-channel time.

Change-Id: I6b105a7114d372a9d8f9d6f78c601455180df775
CRs-Fixed: 2895189
Gururaj Pandurangi 4 年之前
父節點
當前提交
2c8a3ddd35
共有 1 個文件被更改,包括 6 次插入4 次删除
  1. 6 4
      umac/scan/core/src/wlan_scan_manager.c

+ 6 - 4
umac/scan/core/src/wlan_scan_manager.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -1461,9 +1461,11 @@ scm_scan_event_handler(struct scheduler_msg *msg)
 
 	scm_event_duration_start(scan);
 
-	scm_debug("vdevid:%d, type:%d, reason:%d, freq:%d, reqstr:%d, scanid:%d",
-		  event->vdev_id, event->type, event->reason, event->chan_freq,
-		  event->requester, event->scan_id);
+	scm_debug("vdevid:%d, type:%d, reason:%d, freq:%d, reqstr:%d,"
+		  "scanid:%d (0x%x), timestamp:%u", event->vdev_id,
+		  event->type, event->reason, event->chan_freq,
+		  event->requester, event->scan_id, event->scan_id,
+		  event->timestamp);
 	/*
 	 * NLO requests are never queued, so post NLO events
 	 * without checking for their presence in active queue.