summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGovind Singh <govinds@qti.qualcomm.com>2016-04-29 22:01:25 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-05-02 12:29:44 +0530
commitb808346e8207e6d414cb94aaa421b7d445953aab (patch)
treeb379d8da316f541ca261725efc225fecacfbb7bd
parent437bf7ee4f33fda6f828335543aef9204120cc74 (diff)
qcacld-2.0: Log IPA handle during ipa pipe connect/disconnect
Log IPA client handle to detect ipa client handle corruption during wdi connect/disconnect. Change-Id: I0ea2a3afdf9792ef118aafd68dfa4a99eca81eee CRs-Fixed: 1010176
-rw-r--r--CORE/HDD/src/wlan_hdd_ipa.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/CORE/HDD/src/wlan_hdd_ipa.c b/CORE/HDD/src/wlan_hdd_ipa.c
index 68eea3587933..bace00000884 100644
--- a/CORE/HDD/src/wlan_hdd_ipa.c
+++ b/CORE/HDD/src/wlan_hdd_ipa.c
@@ -2052,8 +2052,9 @@ static VOS_STATUS hdd_ipa_uc_ol_init(hdd_context_t *hdd_ctx)
ipa_connect_wdi_pipe(&ipa_ctxt->cons_pipe_in, &pipe_out);
/* Micro Controller Doorbell register */
HDD_IPA_LOG(VOS_TRACE_LEVEL_ERROR,
- "%s CONS DB pipe out 0x%x",
- __func__, (unsigned int)pipe_out.uc_door_bell_pa);
+ "%s CONS DB pipe out 0x%x TX PIPE Handle 0x%x",
+ __func__, (unsigned int)pipe_out.uc_door_bell_pa,
+ ipa_ctxt->tx_pipe_handle);
hdd_ctx->tx_comp_doorbell_paddr = (v_U32_t)pipe_out.uc_door_bell_pa;
/* WLAN TX PIPE Handle */
@@ -5039,10 +5040,12 @@ VOS_STATUS hdd_ipa_cleanup(hdd_context_t *hdd_ctx)
hdd_ipa_uc_rt_debug_deinit(hdd_ctx);
if (VOS_TRUE == hdd_ipa->uc_loaded) {
HDD_IPA_LOG(VOS_TRACE_LEVEL_INFO,
- "%s: Disconnect TX PIPE", __func__);
+ "%s: Disconnect TX PIPE tx_pipe_handle=0x%x",
+ __func__, hdd_ipa->tx_pipe_handle);
ipa_disconnect_wdi_pipe(hdd_ipa->tx_pipe_handle);
HDD_IPA_LOG(VOS_TRACE_LEVEL_INFO,
- "%s: Disconnect RX PIPE", __func__);
+ "%s: Disconnect RX PIPE rx_pipe_handle=0x%x",
+ __func__, hdd_ipa->rx_pipe_handle);
ipa_disconnect_wdi_pipe(hdd_ipa->rx_pipe_handle);
}
vos_lock_destroy(&hdd_ipa->event_lock);