aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-27 19:13:11 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-27 19:21:58 +0100
commitb1d71d42679d0ffad3859ceaeead3a2b49208fbb (patch)
treea274bdcc8d6904fd7af477ceb0acb70651fe91c0
parent8effcb747d0cc7d8e9474f85882ef7224d91a707 (diff)
bsc: Reduce the RLL timeout to be smaller than TC1/max_retr+1
Sylvain pointed out that the RLL and the SMC timeout is the same. This can lead to have a SMC re-transmission before the first RLL Establish Request has timed out. Reduce the RLL timeout. GSM 08.58 does not specify a timeout so right now I just reduce it to seven seconds.
-rw-r--r--openbsc/src/libbsc/bsc_rll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/bsc_rll.c b/openbsc/src/libbsc/bsc_rll.c
index d12aeeec9..f2b65ca7a 100644
--- a/openbsc/src/libbsc/bsc_rll.c
+++ b/openbsc/src/libbsc/bsc_rll.c
@@ -92,7 +92,7 @@ int rll_establish(struct gsm_lchan *lchan, uint8_t sapi,
rllr->timer.cb = &timer_cb;
rllr->timer.data = rllr;
- osmo_timer_schedule(&rllr->timer, 10, 0);
+ osmo_timer_schedule(&rllr->timer, 7, 0);
/* send the RSL RLL ESTablish REQuest */
return rsl_establish_request(rllr->lchan, rllr->link_id);