qcacmn: Reduce log level for few prints to debug

Change log level for few messages from info/warn/err
to debug.

Change-Id: I2fd3df21d70326301b39b91efdf827d6b391f4e3
CRs-Fixed: 2301926
This commit is contained in:
Yeshwanth Sriram Guntuka
2018-08-23 18:25:28 +05:30
committed by nshrivas
parent 2b791597da
commit 0ab053e1e1
7 changed files with 20 additions and 20 deletions

View File

@@ -281,7 +281,7 @@ static QDF_STATUS wlan_objmgr_vdev_obj_destroy(struct wlan_objmgr_vdev *vdev)
vdev_id = wlan_vdev_get_id(vdev); vdev_id = wlan_vdev_get_id(vdev);
obj_mgr_info("Physically deleting vdev %d", vdev_id); obj_mgr_debug("Physically deleting vdev %d", vdev_id);
if (vdev->obj_state != WLAN_OBJ_STATE_LOGICALLY_DELETED) { if (vdev->obj_state != WLAN_OBJ_STATE_LOGICALLY_DELETED) {
obj_mgr_err("VDEV object delete is not invoked vdevid:%d objstate:%d", obj_mgr_err("VDEV object delete is not invoked vdevid:%d objstate:%d",

View File

@@ -207,7 +207,7 @@ enum policy_mgr_conc_next_action policy_mgr_need_opportunistic_upgrade(
goto done; goto done;
} }
if (!hw_mode.dbs_cap) { if (!hw_mode.dbs_cap) {
policy_mgr_notice("current HW mode is non-DBS capable"); policy_mgr_debug("current HW mode is non-DBS capable");
goto done; goto done;
} }
@@ -1299,7 +1299,7 @@ void policy_mgr_check_concurrent_intf_and_restart_sap(
&operating_channel[cc_count], &operating_channel[cc_count],
&vdev_id[cc_count], PM_STA_MODE); &vdev_id[cc_count], PM_STA_MODE);
if (!cc_count) { if (!cc_count) {
policy_mgr_err("Could not get STA operating channel&vdevid"); policy_mgr_debug("Could not get STA operating channel&vdevid");
return; return;
} }

View File

@@ -691,10 +691,10 @@ void policy_mgr_store_and_del_conn_info(struct wlan_objmgr_psoc *psoc,
/* Deleting the connection entry */ /* Deleting the connection entry */
policy_mgr_decr_connection_count(psoc, policy_mgr_decr_connection_count(psoc,
info[found_index].vdev_id); info[found_index].vdev_id);
policy_mgr_notice("Stored %d (%d), deleted STA entry with vdev id %d, index %d", policy_mgr_debug("Stored %d (%d), deleted STA entry with vdev id %d, index %d",
info[found_index].vdev_id, info[found_index].vdev_id,
info[found_index].mode, info[found_index].mode,
info[found_index].vdev_id, conn_index); info[found_index].vdev_id, conn_index);
found_index++; found_index++;
if (all_matching_cxn_to_del) if (all_matching_cxn_to_del)
continue; continue;

View File

@@ -201,7 +201,7 @@ static QDF_STATUS p2p_vdev_obj_create_notification(
} }
mode = wlan_vdev_mlme_get_opmode(vdev); mode = wlan_vdev_mlme_get_opmode(vdev);
p2p_info("vdev mode:%d", mode); p2p_debug("vdev mode:%d", mode);
if (mode != QDF_P2P_GO_MODE) { if (mode != QDF_P2P_GO_MODE) {
p2p_debug("won't create p2p vdev private object if it is not GO"); p2p_debug("won't create p2p vdev private object if it is not GO");
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;
@@ -360,7 +360,7 @@ static QDF_STATUS p2p_peer_obj_destroy_notification(
WLAN_UMAC_COMP_P2P); WLAN_UMAC_COMP_P2P);
psoc = wlan_vdev_get_psoc(vdev); psoc = wlan_vdev_get_psoc(vdev);
if (!p2p_vdev_obj || !psoc) { if (!p2p_vdev_obj || !psoc) {
p2p_err("p2p_vdev_obj:%pK psoc:%pK", p2p_vdev_obj, psoc); p2p_debug("p2p_vdev_obj:%pK psoc:%pK", p2p_vdev_obj, psoc);
return QDF_STATUS_E_INVAL; return QDF_STATUS_E_INVAL;
} }

View File

@@ -190,7 +190,7 @@ QDF_STATUS ucfg_scan_pno_stop(struct wlan_objmgr_vdev *vdev)
return QDF_STATUS_E_INVAL; return QDF_STATUS_E_INVAL;
} }
if (!scan_vdev_obj->pno_in_progress) { if (!scan_vdev_obj->pno_in_progress) {
scm_err("pno already stopped"); scm_debug("pno already stopped");
return QDF_STATUS_E_ALREADY; return QDF_STATUS_E_ALREADY;
} }
@@ -1340,8 +1340,8 @@ ucfg_scan_register_event_handler(struct wlan_objmgr_pdev *pdev,
if ((cb_handler->func == event_cb) && if ((cb_handler->func == event_cb) &&
(cb_handler->arg == arg)) { (cb_handler->arg == arg)) {
qdf_spin_unlock_bh(&scan->lock); qdf_spin_unlock_bh(&scan->lock);
scm_warn("func: %pK, arg: %pK already exists", scm_debug("func: %pK, arg: %pK already exists",
event_cb, arg); event_cb, arg);
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;
} }
} }

View File

@@ -218,7 +218,7 @@ QDF_STATUS tdls_vdev_obj_destroy_notification(struct wlan_objmgr_vdev *vdev,
struct tdls_soc_priv_obj *tdls_soc_obj; struct tdls_soc_priv_obj *tdls_soc_obj;
uint32_t tdls_feature_flags; uint32_t tdls_feature_flags;
tdls_notice("tdls vdev mode %d", wlan_vdev_mlme_get_opmode(vdev)); tdls_debug("tdls vdev mode %d", wlan_vdev_mlme_get_opmode(vdev));
if (wlan_vdev_mlme_get_opmode(vdev) != QDF_STA_MODE && if (wlan_vdev_mlme_get_opmode(vdev) != QDF_STA_MODE &&
wlan_vdev_mlme_get_opmode(vdev) != QDF_P2P_CLIENT_MODE) wlan_vdev_mlme_get_opmode(vdev) != QDF_P2P_CLIENT_MODE)
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;

View File

@@ -6006,7 +6006,7 @@ static QDF_STATUS send_p2p_go_set_beacon_ie_cmd_tlv(wmi_unified_t wmi_handle,
buf_ptr += WMI_TLV_HDR_SIZE; buf_ptr += WMI_TLV_HDR_SIZE;
qdf_mem_copy(buf_ptr, p2p_ie, ie_len); qdf_mem_copy(buf_ptr, p2p_ie, ie_len);
WMI_LOGI("%s: Sending WMI_P2P_GO_SET_BEACON_IE", __func__); WMI_LOGD("%s: Sending WMI_P2P_GO_SET_BEACON_IE", __func__);
ret = wmi_unified_cmd_send(wmi_handle, ret = wmi_unified_cmd_send(wmi_handle,
wmi_buf, wmi_buf_len, wmi_buf, wmi_buf_len,
@@ -6016,7 +6016,7 @@ static QDF_STATUS send_p2p_go_set_beacon_ie_cmd_tlv(wmi_unified_t wmi_handle,
wmi_buf_free(wmi_buf); wmi_buf_free(wmi_buf);
} }
WMI_LOGI("%s: Successfully sent WMI_P2P_GO_SET_BEACON_IE", __func__); WMI_LOGD("%s: Successfully sent WMI_P2P_GO_SET_BEACON_IE", __func__);
return ret; return ret;
} }
@@ -13067,8 +13067,8 @@ static QDF_STATUS send_enable_specific_fw_logs_cmd_tlv(wmi_unified_t wmi_handle,
count = 0; count = 0;
if (!wmi_handle->events_logs_list) { if (!wmi_handle->events_logs_list) {
WMI_LOGE("%s: Not received event/log list from FW, yet", WMI_LOGD("%s: Not received event/log list from FW, yet",
__func__); __func__);
return QDF_STATUS_E_NOMEM; return QDF_STATUS_E_NOMEM;
} }
/* total_len stores the number of events where BITS 17 and 18 are set. /* total_len stores the number of events where BITS 17 and 18 are set.
@@ -13177,7 +13177,7 @@ static QDF_STATUS send_flush_logs_to_fw_cmd_tlv(wmi_unified_t wmi_handle)
wmi_buf_free(buf); wmi_buf_free(buf);
return QDF_STATUS_E_INVAL; return QDF_STATUS_E_INVAL;
} }
WMI_LOGI("Sent WMI_DEBUG_MESG_FLUSH_CMDID to FW"); WMI_LOGD("Sent WMI_DEBUG_MESG_FLUSH_CMDID to FW");
return ret; return ret;
} }
@@ -15532,7 +15532,7 @@ static QDF_STATUS send_roam_scan_offload_ap_profile_cmd_tlv(wmi_unified_t wmi_ha
wmi_buf_free(buf); wmi_buf_free(buf);
} }
WMI_LOGI("WMI --> WMI_ROAM_AP_PROFILE and other parameters"); WMI_LOGD("WMI --> WMI_ROAM_AP_PROFILE and other parameters");
return status; return status;
} }
@@ -21059,7 +21059,7 @@ static QDF_STATUS send_set_arp_stats_req_cmd_tlv(wmi_unified_t wmi_handle,
goto error; goto error;
} }
WMI_LOGI(FL("set arp stats flag=%d, vdev=%d"), WMI_LOGD(FL("set arp stats flag=%d, vdev=%d"),
req_buf->flag, req_buf->vdev_id); req_buf->flag, req_buf->vdev_id);
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;
error: error: