aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-09-07 14:04:56 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-09-07 14:10:35 +0200
commit7c8d39a67b7568cda38829c774ea541250f3142f (patch)
tree43995001059bb0514c33c04b2e97a82352cf0639 /src/bts.h
parentc8cbfc2c9800929a46ffa71e3bd0f34aa9b42f33 (diff)
poll: Count failed procedures
When a timeout has occured several times, the procedures handled by poll_timeout are aborted. This happens when the number of repetitions exceed N3105. Currently only the timeouts themselves are counted. This commits adds counters that are incremented if a procedure has really failed. New counter: - rlc.ass.failed: Count failing UL and DL assigments via PACCH - rlc.ack.failed: Count failing DL Ack/Nack requests Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/bts.h')
-rw-r--r--src/bts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bts.h b/src/bts.h
index eee62a7..4129483 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -218,7 +218,9 @@ public:
CTR_RLC_STALLED,
CTR_RLC_NACKED,
CTR_RLC_ASS_TIMEDOUT,
+ CTR_RLC_ASS_FAILED,
CTR_RLC_ACK_TIMEDOUT,
+ CTR_RLC_ACK_FAILED,
CTR_RLC_REL_TIMEDOUT,
CTR_RLC_LATE_BLOCK,
CTR_DECODE_ERRORS,
@@ -285,7 +287,9 @@ public:
void rlc_stalled();
void rlc_nacked();
void rlc_ass_timedout();
+ void rlc_ass_failed();
void rlc_ack_timedout();
+ void rlc_ack_failed();
void rlc_rel_timedout();
void rlc_late_block();
void decode_error();
@@ -393,7 +397,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_ass_failed, CTR_RLC_ASS_FAILED);
CREATE_COUNT_INLINE(rlc_ack_timedout, CTR_RLC_ACK_TIMEDOUT);
+CREATE_COUNT_INLINE(rlc_ack_failed, CTR_RLC_ACK_FAILED);
CREATE_COUNT_INLINE(rlc_rel_timedout, CTR_RLC_REL_TIMEDOUT);
CREATE_COUNT_INLINE(rlc_late_block, CTR_RLC_LATE_BLOCK);
CREATE_COUNT_INLINE(decode_error, CTR_DECODE_ERRORS)