aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-27 13:35:46 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:13 +0100
commit875fc895a80f485729a4be075c8b620b3cd52d47 (patch)
tree6811c513088e340168ef00650bc12e29ed21da1b
parente1a075ab59299fb74ea563a05b7a677809fe5980 (diff)
bts: Further logging improvements for TFI/TLLI output
-rw-r--r--src/bts.cpp3
-rw-r--r--src/tbf.cpp4
2 files changed, 4 insertions, 3 deletions
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: