diff --git a/umac/scan/dispatcher/inc/wlan_scan_public_structs.h b/umac/scan/dispatcher/inc/wlan_scan_public_structs.h index 70e7522ae51c..4759db8de9e6 100644 --- a/umac/scan/dispatcher/inc/wlan_scan_public_structs.h +++ b/umac/scan/dispatcher/inc/wlan_scan_public_structs.h @@ -803,6 +803,7 @@ enum scan_completion_reason { * @chan_freq: channel centre frequency * @requester: requester id * @scan_id: scan id + * @timestamp: timestamp in microsec recorded by target for the scan event */ struct scan_event { uint32_t vdev_id; @@ -811,6 +812,7 @@ struct scan_event { uint32_t chan_freq; uint32_t requester; uint32_t scan_id; + uint32_t timestamp; }; /** diff --git a/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c b/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c index 2df259a7f9cb..da27314aeba4 100644 --- a/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c +++ b/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c @@ -757,6 +757,7 @@ wlan_scan_global_init(struct wlan_scan_obj *scan_obj) scan_obj->scan_def.scan_ev_completed = true; scan_obj->scan_def.scan_ev_bss_chan = true; scan_obj->scan_def.scan_ev_foreign_chan = true; + scan_obj->scan_def.scan_ev_foreign_chn_exit = true; scan_obj->scan_def.scan_ev_dequeued = true; scan_obj->scan_def.scan_ev_preempted = true; scan_obj->scan_def.scan_ev_start_failed = true; diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 4a48ddfbb6c4..7c82d130d4a2 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -16399,6 +16399,7 @@ static QDF_STATUS extract_vdev_scan_ev_param_tlv(wmi_unified_t wmi_handle, param->requester = evt->requestor; param->scan_id = evt->scan_id; param->vdev_id = evt->vdev_id; + param->timestamp = evt->tsf_timestamp; return QDF_STATUS_SUCCESS; }