diff options
| author | Anurag Chouhan <achouhan@codeaurora.org> | 2016-09-03 16:21:50 +0530 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-09-10 19:06:06 -0700 |
| commit | 05d124f8cb8d8b6f67178efef511482bb481da51 (patch) | |
| tree | abbadb163289ef686ee963141258b0ee3e77e2ff /core | |
| parent | 1a77236aa515a8cbbaa7ade7410cb1597b5fd113 (diff) | |
qcacld-3.0: Logging level changes on wlan HOST
qcacld-2.0 to qcacld-3.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
(cherry picked from commit 06c7d1b4aa89fb5c25241cec0558d559ee93b683)
Diffstat (limited to 'core')
| -rw-r--r-- | core/hdd/src/wlan_hdd_tdls.c | 13 | ||||
| -rw-r--r-- | core/sme/src/common/sme_api.c | 3 | ||||
| -rw-r--r-- | core/utils/logging/src/wlan_logging_sock_svc.c | 13 | ||||
| -rw-r--r-- | core/utils/ptt/src/wlan_ptt_sock_svc.c | 2 |
4 files changed, 9 insertions, 22 deletions
diff --git a/core/hdd/src/wlan_hdd_tdls.c b/core/hdd/src/wlan_hdd_tdls.c index c44ef12a68a8..d8f7a01053d4 100644 --- a/core/hdd/src/wlan_hdd_tdls.c +++ b/core/hdd/src/wlan_hdd_tdls.c @@ -472,8 +472,7 @@ static void wlan_hdd_tdls_free_list(tdlsCtx_t *pHddTdlsCtx) struct list_head *pos, *q; if (NULL == pHddTdlsCtx) { - QDF_TRACE(QDF_MODULE_ID_HDD, QDF_TRACE_LEVEL_ERROR, - FL("pHddTdlsCtx is NULL")); + hdd_notice("pHddTdlsCtx is NULL"); return; } for (i = 0; i < TDLS_PEER_LIST_SIZE; i++) { @@ -814,7 +813,7 @@ int wlan_hdd_tdls_init(hdd_adapter_t *pAdapter) if (false == pHddCtx->config->fEnableTDLSImplicitTrigger) { pHddCtx->tdls_mode = eTDLS_SUPPORT_EXPLICIT_TRIGGER_ONLY; - hdd_err("TDLS Implicit trigger not enabled!"); + hdd_notice("TDLS Implicit trigger not enabled!"); } else if (true == pHddCtx->config->fTDLSExternalControl) { pHddCtx->tdls_mode = eTDLS_SUPPORT_EXTERNAL_CONTROL; } else { @@ -855,7 +854,7 @@ void wlan_hdd_tdls_exit(hdd_adapter_t *pAdapter) } if (!test_bit(TDLS_INIT_DONE, &pAdapter->event_flags)) { - hdd_err("TDLS init was not done, exit"); + hdd_info("TDLS init was not done, exit"); return; } @@ -2371,8 +2370,7 @@ void wlan_hdd_tdls_disconnection_callback(hdd_adapter_t *pAdapter) pHddTdlsCtx = WLAN_HDD_GET_TDLS_CTX_PTR(pAdapter); if (NULL == pHddTdlsCtx) { mutex_unlock(&pHddCtx->tdls_lock); - QDF_TRACE(QDF_MODULE_ID_HDD, QDF_TRACE_LEVEL_ERROR, - FL("pHddTdlsCtx is NULL")); + hdd_notice("pHddTdlsCtx is NULL"); return; } pHddTdlsCtx->discovery_sent_cnt = 0; @@ -2500,8 +2498,7 @@ static hddTdlsPeer_t *wlan_hdd_tdls_find_progress_peer(hdd_adapter_t *pAdapter, tdlsCtx_t *pHddTdlsCtx = WLAN_HDD_GET_TDLS_CTX_PTR(pAdapter);; if (NULL == pHddTdlsCtx) { - QDF_TRACE(QDF_MODULE_ID_HDD, QDF_TRACE_LEVEL_ERROR, - FL("pHddTdlsCtx is NULL")); + hdd_notice("pHddTdlsCtx is NULL"); return NULL; } diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 72b64cc54057..280db8500256 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -12958,8 +12958,7 @@ QDF_STATUS sme_update_dsc_pto_up_mapping(tHalHandle hHal, } if (!pSession->QosMapSet.present) { - QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_WARN, - FL("QOS Mapping IE not present")); + hdd_notice("QOS Mapping IE not present"); sme_release_global_lock(&pMac->sme); return QDF_STATUS_E_FAILURE; } diff --git a/core/utils/logging/src/wlan_logging_sock_svc.c b/core/utils/logging/src/wlan_logging_sock_svc.c index 810416d76666..d730138fdd25 100644 --- a/core/utils/logging/src/wlan_logging_sock_svc.c +++ b/core/utils/logging/src/wlan_logging_sock_svc.c @@ -570,10 +570,9 @@ static int wlan_logging_thread(void *Arg) break; } - if (gwlan_logging.exit) { - pr_err("%s: Exiting the thread\n", __func__); + if (gwlan_logging.exit) break; - } + if (test_and_clear_bit(HOST_LOG_DRIVER_MSG, &gwlan_logging.eventFlag)) { @@ -623,8 +622,6 @@ static int wlan_logging_thread(void *Arg) } } - pr_info("%s: Terminating\n", __func__); - complete_and_exit(&gwlan_logging.shutdown_comp, 0); return 0; @@ -685,9 +682,6 @@ int wlan_logging_sock_activate_svc(int log_fe_to_console, int num_buf) int i = 0; unsigned long irq_flag; - pr_info("%s: Initalizing FEConsoleLog = %d NumBuff = %d\n", - __func__, log_fe_to_console, num_buf); - gapp_pid = INVALID_PID; gplog_msg = (struct log_msg *)vmalloc(num_buf * sizeof(struct log_msg)); @@ -738,7 +732,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; } @@ -770,8 +763,6 @@ int wlan_logging_sock_deactivate_svc(void) vfree(gplog_msg); gplog_msg = NULL; - pr_info("%s: Deactivate wlan_logging svc\n", __func__); - return 0; } diff --git a/core/utils/ptt/src/wlan_ptt_sock_svc.c b/core/utils/ptt/src/wlan_ptt_sock_svc.c index 75dd66f5d7ae..3370ad22758c 100644 --- a/core/utils/ptt/src/wlan_ptt_sock_svc.c +++ b/core/utils/ptt/src/wlan_ptt_sock_svc.c @@ -152,7 +152,7 @@ static void ptt_sock_proc_reg_req(tAniHdr *wmsg, int radio) rspmsg.wniHdr.length = cpu_to_be16(sizeof(rspmsg)); if (ptt_sock_send_msg_to_app((tAniHdr *) &rspmsg.wniHdr, radio, ANI_NL_MSG_PUMAC, ptt_pid) < 0) { - PTT_TRACE(QDF_TRACE_LEVEL_ERROR, + PTT_TRACE(QDF_TRACE_LEVEL_INFO, "%s: Error sending ANI_MSG_APP_REG_RSP to pid[%d]\n", __func__, ptt_pid); } |
