pespin has uploaded this change for review.

View Change

hnbgw: Rename RAB helper functions to be CS specific

Change-Id: If8a97fe847083e95a480006d147ff59be695b713
---
M hnbgw/ConnHdlr.ttcn
M hnbgw/HNBGW_Tests.ttcn
2 files changed, 10 insertions(+), 10 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/87/38587/1
diff --git a/hnbgw/ConnHdlr.ttcn b/hnbgw/ConnHdlr.ttcn
index d89123e..b43bedb 100644
--- a/hnbgw/ConnHdlr.ttcn
+++ b/hnbgw/ConnHdlr.ttcn
@@ -566,7 +566,7 @@
return mgcp_resp;
}

-function f_rab_ass_req(inout MgcpParameters pars) runs on ConnHdlr {
+function f_rab_ass_req_cs(inout MgcpParameters pars) runs on ConnHdlr {
var MgcpCommand mgcp_cmd;
var RANAP_PDU tx;
var template RAB_SetupOrModifyList rab_sml;
@@ -598,7 +598,7 @@
f_rua_expect(tx);
}

-friend function f_rab_ass_resp(inout MgcpParameters pars) runs on ConnHdlr {
+friend function f_rab_ass_resp_cs(inout MgcpParameters pars) runs on ConnHdlr {
var MgcpCommand mgcp_cmd;
var RANAP_PDU tx;
var template RAB_SetupOrModifiedList rab_smdl;
@@ -660,9 +660,9 @@
f_bssap_expect(tx);
}

-function f_create_rab(inout MgcpParameters pars) runs on ConnHdlr {
- f_rab_ass_req(pars);
- f_rab_ass_resp(pars);
+function f_create_rab_cs(inout MgcpParameters pars) runs on ConnHdlr {
+ f_rab_ass_req_cs(pars);
+ f_rab_ass_resp_cs(pars);
}

altstep as_mgcp_dlcx() runs on ConnHdlr {
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn
index 44f0e43..8b883ee 100644
--- a/hnbgw/HNBGW_Tests.ttcn
+++ b/hnbgw/HNBGW_Tests.ttcn
@@ -992,7 +992,7 @@
};
f_statsd_expect(expect);

- f_create_rab(g_pars.mgcp_pars);
+ f_create_rab_cs(g_pars.mgcp_pars);

expect := {
{name := hnb0_ctr_prefix & "ranap.cs.rab_act.req", mtype := "c", min := 1, max := 1},
@@ -1050,7 +1050,7 @@
};
f_statsd_expect(expect);

- f_rab_ass_req(g_pars.mgcp_pars);
+ f_rab_ass_req_cs(g_pars.mgcp_pars);

/* Send RAB failed list in response */
tx := valueof(ts_RANAP_RabAssResp(rab_fl := ts_RAB_FL(t_RAB_id(23), g_pars.rab_rel_cause)));
@@ -1098,7 +1098,7 @@
tx := f_build_initial_ue(g_pars);
f_iuh2iu_connect(tx);

- f_create_rab(g_pars.mgcp_pars);
+ f_create_rab_cs(g_pars.mgcp_pars);

var charstring ctr_name;
if (g_pars.rab_rel_cause == valueof(ts_RanapCause_nas_normal)) {
@@ -1338,7 +1338,7 @@
tx := f_build_initial_ue(g_pars);
f_iuh2iu_connect(tx);

- f_create_rab(g_pars.mgcp_pars);
+ f_create_rab_cs(g_pars.mgcp_pars);

RUA.send(ts_RANAP_IuReleaseRequest(ts_RanapCause_radio_rab_preempted));
BSSAP.receive(tr_RANAP_IuReleaseRequest(ts_RanapCause_radio_rab_preempted));
@@ -2389,7 +2389,7 @@
tx := f_build_initial_ue(g_pars);
f_iuh2iu_connect(tx);

- f_create_rab(g_pars.mgcp_pars);
+ f_create_rab_cs(g_pars.mgcp_pars);

/* Now send a second RAB Assignment with different subflows and omitting transportLayerInformation. (Assuming
* the first RAB Assignment's transportLayerInformation remains in use unchanged.) */

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

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