diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-27 13:35:46 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-30 21:24:13 +0100 |
commit | 875fc895a80f485729a4be075c8b620b3cd52d47 (patch) | |
tree | 6811c513088e340168ef00650bc12e29ed21da1b /src | |
parent | e1a075ab59299fb74ea563a05b7a677809fe5980 (diff) |
bts: Further logging improvements for TFI/TLLI output
Diffstat (limited to 'src')
-rw-r--r-- | src/bts.cpp | 3 | ||||
-rw-r--r-- | src/tbf.cpp | 4 |
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: |