aboutsummaryrefslogtreecommitdiffstats
path: root/ggsn_tests
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-05-12 17:58:50 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2022-05-13 11:54:27 +0200
commit0e127870fb791101195ab9569e3d3f82a3029749 (patch)
tree8f76f0f860d09c721d602d645995527b65655b61 /ggsn_tests
parent07ea7f26be991da6dcff9fe4c072218b709db244 (diff)
ggsn: Append ChargingCharacteristics IE to CreatePdpCtxReq
This IE is conditionally added if the HLR provides it to the SGSN. Let's add it by default so that we test code paths where GGSN parses it. Related: SYS#5925 Change-Id: Ia0f74041d2107afeaa36b94e33474370b7b07c0e
Diffstat (limited to 'ggsn_tests')
-rw-r--r--ggsn_tests/GGSN_Tests.ttcn13
1 files changed, 8 insertions, 5 deletions
diff --git a/ggsn_tests/GGSN_Tests.ttcn b/ggsn_tests/GGSN_Tests.ttcn
index b67645d1..e3d93411 100644
--- a/ggsn_tests/GGSN_Tests.ttcn
+++ b/ggsn_tests/GGSN_Tests.ttcn
@@ -98,7 +98,8 @@ module GGSN_Tests {
/* TEI (Control) remote side */
OCT4 teic_remote,
OCT1 ratType optional,
- UserLocationInformation uli optional
+ UserLocationInformation uli optional,
+ OCT2 charging_char optional
}
type component GT_CT {
@@ -350,7 +351,8 @@ module GGSN_Tests {
geographicLocation := {
geographicLocationCGI := ts_GeographicLocationCGI('262'H, '42F'H, '0001'O, '0002'O)
}
- }
+ },
+ charging_char := '0000'O
}
/* send GTP-C for a given context and increment sequence number */
@@ -510,7 +512,8 @@ module GGSN_Tests {
log("sending CreatePDP");
f_send_gtpc(ts_GTPC_CreatePDP(g_peer_c, g_c_seq_nr, ctx.imsi, g_restart_ctr,
ctx.teid, ctx.teic, ctx.nsapi, ctx.eua, ctx.apn,
- g_sgsn_ip_c, g_sgsn_ip_u, ctx.msisdn, ctx.pco_req, ctx.ratType, ctx.uli));
+ g_sgsn_ip_c, g_sgsn_ip_u, ctx.msisdn, ctx.pco_req, ctx.ratType,
+ ctx.uli, ctx.charging_char));
T_default.start;
d := activate(pingpong());
if (Gx_PROC.checkstate("Connected")) {
@@ -2006,7 +2009,7 @@ module GGSN_Tests {
ctx[next_req_ctx].teid, ctx[next_req_ctx].teic, ctx[next_req_ctx].nsapi,
ctx[next_req_ctx].eua, ctx[next_req_ctx].apn, g_sgsn_ip_c, g_sgsn_ip_u,
ctx[next_req_ctx].msisdn, ctx[next_req_ctx].pco_req, ctx[next_req_ctx].ratType,
- ctx[next_req_ctx].uli));
+ ctx[next_req_ctx].uli, ctx[next_req_ctx].charging_char));
next_req_ctx := next_req_ctx + 1;
if (next_req_ctx < num_ctx) {
T_next.start;
@@ -2120,7 +2123,7 @@ module GGSN_Tests {
ctx.teid, ctx.teic, ctx.nsapi,
ctx.eua, ctx.apn, g_sgsn_ip_c, g_sgsn_ip_u,
ctx.msisdn, ctx.pco_req, ctx.ratType,
- ctx.uli));
+ ctx.uli, ctx.charging_char));
next_req_ctx := next_req_ctx + 1;
}
T_next.start;