aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/lchan_rtp_fsm.c
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-04-09 11:22:24 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2020-09-17 16:58:58 +0200
commit469c4f05912b6310da82f03373dd712e47b1d408 (patch)
tree6857379665237c6ead675180f0883425e8a18869 /src/osmo-bsc/lchan_rtp_fsm.c
parentaad766846cae50681dd6e52038992a7f48698c3c (diff)
lchan_fsm, lchan_rtp_fsm: make all timers configurableneels/timers
Choose saner timer numbers before exposing to the user config. Related: SYS#4897 Change-Id: I637fcdde93c11158de46157d494c060bb36bdcfb
Diffstat (limited to 'src/osmo-bsc/lchan_rtp_fsm.c')
-rw-r--r--src/osmo-bsc/lchan_rtp_fsm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/osmo-bsc/lchan_rtp_fsm.c b/src/osmo-bsc/lchan_rtp_fsm.c
index 5de296707..cd195d021 100644
--- a/src/osmo-bsc/lchan_rtp_fsm.c
+++ b/src/osmo-bsc/lchan_rtp_fsm.c
@@ -43,10 +43,10 @@ struct gsm_lchan *lchan_rtp_fi_lchan(struct osmo_fsm_inst *fi)
}
struct osmo_tdef_state_timeout lchan_rtp_fsm_timeouts[32] = {
- [LCHAN_RTP_ST_WAIT_MGW_ENDPOINT_AVAILABLE] = { .T=-23004 },
- [LCHAN_RTP_ST_WAIT_IPACC_CRCX_ACK] = { .T=-23005 },
- [LCHAN_RTP_ST_WAIT_IPACC_MDCX_ACK] = { .T=-23006 },
- [LCHAN_RTP_ST_WAIT_MGW_ENDPOINT_CONFIGURED] = { .T=-23004 },
+ [LCHAN_RTP_ST_WAIT_MGW_ENDPOINT_AVAILABLE] = { .T=-9 },
+ [LCHAN_RTP_ST_WAIT_IPACC_CRCX_ACK] = { .T=-7 },
+ [LCHAN_RTP_ST_WAIT_IPACC_MDCX_ACK] = { .T=-8 },
+ [LCHAN_RTP_ST_WAIT_MGW_ENDPOINT_CONFIGURED] = { .T=-10 },
};
/* Transition to a state, using the T timer defined in lchan_rtp_fsm_timeouts.