mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
qcacmn: Add mtrace logging for scan request
We are transitioning to new logging infrastructure by using existing mtrace functionality. Add new logging for complete scan request and response path. Change-Id: Iac644a78ef521721d33ce7568be56b47c55fed6b CRs-Fixed: 2308272
This commit is contained in:
parent
f60c3457b4
commit
0e1895a859
3 changed files with 14 additions and 0 deletions
|
|
@ -914,6 +914,9 @@ static void wlan_cfg80211_scan_done_callback(
|
|||
struct net_device *netdev = NULL;
|
||||
QDF_STATUS status;
|
||||
|
||||
qdf_mtrace(QDF_MODULE_ID_SCAN, QDF_MODULE_ID_OS_IF, event->type,
|
||||
event->vdev_id, event->scan_id);
|
||||
|
||||
if (!util_is_scan_completed(event, &success))
|
||||
return;
|
||||
|
||||
|
|
|
|||
|
|
@ -906,6 +906,9 @@ void p2p_scan_event_cb(struct wlan_objmgr_vdev *vdev,
|
|||
p2p_err("Failed to find valid P2P roc context");
|
||||
return;
|
||||
}
|
||||
|
||||
qdf_mtrace(QDF_MODULE_ID_SCAN, QDF_MODULE_ID_P2P, event->type,
|
||||
event->vdev_id, event->scan_id);
|
||||
switch (event->type) {
|
||||
case SCAN_EVENT_TYPE_STARTED:
|
||||
p2p_process_scan_start_evt(curr_roc_ctx);
|
||||
|
|
|
|||
|
|
@ -321,6 +321,9 @@ scm_scan_serialize_callback(struct wlan_serialization_command *cmd,
|
|||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
qdf_mtrace(QDF_MODULE_ID_SERIALIZATION, QDF_MODULE_ID_SCAN, reason,
|
||||
req->scan_req.vdev_id, req->scan_req.scan_id);
|
||||
|
||||
switch (reason) {
|
||||
case WLAN_SER_CB_ACTIVATE_CMD:
|
||||
/* command moved to active list
|
||||
|
|
@ -423,6 +426,11 @@ scm_scan_start_req(struct scheduler_msg *msg)
|
|||
status = QDF_STATUS_E_NULL_VALUE;
|
||||
goto err;
|
||||
}
|
||||
|
||||
qdf_mtrace(QDF_MODULE_ID_SCAN, QDF_MODULE_ID_SERIALIZATION,
|
||||
WLAN_SER_CMD_SCAN, req->vdev->vdev_objmgr.vdev_id,
|
||||
req->scan_req.scan_id);
|
||||
|
||||
ser_cmd_status = wlan_serialization_request(&cmd);
|
||||
scm_debug("wlan_serialization_request status:%d", ser_cmd_status);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue