qcacld-3.0: Modify timestamp for Roam Scan done event

In api cm_roam_scan_info_event(), fw_timestamp value
is fetched from wmi_roam_trigger_reason->timestamp
which results in same value as in roam trigger event.

Modified the api cm_roam_scan_info_event() to fetch
fw_timestamp value from
wmi_roam_scan_info->scan_complete_timestamp to send
proper roam scan done event fw_timestamp to userspace
to log.

Change-Id: Idb1bcfad223b20a57b47d6e0040305000f6165ea
CRs-Fixed: 3624454
This commit is contained in:
Vijay Raj
2023-09-27 03:33:21 -07:00
committed by Rahul Choudhary
parent 4f7c7ed410
commit d10cdb284a

View File

@@ -6144,7 +6144,7 @@ void cm_roam_scan_info_event(struct wlan_objmgr_psoc *psoc,
} }
populate_diag_cmn(&wlan_diag_event->diag_cmn, vdev_id, populate_diag_cmn(&wlan_diag_event->diag_cmn, vdev_id,
(uint64_t)scan->ap->timestamp, &ap->bssid); (uint64_t)scan->scan_complete_timestamp, &ap->bssid);
wlan_diag_event->version = DIAG_SCAN_DONE_VERSION; wlan_diag_event->version = DIAG_SCAN_DONE_VERSION;