summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorService qcabuildsw <qcabuildsw@localhost>2016-10-28 10:23:33 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-10-28 10:23:33 -0700
commit075d500b58bf216ed6a12623b4b38f39b818302c (patch)
tree09cd8ec1b44de36b635511e944c5300d3ab0304f
parentaca9912cc3352bff1f97803707322f4b4975973f (diff)
parent67a863b1b9ef80ec3422d66203587ee6b52b73b2 (diff)
Merge "qcacld-3.0: Add support to log roam events in DPTRACE" into wlan-cld3.driver.lnx.1.1-dev
-rw-r--r--core/wma/src/wma_scan_roam.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/wma/src/wma_scan_roam.c b/core/wma/src/wma_scan_roam.c
index 09ad59a89e40..47237e812a2d 100644
--- a/core/wma/src/wma_scan_roam.c
+++ b/core/wma/src/wma_scan_roam.c
@@ -2273,6 +2273,9 @@ int wma_roam_synch_event_handler(void *handle, uint8_t *event,
return status;
}
+ DPTRACE(qdf_dp_trace_record_event(QDF_DP_TRACE_EVENT_RECORD,
+ synch_event->vdev_id, QDF_PROTO_TYPE_EVENT, QDF_ROAM_SYNCH));
+
if (wma_is_roam_synch_in_progress(wma, synch_event->vdev_id)) {
WMA_LOGE("%s: Ignoring RSI since one is already in progress",
__func__);
@@ -2679,6 +2682,10 @@ void wma_process_roam_synch_complete(WMA_HANDLE handle, uint8_t vdev_id)
vdev_id)) {
return;
}
+
+ DPTRACE(qdf_dp_trace_record_event(QDF_DP_TRACE_EVENT_RECORD,
+ vdev_id, QDF_PROTO_TYPE_EVENT, QDF_ROAM_COMPLETE));
+
WMA_LOGE("LFR3: Posting WMA_ROAM_OFFLOAD_SYNCH_CNF");
return;
}
@@ -5778,6 +5785,9 @@ int wma_roam_event_callback(WMA_HANDLE handle, uint8_t *event_buf,
__func__, wmi_event->reason, wmi_event->notif,
wmi_event->vdev_id, wmi_event->rssi);
+ DPTRACE(qdf_dp_trace_record_event(QDF_DP_TRACE_EVENT_RECORD,
+ wmi_event->vdev_id, QDF_PROTO_TYPE_EVENT, QDF_ROAM_EVENTID));
+
switch (wmi_event->reason) {
case WMI_ROAM_REASON_BMISS:
WMA_LOGD("Beacon Miss for vdevid %x", wmi_event->vdev_id);