projects
/
project
/
uqmi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
488194a
)
uqmid: osmocom/fsm: add member N
author
Alexander Couzens
<
[email protected]
>
Thu, 6 Feb 2025 17:28:27 +0000
(18:28 +0100)
committer
David Bauer
<
[email protected]
>
Sat, 31 May 2025 20:41:00 +0000
(22:41 +0200)
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 <
[email protected]
>
uqmid/osmocom/fsm.h
patch
|
blob
|
history
diff --git
a/uqmid/osmocom/fsm.h
b/uqmid/osmocom/fsm.h
index a4ca562ba8c11a9238cfb491781f21503d466963..2fcdb8637c934b56a6d791bba25ce4ac022cef7d 100644
(file)
--- 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;