tbf: Add Poll Timeout counters
This commits adds three poll timeout counters
- RLC Assign Timeout
- RLC Ack Timeout
- RLC Release Timeout
to help diagnosing to cause for these events. There seems to be an
increased rate of these when a PDCH is shared by multiple TBFs.
Sponsored-by: On-Waves ehf
diff --git a/src/bts.h b/src/bts.h
index 093a8e3..79640af 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -202,6 +202,9 @@
CTR_RLC_RESTARTED,
CTR_RLC_STALLED,
CTR_RLC_NACKED,
+ CTR_RLC_ASS_TIMEDOUT,
+ CTR_RLC_ACK_TIMEDOUT,
+ CTR_RLC_REL_TIMEDOUT,
CTR_DECODE_ERRORS,
CTR_SBA_ALLOCATED,
CTR_SBA_FREED,
@@ -261,6 +264,9 @@
void rlc_restarted();
void rlc_stalled();
void rlc_nacked();
+ void rlc_ass_timedout();
+ void rlc_ack_timedout();
+ void rlc_rel_timedout();
void decode_error();
void sba_allocated();
void sba_freed();
@@ -347,6 +353,9 @@
CREATE_COUNT_INLINE(rlc_restarted, CTR_RLC_RESTARTED)
CREATE_COUNT_INLINE(rlc_stalled, CTR_RLC_STALLED)
CREATE_COUNT_INLINE(rlc_nacked, CTR_RLC_NACKED)
+CREATE_COUNT_INLINE(rlc_ass_timedout, CTR_RLC_ASS_TIMEDOUT);
+CREATE_COUNT_INLINE(rlc_ack_timedout, CTR_RLC_ACK_TIMEDOUT);
+CREATE_COUNT_INLINE(rlc_rel_timedout, CTR_RLC_REL_TIMEDOUT);
CREATE_COUNT_INLINE(decode_error, CTR_DECODE_ERRORS)
CREATE_COUNT_INLINE(sba_allocated, CTR_SBA_ALLOCATED)
CREATE_COUNT_INLINE(sba_freed, CTR_SBA_FREED)