From e6d0bc490d1e1cb178c2bbff0ebea3bec7a3fca9 Mon Sep 17 00:00:00 2001 From: Srinivas Girigowda Date: Thu, 10 Sep 2020 14:31:42 -0700 Subject: [PATCH] qcacmn: Replace WMI_LOGI() with wmi_* appropriate log level Replace WMI_LOGI() with wmi_* appropriate log level. Change-Id: I7b0c32a2aefc5eb300348edbc6a60e7ad0401439 CRs-Fixed: 2774563 --- wmi/src/wmi_unified.c | 10 ++- wmi/src/wmi_unified_api.c | 2 +- wmi/src/wmi_unified_extscan_tlv.c | 11 ++- wmi/src/wmi_unified_ocb_ut.c | 19 +++--- wmi/src/wmi_unified_p2p_tlv.c | 4 +- wmi/src/wmi_unified_sta_tlv.c | 10 +-- wmi/src/wmi_unified_tlv.c | 107 ++++++++++++++---------------- 7 files changed, 77 insertions(+), 86 deletions(-) diff --git a/wmi/src/wmi_unified.c b/wmi/src/wmi_unified.c index b4b11051b5f3..6d6c4a830571 100644 --- a/wmi/src/wmi_unified.c +++ b/wmi/src/wmi_unified.c @@ -2009,8 +2009,7 @@ wmi_register_event_handler_with_ctx(wmi_unified_t wmi_handle, evt_id = wmi_handle->wmi_events[event_id]; if (wmi_unified_get_event_handler_ix(wmi_handle, evt_id) != -1) { - WMI_LOGI("event handler already registered 0x%x", - evt_id); + wmi_info("event handler already registered 0x%x", evt_id); return QDF_STATUS_E_FAILURE; } if (soc->max_event_idx == WMI_UNIFIED_MAX_EVENT) { @@ -2088,7 +2087,7 @@ QDF_STATUS wmi_unified_unregister_event(wmi_unified_t wmi_handle, idx = wmi_unified_get_event_handler_ix(wmi_handle, evt_id); if (idx == -1) { - WMI_LOGI("event handler is not registered: evt id 0x%x", + wmi_warn("event handler is not registered: evt id 0x%x", evt_id); return QDF_STATUS_E_FAILURE; } @@ -2119,15 +2118,14 @@ QDF_STATUS wmi_unified_unregister_event_handler(wmi_unified_t wmi_handle, if (event_id >= wmi_events_max || wmi_handle->wmi_events[event_id] == WMI_EVENT_ID_INVALID) { - WMI_LOGI("Event id %d is unavailable", - event_id); + wmi_err("Event id %d is unavailable", event_id); return QDF_STATUS_E_FAILURE; } evt_id = wmi_handle->wmi_events[event_id]; idx = wmi_unified_get_event_handler_ix(wmi_handle, evt_id); if (idx == -1) { - WMI_LOGI("event handler is not registered: evt id 0x%x", + wmi_err("event handler is not registered: evt id 0x%x", evt_id); return QDF_STATUS_E_FAILURE; } diff --git a/wmi/src/wmi_unified_api.c b/wmi/src/wmi_unified_api.c index 6bcf993434f5..7c1b9311fee4 100644 --- a/wmi/src/wmi_unified_api.c +++ b/wmi/src/wmi_unified_api.c @@ -1592,7 +1592,7 @@ bool wmi_service_enabled(wmi_unified_t wmi_handle, uint32_t service_id) wmi_handle->services[service_id]); } } else { - WMI_LOGI("Service %d not supported", service_id); + wmi_info("Service %d not supported", service_id); } return false; diff --git a/wmi/src/wmi_unified_extscan_tlv.c b/wmi/src/wmi_unified_extscan_tlv.c index cdbd94dd62f7..799074c9d7fe 100644 --- a/wmi/src/wmi_unified_extscan_tlv.c +++ b/wmi/src/wmi_unified_extscan_tlv.c @@ -737,8 +737,7 @@ QDF_STATUS wmi_get_buf_extscan_start_cmd(wmi_unified_t wmi_handle, cmd->configuration_flags = 0; if (pstart->configuration_flags & WMI_EXTSCAN_LP_EXTENDED_BATCHING) cmd->configuration_flags |= WMI_EXTSCAN_EXTENDED_BATCHING_EN; - WMI_LOGI("%s: configuration_flags: 0x%x", __func__, - cmd->configuration_flags); + wmi_debug("configuration_flags: 0x%x", cmd->configuration_flags); #ifdef FEATURE_WLAN_EXTSCAN cmd->min_rest_time = WMI_EXTSCAN_REST_TIME; cmd->max_rest_time = WMI_EXTSCAN_REST_TIME; @@ -844,10 +843,10 @@ QDF_STATUS wmi_get_buf_extscan_start_cmd(wmi_unified_t wmi_handle, dest_blist->configuration_flags = WMI_EXTSCAN_BUCKET_CACHE_RESULTS; - WMI_LOGI("%s: ntfy_extscan_events:%u cfg_flags:%u fwd_flags:%u", - __func__, dest_blist->notify_extscan_events, - dest_blist->configuration_flags, - dest_blist->forwarding_flags); + wmi_debug("ntfy_extscan_events:%u cfg_flags:%u fwd_flags:%u", + dest_blist->notify_extscan_events, + dest_blist->configuration_flags, + dest_blist->forwarding_flags); dest_blist->min_dwell_time_active = src_bucket->min_dwell_time_active; diff --git a/wmi/src/wmi_unified_ocb_ut.c b/wmi/src/wmi_unified_ocb_ut.c index 3c9938f6d2a9..4b8ecae3111a 100644 --- a/wmi/src/wmi_unified_ocb_ut.c +++ b/wmi/src/wmi_unified_ocb_ut.c @@ -276,16 +276,15 @@ static QDF_STATUS fake_ocb_set_config_cmd_tlv(wmi_unified_t wmi_handle, struct wlan_ocb_rx_ops *ocb_rx_ops; ol_scn_t scn = (ol_scn_t) wmi_handle->scn_handle; - wmi_debug("called"); - WMI_LOGI("%s: vdev_id=%d, channel_count=%d, schedule_size=%d, flag=%x", - __func__, config->vdev_id, config->channel_count, + wmi_debug("vdev_id=%d, channel_count=%d, schedule_size=%d, flag=%x", + config->vdev_id, config->channel_count, config->schedule_size, config->flags); for (i = 0; i < config->channel_count; i++) { - WMI_LOGI("%s: channel info for channel %d" + wmi_debug("channel info for channel %d" " chan_freq=%d, bandwidth=%d, " QDF_MAC_ADDR_FMT " max_pwr=%d, min_pwr=%d, reg_pwr=%d, antenna_max=%d, " - "flags=%d", __func__, i, config->channels[i].chan_freq, + "flags=%d", i, config->channels[i].chan_freq, config->channels[i].bandwidth, QDF_MAC_ADDR_REF( config->channels[i].mac_address.bytes), @@ -297,9 +296,9 @@ static QDF_STATUS fake_ocb_set_config_cmd_tlv(wmi_unified_t wmi_handle, } for (i = 0; i < config->schedule_size; i++) { - WMI_LOGI("%s: schedule info for channel %d: " + wmi_debug("schedule info for channel %d: " "chan_fre=%d, total_duration=%d, guard_intreval=%d", - __func__, i, config->schedule[i].chan_freq, + i, config->schedule[i].chan_freq, config->schedule[i].total_duration, config->schedule[i].guard_interval); } @@ -397,12 +396,12 @@ static QDF_STATUS fake_vdev_start_cmd_tlv(wmi_unified_t wmi_handle, struct vdev_start_params *req) { tp_wma_handle wma = (tp_wma_handle) wmi_handle->scn_handle; - wmi_debug("called"); - WMI_LOGI("%s: vdev_id %d freq %d chanmode %d ch_info is_dfs %d " + + wmi_debug("vdev_id %d freq %d chanmode %d ch_info is_dfs %d " "beacon interval %d dtim %d center_chan %d center_freq2 %d " "max_txpow: 0x%x " "Tx SS %d, Rx SS %d, ldpc_rx: %d, cac %d, regd %d, HE ops: %d", - __func__, (int)req->vdev_id, req->channel.mhz, + (int)req->vdev_id, req->channel.mhz, req->channel.phy_mode, (int)req->channel.dfs_set, req->beacon_intval, req->dtim_period, req->channel.cfreq1, req->channel.cfreq2, diff --git a/wmi/src/wmi_unified_p2p_tlv.c b/wmi/src/wmi_unified_p2p_tlv.c index 387f93c3d6a8..f7f31eea8d92 100644 --- a/wmi/src/wmi_unified_p2p_tlv.c +++ b/wmi/src/wmi_unified_p2p_tlv.c @@ -72,7 +72,7 @@ static QDF_STATUS send_set_p2pgo_noa_req_cmd_tlv(wmi_unified_t wmi_handle, noa_discriptor->interval = noa->interval; noa_discriptor->start_time = 0; - WMI_LOGI("SET P2P GO NOA:vdev_id:%d count:%d duration:%d interval:%d", + wmi_debug("SET P2P GO NOA:vdev_id:%d count:%d duration:%d interval:%d", cmd->vdev_id, noa->count, noa_discriptor->duration, noa->interval); wmi_mtrace(WMI_FWTEST_P2P_SET_NOA_PARAM_CMDID, cmd->vdev_id, 0); @@ -119,7 +119,7 @@ static QDF_STATUS send_set_p2pgo_oppps_req_cmd_tlv(wmi_unified_t wmi_handle, WMI_UNIFIED_OPPPS_ATTR_ENABLED_SET(cmd); WMI_UNIFIED_OPPPS_ATTR_CTWIN_SET(cmd, oppps->ctwindow); - WMI_LOGI("SET P2P GO OPPPS:vdev_id:%d ctwindow:%d", + wmi_debug("SET P2P GO OPPPS:vdev_id:%d ctwindow:%d", cmd->vdev_id, oppps->ctwindow); wmi_mtrace(WMI_P2P_SET_OPPPS_PARAM_CMDID, cmd->vdev_id, 0); status = wmi_unified_cmd_send(wmi_handle, buf, sizeof(*cmd), diff --git a/wmi/src/wmi_unified_sta_tlv.c b/wmi/src/wmi_unified_sta_tlv.c index 5c16e9e2fe14..0f4dceeb3d51 100644 --- a/wmi/src/wmi_unified_sta_tlv.c +++ b/wmi/src/wmi_unified_sta_tlv.c @@ -847,7 +847,7 @@ send_update_tdls_peer_state_cmd_tlv(wmi_unified_t wmi_handle, if (in_chan_info->dfs_set) { WMI_SET_CHANNEL_FLAG(chan_info, WMI_CHAN_FLAG_PASSIVE); - WMI_LOGI("chan[%d] DFS[%d]", + wmi_debug("chan[%d] DFS[%d]", in_chan_info->chan_id, in_chan_info->dfs_set); } @@ -1391,17 +1391,17 @@ static QDF_STATUS extract_sar2_result_event_tlv(void *handle, (WMI_SAR2_RESULT_EVENTID_param_tlvs *)event; if (!param_buf) { - WMI_LOGI("Invalid sar2 result event buffer"); + wmi_err("Invalid sar2 result event buffer"); return QDF_STATUS_E_INVAL; } sar2_fixed_param = param_buf->fixed_param; if (!sar2_fixed_param) { - WMI_LOGI("Invalid sar2 result event fixed param buffer"); + wmi_err("Invalid sar2 result event fixed param buffer"); return QDF_STATUS_E_INVAL; } - WMI_LOGI("SAR2 result: %s", + wmi_debug("SAR2 result: %s", wmi_sar2_result_string(sar2_fixed_param->result)); return QDF_STATUS_SUCCESS; @@ -2318,7 +2318,7 @@ static QDF_STATUS send_get_arp_stats_req_cmd_tlv(wmi_unified_t wmi_handle, /* fill in arp stats req cmd values */ get_arp_stats->vdev_id = req_buf->vdev_id; - WMI_LOGI(FL("vdev=%d"), req_buf->vdev_id); + wmi_debug("vdev=%d", req_buf->vdev_id); /* Send per roam config parameters */ wmi_mtrace(WMI_VDEV_GET_ARP_STAT_CMDID, NO_SESSION, 0); status = wmi_unified_cmd_send(wmi_handle, buf, diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index c36bde1ebbb1..12abf97f67b7 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -1071,7 +1071,7 @@ static QDF_STATUS send_vdev_start_cmd_tlv(wmi_unified_t wmi_handle, WMITLV_SET_HDR(buf_ptr, WMITLV_TAG_ARRAY_STRUC, cmd->num_noa_descriptors * sizeof(wmi_p2p_noa_descriptor)); - WMI_LOGI("%s: vdev_id %d freq %d chanmode %d ch_info: 0x%x is_dfs %d " + wmi_info("%s: vdev_id %d freq %d chanmode %d ch_info: 0x%x is_dfs %d " "beacon interval %d dtim %d center_chan %d center_freq2 %d " "reg_info_1: 0x%x reg_info_2: 0x%x, req->max_txpow: 0x%x " "Tx SS %d, Rx SS %d, ldpc_rx: %d, cac %d, regd %d, HE ops: %d" @@ -1857,7 +1857,7 @@ static QDF_STATUS send_wow_enable_cmd_tlv(wmi_unified_t wmi_handle, cmd->pause_iface_config = WOW_IFACE_PAUSE_DISABLED; cmd->flags = param->flags; - WMI_LOGI("suspend type: %s", + wmi_info("suspend type: %s", cmd->pause_iface_config == WOW_IFACE_PAUSE_ENABLED ? "WOW_IFACE_PAUSE_ENABLED" : "WOW_IFACE_PAUSE_DISABLED"); @@ -5489,8 +5489,8 @@ static QDF_STATUS send_oem_dma_cfg_cmd_tlv(wmi_unified_t wmi_handle, cmd = (uint8_t *) wmi_buf_data(buf); qdf_mem_copy(cmd, cfg, sizeof(*cfg)); - WMI_LOGI(FL("Sending OEM Data Request to target, data len %lu"), - sizeof(*cfg)); + wmi_debug("Sending OEM Data Request to target, data len %lu"), + sizeof(*cfg); wmi_mtrace(WMI_OEM_DMA_RING_CFG_REQ_CMDID, NO_SESSION, 0); ret = wmi_unified_cmd_send(wmi_handle, buf, sizeof(*cfg), WMI_OEM_DMA_RING_CFG_REQ_CMDID); @@ -6300,7 +6300,7 @@ send_set_vap_dscp_tid_map_cmd_tlv(wmi_unified_t wmi_handle, cmd->vdev_id = param->vdev_id; cmd->enable_override = 0; - WMI_LOGI("Setting dscp for vap id: %d", cmd->vdev_id); + wmi_debug("Setting dscp for vap id: %d", cmd->vdev_id); wmi_mtrace(WMI_VDEV_SET_DSCP_TID_MAP_CMDID, cmd->vdev_id, 0); if (wmi_unified_cmd_send(wmi_handle, buf, len, WMI_VDEV_SET_DSCP_TID_MAP_CMDID)) { @@ -6606,34 +6606,32 @@ static QDF_STATUS send_vdev_spectral_configure_cmd_tlv(wmi_unified_t wmi_handle, wmi_buf_free(buf); } - WMI_LOGI("%s: Sent WMI_VDEV_SPECTRAL_SCAN_CONFIGURE_CMDID", - __func__); - - WMI_LOGI("vdev_id = %u", param->vdev_id); - WMI_LOGI("spectral_scan_count = %u", param->count); - WMI_LOGI("spectral_scan_period = %u", param->period); - WMI_LOGI("spectral_scan_priority = %u", param->spectral_pri); - WMI_LOGI("spectral_scan_fft_size = %u", param->fft_size); - WMI_LOGI("spectral_scan_gc_ena = %u", param->gc_enable); - WMI_LOGI("spectral_scan_restart_ena = %u", param->restart_enable); - WMI_LOGI("spectral_scan_noise_floor_ref = %u", param->noise_floor_ref); - WMI_LOGI("spectral_scan_init_delay = %u", param->init_delay); - WMI_LOGI("spectral_scan_nb_tone_thr = %u", param->nb_tone_thr); - WMI_LOGI("spectral_scan_str_bin_thr = %u", param->str_bin_thr); - WMI_LOGI("spectral_scan_wb_rpt_mode = %u", param->wb_rpt_mode); - WMI_LOGI("spectral_scan_rssi_rpt_mode = %u", param->rssi_rpt_mode); - WMI_LOGI("spectral_scan_rssi_thr = %u", param->rssi_thr); - WMI_LOGI("spectral_scan_pwr_format = %u", param->pwr_format); - WMI_LOGI("spectral_scan_rpt_mode = %u", param->rpt_mode); - WMI_LOGI("spectral_scan_bin_scale = %u", param->bin_scale); - WMI_LOGI("spectral_scan_dBm_adj = %u", param->dbm_adj); - WMI_LOGI("spectral_scan_chn_mask = %u", param->chn_mask); - WMI_LOGI("spectral_scan_mode = %u", param->mode); - WMI_LOGI("spectral_scan_center_freq1 = %u", param->center_freq1); - WMI_LOGI("spectral_scan_center_freq2 = %u", param->center_freq2); - WMI_LOGI("spectral_scan_chan_freq = %u", param->chan_freq); - WMI_LOGI("spectral_scan_chan_width = %u", param->chan_width); - WMI_LOGI("%s: Status: %d", __func__, ret); + wmi_debug("Sent WMI_VDEV_SPECTRAL_SCAN_CONFIGURE_CMDID"); + wmi_debug("vdev_id: %u spectral_scan_count: %u", + param->vdev_id, param->count); + wmi_debug("spectral_scan_period: %u spectral_scan_priority: %u", + param->period, param->spectral_pri); + wmi_debug("spectral_scan_fft_size: %u spectral_scan_gc_ena: %u", + param->fft_size, param->gc_enable); + wmi_debug("spectral_scan_restart_ena: %u", param->restart_enable); + wmi_debug("spectral_scan_noise_floor_ref: %u", param->noise_floor_ref); + wmi_debug("spectral_scan_init_delay: %u", param->init_delay); + wmi_debug("spectral_scan_nb_tone_thr: %u", param->nb_tone_thr); + wmi_debug("spectral_scan_str_bin_thr: %u", param->str_bin_thr); + wmi_debug("spectral_scan_wb_rpt_mode: %u", param->wb_rpt_mode); + wmi_debug("spectral_scan_rssi_rpt_mode: %u", param->rssi_rpt_mode); + wmi_debug("spectral_scan_rssi_thr: %u spectral_scan_pwr_format: %u", + param->rssi_thr, param->pwr_format); + wmi_debug("spectral_scan_rpt_mode: %u spectral_scan_bin_scale: %u", + param->rpt_mode, param->bin_scale); + wmi_debug("spectral_scan_dBm_adj: %u spectral_scan_chn_mask: %u", + param->dbm_adj, param->chn_mask); + wmi_debug("spectral_scan_mode: %u spectral_scan_center_freq1: %u", + param->mode, param->center_freq1); + wmi_debug("spectral_scan_center_freq2: %u spectral_scan_chan_freq: %u", + param->center_freq2, param->chan_freq); + wmi_debug("spectral_scan_chan_width: %u Status: %d", + param->chan_width, ret); return ret; } @@ -6682,10 +6680,9 @@ static QDF_STATUS send_vdev_spectral_enable_cmd_tlv(wmi_unified_t wmi_handle, } cmd->spectral_scan_mode = param->mode; - WMI_LOGI("vdev_id = %u", cmd->vdev_id); - WMI_LOGI("trigger_cmd = %u", cmd->trigger_cmd); - WMI_LOGI("enable_cmd = %u", cmd->enable_cmd); - WMI_LOGI("spectral_scan_mode = %u", cmd->spectral_scan_mode); + wmi_debug("vdev_id = %u trigger_cmd = %u enable_cmd = %u", + cmd->vdev_id, cmd->trigger_cmd, cmd->enable_cmd); + wmi_debug("spectral_scan_mode = %u", cmd->spectral_scan_mode); wmi_mtrace(WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID, cmd->vdev_id, 0); ret = wmi_unified_cmd_send(wmi_handle, buf, len, @@ -6696,9 +6693,8 @@ static QDF_STATUS send_vdev_spectral_enable_cmd_tlv(wmi_unified_t wmi_handle, wmi_buf_free(buf); } - WMI_LOGI("%s: Sent WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID", __func__); - - WMI_LOGI("%s: Status: %d", __func__, ret); + wmi_debug("Sent WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID, Status: %d", + ret); return ret; } @@ -7407,7 +7403,7 @@ static QDF_STATUS send_log_supported_evt_cmd_tlv(wmi_unified_t wmi_handle, WMI_DIAG_EVENT_LOG_SUPPORTED_EVENTID_param_tlvs *param_buf; wmi_diag_event_log_supported_event_fixed_params *wmi_event; - WMI_LOGI("Received WMI_DIAG_EVENT_LOG_SUPPORTED_EVENTID"); + wmi_debug("Received WMI_DIAG_EVENT_LOG_SUPPORTED_EVENTID"); param_buf = (WMI_DIAG_EVENT_LOG_SUPPORTED_EVENTID_param_tlvs *) event; if (!param_buf) { @@ -8158,13 +8154,12 @@ static QDF_STATUS send_unit_test_cmd_tlv(wmi_unified_t wmi_handle, WMITLV_SET_HDR(buf_ptr, WMITLV_TAG_ARRAY_UINT32, (wmi_utest->num_args * sizeof(uint32_t))); unit_test_cmd_args = (uint32_t *) (buf_ptr + WMI_TLV_HDR_SIZE); - WMI_LOGI("%s: VDEV ID: %d", __func__, cmd->vdev_id); - WMI_LOGI("%s: MODULE ID: %d", __func__, cmd->module_id); - WMI_LOGI("%s: TOKEN: %d", __func__, cmd->diag_token); - WMI_LOGI("%s: %d num of args = ", __func__, wmi_utest->num_args); + wmi_debug("VDEV ID: %d MODULE ID: %d TOKEN: %d", + cmd->vdev_id, cmd->module_id, cmd->diag_token); + wmi_debug("%d num of args = ", wmi_utest->num_args); for (i = 0; (i < wmi_utest->num_args && i < WMI_UNIT_TEST_MAX_NUM_ARGS); i++) { unit_test_cmd_args[i] = wmi_utest->args[i]; - WMI_LOGI("%d,", wmi_utest->args[i]); + wmi_debug("%d,", wmi_utest->args[i]); } wmi_mtrace(WMI_UNIT_TEST_CMDID, cmd->vdev_id, 0); if (wmi_unified_cmd_send(wmi_handle, wmi_buf, len, @@ -8220,10 +8215,10 @@ static QDF_STATUS send_power_dbg_cmd_tlv(wmi_unified_t wmi_handle, WMITLV_SET_HDR(buf_ptr, WMITLV_TAG_ARRAY_UINT32, (param->num_args * sizeof(uint32_t))); cmd_args = (uint32_t *) (buf_ptr + WMI_TLV_HDR_SIZE); - WMI_LOGI("%s: %d num of args = ", __func__, param->num_args); + wmi_debug("%d num of args = ", param->num_args); for (i = 0; (i < param->num_args && i < WMI_MAX_POWER_DBG_ARGS); i++) { cmd_args[i] = param->args[i]; - WMI_LOGI("%d,", param->args[i]); + wmi_debug("%d,", param->args[i]); } wmi_mtrace(WMI_PDEV_WAL_POWER_DEBUG_CMDID, NO_SESSION, 0); @@ -8262,7 +8257,7 @@ static QDF_STATUS send_dfs_phyerr_offload_en_cmd_tlv(wmi_unified_t wmi_handle, len = sizeof(*cmd); buf = wmi_buf_alloc(wmi_handle, len); - WMI_LOGI("%s: pdev_id=%d", __func__, pdev_id); + wmi_debug("pdev_id=%d", pdev_id); if (!buf) return QDF_STATUS_E_NOMEM; @@ -8311,7 +8306,7 @@ static QDF_STATUS send_dfs_phyerr_offload_dis_cmd_tlv(wmi_unified_t wmi_handle, len = sizeof(*cmd); buf = wmi_buf_alloc(wmi_handle, len); - WMI_LOGI("%s: pdev_id=%d", __func__, pdev_id); + wmi_debug("pdev_id=%d", pdev_id); if (!buf) return QDF_STATUS_E_NOMEM; @@ -9748,7 +9743,7 @@ static QDF_STATUS extract_host_mem_req_tlv(wmi_unified_t wmi_handle, } } - WMI_LOGI("idx %d req %d num_units %d num_unit_info %d" + wmi_debug("idx %d req %d num_units %d num_unit_info %d" "unit size %d actual units %d", idx, mem_reqs->req_id, mem_reqs->num_units, @@ -10173,12 +10168,12 @@ static QDF_STATUS extract_unit_test_tlv(wmi_unified_t wmi_handle, unit_test->diag_token = ev_param->diag_token; unit_test->flag = ev_param->flag; unit_test->payload_len = ev_param->payload_len; - WMI_LOGI("%s:vdev_id:%d mod_id:%d diag_token:%d flag:%d", __func__, + wmi_debug("vdev_id:%d mod_id:%d diag_token:%d flag:%d", ev_param->vdev_id, ev_param->module_id, ev_param->diag_token, ev_param->flag); - WMI_LOGD("%s: Unit-test data given below %d", __func__, num_bufp); + wmi_debug("Unit-test data given below %d", num_bufp); qdf_trace_hex_dump(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_DEBUG, bufp, num_bufp); copy_size = (num_bufp < maxspace) ? num_bufp : maxspace; @@ -11063,7 +11058,7 @@ static QDF_STATUS validate_dbr_ring_caps_idx(uint8_t idx, { /* If dma_ring_caps is populated, num_dbr_ring_caps is non-zero */ if (!num_dma_ring_caps) { - WMI_LOGI("%s: dma_ring_caps %d", __func__, num_dma_ring_caps); + wmi_err("dma_ring_caps %d", num_dma_ring_caps); return QDF_STATUS_E_INVAL; } if (idx >= num_dma_ring_caps) { @@ -11841,7 +11836,7 @@ static QDF_STATUS extract_dfs_radar_detection_event_tlv( radar_found->freq_offset = radar_event->freq_offset; radar_found->sidx = radar_event->sidx; - WMI_LOGI("processed radar found event pdev %d," + wmi_info("processed radar found event pdev %d," "Radar Event Info:pdev_id %d,timestamp %d,chan_freq (dur) %d," "chan_width (RSSI) %d,detector_id (false_radar) %d," "freq_offset (radar_check) %d,segment_id %d,sidx %d," @@ -13728,7 +13723,7 @@ static QDF_STATUS extract_time_sync_ftm_start_stop_event_tlv( param->mac_time = ((uint64_t)resp_event->mac_timer_u32 << 32) | resp_event->mac_timer_l32; - WMI_LOGI("%s: FTM time sync time_interval %d, num_reads %d", __func__, + wmi_debug("FTM time sync time_interval %d, num_reads %d", param->timer_interval, param->num_reads); return QDF_STATUS_SUCCESS;