aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-27 09:50:15 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:12 +0100
commit158776411b13cdda080dd3b72296fb97a0141d64 (patch)
treecbc1d6db8d95883b95efc62d84908d5ba86ae0b9 /src/bts.cpp
parentf537298ccad65dfb64076c5a68895eb93743c432 (diff)
bts: Provide the first set of counters
Diffstat (limited to 'src/bts.cpp')
-rw-r--r--src/bts.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bts.cpp b/src/bts.cpp
index 29e5834..39c1fd5 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -664,6 +664,7 @@ int gprs_rlcmac_pdch::rcv_data_block_acknowledged(uint8_t *data, uint8_t len, in
case 23:
break;
default:
+ bts()->decode_error();
LOGP(DRLCMACUL, LOGL_ERROR, "Dropping data block with invalid"
"length: %d)\n", len);
return -EINVAL;
@@ -696,6 +697,7 @@ int gprs_rlcmac_pdch::rcv_data_block_acknowledged(uint8_t *data, uint8_t len, in
}
rc = Decoding::tlli_from_ul_data(data, len, &tbf->tlli);
if (rc) {
+ bts()->decode_error();
LOGP(DRLCMACUL, LOGL_NOTICE, "Failed to decode TLLI "
"of UL DATA TBF=%d.\n", rh->tfi);
return 0;
@@ -1101,6 +1103,7 @@ int gprs_rlcmac_pdch::rcv_control_block(
gprs_rlcmac_meas_rep(&ul_control_block->u.Packet_Measurement_Report);
break;
default:
+ bts()->decode_error();
LOGP(DRLCMAC, LOGL_NOTICE, "RX: [PCU <- BTS] unknown control block received\n");
}
talloc_free(ul_control_block);