mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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
This commit is contained in:
parent
5272981b79
commit
67a863b1b9
1 changed files with 10 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue