pespin submitted this change.
hnbgw: Send meaningful RANAP messages in f_tc_ranap_mo_disconnect()
Fix the code to send the messages that were fore sure intended, where 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(-)
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn
index 61000c3..8a263d5 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 change 38582. To unsubscribe, or for help writing mail filters, visit settings.