diff options
| author | Himanshu Agarwal <himanaga@codeaurora.org> | 2016-09-20 15:09:09 +0530 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-10-26 10:49:10 -0700 |
| commit | 67a863b1b9ef80ec3422d66203587ee6b52b73b2 (patch) | |
| tree | 8853da456c6d9462eeafef30a702c9e80046bc0d | |
| parent | 5272981b791c8cba84196e5b4ad003ec0a81b3ac (diff) | |
qcacld-3.0: Add support to log roam events in DPTRACE
Add support to log all the roam related commands and events
in DPTRACE.
Change-Id: I66773fc23dfeacf3a63688819e099bf44676d95b
CRs-Fixed: 1081851
| -rw-r--r-- | core/wma/src/wma_scan_roam.c | 10 |
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); |
