From 19ba060714fa6ffe4bc02403c6f77de430781d93 Mon Sep 17 00:00:00 2001 From: Sandeep Puligilla Date: Tue, 26 Nov 2019 21:53:20 -0800 Subject: [PATCH] qcacmn: Enhance scan debug log Enhance scan debug log to capture dwell time for different bands and capture more information from scan request. Change-Id: Ib7af7c1841d0276da884eb30a2c2cf0aaedf4407 CRs-Fixed: 2575569 --- wmi/src/wmi_unified_tlv.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index e6b2a82d0cb8..7ddf575f6518 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -2906,7 +2906,17 @@ static QDF_STATUS send_scan_start_cmd_tlv(wmi_unified_t wmi_handle, cmd->n_probes = params->n_probes; cmd->scan_ctrl_flags_ext = params->scan_ctrl_flags_ext; - WMI_LOGD("scan_ctrl_flags_ext = %x", cmd->scan_ctrl_flags_ext); + WMI_LOGD("%s scan_ctrl_flags_ext = %x, n_probe %d burst_dur %d", + __func__, + cmd->scan_ctrl_flags_ext, + cmd->n_probes, + cmd->burst_duration); + WMI_LOGD("active: %d, passive: %d, active_2g %d, active_6g %d, passive_6g: %d", + cmd->dwell_time_active, + cmd->dwell_time_passive, + cmd->dwell_time_active_2g, + cmd->dwell_time_active_6ghz, + cmd->dwell_time_passive_6ghz); if (params->scan_random.randomize) wmi_copy_scan_random_mac(params->scan_random.mac_addr,