From d9ce8a222a0d3084f0e706ac5da9b155df5aff0b Mon Sep 17 00:00:00 2001 From: Gururaj Pandurangi Date: Tue, 9 Mar 2021 11:15:06 -0800 Subject: [PATCH] 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 --- umac/scan/core/src/wlan_scan_manager.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/umac/scan/core/src/wlan_scan_manager.c b/umac/scan/core/src/wlan_scan_manager.c index d11ef1580fb8..511b66ace9cf 100644 --- a/umac/scan/core/src/wlan_scan_manager.c +++ b/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 @@ -1462,9 +1462,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.