aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-04-09 12:32:51 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-12 23:42:45 +0200
commita929299cc4599e9d90ff3c473cef280aded5f78c (patch)
tree08195a0f09df67e1ddae7d27370abda58844def2 /tests
parenta42cfb6c95bd6b50d7b670ecd08942f97449b653 (diff)
WIP: Port to new libosmo-sigtran API (with proper M3UA for Iuh)
This changes over to the new libosmo-sigtran API with support for proper SCCP/M3UA/SCTP stacking, as mandated by 3GPP specifications for the IuCS and IuPS interfaces. Only the ASP (client) is used, assuming that both the HNB-GWs and RNCs as well as the MSCs and SGSNs are all connecting as ASP to some STP/SGW which offers M3UA server functionality as well as point-code and/or global title based routing. Change-Id: I450e22d46e47eec350a152f7832428f226bf17fc Tweaked-by: nhofmeyr (test expectation)
Diffstat (limited to 'tests')
-rw-r--r--tests/msc_vlr/msc_vlr_test_umts_authen.err24
-rw-r--r--tests/msc_vlr/msc_vlr_tests.c1
2 files changed, 12 insertions, 13 deletions
diff --git a/tests/msc_vlr/msc_vlr_test_umts_authen.err b/tests/msc_vlr/msc_vlr_test_umts_authen.err
index eabc794e3..dcacbf9e3 100644
--- a/tests/msc_vlr/msc_vlr_test_umts_authen.err
+++ b/tests/msc_vlr/msc_vlr_test_umts_authen.err
@@ -518,10 +518,10 @@ DREF IMSI:901700000010650: MSC conn use - 1 == 1
cipher_mode_cmd_sent == 1
lu_result_sent == 0
- MS sends SecurityModeControl acceptance, VLR accepts and sends GSUP LU Req to HLR
-DIUCS Looking for IuCS subscriber: link_id 0x23, conn_id 2a
-DIUCS 0: IMSI:901700000010650 Iu link 0x23, conn_id 42
+DIUCS Looking for IuCS subscriber: conn_id 2a
+DIUCS 0: IMSI:901700000010650 Iu conn_id 42
DIUCS subscribers registered: 1
-DIUCS Found IuCS subscriber for link_id 0x23, conn_id 2a
+DIUCS Found IuCS subscriber for conn_id 2a
DIUCS IuCS security mode complete for IMSI:901700000010650
DMM <- SECURITY MODE COMPLETE IMSI:901700000010650
DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES
@@ -701,10 +701,10 @@ DREF MSISDN:42342: MSC conn use - 1 == 1
cipher_mode_cmd_sent == 1
cm_service_result_sent == 0
- MS sends SecurityModeControl acceptance, VLR accepts; above Ciphering is an implicit CM Service Accept
-DIUCS Looking for IuCS subscriber: link_id 0x23, conn_id 2a
-DIUCS 0: MSISDN:42342 Iu link 0x23, conn_id 42
+DIUCS Looking for IuCS subscriber: conn_id 2a
+DIUCS 0: MSISDN:42342 Iu conn_id 42
DIUCS subscribers registered: 1
-DIUCS Found IuCS subscriber for link_id 0x23, conn_id 2a
+DIUCS Found IuCS subscriber for conn_id 2a
DIUCS IuCS security mode complete for MSISDN:42342
DMM <- SECURITY MODE COMPLETE MSISDN:42342
DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES
@@ -837,10 +837,10 @@ DREF MSISDN:42342: MSC conn use - 1 == 1
cipher_mode_cmd_sent == 1
paging_stopped == 0
- MS sends SecurityModeControl acceptance, VLR accepts and sends SMS
-DIUCS Looking for IuCS subscriber: link_id 0x23, conn_id 2a
-DIUCS 0: MSISDN:42342 Iu link 0x23, conn_id 42
+DIUCS Looking for IuCS subscriber: conn_id 2a
+DIUCS 0: MSISDN:42342 Iu conn_id 42
DIUCS subscribers registered: 1
-DIUCS Found IuCS subscriber for link_id 0x23, conn_id 2a
+DIUCS Found IuCS subscriber for conn_id 2a
DIUCS IuCS security mode complete for MSISDN:42342
DMM <- SECURITY MODE COMPLETE MSISDN:42342
DVLR Process_Access_Request_VLR(901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES
@@ -1241,10 +1241,10 @@ DREF IMSI:901700000010650: MSC conn use - 1 == 1
cipher_mode_cmd_sent == 1
lu_result_sent == 0
- MS sends SecurityModeControl acceptance, VLR accepts and sends GSUP LU Req to HLR
-DIUCS Looking for IuCS subscriber: link_id 0x23, conn_id 2a
-DIUCS 0: IMSI:901700000010650 Iu link 0x23, conn_id 42
+DIUCS Looking for IuCS subscriber: conn_id 2a
+DIUCS 0: IMSI:901700000010650 Iu conn_id 42
DIUCS subscribers registered: 1
-DIUCS Found IuCS subscriber for link_id 0x23, conn_id 2a
+DIUCS Found IuCS subscriber for conn_id 2a
DIUCS IuCS security mode complete for IMSI:901700000010650
DMM <- SECURITY MODE COMPLETE IMSI:901700000010650
DVLR vlr_lu_fsm(901700000010650){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES
diff --git a/tests/msc_vlr/msc_vlr_tests.c b/tests/msc_vlr/msc_vlr_tests.c
index da86bca56..14ccfd8a9 100644
--- a/tests/msc_vlr/msc_vlr_tests.c
+++ b/tests/msc_vlr/msc_vlr_tests.c
@@ -149,7 +149,6 @@ struct gsm_subscriber_connection *conn_new(void)
if (conn->via_ran == RAN_UTRAN_IU) {
struct ue_conn_ctx *ue_ctx = talloc_zero(conn, struct ue_conn_ctx);
*ue_ctx = (struct ue_conn_ctx){
- .link = (void*)0x23,
.conn_id = 42,
};
conn->iu.ue_ctx = ue_ctx;