From 62402025464b05e239527cd480276d9f44016edf Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Thu, 6 Feb 2025 18:28:27 +0100 Subject: [PATCH] uqmid: osmocom/fsm: add member N The N variable counts how often a timer timed out. It is used in many 3gpp specs to trigger a failure case when 3x times the timer timed out. Signed-off-by: Alexander Couzens --- uqmid/osmocom/fsm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uqmid/osmocom/fsm.h b/uqmid/osmocom/fsm.h index a4ca562..2fcdb86 100644 --- a/uqmid/osmocom/fsm.h +++ b/uqmid/osmocom/fsm.h @@ -102,6 +102,8 @@ struct osmo_fsm_inst { /*! timer number for states with time-out */ int T; + /*! number for time the timer timed out */ + int N; /*! timer back-end for states with time-out */ struct osmo_timer_list timer; -- 2.30.2