diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-04-09 12:32:51 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-06-18 17:50:08 +0200 |
commit | 22593b2cef43bceafe7727f893be4657f949489f (patch) | |
tree | 28989cc96eba699dbbb361e0a2f1f24dca2b789b /openbsc/tests/msc_vlr | |
parent | 99d3a8836dd81fc461d759b4bf42ca016f9cc8b7 (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.
Tweaked-by: nhofmeyr (test expectation)
Change-Id: If0ff956fbf1484899d59ae1a5885543bca31645b
Diffstat (limited to 'openbsc/tests/msc_vlr')
-rw-r--r-- | openbsc/tests/msc_vlr/msc_vlr_test_umts_authen.err | 24 | ||||
-rw-r--r-- | openbsc/tests/msc_vlr/msc_vlr_tests.c | 1 |
2 files changed, 12 insertions, 13 deletions
diff --git a/openbsc/tests/msc_vlr/msc_vlr_test_umts_authen.err b/openbsc/tests/msc_vlr/msc_vlr_test_umts_authen.err index eabc794e3..dcacbf9e3 100644 --- a/openbsc/tests/msc_vlr/msc_vlr_test_umts_authen.err +++ b/openbsc/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/openbsc/tests/msc_vlr/msc_vlr_tests.c b/openbsc/tests/msc_vlr/msc_vlr_tests.c index da86bca56..14ccfd8a9 100644 --- a/openbsc/tests/msc_vlr/msc_vlr_tests.c +++ b/openbsc/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; |