lynxis lazus has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40651?usp=email )


Change subject: BSSGP_ConnHdlr: f_service_request: allow to define if a Service 
Accept is expect
......................................................................

BSSGP_ConnHdlr: f_service_request: allow to define if a Service Accept is expect

A SecurityModeCommand is defined as an implicit Service Accept when the UE
is in PMM_IDLE (meaning, having no Iu signalling connection)

Change-Id: I5c190db28263c530a8eea188bf570a58eaffdd4d
---
M sgsn/BSSGP_ConnHdlr.ttcn
M sgsn/SGSN_Tests_Iu.ttcn
2 files changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/51/40651/1

diff --git a/sgsn/BSSGP_ConnHdlr.ttcn b/sgsn/BSSGP_ConnHdlr.ttcn
index 1b2e5a0..8d9ba5b 100644
--- a/sgsn/BSSGP_ConnHdlr.ttcn
+++ b/sgsn/BSSGP_ConnHdlr.ttcn
@@ -757,6 +757,7 @@
                           template (value) OCT2 pdp_status := '0000'O,
                           boolean exp_ggsn_pdp_del := false,
                           boolean expect_auth := false,
+                          boolean expect_service_acc := true,
                           integer ran_index := 0,
                           float Tval := 5.0) runs on BSSGP_ConnHdlr {
        timer T := Tval;
diff --git a/sgsn/SGSN_Tests_Iu.ttcn b/sgsn/SGSN_Tests_Iu.ttcn
index 318762e..e39ae26 100644
--- a/sgsn/SGSN_Tests_Iu.ttcn
+++ b/sgsn/SGSN_Tests_Iu.ttcn
@@ -137,7 +137,7 @@
        /* first perform regular attach */
        f_gmm_attach(umts_aka_challenge := true, force_gsm_sres := false, 
ran_index := 3);

-       f_service_request(apars, service_type := SERVICE_TYPE_Data, ran_index 
:= 3);
+       f_service_request(apars, service_type := SERVICE_TYPE_Data, 
expect_service_acc := false, ran_index := 3);

        f_pdp_ctx_act(apars, ran_index := 3);


--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40651?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: I5c190db28263c530a8eea188bf570a58eaffdd4d
Gerrit-Change-Number: 40651
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <[email protected]>

Reply via email to