pespin has uploaded this change for review.

View Change

s1gw: Increase S1AP setup timeout

The existing timer is too tight, specially when running tons of
components concurrently.

Change-Id: I99d554bf0dd0f4c1dbd801663c1801f3725df09f
---
M s1gw/ConnHdlr.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/27/37927/1
diff --git a/s1gw/ConnHdlr.ttcn b/s1gw/ConnHdlr.ttcn
index 408b315..e4cff0c 100644
--- a/s1gw/ConnHdlr.ttcn
+++ b/s1gw/ConnHdlr.ttcn
@@ -167,7 +167,7 @@
}
}

-function f_ConnHdlr_setup(Global_ENB_ID genb_id) runs on ConnHdlr {
+function f_ConnHdlr_setup(Global_ENB_ID genb_id, float Tval := 5.0) runs on ConnHdlr {
var S1AP_PDU pdu;
timer T;

@@ -182,7 +182,7 @@
f_ConnHdlr_tx_s1ap_from_enb(ts_S1AP_SetupReq(genb_id,
supported_tas_dummy,
v32));
- T.start(1.0);
+ T.start(Tval);
alt {
[] S1AP_CONN.receive(S1APSRV_Event:S1APSRV_EVENT_CONN_UP) { repeat; }
[] S1AP_CONN.receive(tr_S1AP_SetupReq) {

To view, visit change 37927. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I99d554bf0dd0f4c1dbd801663c1801f3725df09f
Gerrit-Change-Number: 37927
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>