diff options
| author | Ratnam Rachuri <c_rrachu@qti.qualcomm.com> | 2016-04-15 17:33:21 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-04-22 10:23:12 +0530 |
| commit | ebe7d0cd760f022bd6b84d74800aad47d1d601c4 (patch) | |
| tree | 3193c667f0546818c6c5bfeeddf48e63407d6897 | |
| parent | 4dc8a445671a0a2664d4d3a9c5438d7700c9fdcb (diff) | |
qcacld-2.0: Logging level changes on wlan HOST
prima to qcacld-2.0 propagation
As there are a lot of prints dropped on the console in
short duration, it leads to interrupt disablement on
the cpu.
So reducing the logging level of log statement from
ERROR to INFO
Change-Id: I3eefac49378a7bfbcc235b1dd3362e1213fa1f42
CRs-Fixed: 886644
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_tdls.c | 12 | ||||
| -rw-r--r-- | CORE/SME/src/QoS/sme_Qos.c | 2 | ||||
| -rw-r--r-- | CORE/SME/src/pmc/pmc.c | 3 | ||||
| -rw-r--r-- | CORE/SME/src/sme_common/sme_Api.c | 2 | ||||
| -rw-r--r-- | CORE/SVC/src/logging/wlan_logging_sock_svc.c | 6 | ||||
| -rw-r--r-- | CORE/SVC/src/ptt/wlan_ptt_sock_svc.c | 2 |
6 files changed, 11 insertions, 16 deletions
diff --git a/CORE/HDD/src/wlan_hdd_tdls.c b/CORE/HDD/src/wlan_hdd_tdls.c index 44a51bffb183..dc3cebd9689a 100644 --- a/CORE/HDD/src/wlan_hdd_tdls.c +++ b/CORE/HDD/src/wlan_hdd_tdls.c @@ -424,7 +424,7 @@ static void wlan_hdd_tdls_free_list(tdlsCtx_t *pHddTdlsCtx, if (NULL == pHddTdlsCtx) { - VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, + VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, FL("pHddTdlsCtx is NULL")); return; } @@ -633,7 +633,7 @@ int wlan_hdd_tdls_init(hdd_adapter_t *pAdapter) if (FALSE == pHddCtx->cfg_ini->fEnableTDLSImplicitTrigger) { pHddCtx->tdls_mode = eTDLS_SUPPORT_EXPLICIT_TRIGGER_ONLY; - hddLog(VOS_TRACE_LEVEL_ERROR, "%s TDLS Implicit trigger not enabled!", __func__); + hddLog(VOS_TRACE_LEVEL_INFO, "%s TDLS Implicit trigger not enabled!", __func__); } else if (TRUE == pHddCtx->cfg_ini->fTDLSExternalControl) { pHddCtx->tdls_mode = eTDLS_SUPPORT_EXTERNAL_CONTROL; } else { @@ -779,7 +779,7 @@ void wlan_hdd_tdls_exit(hdd_adapter_t *pAdapter) } if (!test_bit(TDLS_INIT_DONE, &pAdapter->event_flags)) { - hddLog(LOGE, FL("TDLS init was not done, exit")); + hddLog(LOG1, FL("TDLS init was not done, exit")); return; } @@ -2177,7 +2177,7 @@ void wlan_hdd_tdls_disconnection_callback(hdd_adapter_t *pAdapter) if (NULL == pHddTdlsCtx) { mutex_unlock(&pHddCtx->tdls_lock); - VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, + VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, FL("pHddTdlsCtx is NULL")); return; } @@ -2347,7 +2347,7 @@ static hddTdlsPeer_t *wlan_hdd_tdls_find_progress_peer(hdd_adapter_t *pAdapter, if (NULL == pHddTdlsCtx) { - VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, + VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, FL("pHddTdlsCtx is NULL")); return NULL; } @@ -2418,7 +2418,7 @@ void wlan_hdd_tdls_implicit_send_discovery_request(tdlsCtx_t * pHddTdlsCtx) if (NULL == pHddTdlsCtx) { - VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, + VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, FL("pHddTdlsCtx is NULL")); return; } diff --git a/CORE/SME/src/QoS/sme_Qos.c b/CORE/SME/src/QoS/sme_Qos.c index 63e1ecf9463d..7cc0181d7ba8 100644 --- a/CORE/SME/src/QoS/sme_Qos.c +++ b/CORE/SME/src/QoS/sme_Qos.c @@ -7782,7 +7782,7 @@ void sme_QosPmcDeviceStateUpdateInd(void *callbackContext, tPmcState pmcState) break; default: status = eHAL_STATUS_SUCCESS; - VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_ERROR, + VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO, "%s: %d: nothing to process in PMC state %s (%d)", __func__, __LINE__, sme_PmcStatetoString(pmcState), pmcState); diff --git a/CORE/SME/src/pmc/pmc.c b/CORE/SME/src/pmc/pmc.c index 6a0ae87af7ca..4b99b5dd91d7 100644 --- a/CORE/SME/src/pmc/pmc.c +++ b/CORE/SME/src/pmc/pmc.c @@ -2516,7 +2516,8 @@ eHalStatus pmcEnterBmpsCheck( tpAniSirGlobal pMac ) /* Check that we are associated with a single active session. */ if (!pmcValidateConnectState( pMac )) { - pmcLog(pMac, LOGE, "PMC: STA not associated with an AP with single active session. BMPS cannot be entered"); + pmcLog(pMac, VOS_TRACE_LEVEL_INFO, + "PMC: STA not associated with an AP with single active session. BMPS cannot be entered"); return eHAL_STATUS_FAILURE; } diff --git a/CORE/SME/src/sme_common/sme_Api.c b/CORE/SME/src/sme_common/sme_Api.c index f94fcdb125fb..1e7705c02715 100644 --- a/CORE/SME/src/sme_common/sme_Api.c +++ b/CORE/SME/src/sme_common/sme_Api.c @@ -15377,7 +15377,7 @@ VOS_STATUS sme_UpdateDSCPtoUPMapping( tHalHandle hHal, } if (!pSession->QosMapSet.present) { - VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_WARN, + VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO, FL("QOS Mapping IE not present")); sme_ReleaseGlobalLock( &pMac->sme); return eHAL_STATUS_FAILURE; diff --git a/CORE/SVC/src/logging/wlan_logging_sock_svc.c b/CORE/SVC/src/logging/wlan_logging_sock_svc.c index 08ef067eef73..b458e17fc629 100644 --- a/CORE/SVC/src/logging/wlan_logging_sock_svc.c +++ b/CORE/SVC/src/logging/wlan_logging_sock_svc.c @@ -761,7 +761,6 @@ static int wlan_logging_thread(void *Arg) } if (gwlan_logging.exit) { - pr_err("%s: Exiting the thread\n", __func__); break; } @@ -815,7 +814,6 @@ static int wlan_logging_thread(void *Arg) } } - pr_info("%s: Terminating\n", __func__); complete_and_exit(&gwlan_logging.shutdown_comp, 0); @@ -878,8 +876,6 @@ int wlan_logging_sock_activate_svc(int log_fe_to_console, int num_buf) int i, j, pkt_stats_size; unsigned long irq_flag; - pr_info("%s: Initalizing FEConsoleLog = %d NumBuff = %d\n", - __func__, log_fe_to_console, num_buf); gapp_pid = INVALID_PID; @@ -967,7 +963,6 @@ int wlan_logging_sock_activate_svc(int log_fe_to_console, int num_buf) nl_srv_register(ANI_NL_MSG_LOG, wlan_logging_proc_sock_rx_msg); - pr_info("%s: Activated wlan_logging svc\n", __func__); return 0; err3: @@ -1030,7 +1025,6 @@ int wlan_logging_sock_deactivate_svc(void) vfree(gpkt_stats_buffers); gpkt_stats_buffers = NULL; - pr_info("%s: Deactivate wlan_logging svc\n", __func__); return 0; } diff --git a/CORE/SVC/src/ptt/wlan_ptt_sock_svc.c b/CORE/SVC/src/ptt/wlan_ptt_sock_svc.c index 1338b8f82d81..a96db5833efb 100644 --- a/CORE/SVC/src/ptt/wlan_ptt_sock_svc.c +++ b/CORE/SVC/src/ptt/wlan_ptt_sock_svc.c @@ -135,7 +135,7 @@ static void ptt_sock_proc_reg_req(tAniHdr *wmsg, int radio) if (ptt_sock_send_msg_to_app((tAniHdr *)&rspmsg.wniHdr, radio, ANI_NL_MSG_PUMAC, reg_req->pid) < 0) { - PTT_TRACE(VOS_TRACE_LEVEL_ERROR, "%s: Error sending ANI_MSG_APP_REG_RSP to pid[%d]\n", + PTT_TRACE(VOS_TRACE_LEVEL_INFO, "%s: Error sending ANI_MSG_APP_REG_RSP to pid[%d]\n", __func__, reg_req->pid); } } |
