lynxis lazus has uploaded this change for review.

View Change

SGSN: Iu: use correct service request type

When the UE wants to transfer data, the Service Request
must have the type data.

Change-Id: Ia47edd8ca916cf377da875583a3c4eb6ff5f1f52
---
M sgsn/SGSN_Tests_Iu.ttcn
1 file changed, 9 insertions(+), 9 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/49/40649/1
diff --git a/sgsn/SGSN_Tests_Iu.ttcn b/sgsn/SGSN_Tests_Iu.ttcn
index 53a1080..318762e 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, ran_index := 3);
+ f_service_request(apars, service_type := SERVICE_TYPE_Data, ran_index := 3);

f_pdp_ctx_act(apars, ran_index := 3);

@@ -210,7 +210,7 @@

/* first perform regular attach */
f_gmm_attach(umts_aka_challenge := true, force_gsm_sres := false, ran_index := ran_index);
- f_service_request(apars, ran_index := ran_index);
+ f_service_request(apars, service_type := SERVICE_TYPE_Data, ran_index := ran_index);
f_pdp_tx_ctx_act(apars, ran_index := ran_index);
as_ggsn_gtp_ctx_act_req(apars, send_recovery := false);
T.start;
@@ -247,7 +247,7 @@
/* first perform regular attach */
f_gmm_attach(umts_aka_challenge := true, force_gsm_sres := false, ran_index := 3);

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

f_pdp_ctx_act(apars, ran_index := 3);

@@ -283,7 +283,7 @@
/* first perform regular attach */
f_gmm_attach(umts_aka_challenge := true, force_gsm_sres := false, ran_index := 3);

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

f_pdp_ctx_act(apars, ran_index := 3);

@@ -295,7 +295,7 @@
/* Now UE tries to send new data after a while of being IDLE.
* It forgot its previous pdp status, hence := 0000.
* SGSN will delete previous PDP ctx at the GGSN. */
- f_service_request(apars, pdp_status := '0000'O /*NSAPI=5*/, exp_ggsn_pdp_del := true, ran_index := 3);
+ f_service_request(apars, service_type := SERVICE_TYPE_Data, pdp_status := '0000'O /*NSAPI=5*/, exp_ggsn_pdp_del := true, ran_index := 3);
f_pdp_ctx_act(apars, ran_index := 3);

/* Now UE is in PMM ENABLED state, tear it down to clean up: */
@@ -319,7 +319,7 @@
/* first perform regular attach */
f_gmm_attach(umts_aka_challenge := true, force_gsm_sres := false, ran_index := 3);

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

f_pdp_ctx_act(apars, ran_index := 3);

@@ -338,7 +338,7 @@

/* Ue comes back, answering the paging:
* SGSN recreates the Iu ctx and recovers the Direct Tunnel RNC<->GGSN: */
- f_service_request(apars, pdp_status := '2000'O /*NSAPI=5*/, ran_index := 3);
+ f_service_request(apars, service_type := SERVICE_TYPE_Data, pdp_status := '2000'O /*NSAPI=5*/, ran_index := 3);
as_ranap_rab_ass_req(apars);
as_ggsn_gtp_ctx_upd_req(apars, exp_dir_tun := true, ran_index := 3);

@@ -367,7 +367,7 @@
/* first perform regular attach */
f_gmm_attach(umts_aka_challenge := true, force_gsm_sres := false, ran_index := ran_index);

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

f_pdp_ctx_act(apars, ran_index := ran_index);

@@ -399,7 +399,7 @@

/* Ue comes back, answering the paging:
* SGSN recreates the Iu ctx and recovers the Direct Tunnel RNC<->GGSN: */
- f_service_request(apars, pdp_status := '2000'O /*NSAPI=5*/, ran_index := ran_index);
+ f_service_request(apars, service_type := SERVICE_TYPE_Data, pdp_status := '2000'O /*NSAPI=5*/, ran_index := ran_index);
as_ranap_rab_ass_req(apars);
as_ggsn_gtp_ctx_upd_req(apars, exp_dir_tun := true, ran_index := ran_index);


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

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ia47edd8ca916cf377da875583a3c4eb6ff5f1f52
Gerrit-Change-Number: 40649
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis@fe80.eu>