summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens2025-02-06 17:28:27 +0000
committerDavid Bauer2025-05-31 20:41:00 +0000
commit62402025464b05e239527cd480276d9f44016edf (patch)
treee8cb2ff40b6aa09076cf2505771b45c15b5cba51
parent488194a04db8b059358fbb6f55ed294ed0fc1471 (diff)
downloaduqmi-62402025464b05e239527cd480276d9f44016edf.tar.gz
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 <lynxis@fe80.eu>
-rw-r--r--uqmid/osmocom/fsm.h2
1 files changed, 2 insertions, 0 deletions
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;