pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38582?usp=email )
Change subject: hnbgw: Send meaningful RANAP messages in f_tc_ranap_mo_disconnect()
......................................................................
hnbgw: Send meaningful RANAP messages in f_tc_ranap_mo_disconnect()
Fix the code to send the messages that were fore sure intended, whre an
MO disconnect is triggered.
This allows attaching more to reality, plus making it easier to follow
up the test in wireshark and in the code.
Change-Id: I9a2bb35d58c6cdda312638103ef5c3c2f5661e62
---
M hnbgw/HNBGW_Tests.ttcn
1 file changed, 6 insertions(+), 7 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/82/38582/1
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn
index 2328733..3eb8fb9 100644
--- a/hnbgw/HNBGW_Tests.ttcn
+++ b/hnbgw/HNBGW_Tests.ttcn
@@ -1264,15 +1264,14 @@
private function f_tc_ranap_mo_disconnect(charstring id) runs on ConnHdlr {
- /* HNB -> MSC: InitialUE */
+ /* HNB->MSC: InitialUE */
f_iuh2iu_connect(f_build_initial_ue(g_pars));
- /* MSC <- HNB: DirectTransfer */
- f_iu2iuh(ts_RANAP_DirectTransfer(f_rnd_octstring(10)));
- /* MSC -> HNB: DirectTransfer */
- f_iuh2iu(ts_RANAP_DirectTransfer(f_rnd_octstring(10)));
-
- /* MSC <- HNB: RUA disconnect */
+ /* HNB->MSC: Request CN to start Iu-Release procedure: */
+ f_iuh2iu(ts_RANAP_IuReleaseRequest(ts_RanapCause_radio_conn_release));
+ /* HNB<-MSC: CN starts Iu-Release procedure: */
+ f_iu2iuh(ts_RANAP_IuReleaseCommand(ts_RanapCause_radio_conn_release));
+ /* HNB->MSC: RUA disconnect */
f_iuh2iu_disconnect(ts_RANAP_IuReleaseComplete,
RUA_IEs.Cause:{misc:=processing_overload});
}
testcase TC_ranap_cs_mo_disconnect() runs on test_CT {
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38582?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I9a2bb35d58c6cdda312638103ef5c3c2f5661e62
Gerrit-Change-Number: 38582
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>