aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf_ul.cpp
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-07-09 16:37:16 +0200
committerOliver Smith <osmith@sysmocom.de>2021-08-11 13:42:30 +0200
commitd3c75913049cf4d328b322beb532b4adbb302f83 (patch)
treeffa990802bbe71782085d9e8bbc27caaed146f79 /src/tbf_ul.cpp
parent4df959d3055b5d481a9922be85e54bba1b29b7d8 (diff)
Add counters: pcu.bts.N.pch.requests.timeout
Implement T3113 for paging over PCH with default value of 7s (same as T3113 in OsmoBSC). Increase the new counter on timeout. Related: SYS#4878 Change-Id: I97475c3dbe2cf00b9cbfec39e93a3c65cb7f749f
Diffstat (limited to 'src/tbf_ul.cpp')
-rw-r--r--src/tbf_ul.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tbf_ul.cpp b/src/tbf_ul.cpp
index b5f9f01d..5ca02d95 100644
--- a/src/tbf_ul.cpp
+++ b/src/tbf_ul.cpp
@@ -20,6 +20,7 @@
*/
#include <bts.h>
+#include <bts_pch_timer.h>
#include <tbf.h>
#include <tbf_ul.h>
#include <rlc.h>
@@ -494,6 +495,7 @@ int gprs_rlcmac_ul_tbf::rcv_data_block_acknowledged(
"Decoded premier TLLI=0x%08x of UL DATA TFI=%d.\n",
new_tlli, rlc->tfi);
update_ms(new_tlli, GPRS_RLCMAC_UL_TBF);
+ bts_pch_timer_stop(bts, ms_imsi(ms()));
} else if (new_tlli != GSM_RESERVED_TMSI && new_tlli != tlli()) {
LOGPTBFUL(this, LOGL_NOTICE,
"Decoded TLLI=%08x mismatch on UL DATA TFI=%d. (Ignoring due to contention resolution)\n",