From 875fc895a80f485729a4be075c8b620b3cd52d47 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 27 Oct 2013 13:35:46 +0100 Subject: bts: Further logging improvements for TFI/TLLI output --- src/bts.cpp | 3 ++- src/tbf.cpp | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/bts.cpp b/src/bts.cpp index 892ddf1c..d8cfeca8 100644 --- a/src/bts.cpp +++ b/src/bts.cpp @@ -912,9 +912,10 @@ void gprs_rlcmac_pdch::rcv_control_ack(Packet_Control_Acknowledgement_t *packet, if (tbf->direction == GPRS_RLCMAC_UL_TBF) tbf = bts()->tbf_by_tlli(tbf->tlli, GPRS_RLCMAC_DL_TBF); +#warning "TBF is changing on the way... *sigh*" if (!tbf) { LOGP(DRLCMAC, LOGL_ERROR, "Got ACK, but DL " - "TBF is gone\n"); + "TBF is gone TLLI=0x%08x\n", tlli); return; } tbf_new_state(tbf, GPRS_RLCMAC_FLOW); diff --git a/src/tbf.cpp b/src/tbf.cpp index daf437bc..a434c8f9 100644 --- a/src/tbf.cpp +++ b/src/tbf.cpp @@ -664,8 +664,8 @@ void gprs_rlcmac_tbf::handle_timeout() case 3169: case 3191: case 3195: - LOGP(DRLCMAC, LOGL_NOTICE, "TBF TFI=%d T%d timeout during " - "transsmission\n", tfi, T); + LOGP(DRLCMAC, LOGL_NOTICE, "TBF TFI=%d TLLI=0x%08x T%d timeout during " + "transsmission\n", tfi, tlli, T); rlcmac_diag(); /* fall through */ case 3193: -- cgit v1.2.3