From 7814a832980caa1206a3f217ef79f1a19831305a Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Wed, 26 Dec 2018 00:40:18 +0100 Subject: [PATCH] use osmo_rat_type from libosmocore Replace locally defined enum ran_type with libosmocore's new enum osmo_rat_type, and value_string ran_type_names with osmo_rat_type_names. The string representations change, which has cosmetic effects on the test suite expectations. Depends: I659687aef7a4d67ca372a39fef31dee07aed7631 (libosmocore) Change-Id: I2c78c265dc99df581e1b00e563d6912c7ffdb36b --- include/osmocom/msc/ran_conn.h | 15 +- include/osmocom/msc/vlr.h | 2 +- src/libmsc/a_iface.c | 2 +- src/libmsc/a_iface_bssap.c | 4 +- src/libmsc/gsm_04_08.c | 18 +- src/libmsc/gsm_subscriber.c | 4 +- src/libmsc/iucs.c | 10 +- src/libmsc/iucs_ranap.c | 2 +- src/libmsc/msc_ifaces.c | 15 +- src/libmsc/msc_mgcp.c | 8 +- src/libmsc/msc_vty.c | 4 +- src/libmsc/ran_conn.c | 10 +- tests/msc_vlr/msc_vlr_test_authen_reuse.c | 20 +- tests/msc_vlr/msc_vlr_test_authen_reuse.err | 162 +++++------ tests/msc_vlr/msc_vlr_test_call.c | 2 +- tests/msc_vlr/msc_vlr_test_call.err | 182 ++++++------ tests/msc_vlr/msc_vlr_test_gsm_authen.c | 14 +- tests/msc_vlr/msc_vlr_test_gsm_authen.err | 158 +++++------ tests/msc_vlr/msc_vlr_test_gsm_ciph.c | 22 +- tests/msc_vlr/msc_vlr_test_gsm_ciph.err | 262 +++++++++--------- tests/msc_vlr/msc_vlr_test_hlr_reject.err | 52 ++-- tests/msc_vlr/msc_vlr_test_hlr_timeout.err | 8 +- tests/msc_vlr/msc_vlr_test_ms_timeout.c | 2 +- tests/msc_vlr/msc_vlr_test_ms_timeout.err | 32 +-- tests/msc_vlr/msc_vlr_test_no_authen.c | 26 +- tests/msc_vlr/msc_vlr_test_no_authen.err | 186 ++++++------- .../msc_vlr/msc_vlr_test_reject_concurrency.c | 4 +- .../msc_vlr_test_reject_concurrency.err | 138 ++++----- tests/msc_vlr/msc_vlr_test_rest.c | 4 +- tests/msc_vlr/msc_vlr_test_rest.err | 28 +- tests/msc_vlr/msc_vlr_test_ss.c | 8 +- tests/msc_vlr/msc_vlr_test_ss.err | 34 +-- tests/msc_vlr/msc_vlr_test_umts_authen.c | 40 +-- tests/msc_vlr/msc_vlr_test_umts_authen.err | 140 +++++----- tests/msc_vlr/msc_vlr_tests.c | 40 +-- tests/msc_vlr/msc_vlr_tests.h | 20 +- 36 files changed, 831 insertions(+), 847 deletions(-) diff --git a/include/osmocom/msc/ran_conn.h b/include/osmocom/msc/ran_conn.h index d71872e8e..4aa771e3f 100644 --- a/include/osmocom/msc/ran_conn.h +++ b/include/osmocom/msc/ran_conn.h @@ -6,16 +6,7 @@ #include #include #include - -enum ran_type { - RAN_UNKNOWN, - RAN_GERAN_A, /* 2G / A-interface */ - RAN_UTRAN_IU, /* 3G / Iu-interface (IuCS or IuPS) */ -}; - -extern const struct value_string ran_type_names[]; -static inline const char *ran_type_name(enum ran_type val) -{ return get_value_string(ran_type_names, val); } +#include enum ran_conn_fsm_event { /* Accepted the initial Complete Layer 3 (starting to evaluate Authentication and Ciphering) */ @@ -115,7 +106,7 @@ struct ran_conn { struct gsm_network *network; /* connected via 2G or 3G? */ - enum ran_type via_ran; + enum osmo_rat_type via_ran; uint16_t lac; struct geran_encr geran_encr; @@ -177,7 +168,7 @@ struct ran_conn { struct gsm_classmark temporary_classmark; }; -struct ran_conn *ran_conn_alloc(struct gsm_network *network, enum ran_type via_ran, uint16_t lac); +struct ran_conn *ran_conn_alloc(struct gsm_network *network, enum osmo_rat_type via_ran, uint16_t lac); void ran_conn_update_id(struct ran_conn *conn, enum complete_layer3_type from, const char *id); char *ran_conn_get_conn_id(struct ran_conn *conn); diff --git a/include/osmocom/msc/vlr.h b/include/osmocom/msc/vlr.h index 3c778a96b..029ef3190 100644 --- a/include/osmocom/msc/vlr.h +++ b/include/osmocom/msc/vlr.h @@ -178,7 +178,7 @@ struct vlr_subscr { /* list of struct subscr_request */ struct llist_head requests; uint8_t lac; - enum ran_type attached_via_ran; + enum osmo_rat_type attached_via_ran; } cs; struct gsm_classmark classmark; diff --git a/src/libmsc/a_iface.c b/src/libmsc/a_iface.c index a96f247d0..ee938aa9f 100644 --- a/src/libmsc/a_iface.c +++ b/src/libmsc/a_iface.c @@ -623,7 +623,7 @@ void a_clear_all(struct osmo_sccp_user *scu, const struct osmo_sccp_addr *bsc_ad llist_for_each_entry_safe(conn, conn_temp, &network->ran_conns, entry) { /* Clear only A connections and connections that actually * belong to the specified BSC */ - if (conn->via_ran == RAN_GERAN_A && memcmp(bsc_addr, &conn->a.bsc_addr, sizeof(conn->a.bsc_addr)) == 0) { + if (conn->via_ran == OSMO_RAT_GERAN_A && memcmp(bsc_addr, &conn->a.bsc_addr, sizeof(conn->a.bsc_addr)) == 0) { uint32_t conn_id = conn->a.conn_id; LOGPCONN(conn, LOGL_NOTICE, "Dropping orphaned RAN connection\n"); /* This call will/may talloc_free(conn), so we must save conn_id above */ diff --git a/src/libmsc/a_iface_bssap.c b/src/libmsc/a_iface_bssap.c index d84a2346b..491f8d07c 100644 --- a/src/libmsc/a_iface_bssap.c +++ b/src/libmsc/a_iface_bssap.c @@ -53,7 +53,7 @@ static struct ran_conn *ran_conn_allocate_a(const struct a_conn_info *a_conn_inf LOGP(DMSC, LOGL_DEBUG, "Allocating A-Interface RAN conn: lac %i, conn_id %i\n", lac, conn_id); - conn = ran_conn_alloc(network, RAN_GERAN_A, lac); + conn = ran_conn_alloc(network, OSMO_RAT_GERAN_A, lac); if (!conn) return NULL; @@ -83,7 +83,7 @@ static struct ran_conn *ran_conn_lookup_a(const struct gsm_network *network, int /* log_subscribers(network); */ llist_for_each_entry(conn, &network->ran_conns, entry) { - if (conn->via_ran == RAN_GERAN_A && conn->a.conn_id == conn_id) { + if (conn->via_ran == OSMO_RAT_GERAN_A && conn->a.conn_id == conn_id) { LOGPCONN(conn, LOGL_DEBUG, "Found A subscriber for conn_id %i\n", conn_id); return conn; } diff --git a/src/libmsc/gsm_04_08.c b/src/libmsc/gsm_04_08.c index 81bda76ea..7ff868140 100644 --- a/src/libmsc/gsm_04_08.c +++ b/src/libmsc/gsm_04_08.c @@ -403,7 +403,7 @@ int mm_rx_loc_upd_req(struct ran_conn *conn, struct msgb *msg) new_lai.lac = conn->lac; DEBUGP(DMM, "LU/new-LAC: %u/%u\n", old_lai.lac, new_lai.lac); - is_utran = (conn->via_ran == RAN_UTRAN_IU); + is_utran = (conn->via_ran == OSMO_RAT_UTRAN_IU); lu_fsm = vlr_loc_update(conn->fi, RAN_CONN_E_ACCEPTED, RAN_CONN_E_CN_CLOSE, NULL, net->vlr, conn, vlr_lu_type, tmsi, imsi, @@ -785,7 +785,7 @@ int gsm48_rx_mm_serv_req(struct ran_conn *conn, struct msgb *msg) osmo_signal_dispatch(SS_SUBSCR, S_SUBSCR_IDENTITY, mi_p); - is_utran = (conn->via_ran == RAN_UTRAN_IU); + is_utran = (conn->via_ran == OSMO_RAT_UTRAN_IU); vlr_proc_acc_req(conn->fi, RAN_CONN_E_ACCEPTED, RAN_CONN_E_CN_CLOSE, NULL, net->vlr, conn, @@ -1005,7 +1005,7 @@ static int gsm48_rx_mm_auth_resp(struct ran_conn *conn, struct msgb *msg) osmo_hexdump_nospc(res, res_len)); return vlr_subscr_rx_auth_resp(conn->vsub, classmark_is_r99(&conn->vsub->classmark), - conn->via_ran == RAN_UTRAN_IU, + conn->via_ran == OSMO_RAT_UTRAN_IU, res, res_len); } @@ -1185,7 +1185,7 @@ static int gsm48_rx_rr_pag_resp(struct ran_conn *conn, struct msgb *msg) ran_conn_update_id(conn, COMPLETE_LAYER3_PAGING_RESP, mi_string); - is_utran = (conn->via_ran == RAN_UTRAN_IU); + is_utran = (conn->via_ran == OSMO_RAT_UTRAN_IU); vlr_proc_acc_req(conn->fi, RAN_CONN_E_ACCEPTED, RAN_CONN_E_CN_CLOSE, NULL, net->vlr, conn, @@ -1465,8 +1465,8 @@ int gsm0408_dispatch(struct ran_conn *conn, struct msgb *msg) "%s: Illegal situation: RAN type mismatch:" " attached via %s, received message via %s\n", vlr_subscr_name(conn->vsub), - ran_type_name(conn->vsub->cs.attached_via_ran), - ran_type_name(conn->via_ran)); + osmo_rat_type_name(conn->vsub->cs.attached_via_ran), + osmo_rat_type_name(conn->via_ran)); return -EACCES; } @@ -1700,16 +1700,16 @@ int msc_vlr_set_ciph_mode(void *msc_conn_ref, } switch (conn->via_ran) { - case RAN_GERAN_A: + case OSMO_RAT_GERAN_A: return ran_conn_geran_set_cipher_mode(conn, umts_aka, retrieve_imeisv); - case RAN_UTRAN_IU: + case OSMO_RAT_UTRAN_IU: #ifdef BUILD_IU DEBUGP(DMM, "-> SECURITY MODE CONTROL %s\n", vlr_subscr_name(conn->vsub)); return ranap_iu_tx_sec_mode_cmd(conn->iu.ue_ctx, &tuple->vec, 0, 1); #else - LOGP(DMM, LOGL_ERROR, "Cannot send Security Mode Control over RAN_UTRAN_IU," + LOGP(DMM, LOGL_ERROR, "Cannot send Security Mode Control over OSMO_RAT_UTRAN_IU," " built without Iu support\n"); return -ENOTSUP; #endif diff --git a/src/libmsc/gsm_subscriber.c b/src/libmsc/gsm_subscriber.c index 0e76efc11..9ca5e2bef 100644 --- a/src/libmsc/gsm_subscriber.c +++ b/src/libmsc/gsm_subscriber.c @@ -115,9 +115,9 @@ static int msc_paging_request(struct vlr_subscr *vsub) * BSCs/RNCs are responsible and send them a paging request via open * SCCP connections (if any). */ switch (vsub->cs.attached_via_ran) { - case RAN_GERAN_A: + case OSMO_RAT_GERAN_A: return a_iface_tx_paging(vsub->imsi, vsub->tmsi, vsub->cgi.lai.lac); - case RAN_UTRAN_IU: + case OSMO_RAT_UTRAN_IU: return ranap_iu_page_cs(vsub->imsi, vsub->tmsi == GSM_RESERVED_TMSI? NULL : &vsub->tmsi, diff --git a/src/libmsc/iucs.c b/src/libmsc/iucs.c index a96b4c2fc..974ddb3f7 100644 --- a/src/libmsc/iucs.c +++ b/src/libmsc/iucs.c @@ -56,7 +56,7 @@ static struct ran_conn *ran_conn_allocate_iu(struct gsm_network *network, DEBUGP(DIUCS, "Allocating IuCS RAN conn: lac %d, conn_id %" PRIx32 "\n", lac, ue->conn_id); - conn = ran_conn_alloc(network, RAN_UTRAN_IU, lac); + conn = ran_conn_alloc(network, OSMO_RAT_UTRAN_IU, lac); if (!conn) return NULL; @@ -82,7 +82,7 @@ static inline void log_subscribers(struct gsm_network *network) llist_for_each_entry(conn, &network->ran_conns, entry) { DEBUGP(DIUCS, "%3d: %s", i, vlr_subscr_name(conn->vsub)); switch (conn->via_ran) { - case RAN_UTRAN_IU: + case OSMO_RAT_UTRAN_IU: DEBUGPC(DIUCS, " Iu"); if (conn->iu.ue_ctx) { DEBUGPC(DIUCS, " conn_id %d", @@ -90,11 +90,11 @@ static inline void log_subscribers(struct gsm_network *network) ); } break; - case RAN_GERAN_A: + case OSMO_RAT_GERAN_A: DEBUGPC(DIUCS, " A"); /* TODO log A-interface connection details */ break; - case RAN_UNKNOWN: + case OSMO_RAT_UNKNOWN: DEBUGPC(DIUCS, " ?"); break; default: @@ -120,7 +120,7 @@ struct ran_conn *ran_conn_lookup_iu( log_subscribers(network); llist_for_each_entry(conn, &network->ran_conns, entry) { - if (conn->via_ran != RAN_UTRAN_IU) + if (conn->via_ran != OSMO_RAT_UTRAN_IU) continue; if (!same_ue_conn(conn->iu.ue_ctx, ue)) continue; diff --git a/src/libmsc/iucs_ranap.c b/src/libmsc/iucs_ranap.c index f1221c0dd..1e4207aec 100644 --- a/src/libmsc/iucs_ranap.c +++ b/src/libmsc/iucs_ranap.c @@ -91,7 +91,7 @@ static int iucs_rx_rab_assign(struct ran_conn *conn, RANAP_RAB_SetupOrModifiedIt int iucs_rx_sec_mode_compl(struct ran_conn *conn, RANAP_SecurityModeCompleteIEs_t *ies) { - OSMO_ASSERT(conn->via_ran == RAN_UTRAN_IU); + OSMO_ASSERT(conn->via_ran == OSMO_RAT_UTRAN_IU); /* TODO evalute ies */ diff --git a/src/libmsc/msc_ifaces.c b/src/libmsc/msc_ifaces.c index 8ae34fcdd..3074d07a6 100644 --- a/src/libmsc/msc_ifaces.c +++ b/src/libmsc/msc_ifaces.c @@ -39,13 +39,6 @@ #include #endif /* BUILD_IU */ -const struct value_string ran_type_names[] = { - OSMO_VALUE_STRING(RAN_UNKNOWN), - OSMO_VALUE_STRING(RAN_GERAN_A), - OSMO_VALUE_STRING(RAN_UTRAN_IU), - { 0, NULL } -}; - static int msc_tx(struct ran_conn *conn, struct msgb *msg) { if (!msg) @@ -57,13 +50,13 @@ static int msc_tx(struct ran_conn *conn, struct msgb *msg) DEBUGP(DMSC, "msc_tx %u bytes to %s via %s\n", msg->len, vlr_subscr_name(conn->vsub), - ran_type_name(conn->via_ran)); + osmo_rat_type_name(conn->via_ran)); switch (conn->via_ran) { - case RAN_GERAN_A: + case OSMO_RAT_GERAN_A: msg->dst = conn; return a_iface_tx_dtap(msg); - case RAN_UTRAN_IU: + case OSMO_RAT_UTRAN_IU: msg->dst = conn->iu.ue_ctx; return ranap_iu_tx(msg, 0); @@ -131,7 +124,7 @@ int msc_tx_common_id(struct ran_conn *conn) return -EINVAL; /* Common ID is only sent over IuCS */ - if (conn->via_ran != RAN_UTRAN_IU) { + if (conn->via_ran != OSMO_RAT_UTRAN_IU) { LOGP(DMM, LOGL_INFO, "%s: Asked to transmit Common ID, but skipping" " because this is not on UTRAN\n", diff --git a/src/libmsc/msc_mgcp.c b/src/libmsc/msc_mgcp.c index 5b4ee26fe..703bb0b7d 100644 --- a/src/libmsc/msc_mgcp.c +++ b/src/libmsc/msc_mgcp.c @@ -316,7 +316,7 @@ static void fsm_crcx_ran_cb(struct osmo_fsm_inst *fi, uint32_t event, void *data * trick the hNodeB into doing the IuUP negotiation with itself. * This is a hack we need because osmo-mgw does not support IuUP yet, see OS#2459. */ #ifdef BUILD_IU - if (conn->via_ran == RAN_UTRAN_IU) + if (conn->via_ran == OSMO_RAT_UTRAN_IU) mgcp_msg.conn_mode = MGCP_CONN_LOOPBACK; #endif @@ -506,7 +506,7 @@ static void fsm_crcx_compl(struct osmo_fsm_inst *fi, uint32_t event, void *data) } /* Forward assignment request to A/RANAP */ - if (conn->via_ran == RAN_UTRAN_IU) { + if (conn->via_ran == OSMO_RAT_UTRAN_IU) { #ifdef BUILD_IU /* Assign a voice channel via RANAP on 3G */ if (iu_rab_act_cs(trans)) @@ -515,7 +515,7 @@ static void fsm_crcx_compl(struct osmo_fsm_inst *fi, uint32_t event, void *data) LOGPFSML(fi, LOGL_ERROR, "Cannot send Iu RAB Assignment: built without Iu support\n"); goto error; #endif - } else if (conn->via_ran == RAN_GERAN_A) { + } else if (conn->via_ran == OSMO_RAT_GERAN_A) { /* Assign a voice channel via A on 2G */ if (a_iface_tx_assignment(trans)) goto error; @@ -1005,7 +1005,7 @@ int msc_mgcp_call_assignment(struct gsm_trans *trans) #ifdef BUILD_IU /* FIXME: HACK. where to scope the RAB Id? At the conn / subscriber / ranap_ue_conn_ctx? */ static uint8_t next_iu_rab_id = 1; - if (conn->via_ran == RAN_UTRAN_IU) + if (conn->via_ran == OSMO_RAT_UTRAN_IU) conn->iu.rab_id = next_iu_rab_id++; #endif diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c index 8c119001a..fbc2056c9 100644 --- a/src/libmsc/msc_vty.c +++ b/src/libmsc/msc_vty.c @@ -544,7 +544,7 @@ static void vty_dump_one_conn(struct vty *vty, const struct ran_conn *conn) vty_out(vty, "%08x %22s %3s %5u %3u %08x %c /%1u %27s %s", conn->a.conn_id, conn->vsub ? vlr_subscr_name(conn->vsub) : "-", - conn->via_ran == RAN_UTRAN_IU ? "Iu" : "A", + conn->via_ran == OSMO_RAT_UTRAN_IU ? "Iu" : "A", conn->lac, conn->use_count, conn->use_tokens, @@ -633,7 +633,7 @@ static void subscr_dump_full_vty(struct vty *vty, struct vlr_subscr *vsub) vty_out(vty, " LAC: %d/0x%x%s", vsub->cgi.lai.lac, vsub->cgi.lai.lac, VTY_NEWLINE); vty_out(vty, " RAN: %s%s", - ran_type_name(vsub->cs.attached_via_ran), VTY_NEWLINE); + osmo_rat_type_name(vsub->cs.attached_via_ran), VTY_NEWLINE); vty_out(vty, " IMSI: %s%s", vsub->imsi, VTY_NEWLINE); if (vsub->tmsi != GSM_RESERVED_TMSI) vty_out(vty, " TMSI: %08X%s", vsub->tmsi, diff --git a/src/libmsc/ran_conn.c b/src/libmsc/ran_conn.c index 9b63f16a0..d6349ebd5 100644 --- a/src/libmsc/ran_conn.c +++ b/src/libmsc/ran_conn.c @@ -363,7 +363,7 @@ static void ran_conn_fsm_releasing_onenter(struct osmo_fsm_inst *fi, uint32_t pr trans_conn_closed(conn); switch (conn->via_ran) { - case RAN_GERAN_A: + case OSMO_RAT_GERAN_A: a_iface_tx_clear_cmd(conn); if (conn->a.waiting_for_clear_complete) { LOGPFSML(fi, LOGL_ERROR, @@ -372,7 +372,7 @@ static void ran_conn_fsm_releasing_onenter(struct osmo_fsm_inst *fi, uint32_t pr } conn->a.waiting_for_clear_complete = true; break; - case RAN_UTRAN_IU: + case OSMO_RAT_UTRAN_IU: ranap_iu_tx_release(conn->iu.ue_ctx, NULL); if (conn->iu.waiting_for_release_complete) { LOGPFSML(fi, LOGL_ERROR, @@ -496,10 +496,10 @@ char *ran_conn_get_conn_id(struct ran_conn *conn) char *id; switch (conn->via_ran) { - case RAN_GERAN_A: + case OSMO_RAT_GERAN_A: id = talloc_asprintf(conn, "GERAN_A-%08x", conn->a.conn_id); break; - case RAN_UTRAN_IU: + case OSMO_RAT_UTRAN_IU: id = talloc_asprintf(conn, "UTRAN_IU-%08x", iu_get_conn_id(conn->iu.ue_ctx)); break; default: @@ -627,7 +627,7 @@ void ran_conn_init(void) * conn. As long as the FSM is waiting for responses from the subscriber, it will itself hold a use count * on the conn. */ struct ran_conn *ran_conn_alloc(struct gsm_network *network, - enum ran_type via_ran, uint16_t lac) + enum osmo_rat_type via_ran, uint16_t lac) { struct ran_conn *conn; struct osmo_fsm_inst *fi; diff --git a/tests/msc_vlr/msc_vlr_test_authen_reuse.c b/tests/msc_vlr/msc_vlr_test_authen_reuse.c index 659155795..bdbdae3a0 100644 --- a/tests/msc_vlr/msc_vlr_test_authen_reuse.c +++ b/tests/msc_vlr/msc_vlr_test_authen_reuse.c @@ -25,7 +25,7 @@ #include "msc_vlr_tests.h" -static void _test_auth_reuse(enum ran_type via_ran, +static void _test_auth_reuse(enum osmo_rat_type via_ran, int set_max_reuse_count, int loop_requests_without_hlr, bool final_request_with_hlr) @@ -83,7 +83,7 @@ static void _test_auth_reuse(enum ran_type via_ran, VERBOSE_ASSERT(auth_request_sent, == true, "%d"); VERBOSE_ASSERT(lu_result_sent, == RES_NONE, "%d"); - if (via_ran == RAN_GERAN_A) { + if (via_ran == OSMO_RAT_GERAN_A) { btw("MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR"); gsup_expect_tx("04010809710000000156f0280102"); ms_sends_msg("0554" "e229c19e" "2104" "791f2e41"); @@ -159,7 +159,7 @@ static void _test_auth_reuse(enum ran_type via_ran, VERBOSE_ASSERT(cm_service_result_sent, == RES_NONE, "%d"); VERBOSE_ASSERT(auth_request_sent, == true, "%d"); - if (via_ran == RAN_GERAN_A) { + if (via_ran == OSMO_RAT_GERAN_A) { btw("MS sends Authen Response, VLR accepts with a CM Service Accept"); gsup_expect_tx(NULL); ms_sends_msg("0554" "e229c19e" "2104" "791f2e41"); @@ -231,7 +231,7 @@ static void _test_auth_reuse(enum ran_type via_ran, VERBOSE_ASSERT(auth_request_sent, == true, "%d"); VERBOSE_ASSERT(cm_service_result_sent, == RES_NONE, "%d"); - if (via_ran == RAN_GERAN_A) { + if (via_ran == OSMO_RAT_GERAN_A) { btw("MS sends Authen Response, VLR accepts with a CM Service Accept"); gsup_expect_tx(NULL); ms_sends_msg("0554" "7db47cf7" "2104" "f81e4dc7"); /* 2nd vector's res, s.a. */ @@ -272,42 +272,42 @@ static void _test_auth_reuse(enum ran_type via_ran, static void test_auth_use_twice_geran() { comment_start(); - _test_auth_reuse(RAN_GERAN_A, 1, 1, true); + _test_auth_reuse(OSMO_RAT_GERAN_A, 1, 1, true); comment_end(); } static void test_auth_use_twice_utran() { comment_start(); - _test_auth_reuse(RAN_UTRAN_IU, 1, 1, true); + _test_auth_reuse(OSMO_RAT_UTRAN_IU, 1, 1, true); comment_end(); } static void test_auth_use_infinitely_geran() { comment_start(); - _test_auth_reuse(RAN_GERAN_A, -1, 3, false); + _test_auth_reuse(OSMO_RAT_GERAN_A, -1, 3, false); comment_end(); } static void test_auth_use_infinitely_utran() { comment_start(); - _test_auth_reuse(RAN_UTRAN_IU, -1, 3, false); + _test_auth_reuse(OSMO_RAT_UTRAN_IU, -1, 3, false); comment_end(); } static void test_no_auth_reuse_geran() { comment_start(); - _test_auth_reuse(RAN_GERAN_A, 0, 0, true); + _test_auth_reuse(OSMO_RAT_GERAN_A, 0, 0, true); comment_end(); } static void test_no_auth_reuse_utran() { comment_start(); - _test_auth_reuse(RAN_UTRAN_IU, 0, 0, true); + _test_auth_reuse(OSMO_RAT_UTRAN_IU, 0, 0, true); comment_end(); } diff --git a/tests/msc_vlr/msc_vlr_test_authen_reuse.err b/tests/msc_vlr/msc_vlr_test_authen_reuse.err index 8948421c0..059b4a825 100644 --- a/tests/msc_vlr/msc_vlr_test_authen_reuse.err +++ b/tests/msc_vlr/msc_vlr_test_authen_reuse.err @@ -3,7 +3,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_auth_use_twice_geran - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -51,7 +51,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -135,7 +135,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 vsub->tmsi == 0xffffffff DREF VLR subscr MSISDN:42342 usage decreases to: 1 - MS sends TMSI Realloc Complete - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 @@ -156,7 +156,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -182,7 +182,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DREF VLR subscr MSISDN:42342 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and reuses old auth vector - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -215,7 +215,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_AUTH_CIPH}: Awaiting res cm_service_result_sent == 0 auth_request_sent == 1 - MS sends Authen Response, VLR accepts with a CM Service Accept - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -252,7 +252,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) @@ -276,7 +276,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DREF VLR subscr MSISDN:42342 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and needs to request a second auth vector from HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -323,7 +323,7 @@ DREF VLR subscr MSISDN:42342 usage decreases to: 2 auth_request_sent == 1 cm_service_result_sent == 0 - MS sends Authen Response, VLR accepts with a CM Service Accept - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 7db47cf7f81e4dc7) @@ -360,7 +360,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) @@ -379,7 +379,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -395,7 +395,7 @@ DREF freeing VLR subscr MSISDN:42342 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -414,7 +414,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_auth_use_twice_utran - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -462,7 +462,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -492,7 +492,7 @@ DMM <- SECURITY MODE COMPLETE IMSI:901700000010650 DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() DIUCS IMSI:901700000010650: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Allocated @@ -558,7 +558,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 vsub->tmsi == 0xffffffff DREF VLR subscr MSISDN:42342 usage decreases to: 1 - MS sends TMSI Realloc Complete - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 @@ -579,7 +579,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) iu_release_sent == 1 - RNC sends Iu Release Complete @@ -605,7 +605,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DREF VLR subscr MSISDN:42342 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and reuses old auth vector - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -638,7 +638,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_AUTH_CIPH}: Awaiting res cm_service_result_sent == 0 auth_request_sent == 1 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -668,7 +668,7 @@ DMM <- SECURITY MODE COMPLETE MSISDN:42342 DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() DIUCS MSISDN:42342: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() @@ -688,7 +688,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS iu_release_sent == 1 - RNC sends Iu Release Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) @@ -712,7 +712,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DREF VLR subscr MSISDN:42342 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and needs to request a second auth vector from HLR - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -759,7 +759,7 @@ DREF VLR subscr MSISDN:42342 usage decreases to: 2 auth_request_sent == 1 cm_service_result_sent == 0 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 7db47cf7f81e4dc7) @@ -789,7 +789,7 @@ DMM <- SECURITY MODE COMPLETE MSISDN:42342 DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() DIUCS MSISDN:42342: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() @@ -809,7 +809,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS iu_release_sent == 1 - RNC sends Iu Release Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) @@ -828,7 +828,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -844,7 +844,7 @@ DREF freeing VLR subscr MSISDN:42342 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) iu_release_sent == 1 - RNC sends Iu Release Complete @@ -863,7 +863,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_auth_use_infinitely_geran - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -911,7 +911,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -995,7 +995,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 vsub->tmsi == 0xffffffff DREF VLR subscr MSISDN:42342 usage decreases to: 1 - MS sends TMSI Realloc Complete - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 @@ -1016,7 +1016,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -1042,7 +1042,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DREF VLR subscr MSISDN:42342 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and reuses old auth vector - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1075,7 +1075,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_AUTH_CIPH}: Awaiting res cm_service_result_sent == 0 auth_request_sent == 1 - MS sends Authen Response, VLR accepts with a CM Service Accept - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -1112,7 +1112,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) @@ -1136,7 +1136,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DREF VLR subscr MSISDN:42342 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and reuses old auth vector - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1169,7 +1169,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_AUTH_CIPH}: Awaiting res cm_service_result_sent == 0 auth_request_sent == 1 - MS sends Authen Response, VLR accepts with a CM Service Accept - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -1206,7 +1206,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) @@ -1230,7 +1230,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DREF VLR subscr MSISDN:42342 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and reuses old auth vector - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1263,7 +1263,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_AUTH_CIPH}: Awaiting res cm_service_result_sent == 0 auth_request_sent == 1 - MS sends Authen Response, VLR accepts with a CM Service Accept - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -1300,7 +1300,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) @@ -1319,7 +1319,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1335,7 +1335,7 @@ DREF freeing VLR subscr MSISDN:42342 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -1354,7 +1354,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_auth_use_infinitely_utran - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1402,7 +1402,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -1432,7 +1432,7 @@ DMM <- SECURITY MODE COMPLETE IMSI:901700000010650 DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() DIUCS IMSI:901700000010650: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Allocated @@ -1498,7 +1498,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 vsub->tmsi == 0xffffffff DREF VLR subscr MSISDN:42342 usage decreases to: 1 - MS sends TMSI Realloc Complete - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 @@ -1519,7 +1519,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) iu_release_sent == 1 - RNC sends Iu Release Complete @@ -1545,7 +1545,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DREF VLR subscr MSISDN:42342 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and reuses old auth vector - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1578,7 +1578,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_AUTH_CIPH}: Awaiting res cm_service_result_sent == 0 auth_request_sent == 1 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -1608,7 +1608,7 @@ DMM <- SECURITY MODE COMPLETE MSISDN:42342 DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() DIUCS MSISDN:42342: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() @@ -1628,7 +1628,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS iu_release_sent == 1 - RNC sends Iu Release Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) @@ -1652,7 +1652,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DREF VLR subscr MSISDN:42342 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and reuses old auth vector - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1685,7 +1685,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_AUTH_CIPH}: Awaiting res cm_service_result_sent == 0 auth_request_sent == 1 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -1715,7 +1715,7 @@ DMM <- SECURITY MODE COMPLETE MSISDN:42342 DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() DIUCS MSISDN:42342: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() @@ -1735,7 +1735,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS iu_release_sent == 1 - RNC sends Iu Release Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) @@ -1759,7 +1759,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DREF VLR subscr MSISDN:42342 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and reuses old auth vector - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1792,7 +1792,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_AUTH_CIPH}: Awaiting res cm_service_result_sent == 0 auth_request_sent == 1 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -1822,7 +1822,7 @@ DMM <- SECURITY MODE COMPLETE MSISDN:42342 DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() DIUCS MSISDN:42342: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() @@ -1842,7 +1842,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS iu_release_sent == 1 - RNC sends Iu Release Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) @@ -1861,7 +1861,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1877,7 +1877,7 @@ DREF freeing VLR subscr MSISDN:42342 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) iu_release_sent == 1 - RNC sends Iu Release Complete @@ -1896,7 +1896,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_no_auth_reuse_geran - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1944,7 +1944,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -2028,7 +2028,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 vsub->tmsi == 0xffffffff DREF VLR subscr MSISDN:42342 usage decreases to: 1 - MS sends TMSI Realloc Complete - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 @@ -2049,7 +2049,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -2075,7 +2075,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DREF VLR subscr MSISDN:42342 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and needs to request a second auth vector from HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -2122,7 +2122,7 @@ DREF VLR subscr MSISDN:42342 usage decreases to: 2 auth_request_sent == 1 cm_service_result_sent == 0 - MS sends Authen Response, VLR accepts with a CM Service Accept - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 7db47cf7f81e4dc7) @@ -2159,7 +2159,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) @@ -2178,7 +2178,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -2194,7 +2194,7 @@ DREF freeing VLR subscr MSISDN:42342 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -2213,7 +2213,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_no_auth_reuse_utran - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -2261,7 +2261,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -2291,7 +2291,7 @@ DMM <- SECURITY MODE COMPLETE IMSI:901700000010650 DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() DIUCS IMSI:901700000010650: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Allocated @@ -2357,7 +2357,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 vsub->tmsi == 0xffffffff DREF VLR subscr MSISDN:42342 usage decreases to: 1 - MS sends TMSI Realloc Complete - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 @@ -2378,7 +2378,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) iu_release_sent == 1 - RNC sends Iu Release Complete @@ -2404,7 +2404,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DREF VLR subscr MSISDN:42342 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, and needs to request a second auth vector from HLR - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -2451,7 +2451,7 @@ DREF VLR subscr MSISDN:42342 usage decreases to: 2 auth_request_sent == 1 cm_service_result_sent == 0 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 7db47cf7f81e4dc7) @@ -2481,7 +2481,7 @@ DMM <- SECURITY MODE COMPLETE MSISDN:42342 DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() DIUCS MSISDN:42342: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() @@ -2501,7 +2501,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS iu_release_sent == 1 - RNC sends Iu Release Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) @@ -2520,7 +2520,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -2536,7 +2536,7 @@ DREF freeing VLR subscr MSISDN:42342 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) iu_release_sent == 1 - RNC sends Iu Release Complete diff --git a/tests/msc_vlr/msc_vlr_test_call.c b/tests/msc_vlr/msc_vlr_test_call.c index b1ff2c0f3..b5f6b6ce9 100644 --- a/tests/msc_vlr/msc_vlr_test_call.c +++ b/tests/msc_vlr/msc_vlr_test_call.c @@ -45,7 +45,7 @@ static void standard_lu() net->authentication_required = true; net->vlr->cfg.assign_tmsi = true; - rx_from_ran = RAN_UTRAN_IU; + rx_from_ran = OSMO_RAT_UTRAN_IU; btw("Location Update request causes a GSUP Send Auth Info request to HLR"); lu_result_sent = RES_NONE; diff --git a/tests/msc_vlr/msc_vlr_test_call.err b/tests/msc_vlr/msc_vlr_test_call.err index db0d58c6a..8a75e6a14 100644 --- a/tests/msc_vlr/msc_vlr_test_call.err +++ b/tests/msc_vlr/msc_vlr_test_call.err @@ -4,7 +4,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_call_mo - Total time passed: 0.000000 s - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -52,7 +52,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -82,7 +82,7 @@ DMM <- SECURITY MODE COMPLETE IMSI:901700000010650 DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() DIUCS IMSI:901700000010650: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Allocated @@ -132,7 +132,7 @@ DREF VLR subscr MSISDN:42342 usage decreases to: 1 llist_count(&net->ran_conns) == 1 ran_conn_is_accepted() == false - MS sends TMSI Realloc Complete - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 @@ -153,7 +153,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) iu_release_sent == 1 - LU was successful, and the conn has already been closed @@ -179,7 +179,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DREF VLR subscr MSISDN:42342 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, 2nd auth vector - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -214,7 +214,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_AUTH_CIPH}: Awaiting res - needs auth, not yet accepted ran_conn_is_accepted() == false - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 7db47cf7f81e4dc7) @@ -244,7 +244,7 @@ DMM <- SECURITY MODE COMPLETE MSISDN:42342 DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() DIUCS MSISDN:42342: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() @@ -260,7 +260,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: ran_conn_fsm_ --- - a call is initiated - SETUP gets forwarded to MNCC - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_CC_SETUP + MSC <--UTRAN-Iu-- MS: GSM48_MT_CC_SETUP DREF MSISDN:42342: MSC conn use + dtap == 2 (0xa: dtap,cm_service) DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) DCC Unknown transaction ID 8, creating new trans. @@ -284,8 +284,8 @@ DCC (sub 42342) stopping pending guard timer DCC (sub 42342) starting guard timer with 180 seconds DCC (ti 08 sub 42342) Received 'MNCC_CALL_PROC_REQ' from MNCC in state 1 (INITIATED) DCC (ti 08 sub MSISDN:42342) new state INITIATED -> MO_CALL_PROC -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: GSM48_MT_CC_CALL_PROC: 8302 +DMSC msc_tx 2 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: GSM48_MT_CC_CALL_PROC: 8302 - DTAP matches expected message MS <--Call Assignment-- MSC: subscr=MSISDN:42342 callref=0x80000001 - Total time passed: 1.000023 s @@ -295,8 +295,8 @@ DCC (sub 42342) stopping pending guard timer DCC (sub 42342) starting guard timer with 180 seconds DCC (ti 08 sub 42342) Received 'MNCC_ALERT_REQ' from MNCC in state 3 (MO_CALL_PROC) DCC (ti 08 sub MSISDN:42342) new state MO_CALL_PROC -> CALL_DELIVERED -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: GSM48_MT_CC_ALERTING: 8301 +DMSC msc_tx 2 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: GSM48_MT_CC_ALERTING: 8301 - DTAP matches expected message DMNCC receive message MNCC_SETUP_RSP DCC (sub 42342) stopping pending guard timer @@ -304,11 +304,11 @@ DCC (sub 42342) starting guard timer with 180 seconds DCC (ti 08 sub 42342) Received 'MNCC_SETUP_RSP' from MNCC in state 4 (CALL_DELIVERED) DCC starting timer T313 with 30 seconds DCC (ti 08 sub MSISDN:42342) new state CALL_DELIVERED -> CONNECT_IND -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: GSM48_MT_CC_CONNECT: 8307 +DMSC msc_tx 2 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: GSM48_MT_CC_CONNECT: 8307 - DTAP matches expected message - Total time passed: 2.000046 s - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_CC_CONNECT_ACK + MSC <--UTRAN-Iu-- MS: GSM48_MT_CC_CONNECT_ACK DREF MSISDN:42342: MSC conn use + dtap == 2 (0x12: dtap,trans_cc) DRLL Dispatching 04.08 message GSM48_MT_CC_CONNECT_ACK (0x3:0xf) DCC stopping pending timer T313 @@ -324,7 +324,7 @@ DREF MSISDN:42342: MSC conn use - dtap == 1 (0x10: trans_cc) - Total time passed: 125.000091 s --- - Call ends - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_CC_DISCONNECT + MSC <--UTRAN-Iu-- MS: GSM48_MT_CC_DISCONNECT DREF MSISDN:42342: MSC conn use + dtap == 2 (0x12: dtap,trans_cc) DRLL Dispatching 04.08 message GSM48_MT_CC_DISCONNECT (0x3:0x25) DCC (ti 08 sub MSISDN:42342) new state ACTIVE -> DISCONNECT_IND @@ -338,10 +338,10 @@ DCC (sub 42342) starting guard timer with 180 seconds DCC (ti 08 sub 42342) Received 'MNCC_REL_REQ' from MNCC in state 12 (DISCONNECT_IND) DCC starting timer T308 with 10 seconds DCC (ti 08 sub MSISDN:42342) new state DISCONNECT_IND -> RELEASE_REQ -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: GSM48_MT_CC_RELEASE: 832d +DMSC msc_tx 2 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: GSM48_MT_CC_RELEASE: 832d - DTAP matches expected message - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_CC_RELEASE_COMPL + MSC <--UTRAN-Iu-- MS: GSM48_MT_CC_RELEASE_COMPL DREF MSISDN:42342: MSC conn use + dtap == 2 (0x12: dtap,trans_cc) DRLL Dispatching 04.08 message GSM48_MT_CC_RELEASE_COMPL (0x3:0x2a) DCC stopping pending timer T308 @@ -360,7 +360,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_COMMUNICATING}: state_ch DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS - RNC sends Iu Release Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_UNUSED @@ -384,7 +384,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_call_mt - Total time passed: 0.000000 s - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -432,7 +432,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -462,7 +462,7 @@ DMM <- SECURITY MODE COMPLETE IMSI:901700000010650 DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() DIUCS IMSI:901700000010650: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Allocated @@ -512,7 +512,7 @@ DREF VLR subscr MSISDN:42342 usage decreases to: 1 llist_count(&net->ran_conns) == 1 ran_conn_is_accepted() == false - MS sends TMSI Realloc Complete - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 @@ -533,7 +533,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) iu_release_sent == 1 - LU was successful, and the conn has already been closed @@ -564,14 +564,14 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DCC (ti ff sub MSISDN:42342 callref 423) New transaction DREF VLR subscr MSISDN:42342 usage increases to: 3 DMM Subscriber MSISDN:42342 not paged yet, start paging. - RAN_UTRAN_IU sends out paging request to IMSI 901700000010650, TMSI 0x03020100, LAC 23 + UTRAN-Iu sends out paging request to IMSI 901700000010650, TMSI 0x03020100, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:42342 usage increases to: 4 DREF VLR subscr MSISDN:42342 usage decreases to: 3 paging_sent == 1 paging_stopped == 0 - MS replies with Paging Response, and VLR sends Auth Request - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_RR_PAG_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -603,7 +603,7 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_AUTH_CIPH}: Received Event DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event RAN_CONN_E_UNUSED auth_request_sent == 1 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 7db47cf7f81e4dc7) @@ -632,7 +632,7 @@ DMM <- SECURITY MODE COMPLETE MSISDN:42342 DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() DIUCS MSISDN:42342: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() @@ -647,14 +647,14 @@ DCC Paging subscr 42342 succeeded! DREF MSISDN:42342: MSC conn use + trans_cc == 1 (0x10: trans_cc) DCC starting timer T303 with 30 seconds DCC (ti 00 sub MSISDN:42342) new state NULL -> CALL_PRESENT -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: GSM48_MT_CC_SETUP: 0305 +DMSC msc_tx 2 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: GSM48_MT_CC_SETUP: 0305 - DTAP matches expected message DREF VLR subscr MSISDN:42342 usage decreases to: 3 DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ACCEPTED DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_ACCEPTED}: ran_conn_fsm_has_active_transactions: connection still has active transaction: CC paging_stopped == 1 - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_CC_CALL_CONF + MSC <--UTRAN-Iu-- MS: GSM48_MT_CC_CALL_CONF DREF MSISDN:42342: MSC conn use + dtap == 2 (0x12: dtap,trans_cc) DRLL Dispatching 04.08 message GSM48_MT_CC_CALL_CONF (0x3:0x8) DCC stopping pending timer T303 @@ -668,7 +668,7 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_ACCEPTED}: Received Event R DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_COMMUNICATING DREF MSISDN:42342: MSC conn use - dtap == 1 (0x10: trans_cc) - Total time passed: 1.000023 s - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_CC_ALERTING + MSC <--UTRAN-Iu-- MS: GSM48_MT_CC_ALERTING DREF MSISDN:42342: MSC conn use + dtap == 2 (0x12: dtap,trans_cc) DRLL Dispatching 04.08 message GSM48_MT_CC_ALERTING (0x3:0x1) DCC stopping pending timer T310 @@ -680,7 +680,7 @@ DCC Sending 'MNCC_ALERT_IND' to MNCC. DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_COMMUNICATING DREF MSISDN:42342: MSC conn use - dtap == 1 (0x10: trans_cc) - Total time passed: 2.000046 s - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_CC_CONNECT + MSC <--UTRAN-Iu-- MS: GSM48_MT_CC_CONNECT DREF MSISDN:42342: MSC conn use + dtap == 2 (0x12: dtap,trans_cc) DRLL Dispatching 04.08 message GSM48_MT_CC_CONNECT (0x3:0x7) DCC stopping pending timer T301 @@ -695,15 +695,15 @@ DCC (sub 42342) starting guard timer with 180 seconds DCC (ti 00 sub 42342) Received 'MNCC_SETUP_COMPL_REQ' from MNCC in state 8 (CONNECT_REQUEST) DCC (ti 00 sub MSISDN:42342) new state CONNECT_REQUEST -> ACTIVE DCC (sub 42342) stopping pending guard timer -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: GSM48_MT_CC_CONNECT_ACK: 030f +DMSC msc_tx 2 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: GSM48_MT_CC_CONNECT_ACK: 030f - DTAP matches expected message --- - RTP stream goes ahead, not shown here. - Total time passed: 125.000091 s --- - Call ends - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_CC_DISCONNECT + MSC <--UTRAN-Iu-- MS: GSM48_MT_CC_DISCONNECT DREF MSISDN:42342: MSC conn use + dtap == 2 (0x12: dtap,trans_cc) DRLL Dispatching 04.08 message GSM48_MT_CC_DISCONNECT (0x3:0x25) DCC (ti 00 sub MSISDN:42342) new state ACTIVE -> DISCONNECT_IND @@ -717,10 +717,10 @@ DCC (sub 42342) starting guard timer with 180 seconds DCC (ti 00 sub 42342) Received 'MNCC_REL_REQ' from MNCC in state 12 (DISCONNECT_IND) DCC starting timer T308 with 10 seconds DCC (ti 00 sub MSISDN:42342) new state DISCONNECT_IND -> RELEASE_REQ -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: GSM48_MT_CC_RELEASE: 032d +DMSC msc_tx 2 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: GSM48_MT_CC_RELEASE: 032d - DTAP matches expected message - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_CC_RELEASE_COMPL + MSC <--UTRAN-Iu-- MS: GSM48_MT_CC_RELEASE_COMPL DREF MSISDN:42342: MSC conn use + dtap == 2 (0x12: dtap,trans_cc) DRLL Dispatching 04.08 message GSM48_MT_CC_RELEASE_COMPL (0x3:0x2a) DCC stopping pending timer T308 @@ -739,7 +739,7 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_COMMUNICATING}: state_chg t DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS - RNC sends Iu Release Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_UNUSED @@ -763,7 +763,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_call_mt2 - Total time passed: 0.000000 s - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -811,7 +811,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -841,7 +841,7 @@ DMM <- SECURITY MODE COMPLETE IMSI:901700000010650 DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() DIUCS IMSI:901700000010650: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Allocated @@ -891,7 +891,7 @@ DREF VLR subscr MSISDN:42342 usage decreases to: 1 llist_count(&net->ran_conns) == 1 ran_conn_is_accepted() == false - MS sends TMSI Realloc Complete - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 @@ -912,7 +912,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) iu_release_sent == 1 - LU was successful, and the conn has already been closed @@ -943,14 +943,14 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DCC (ti ff sub MSISDN:42342 callref 423) New transaction DREF VLR subscr MSISDN:42342 usage increases to: 3 DMM Subscriber MSISDN:42342 not paged yet, start paging. - RAN_UTRAN_IU sends out paging request to IMSI 901700000010650, TMSI 0x03020100, LAC 23 + UTRAN-Iu sends out paging request to IMSI 901700000010650, TMSI 0x03020100, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:42342 usage increases to: 4 DREF VLR subscr MSISDN:42342 usage decreases to: 3 paging_sent == 1 paging_stopped == 0 - MS replies with Paging Response, and VLR sends Auth Request - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_RR_PAG_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -982,7 +982,7 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_AUTH_CIPH}: Received Event DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event RAN_CONN_E_UNUSED auth_request_sent == 1 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 7db47cf7f81e4dc7) @@ -1011,7 +1011,7 @@ DMM <- SECURITY MODE COMPLETE MSISDN:42342 DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() DIUCS MSISDN:42342: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() @@ -1026,14 +1026,14 @@ DCC Paging subscr 42342 succeeded! DREF MSISDN:42342: MSC conn use + trans_cc == 1 (0x10: trans_cc) DCC starting timer T303 with 30 seconds DCC (ti 00 sub MSISDN:42342) new state NULL -> CALL_PRESENT -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: GSM48_MT_CC_SETUP: 0305 +DMSC msc_tx 2 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: GSM48_MT_CC_SETUP: 0305 - DTAP matches expected message DREF VLR subscr MSISDN:42342 usage decreases to: 3 DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ACCEPTED DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_ACCEPTED}: ran_conn_fsm_has_active_transactions: connection still has active transaction: CC paging_stopped == 1 - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_CC_CALL_CONF + MSC <--UTRAN-Iu-- MS: GSM48_MT_CC_CALL_CONF DREF MSISDN:42342: MSC conn use + dtap == 2 (0x12: dtap,trans_cc) DRLL Dispatching 04.08 message GSM48_MT_CC_CALL_CONF (0x3:0x8) DCC stopping pending timer T303 @@ -1047,7 +1047,7 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_ACCEPTED}: Received Event R DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_COMMUNICATING DREF MSISDN:42342: MSC conn use - dtap == 1 (0x10: trans_cc) - Total time passed: 1.000023 s - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_CC_ALERTING + MSC <--UTRAN-Iu-- MS: GSM48_MT_CC_ALERTING DREF MSISDN:42342: MSC conn use + dtap == 2 (0x12: dtap,trans_cc) DRLL Dispatching 04.08 message GSM48_MT_CC_ALERTING (0x3:0x1) DCC stopping pending timer T310 @@ -1072,8 +1072,8 @@ DCC (sub 42342) starting guard timer with 180 seconds DCC (ti 00 sub 42342) Received 'MNCC_REL_REQ' from MNCC in state 7 (CALL_RECEIVED) DCC starting timer T308 with 10 seconds DCC (ti 00 sub MSISDN:42342) new state CALL_RECEIVED -> RELEASE_REQ -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: GSM48_MT_CC_RELEASE: 032d +DMSC msc_tx 2 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: GSM48_MT_CC_RELEASE: 032d - DTAP matches expected message DMNCC transmit message MNCC_REL_CNF DCC Sending 'MNCC_REL_CNF' to MNCC. @@ -1083,7 +1083,7 @@ DCC (ti 00 sub MSISDN:42342) new state RELEASE_REQ -> NULL DCC (sub 42342) stopping pending guard timer DREF VLR subscr MSISDN:42342 usage decreases to: 2 DREF MSISDN:42342: MSC conn use - trans_cc == 1 (0x100: release) -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS - RNC sends Iu Release Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_UNUSED @@ -1108,7 +1108,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_call_mo_to_unknown - Total time passed: 0.000000 s - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1156,7 +1156,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -1186,7 +1186,7 @@ DMM <- SECURITY MODE COMPLETE IMSI:901700000010650 DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() DIUCS IMSI:901700000010650: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Allocated @@ -1236,7 +1236,7 @@ DREF VLR subscr MSISDN:42342 usage decreases to: 1 llist_count(&net->ran_conns) == 1 ran_conn_is_accepted() == false - MS sends TMSI Realloc Complete - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 @@ -1257,7 +1257,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) iu_release_sent == 1 - LU was successful, and the conn has already been closed @@ -1283,7 +1283,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DREF VLR subscr MSISDN:42342 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, 2nd auth vector - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1318,7 +1318,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_AUTH_CIPH}: Awaiting res - needs auth, not yet accepted ran_conn_is_accepted() == false - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 7db47cf7f81e4dc7) @@ -1348,7 +1348,7 @@ DMM <- SECURITY MODE COMPLETE MSISDN:42342 DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() DIUCS MSISDN:42342: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() @@ -1364,7 +1364,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: ran_conn_fsm_ --- - a call is initiated - SETUP gets forwarded to MNCC - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_CC_SETUP + MSC <--UTRAN-Iu-- MS: GSM48_MT_CC_SETUP DREF MSISDN:42342: MSC conn use + dtap == 2 (0xa: dtap,cm_service) DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) DCC Unknown transaction ID 8, creating new trans. @@ -1388,8 +1388,8 @@ DCC (sub 42342) stopping pending guard timer DCC (sub 42342) starting guard timer with 180 seconds DCC (ti 08 sub 42342) Received 'MNCC_CALL_PROC_REQ' from MNCC in state 1 (INITIATED) DCC (ti 08 sub MSISDN:42342) new state INITIATED -> MO_CALL_PROC -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: GSM48_MT_CC_CALL_PROC: 8302 +DMSC msc_tx 2 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: GSM48_MT_CC_CALL_PROC: 8302 - DTAP matches expected message MS <--Call Assignment-- MSC: subscr=MSISDN:42342 callref=0x80000002 - But the other side's MSISDN could not be resolved, MNCC tells us to cancel @@ -1399,15 +1399,15 @@ DCC (sub 42342) starting guard timer with 180 seconds DCC (ti 08 sub 42342) Received 'MNCC_REL_REQ' from MNCC in state 3 (MO_CALL_PROC) DCC starting timer T308 with 10 seconds DCC (ti 08 sub MSISDN:42342) new state MO_CALL_PROC -> RELEASE_REQ -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: GSM48_MT_CC_RELEASE: 832d +DMSC msc_tx 2 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: GSM48_MT_CC_RELEASE: 832d - DTAP matches expected message - Total time passed: 10.000023 s DCC starting timer T308 with 10 seconds -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: GSM48_MT_CC_RELEASE: 832d +DMSC msc_tx 2 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: GSM48_MT_CC_RELEASE: 832d - DTAP matches expected message - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_CC_RELEASE_COMPL + MSC <--UTRAN-Iu-- MS: GSM48_MT_CC_RELEASE_COMPL DREF MSISDN:42342: MSC conn use + dtap == 2 (0x12: dtap,trans_cc) DRLL Dispatching 04.08 message GSM48_MT_CC_RELEASE_COMPL (0x3:0x2a) DCC stopping pending timer T308 @@ -1426,7 +1426,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_COMMUNICATING}: state_ch DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS - RNC sends Iu Release Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_UNUSED @@ -1450,7 +1450,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_call_mo_to_unknown_timeout - Total time passed: 0.000000 s - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1498,7 +1498,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -1528,7 +1528,7 @@ DMM <- SECURITY MODE COMPLETE IMSI:901700000010650 DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() DIUCS IMSI:901700000010650: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Allocated @@ -1578,7 +1578,7 @@ DREF VLR subscr MSISDN:42342 usage decreases to: 1 llist_count(&net->ran_conns) == 1 ran_conn_is_accepted() == false - MS sends TMSI Realloc Complete - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 @@ -1599,7 +1599,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) iu_release_sent == 1 - LU was successful, and the conn has already been closed @@ -1625,7 +1625,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 DREF VLR subscr MSISDN:42342 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, 2nd auth vector - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1660,7 +1660,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_AUTH_CIPH}: Awaiting res - needs auth, not yet accepted ran_conn_is_accepted() == false - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 7db47cf7f81e4dc7) @@ -1690,7 +1690,7 @@ DMM <- SECURITY MODE COMPLETE MSISDN:42342 DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() DIUCS MSISDN:42342: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() @@ -1706,7 +1706,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: ran_conn_fsm_ --- - a call is initiated - SETUP gets forwarded to MNCC - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_CC_SETUP + MSC <--UTRAN-Iu-- MS: GSM48_MT_CC_SETUP DREF MSISDN:42342: MSC conn use + dtap == 2 (0xa: dtap,cm_service) DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5) DCC Unknown transaction ID 8, creating new trans. @@ -1730,8 +1730,8 @@ DCC (sub 42342) stopping pending guard timer DCC (sub 42342) starting guard timer with 180 seconds DCC (ti 08 sub 42342) Received 'MNCC_CALL_PROC_REQ' from MNCC in state 1 (INITIATED) DCC (ti 08 sub MSISDN:42342) new state INITIATED -> MO_CALL_PROC -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: GSM48_MT_CC_CALL_PROC: 8302 +DMSC msc_tx 2 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: GSM48_MT_CC_CALL_PROC: 8302 - DTAP matches expected message MS <--Call Assignment-- MSC: subscr=MSISDN:42342 callref=0x80000003 - But the other side's MSISDN could not be resolved, MNCC tells us to cancel @@ -1741,14 +1741,14 @@ DCC (sub 42342) starting guard timer with 180 seconds DCC (ti 08 sub 42342) Received 'MNCC_REL_REQ' from MNCC in state 3 (MO_CALL_PROC) DCC starting timer T308 with 10 seconds DCC (ti 08 sub MSISDN:42342) new state MO_CALL_PROC -> RELEASE_REQ -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: GSM48_MT_CC_RELEASE: 832d +DMSC msc_tx 2 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: GSM48_MT_CC_RELEASE: 832d - DTAP matches expected message - Despite our repeated CC Release Requests, the MS does not respond anymore - Total time passed: 10.000023 s DCC starting timer T308 with 10 seconds -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: GSM48_MT_CC_RELEASE: 832d +DMSC msc_tx 2 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: GSM48_MT_CC_RELEASE: 832d - DTAP matches expected message - The CC Release times out and we still properly clear the conn - Total time passed: 20.000046 s @@ -1765,7 +1765,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_COMMUNICATING}: state_ch DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS - RNC sends Iu Release Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_UNUSED diff --git a/tests/msc_vlr/msc_vlr_test_gsm_authen.c b/tests/msc_vlr/msc_vlr_test_gsm_authen.c index 81297815d..46dd9a1c6 100644 --- a/tests/msc_vlr/msc_vlr_test_gsm_authen.c +++ b/tests/msc_vlr/msc_vlr_test_gsm_authen.c @@ -115,8 +115,8 @@ static void test_gsm_authen() VERBOSE_ASSERT(cm_service_result_sent, == RES_ACCEPT, "%d"); /* Release connection */ - expect_bssap_clear(RAN_GERAN_A); - conn_conclude_cm_service_req(g_conn, RAN_GERAN_A); + expect_bssap_clear(OSMO_RAT_GERAN_A); + conn_conclude_cm_service_req(g_conn, OSMO_RAT_GERAN_A); btw("all requests serviced, conn has been released"); bss_sends_clear_complete(); @@ -333,8 +333,8 @@ static void test_gsm_authen_tmsi() VERBOSE_ASSERT(cm_service_result_sent, == RES_ACCEPT, "%d"); /* Release connection */ - expect_bssap_clear(RAN_GERAN_A); - conn_conclude_cm_service_req(g_conn, RAN_GERAN_A); + expect_bssap_clear(OSMO_RAT_GERAN_A); + conn_conclude_cm_service_req(g_conn, OSMO_RAT_GERAN_A); btw("all requests serviced, conn has been released"); bss_sends_clear_complete(); @@ -728,7 +728,7 @@ static void test_gsm_milenage_authen() comment_start(); net->authentication_required = true; - rx_from_ran = RAN_GERAN_A; + rx_from_ran = OSMO_RAT_GERAN_A; btw("Location Update request causes a GSUP Send Auth Info request to HLR"); lu_result_sent = RES_NONE; @@ -828,8 +828,8 @@ static void test_gsm_milenage_authen() VERBOSE_ASSERT(cm_service_result_sent, == RES_ACCEPT, "%d"); /* Release connection */ - expect_bssap_clear(RAN_GERAN_A); - conn_conclude_cm_service_req(g_conn, RAN_GERAN_A); + expect_bssap_clear(OSMO_RAT_GERAN_A); + conn_conclude_cm_service_req(g_conn, OSMO_RAT_GERAN_A); btw("all requests serviced, conn has been released"); bss_sends_clear_complete(); diff --git a/tests/msc_vlr/msc_vlr_test_gsm_authen.err b/tests/msc_vlr/msc_vlr_test_gsm_authen.err index b40544e8f..e834e91da 100644 --- a/tests/msc_vlr/msc_vlr_test_gsm_authen.err +++ b/tests/msc_vlr/msc_vlr_test_gsm_authen.err @@ -3,7 +3,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_gsm_authen - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -69,7 +69,7 @@ DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: SMS:0x01 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -142,7 +142,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -165,7 +165,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, 2nd auth vector - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -208,7 +208,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts with a CM Service Accept - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = 20bde240) @@ -245,7 +245,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - all requests serviced, conn has been released - BSS sends BSSMAP Clear Complete @@ -270,7 +270,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 3 DCC (ti 00 sub MSISDN:46071 callref 40000001) New transaction DREF VLR subscr MSISDN:46071 usage increases to: 4 DMM Subscriber MSISDN:46071 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 + GERAN-A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -282,7 +282,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 DREF VLR subscr MSISDN:46071 usage decreases to: 4 - MS replies with Paging Response, and VLR sends Auth Request with third key - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -324,7 +324,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts and sends pending SMS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = a29514ae) @@ -351,8 +351,8 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_AUTH_CIPH}: Received Event DPAG Paging success for MSISDN:46071 (event=0) DPAG Calling paging cbfn. DREF MSISDN:46071: MSC conn use + trans_sms == 2 (0x22: dtap,trans_sms) -DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 +DMSC msc_tx 91 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 4 DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ACCEPTED @@ -367,7 +367,7 @@ DREF VLR subscr MSISDN:46071 usage decreases to: 4 - conn is still open to wait for SMS ack dance llist_count(&net->ran_conns) == 1 - MS replies with CP-ACK for received SMS - MSC <--RAN_GERAN_A-- MS: SMS:0x04 + MSC <--GERAN-A-- MS: SMS:0x04 DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING @@ -375,12 +375,12 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN DREF MSISDN:46071: MSC conn use - dtap == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 - MS also sends RP-ACK, MSC in turn sends CP-ACK for that - MSC <--RAN_GERAN_A-- MS: SMS:0x01 + MSC <--GERAN-A-- MS: SMS:0x01 DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_COMMUNICATING -DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x04: 0904 +DMSC msc_tx 2 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x04: 0904 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 @@ -391,7 +391,7 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: state_chg t DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS dtap_tx_confirmed == 1 bssap_clear_sent == 1 - SMS is done, conn is gone @@ -411,7 +411,7 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -427,7 +427,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -446,7 +446,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_gsm_authen_tmsi - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -512,7 +512,7 @@ DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: SMS:0x01 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -595,7 +595,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 vsub->tmsi == 0xffffffff DREF VLR subscr MSISDN:46071 usage decreases to: 1 - MS sends TMSI Realloc Complete - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 @@ -616,7 +616,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - LU was successful, and the conn has already been closed @@ -644,7 +644,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request using above TMSI. VLR responds with Auth Req, 2nd auth vector - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -687,7 +687,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts with a CM Service Accept - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = 20bde240) @@ -724,7 +724,7 @@ DMM RAN_conn(CM_SERVICE_REQ:50462976){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CON DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - all requests serviced, conn has been released - BSS sends BSSMAP Clear Complete @@ -749,7 +749,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 3 DCC (ti 00 sub MSISDN:46071 callref 40000002) New transaction DREF VLR subscr MSISDN:46071 usage increases to: 4 DMM Subscriber MSISDN:46071 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0x03020100, LAC 23 + GERAN-A sends out paging request to IMSI 901700000004620, TMSI 0x03020100, LAC 23 paging_expecting_tmsi == 0x03020100 DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -761,7 +761,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 DREF VLR subscr MSISDN:46071 usage decreases to: 4 - MS replies with Paging Response using TMSI, and VLR sends Auth Request with third key - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -803,7 +803,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts and sends pending SMS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = a29514ae) @@ -830,8 +830,8 @@ DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CON DPAG Paging success for MSISDN:46071 (event=0) DPAG Calling paging cbfn. DREF MSISDN:46071: MSC conn use + trans_sms == 2 (0x22: dtap,trans_sms) -DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 +DMSC msc_tx 91 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 4 DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ACCEPTED @@ -846,7 +846,7 @@ DREF VLR subscr MSISDN:46071 usage decreases to: 4 - conn is still open to wait for SMS ack dance llist_count(&net->ran_conns) == 1 - MS replies with CP-ACK for received SMS - MSC <--RAN_GERAN_A-- MS: SMS:0x04 + MSC <--GERAN-A-- MS: SMS:0x04 DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING @@ -854,12 +854,12 @@ DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S DREF MSISDN:46071: MSC conn use - dtap == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 - MS also sends RP-ACK, MSC in turn sends CP-ACK for that - MSC <--RAN_GERAN_A-- MS: SMS:0x01 + MSC <--GERAN-A-- MS: SMS:0x01 DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_COMMUNICATING -DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x04: 0904 +DMSC msc_tx 2 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x04: 0904 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 @@ -870,7 +870,7 @@ DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_COMMUNICATING}: state_chg to RAN_C DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS dtap_tx_confirmed == 1 bssap_clear_sent == 1 - SMS is done, conn is gone @@ -891,7 +891,7 @@ DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_RELEASED}: Deallocated --- - subscriber sends LU Request, this time with the TMSI - Location Update request causes an Auth Req to MS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -924,7 +924,7 @@ DMM RAN_conn(LU:50462976){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = 5afc8d72) @@ -1007,7 +1007,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 3 vsub->tmsi == 0x03020100 DREF VLR subscr MSISDN:46071 usage decreases to: 2 - MS sends TMSI Realloc Complete - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 @@ -1027,7 +1027,7 @@ DMM RAN_conn(LU:50462976){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_RELEASIN DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - LU was successful, and the conn has already been closed @@ -1055,7 +1055,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 --- - subscriber detaches, using new TMSI - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1071,7 +1071,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -1090,7 +1090,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_gsm_authen_imei - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1156,7 +1156,7 @@ DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: SMS:0x01 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -1214,8 +1214,8 @@ DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event L DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_IMEI -DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051802 +DMSC msc_tx 3 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: GSM48_MT_MM_ID_REQ: 051802 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 1 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 @@ -1235,7 +1235,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS replies with an Identity Response - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_ID_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) DMM IDENTITY RESPONSE: MI(IMEI)=423423423423420 @@ -1258,7 +1258,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - LU was successful, and the conn has already been closed @@ -1284,7 +1284,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1300,7 +1300,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -1319,7 +1319,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_gsm_authen_tmsi_imei - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1385,7 +1385,7 @@ DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: SMS:0x01 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -1443,8 +1443,8 @@ DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event L DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_IMEI_TMSI -DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051802 +DMSC msc_tx 3 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: GSM48_MT_MM_ID_REQ: 051802 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 1 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 @@ -1464,7 +1464,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS replies with an Identity Response - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_ID_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) DMM IDENTITY RESPONSE: MI(IMEI)=423423423423420 @@ -1498,7 +1498,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 vsub->tmsi == 0xffffffff DREF VLR subscr MSISDN:46071 usage decreases to: 1 - MS sends TMSI Realloc Complete - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 @@ -1519,7 +1519,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - LU was successful, and the conn has already been closed @@ -1545,7 +1545,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 --- - subscriber detaches, using TMSI - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1561,7 +1561,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -1580,7 +1580,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_gsm_milenage_authen - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1627,7 +1627,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM GSM AUTHENTICATION RESPONSE (sres = 9b36efdf) @@ -1700,7 +1700,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 4 DREF VLR subscr MSISDN:42342 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:42342 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -1723,7 +1723,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, 2nd auth vector - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1766,7 +1766,7 @@ DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts with a CM Service Accept - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM GSM AUTHENTICATION RESPONSE (sres = 85aa3130) @@ -1803,7 +1803,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - all requests serviced, conn has been released - BSS sends BSSMAP Clear Complete @@ -1828,7 +1828,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 3 DCC (ti 00 sub MSISDN:42342 callref 40000003) New transaction DREF VLR subscr MSISDN:42342 usage increases to: 4 DMM Subscriber MSISDN:42342 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000010650, TMSI 0xffffffff, LAC 23 + GERAN-A sends out paging request to IMSI 901700000010650, TMSI 0xffffffff, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:42342 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -1840,7 +1840,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 DREF VLR subscr MSISDN:42342 usage decreases to: 4 - MS replies with Paging Response, and VLR sends Auth Request with third key - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1882,7 +1882,7 @@ DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts and sends pending SMS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM GSM AUTHENTICATION RESPONSE (sres = 69d5f9fb) @@ -1909,8 +1909,8 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_AUTH_CIPH}: Received Event DPAG Paging success for MSISDN:42342 (event=0) DPAG Calling paging cbfn. DREF MSISDN:42342: MSC conn use + trans_sms == 2 (0x22: dtap,trans_sms) -DMSC msc_tx 91 bytes to MSISDN:42342 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x01: 09015801000791447758100650004c0005802443f2000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 +DMSC msc_tx 91 bytes to MSISDN:42342 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x01: 09015801000791447758100650004c0005802443f2000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 - DTAP matches expected message DREF VLR subscr MSISDN:42342 usage decreases to: 4 DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ACCEPTED @@ -1925,7 +1925,7 @@ DREF VLR subscr MSISDN:42342 usage decreases to: 4 - conn is still open to wait for SMS ack dance llist_count(&net->ran_conns) == 1 - MS replies with CP-ACK for received SMS - MSC <--RAN_GERAN_A-- MS: SMS:0x04 + MSC <--GERAN-A-- MS: SMS:0x04 DREF MSISDN:42342: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING @@ -1933,12 +1933,12 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN DREF MSISDN:42342: MSC conn use - dtap == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 - MS also sends RP-ACK, MSC in turn sends CP-ACK for that - MSC <--RAN_GERAN_A-- MS: SMS:0x01 + MSC <--GERAN-A-- MS: SMS:0x01 DREF MSISDN:42342: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_COMMUNICATING -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x04: 0904 +DMSC msc_tx 2 bytes to MSISDN:42342 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x04: 0904 - DTAP matches expected message DREF VLR subscr MSISDN:42342 usage decreases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 @@ -1949,7 +1949,7 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_COMMUNICATING}: state_chg t DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS dtap_tx_confirmed == 1 bssap_clear_sent == 1 - SMS is done, conn is gone @@ -1969,7 +1969,7 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1985,7 +1985,7 @@ DREF freeing VLR subscr MSISDN:42342 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -2005,7 +2005,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_wrong_sres_length - Total time passed: 0.000000 s - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -2071,7 +2071,7 @@ DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: SMS:0x01 lu_result_sent == 0 - MS sends Authen Response with too short SRES data, auth is thwarted. - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM AUTHENTICATION RESPONSE: l3 length invalid: 5 @@ -2096,7 +2096,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ DREF IMSI:901700000004620: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr IMSI:901700000004620 usage increases to: 2 DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF IMSI:901700000004620: MSC conn use - dtap == 1 (0x100: release) lu_result_sent == 2 - BSS sends BSSMAP Clear Complete diff --git a/tests/msc_vlr/msc_vlr_test_gsm_ciph.c b/tests/msc_vlr/msc_vlr_test_gsm_ciph.c index 8f256b162..a641ec22e 100644 --- a/tests/msc_vlr/msc_vlr_test_gsm_ciph.c +++ b/tests/msc_vlr/msc_vlr_test_gsm_ciph.c @@ -126,8 +126,8 @@ static void test_ciph() VERBOSE_ASSERT(cm_service_result_sent, == RES_NONE, "%d"); /* Release connection */ - expect_bssap_clear(RAN_GERAN_A); - conn_conclude_cm_service_req(g_conn, RAN_GERAN_A); + expect_bssap_clear(OSMO_RAT_GERAN_A); + conn_conclude_cm_service_req(g_conn, OSMO_RAT_GERAN_A); btw("all requests serviced, conn has been released"); bss_sends_clear_complete(); @@ -366,8 +366,8 @@ static void test_ciph_tmsi() VERBOSE_ASSERT(cm_service_result_sent, == RES_NONE, "%d"); /* Release connection */ - expect_bssap_clear(RAN_GERAN_A); - conn_conclude_cm_service_req(g_conn, RAN_GERAN_A); + expect_bssap_clear(OSMO_RAT_GERAN_A); + conn_conclude_cm_service_req(g_conn, OSMO_RAT_GERAN_A); btw("all requests serviced, conn has been released"); bss_sends_clear_complete(); @@ -833,7 +833,7 @@ static void test_gsm_ciph_in_umts_env() /* implicit: net->authentication_required = true; */ net->a5_encryption_mask = (1 << 1); - rx_from_ran = RAN_GERAN_A; + rx_from_ran = OSMO_RAT_GERAN_A; btw("Location Update request causes a GSUP Send Auth Info request to HLR"); lu_result_sent = RES_NONE; @@ -963,8 +963,8 @@ static void test_gsm_ciph_in_umts_env() VERBOSE_ASSERT(cm_service_result_sent, == RES_NONE, "%d"); /* Release connection */ - expect_bssap_clear(RAN_GERAN_A); - conn_conclude_cm_service_req(g_conn, RAN_GERAN_A); + expect_bssap_clear(OSMO_RAT_GERAN_A); + conn_conclude_cm_service_req(g_conn, OSMO_RAT_GERAN_A); btw("all requests serviced, conn has been released"); bss_sends_clear_complete(); @@ -1159,8 +1159,8 @@ static void test_a5_3_supported() VERBOSE_ASSERT(cm_service_result_sent, == RES_NONE, "%d"); /* Release connection */ - expect_bssap_clear(RAN_GERAN_A); - conn_conclude_cm_service_req(g_conn, RAN_GERAN_A); + expect_bssap_clear(OSMO_RAT_GERAN_A); + conn_conclude_cm_service_req(g_conn, OSMO_RAT_GERAN_A); btw("all requests serviced, conn has been released"); bss_sends_clear_complete(); @@ -1381,8 +1381,8 @@ static void test_cm_service_needs_classmark_update() VERBOSE_ASSERT(cm_service_result_sent, == RES_NONE, "%d"); /* Release connection */ - expect_bssap_clear(RAN_GERAN_A); - conn_conclude_cm_service_req(g_conn, RAN_GERAN_A); + expect_bssap_clear(OSMO_RAT_GERAN_A); + conn_conclude_cm_service_req(g_conn, OSMO_RAT_GERAN_A); btw("all requests serviced, conn has been released"); bss_sends_clear_complete(); diff --git a/tests/msc_vlr/msc_vlr_test_gsm_ciph.err b/tests/msc_vlr/msc_vlr_test_gsm_ciph.err index 6e35b072a..69ad9a2ea 100644 --- a/tests/msc_vlr/msc_vlr_test_gsm_ciph.err +++ b/tests/msc_vlr/msc_vlr_test_gsm_ciph.err @@ -3,7 +3,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_ciph - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -50,7 +50,7 @@ DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 lu_result_sent == 0 auth_request_sent == 1 - MS sends Authen Response, VLR accepts and sends Ciphering Mode Command to MS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -88,7 +88,7 @@ DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: SMS:0x01 lu_result_sent == 0 - MS sends Ciphering Mode Complete, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR IMSI:901700000004620: CIPHERING MODE COMPLETE DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() @@ -146,7 +146,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -169,7 +169,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, 2nd auth vector - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -212,7 +212,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts and requests Ciphering - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = 20bde240) @@ -250,7 +250,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS sends Ciphering Mode Complete, VLR accepts; above Ciphering is an implicit CM Service Accept - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR MSISDN:46071: CIPHERING MODE COMPLETE DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() @@ -273,7 +273,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - all requests serviced, conn has been released - BSS sends BSSMAP Clear Complete @@ -298,7 +298,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 3 DCC (ti 00 sub MSISDN:46071 callref 40000001) New transaction DREF VLR subscr MSISDN:46071 usage increases to: 4 DMM Subscriber MSISDN:46071 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 + GERAN-A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -310,7 +310,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 DREF VLR subscr MSISDN:46071 usage decreases to: 4 - MS replies with Paging Response, and VLR sends Auth Request with third key - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -352,7 +352,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts and requests Ciphering - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = a29514ae) @@ -389,7 +389,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS sends Ciphering Mode Complete, VLR accepts and sends pending SMS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR MSISDN:46071: CIPHERING MODE COMPLETE DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() @@ -404,8 +404,8 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_AUTH_CIPH}: Received Event DPAG Paging success for MSISDN:46071 (event=0) DPAG Calling paging cbfn. DREF MSISDN:46071: MSC conn use + trans_sms == 1 (0x20: trans_sms) -DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 +DMSC msc_tx 91 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 4 DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ACCEPTED @@ -419,7 +419,7 @@ DREF VLR subscr MSISDN:46071 usage decreases to: 4 - conn is still open to wait for SMS ack dance llist_count(&net->ran_conns) == 1 - MS replies with CP-ACK for received SMS - MSC <--RAN_GERAN_A-- MS: SMS:0x04 + MSC <--GERAN-A-- MS: SMS:0x04 DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING @@ -427,12 +427,12 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN DREF MSISDN:46071: MSC conn use - dtap == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 - MS also sends RP-ACK, MSC in turn sends CP-ACK for that - MSC <--RAN_GERAN_A-- MS: SMS:0x01 + MSC <--GERAN-A-- MS: SMS:0x01 DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_COMMUNICATING -DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x04: 0904 +DMSC msc_tx 2 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x04: 0904 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 @@ -443,7 +443,7 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: state_chg t DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS dtap_tx_confirmed == 1 bssap_clear_sent == 1 - SMS is done, conn is gone @@ -463,7 +463,7 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -479,7 +479,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -498,7 +498,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_ciph_tmsi - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -545,7 +545,7 @@ DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends Ciphering Mode Command to MS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -584,7 +584,7 @@ DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: SMS:0x01 lu_result_sent == 0 - MS sends Ciphering Mode Complete, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR IMSI:901700000004620: CIPHERING MODE COMPLETE DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() @@ -652,7 +652,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 vsub->tmsi == 0xffffffff DREF VLR subscr MSISDN:46071 usage decreases to: 1 - MS sends TMSI Realloc Complete - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 @@ -673,7 +673,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - LU was successful, and the conn has already been closed @@ -701,7 +701,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request using above TMSI. VLR responds with Auth Req, 2nd auth vector - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -744,7 +744,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts and requests Ciphering - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = 20bde240) @@ -782,7 +782,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS sends Ciphering Mode Complete, VLR accepts; above Ciphering is an implicit CM Service Accept - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR MSISDN:46071: CIPHERING MODE COMPLETE DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:50462976){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() @@ -805,7 +805,7 @@ DMM RAN_conn(CM_SERVICE_REQ:50462976){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CON DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - all requests serviced, conn has been released - BSS sends BSSMAP Clear Complete @@ -830,7 +830,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 3 DCC (ti 00 sub MSISDN:46071 callref 40000002) New transaction DREF VLR subscr MSISDN:46071 usage increases to: 4 DMM Subscriber MSISDN:46071 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0x03020100, LAC 23 + GERAN-A sends out paging request to IMSI 901700000004620, TMSI 0x03020100, LAC 23 paging_expecting_tmsi == 0x03020100 DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -842,7 +842,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 DREF VLR subscr MSISDN:46071 usage decreases to: 4 - MS replies with Paging Response using TMSI, and VLR sends Auth Request with third key - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -884,7 +884,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts and requests Ciphering - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = a29514ae) @@ -921,7 +921,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS sends Ciphering Mode Complete, VLR accepts and sends pending SMS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR MSISDN:46071: CIPHERING MODE COMPLETE DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(PAGING_RESP:50462976){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() @@ -936,8 +936,8 @@ DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CON DPAG Paging success for MSISDN:46071 (event=0) DPAG Calling paging cbfn. DREF MSISDN:46071: MSC conn use + trans_sms == 1 (0x20: trans_sms) -DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 +DMSC msc_tx 91 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 4 DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ACCEPTED @@ -951,7 +951,7 @@ DREF VLR subscr MSISDN:46071 usage decreases to: 4 - conn is still open to wait for SMS ack dance llist_count(&net->ran_conns) == 1 - MS replies with CP-ACK for received SMS - MSC <--RAN_GERAN_A-- MS: SMS:0x04 + MSC <--GERAN-A-- MS: SMS:0x04 DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING @@ -959,12 +959,12 @@ DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S DREF MSISDN:46071: MSC conn use - dtap == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 - MS also sends RP-ACK, MSC in turn sends CP-ACK for that - MSC <--RAN_GERAN_A-- MS: SMS:0x01 + MSC <--GERAN-A-- MS: SMS:0x01 DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_COMMUNICATING -DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x04: 0904 +DMSC msc_tx 2 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x04: 0904 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 @@ -975,7 +975,7 @@ DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_COMMUNICATING}: state_chg to RAN_C DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS dtap_tx_confirmed == 1 bssap_clear_sent == 1 - SMS is done, conn is gone @@ -995,7 +995,7 @@ DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches, using TMSI - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1011,7 +1011,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -1030,7 +1030,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_ciph_imei - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1077,7 +1077,7 @@ DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends Ciphering Mode Command to MS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -1115,7 +1115,7 @@ DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: SMS:0x01 lu_result_sent == 0 - MS sends Ciphering Mode Complete, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR IMSI:901700000004620: CIPHERING MODE COMPLETE DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() @@ -1158,8 +1158,8 @@ DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event L DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_IMEI -DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051802 +DMSC msc_tx 3 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: GSM48_MT_MM_ID_REQ: 051802 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 1 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 @@ -1179,7 +1179,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS replies with an Identity Response - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_ID_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) DMM IDENTITY RESPONSE: MI(IMEI)=423423423423420 @@ -1202,7 +1202,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - LU was successful, and the conn has already been closed @@ -1228,7 +1228,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1244,7 +1244,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -1263,7 +1263,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_ciph_imeisv - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1310,7 +1310,7 @@ DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends Ciphering Mode Command to MS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -1353,7 +1353,7 @@ DREF VLR subscr IMSI:901700000004620 usage increases to: 2 vsub->imeisv[0] == 0 DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 - MS sends Ciphering Mode Complete with IMEISV, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR IMSI:901700000004620: CIPHERING MODE COMPLETE DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_CIPH}: got IMEISV: 4234234234234275F @@ -1427,7 +1427,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -1450,7 +1450,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1466,7 +1466,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -1485,7 +1485,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_ciph_tmsi_imei - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1532,7 +1532,7 @@ DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends Ciphering Mode Command to MS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -1570,7 +1570,7 @@ DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: SMS:0x01 lu_result_sent == 0 - MS sends Ciphering Mode Complete, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR IMSI:901700000004620: CIPHERING MODE COMPLETE DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() @@ -1613,8 +1613,8 @@ DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event L DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_IMEI_TMSI -DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051802 +DMSC msc_tx 3 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: GSM48_MT_MM_ID_REQ: 051802 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 1 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 @@ -1634,7 +1634,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS replies with an Identity Response - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_ID_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) DMM IDENTITY RESPONSE: MI(IMEI)=423423423423420 @@ -1668,7 +1668,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 vsub->tmsi == 0xffffffff DREF VLR subscr MSISDN:46071 usage decreases to: 1 - MS sends TMSI Realloc Complete - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 @@ -1689,7 +1689,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - LU was successful, and the conn has already been closed @@ -1715,7 +1715,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 --- - subscriber detaches, using TMSI - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1731,7 +1731,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -1750,7 +1750,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_gsm_ciph_in_umts_env - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1798,7 +1798,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends *GSM AKA* Authen Response, VLR accepts and sends Ciphering Mode Command to MS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM GSM AUTHENTICATION RESPONSE (sres = dacc4b26) @@ -1824,7 +1824,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CONN_ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event RAN_CONN_E_UNUSED lu_result_sent == 0 - MS sends Ciphering Mode Complete, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR IMSI:901700000010650: CIPHERING MODE COMPLETE DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() @@ -1882,7 +1882,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 4 DREF VLR subscr MSISDN:42342 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:42342 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -1905,7 +1905,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - after a while, a new conn sends a CM Service Request. VLR responds with *UMTS AKA* Auth Req, 2nd auth vector - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1949,7 +1949,7 @@ DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 - MS sends *GSM AKA* Authen Response, VLR accepts and requests Ciphering - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM GSM AUTHENTICATION RESPONSE (sres = 2fb4cfad) @@ -1976,7 +1976,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_AUTH_CIPH}: Awaiting res cm_service_result_sent == 0 cipher_mode_cmd_sent == 1 - MS sends Ciphering Mode Complete, VLR accepts; above Ciphering is an implicit CM Service Accept - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR MSISDN:42342: CIPHERING MODE COMPLETE DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() @@ -1999,7 +1999,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - all requests serviced, conn has been released - BSS sends BSSMAP Clear Complete @@ -2024,7 +2024,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 3 DCC (ti 00 sub MSISDN:42342 callref 40000003) New transaction DREF VLR subscr MSISDN:42342 usage increases to: 4 DMM Subscriber MSISDN:42342 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000010650, TMSI 0xffffffff, LAC 23 + GERAN-A sends out paging request to IMSI 901700000010650, TMSI 0xffffffff, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:42342 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -2036,7 +2036,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 DREF VLR subscr MSISDN:42342 usage decreases to: 4 - MS replies with Paging Response, and VLR sends *UMTS AKA* Auth Request with third key - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -2079,7 +2079,7 @@ DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 - MS sends *GSM AKA* Authen Response, VLR accepts and requests Ciphering - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM GSM AUTHENTICATION RESPONSE (sres = 0ff61e0f) @@ -2105,7 +2105,7 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_AUTH_CIPH}: Received Event DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event RAN_CONN_E_UNUSED cipher_mode_cmd_sent == 1 - MS sends Ciphering Mode Complete, VLR accepts and sends pending SMS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR MSISDN:42342: CIPHERING MODE COMPLETE DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() @@ -2120,8 +2120,8 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_AUTH_CIPH}: Received Event DPAG Paging success for MSISDN:42342 (event=0) DPAG Calling paging cbfn. DREF MSISDN:42342: MSC conn use + trans_sms == 1 (0x20: trans_sms) -DMSC msc_tx 91 bytes to MSISDN:42342 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x01: 09015801000791447758100650004c0005802443f2000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 +DMSC msc_tx 91 bytes to MSISDN:42342 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x01: 09015801000791447758100650004c0005802443f2000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 - DTAP matches expected message DREF VLR subscr MSISDN:42342 usage decreases to: 4 DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ACCEPTED @@ -2135,7 +2135,7 @@ DREF VLR subscr MSISDN:42342 usage decreases to: 4 - conn is still open to wait for SMS ack dance llist_count(&net->ran_conns) == 1 - MS replies with CP-ACK for received SMS - MSC <--RAN_GERAN_A-- MS: SMS:0x04 + MSC <--GERAN-A-- MS: SMS:0x04 DREF MSISDN:42342: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING @@ -2143,12 +2143,12 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN DREF MSISDN:42342: MSC conn use - dtap == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 - MS also sends RP-ACK, MSC in turn sends CP-ACK for that - MSC <--RAN_GERAN_A-- MS: SMS:0x01 + MSC <--GERAN-A-- MS: SMS:0x01 DREF MSISDN:42342: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_COMMUNICATING -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x04: 0904 +DMSC msc_tx 2 bytes to MSISDN:42342 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x04: 0904 - DTAP matches expected message DREF VLR subscr MSISDN:42342 usage decreases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 @@ -2159,7 +2159,7 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_COMMUNICATING}: state_chg t DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS dtap_tx_confirmed == 1 bssap_clear_sent == 1 - SMS is done, conn is gone @@ -2179,7 +2179,7 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -2195,7 +2195,7 @@ DREF freeing VLR subscr MSISDN:42342 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -2214,7 +2214,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_a5_3_supported - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -2262,7 +2262,7 @@ DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 auth_request_sent == 1 --- - MS sends Authen Response, VLR accepts and wants to send Ciphering Mode Command to MS -- but needs Classmark 2 to determine whether A5/3 is supported - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -2296,7 +2296,7 @@ DMM -> CIPHER MODE COMMAND IMSI:901700000004620 - ...key: 61855fb81fc2a800 lu_result_sent == 0 - MS sends Ciphering Mode Complete, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR IMSI:901700000004620: CIPHERING MODE COMPLETE DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() @@ -2354,7 +2354,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 4 DREF VLR subscr MSISDN:42342 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:42342 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -2377,7 +2377,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, 2nd auth vector - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -2420,7 +2420,7 @@ DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts and requests Ciphering. We already know Classmark 3, so no need to request Classmark Update. - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM GSM AUTHENTICATION RESPONSE (sres = 20bde240) @@ -2458,7 +2458,7 @@ DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 - MS sends Ciphering Mode Complete, VLR accepts; above Ciphering is an implicit CM Service Accept - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR MSISDN:42342: CIPHERING MODE COMPLETE DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() @@ -2481,7 +2481,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - all requests serviced, conn has been released - BSS sends BSSMAP Clear Complete @@ -2506,7 +2506,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 3 DCC (ti 00 sub MSISDN:42342 callref 40000004) New transaction DREF VLR subscr MSISDN:42342 usage increases to: 4 DMM Subscriber MSISDN:42342 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 + GERAN-A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:42342 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -2518,7 +2518,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 DREF VLR subscr MSISDN:42342 usage decreases to: 4 - MS replies with Paging Response, and VLR sends Auth Request with third key - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -2560,7 +2560,7 @@ DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts and requests Ciphering - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM GSM AUTHENTICATION RESPONSE (sres = a29514ae) @@ -2597,7 +2597,7 @@ DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 - MS sends Ciphering Mode Complete, VLR accepts and sends pending SMS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR MSISDN:42342: CIPHERING MODE COMPLETE DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() @@ -2612,8 +2612,8 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_AUTH_CIPH}: Received Event DPAG Paging success for MSISDN:42342 (event=0) DPAG Calling paging cbfn. DREF MSISDN:42342: MSC conn use + trans_sms == 1 (0x20: trans_sms) -DMSC msc_tx 91 bytes to MSISDN:42342 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x01: 09015801000791447758100650004c0005802443f2000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 +DMSC msc_tx 91 bytes to MSISDN:42342 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x01: 09015801000791447758100650004c0005802443f2000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 - DTAP matches expected message DREF VLR subscr MSISDN:42342 usage decreases to: 4 DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ACCEPTED @@ -2627,7 +2627,7 @@ DREF VLR subscr MSISDN:42342 usage decreases to: 4 - conn is still open to wait for SMS ack dance llist_count(&net->ran_conns) == 1 - MS replies with CP-ACK for received SMS - MSC <--RAN_GERAN_A-- MS: SMS:0x04 + MSC <--GERAN-A-- MS: SMS:0x04 DREF MSISDN:42342: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING @@ -2635,12 +2635,12 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN DREF MSISDN:42342: MSC conn use - dtap == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 - MS also sends RP-ACK, MSC in turn sends CP-ACK for that - MSC <--RAN_GERAN_A-- MS: SMS:0x01 + MSC <--GERAN-A-- MS: SMS:0x01 DREF MSISDN:42342: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_COMMUNICATING -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x04: 0904 +DMSC msc_tx 2 bytes to MSISDN:42342 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x04: 0904 - DTAP matches expected message DREF VLR subscr MSISDN:42342 usage decreases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 @@ -2651,7 +2651,7 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: state_chg t DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS dtap_tx_confirmed == 1 bssap_clear_sent == 1 - SMS is done, conn is gone @@ -2671,7 +2671,7 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -2687,7 +2687,7 @@ DREF freeing VLR subscr MSISDN:42342 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -2706,7 +2706,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_cm_service_needs_classmark_update - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -2754,7 +2754,7 @@ DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 auth_request_sent == 1 --- - MS sends Authen Response, VLR accepts and wants to send Ciphering Mode Command to MS -- but needs Classmark 2 to determine whether A5/3 is supported - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -2788,7 +2788,7 @@ DMM -> CIPHER MODE COMMAND IMSI:901700000004620 - ...key: 61855fb81fc2a800 lu_result_sent == 0 - MS sends Ciphering Mode Complete, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR IMSI:901700000004620: CIPHERING MODE COMPLETE DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() @@ -2846,7 +2846,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 4 DREF VLR subscr MSISDN:42342 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:42342 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -2869,7 +2869,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, 2nd auth vector - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -2912,7 +2912,7 @@ DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts and requests Ciphering. We already know Classmark 3, so no need to request Classmark Update. - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM GSM AUTHENTICATION RESPONSE (sres = 20bde240) @@ -2950,7 +2950,7 @@ DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 - MS sends Ciphering Mode Complete, VLR accepts; above Ciphering is an implicit CM Service Accept - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR MSISDN:42342: CIPHERING MODE COMPLETE DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() @@ -2973,7 +2973,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - all requests serviced, conn has been released - BSS sends BSSMAP Clear Complete @@ -2998,7 +2998,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 3 DCC (ti 00 sub MSISDN:42342 callref 40000005) New transaction DREF VLR subscr MSISDN:42342 usage increases to: 4 DMM Subscriber MSISDN:42342 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 + GERAN-A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:42342 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -3010,7 +3010,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 DREF VLR subscr MSISDN:42342 usage decreases to: 4 - MS replies with Paging Response, and VLR sends Auth Request with third key - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -3046,7 +3046,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 6 DREF VLR subscr MSISDN:42342 usage decreases to: 5 - MS sends Authen Response, VLR accepts and requests Ciphering - MS sends Authen Response, VLR accepts and requests Ciphering. Normally, we'd know Classmark 3, but this test removed it. Hence a Classmark Request is generated. - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM GSM AUTHENTICATION RESPONSE (sres = a29514ae) @@ -3080,7 +3080,7 @@ DMM -> CIPHER MODE COMMAND MSISDN:42342 - needs ciph, not yet accepted ran_conn_is_accepted() == false - MS sends Ciphering Mode Complete, VLR accepts and sends pending SMS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_RR_CIPH_M_COMPL DRR MSISDN:42342: CIPHERING MODE COMPLETE DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(PAGING_RESP:901700000004620){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() @@ -3095,8 +3095,8 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_AUTH_CIPH}: Received Event DPAG Paging success for MSISDN:42342 (event=0) DPAG Calling paging cbfn. DREF MSISDN:42342: MSC conn use + trans_sms == 1 (0x20: trans_sms) -DMSC msc_tx 91 bytes to MSISDN:42342 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x01: 09015801000791447758100650004c0005802443f2000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 +DMSC msc_tx 91 bytes to MSISDN:42342 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x01: 09015801000791447758100650004c0005802443f2000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 - DTAP matches expected message DREF VLR subscr MSISDN:42342 usage decreases to: 4 DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ACCEPTED @@ -3110,7 +3110,7 @@ DREF VLR subscr MSISDN:42342 usage decreases to: 4 - conn is still open to wait for SMS ack dance llist_count(&net->ran_conns) == 1 - MS replies with CP-ACK for received SMS - MSC <--RAN_GERAN_A-- MS: SMS:0x04 + MSC <--GERAN-A-- MS: SMS:0x04 DREF MSISDN:42342: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING @@ -3118,12 +3118,12 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN DREF MSISDN:42342: MSC conn use - dtap == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 - MS also sends RP-ACK, MSC in turn sends CP-ACK for that - MSC <--RAN_GERAN_A-- MS: SMS:0x01 + MSC <--GERAN-A-- MS: SMS:0x01 DREF MSISDN:42342: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_COMMUNICATING -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x04: 0904 +DMSC msc_tx 2 bytes to MSISDN:42342 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x04: 0904 - DTAP matches expected message DREF VLR subscr MSISDN:42342 usage decreases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 @@ -3134,7 +3134,7 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: state_chg t DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS dtap_tx_confirmed == 1 bssap_clear_sent == 1 - SMS is done, conn is gone @@ -3154,7 +3154,7 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -3170,7 +3170,7 @@ DREF freeing VLR subscr MSISDN:42342 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete diff --git a/tests/msc_vlr/msc_vlr_test_hlr_reject.err b/tests/msc_vlr/msc_vlr_test_hlr_reject.err index 1b85a2dc4..1a3d67ccb 100644 --- a/tests/msc_vlr/msc_vlr_test_hlr_reject.err +++ b/tests/msc_vlr/msc_vlr_test_hlr_reject.err @@ -3,7 +3,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_hlr_rej_auth_info_unknown_imsi - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -54,7 +54,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ DREF IMSI:901700000004620: MSC conn use + release == 1 (0x100: release) DREF VLR subscr IMSI:901700000004620 usage increases to: 3 DREF VLR subscr IMSI:901700000004620 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_ERROR: vlr_gsupc_read_cb() returns 0 auth_request_sent == 0 @@ -83,7 +83,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_hlr_rej_auth_info_net_fail - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -134,7 +134,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ DREF IMSI:901700000004620: MSC conn use + release == 1 (0x100: release) DREF VLR subscr IMSI:901700000004620 usage increases to: 3 DREF VLR subscr IMSI:901700000004620 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_ERROR: vlr_gsupc_read_cb() returns 0 auth_request_sent == 0 @@ -165,7 +165,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 --- - Submit a used auth tuple in the VLR - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -212,7 +212,7 @@ DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -285,7 +285,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -314,7 +314,7 @@ DREF VLR subscr MSISDN:46071 usage decreases to: 1 --- - Another LU wants to get new tuples; even though HLR sends Network Failure, we are reusing the old tuples. - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -359,7 +359,7 @@ DREF VLR subscr MSISDN:46071 usage decreases to: 2 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:46071: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -431,7 +431,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -462,7 +462,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 --- - Submit a used auth tuple in the VLR - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -509,7 +509,7 @@ DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -582,7 +582,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -611,7 +611,7 @@ DREF VLR subscr MSISDN:46071 usage decreases to: 1 --- - Another LU wants to get new tuples; HLR sends Network Failure, we reject. - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -660,7 +660,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_ERROR: vlr_gsupc_read_cb() returns 0 auth_request_sent == 0 @@ -691,7 +691,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 --- - Submit a used auth tuple in the VLR - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -738,7 +738,7 @@ DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -811,7 +811,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -841,7 +841,7 @@ DREF VLR subscr MSISDN:46071 usage decreases to: 1 - Another LU wants to get new tuples; HLR sends IMSI Unknown. Even though we would re-use an old tuple, reject the unknown IMSI. net->vlr->cfg.auth_reuse_old_sets_on_error == 1 - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -890,7 +890,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_ERROR: vlr_gsupc_read_cb() returns 0 auth_request_sent == 0 @@ -919,7 +919,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_hlr_acc_but_no_auth_tuples - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -969,7 +969,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ DREF IMSI:901700000004620: MSC conn use + release == 1 (0x100: release) DREF VLR subscr IMSI:901700000004620 usage increases to: 3 DREF VLR subscr IMSI:901700000004620 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 <-- GSUP rx OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT: vlr_gsupc_read_cb() returns 0 auth_request_sent == 0 @@ -998,7 +998,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_hlr_rej_lu - Location Update request causes a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1052,7 +1052,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ DREF IMSI:901700000004620: MSC conn use + release == 1 (0x100: release) DREF VLR subscr IMSI:901700000004620 usage increases to: 3 DREF VLR subscr IMSI:901700000004620 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_ERROR: vlr_gsupc_read_cb() returns 0 lu_result_sent == 2 @@ -1080,7 +1080,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_hlr_no_insert_data - Location Update request causes a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1148,7 +1148,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF IMSI:901700000004620: MSC conn use + release == 1 (0x100: release) DREF VLR subscr IMSI:901700000004620 usage increases to: 4 DREF VLR subscr IMSI:901700000004620 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr IMSI:901700000004620 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 diff --git a/tests/msc_vlr/msc_vlr_test_hlr_timeout.err b/tests/msc_vlr/msc_vlr_test_hlr_timeout.err index 2fa071955..7e49d01d7 100644 --- a/tests/msc_vlr/msc_vlr_test_hlr_timeout.err +++ b/tests/msc_vlr/msc_vlr_test_hlr_timeout.err @@ -4,7 +4,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_hlr_timeout_lu_auth_info - Total time passed: 0.000000 s - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -60,7 +60,7 @@ DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASING}: Event RAN_CONN_E_CN_CLOSE not permitted DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS - RAN_CONN_TIMEOUT has passed, conn is gone. bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -92,7 +92,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_hlr_timeout_lu_upd_loc_result - Total time passed: 0.000000 s - Location Update request causes a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -167,7 +167,7 @@ DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_UL DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASING}: Event RAN_CONN_E_CN_CLOSE not permitted DREF VLR subscr MSISDN:46071 usage decreases to: 1 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS - RAN_CONN_TIMEOUT has passed, conn is gone. bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete diff --git a/tests/msc_vlr/msc_vlr_test_ms_timeout.c b/tests/msc_vlr/msc_vlr_test_ms_timeout.c index b09bcee25..3702a0cfb 100644 --- a/tests/msc_vlr/msc_vlr_test_ms_timeout.c +++ b/tests/msc_vlr/msc_vlr_test_ms_timeout.c @@ -190,7 +190,7 @@ static void test_ms_timeout_paging() struct vlr_subscr *vsub; const char *imsi = "901700000004620"; - rx_from_ran = RAN_GERAN_A; + rx_from_ran = OSMO_RAT_GERAN_A; comment_start(); diff --git a/tests/msc_vlr/msc_vlr_test_ms_timeout.err b/tests/msc_vlr/msc_vlr_test_ms_timeout.err index c91f6a23e..8e9988305 100644 --- a/tests/msc_vlr/msc_vlr_test_ms_timeout.err +++ b/tests/msc_vlr/msc_vlr_test_ms_timeout.err @@ -4,7 +4,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_ms_timeout_lu_auth_resp - Total time passed: 0.000000 s - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -80,7 +80,7 @@ DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_AUTH}: state_chg to VLR_ULA_S DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASING}: Event RAN_CONN_E_CN_CLOSE not permitted DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS - RAN_CONN_TIMEOUT has passed, conn is gone. bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -112,7 +112,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_ms_timeout_cm_auth_resp - Total time passed: 0.000000 s - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -159,7 +159,7 @@ DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -232,7 +232,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -255,7 +255,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, 2nd auth vector - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -319,7 +319,7 @@ DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_DONE}: DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_RELEASING}: Event RAN_CONN_E_CN_CLOSE not permitted DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS - RAN_CONN_TIMEOUT has passed, conn is gone. bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -350,7 +350,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_ms_timeout_paging - Total time passed: 0.000000 s - Location Update request causes a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -429,7 +429,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 - LU was successful, and the conn has already been closed @@ -458,7 +458,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 3 DCC (ti 00 sub MSISDN:46071 callref 40000001) New transaction DREF VLR subscr MSISDN:46071 usage increases to: 4 DMM Subscriber MSISDN:46071 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 + GERAN-A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -499,7 +499,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 3 DCC (ti 00 sub MSISDN:46071 callref 40000003) New transaction DREF VLR subscr MSISDN:46071 usage increases to: 4 DMM Subscriber MSISDN:46071 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 + GERAN-A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -508,7 +508,7 @@ DREF VLR subscr MSISDN:46071 usage decreases to: 4 paging_stopped == 0 --- - subscriber detaches, pagings are canceled - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -529,7 +529,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 paging_stopped == 1 @@ -550,7 +550,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_classmark_update_timeout - Total time passed: 0.000000 s - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -598,7 +598,7 @@ DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 auth_request_sent == 1 --- - MS sends Authen Response, VLR accepts and wants to send Ciphering Mode Command to MS -- but needs Classmark 2 to determine whether A5/3 is supported - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000004620: MM GSM AUTHENTICATION RESPONSE (sres = 2d8b2c3e) @@ -652,7 +652,7 @@ DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASING}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASING}: Event RAN_CONN_E_CN_CLOSE not permitted DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS - RAN_CONN_TIMEOUT has passed, conn is gone. bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete diff --git a/tests/msc_vlr/msc_vlr_test_no_authen.c b/tests/msc_vlr/msc_vlr_test_no_authen.c index b34ddd7d9..3162149dc 100644 --- a/tests/msc_vlr/msc_vlr_test_no_authen.c +++ b/tests/msc_vlr/msc_vlr_test_no_authen.c @@ -29,7 +29,7 @@ static void test_no_authen() const char *imsi = "901700000004620"; /* No auth only works on GERAN */ - rx_from_ran = RAN_GERAN_A; + rx_from_ran = OSMO_RAT_GERAN_A; comment_start(); @@ -73,8 +73,8 @@ static void test_no_authen() EXPECT_ACCEPTED(true); /* Release connection */ - expect_bssap_clear(RAN_GERAN_A); - conn_conclude_cm_service_req(g_conn, RAN_GERAN_A); + expect_bssap_clear(OSMO_RAT_GERAN_A); + conn_conclude_cm_service_req(g_conn, OSMO_RAT_GERAN_A); btw("all requests serviced, conn has been released"); bss_sends_clear_complete(); @@ -169,7 +169,7 @@ static void test_no_authen_tmsi() struct vlr_subscr *vsub; const char *imsi = "901700000004620"; - rx_from_ran = RAN_GERAN_A; + rx_from_ran = OSMO_RAT_GERAN_A; comment_start(); @@ -236,8 +236,8 @@ static void test_no_authen_tmsi() EXPECT_ACCEPTED(true); /* Release connection */ - expect_bssap_clear(RAN_GERAN_A); - conn_conclude_cm_service_req(g_conn, RAN_GERAN_A); + expect_bssap_clear(OSMO_RAT_GERAN_A); + conn_conclude_cm_service_req(g_conn, OSMO_RAT_GERAN_A); btw("all requests serviced, conn has been released"); bss_sends_clear_complete(); @@ -392,7 +392,7 @@ static void test_no_authen_imei() struct vlr_subscr *vsub; const char *imsi = "901700000004620"; - rx_from_ran = RAN_GERAN_A; + rx_from_ran = OSMO_RAT_GERAN_A; comment_start(); @@ -462,7 +462,7 @@ static void test_no_authen_tmsi_imei() struct vlr_subscr *vsub; const char *imsi = "901700000004620"; - rx_from_ran = RAN_GERAN_A; + rx_from_ran = OSMO_RAT_GERAN_A; comment_start(); @@ -542,7 +542,7 @@ static void test_no_authen_imeisv() const char *imsi = "901700000004620"; /* No auth only works on GERAN */ - rx_from_ran = RAN_GERAN_A; + rx_from_ran = OSMO_RAT_GERAN_A; comment_start(); @@ -604,7 +604,7 @@ static void test_no_authen_imeisv_imei() struct vlr_subscr *vsub; const char *imsi = "901700000004620"; - rx_from_ran = RAN_GERAN_A; + rx_from_ran = OSMO_RAT_GERAN_A; comment_start(); @@ -684,7 +684,7 @@ static void test_no_authen_imeisv_tmsi() struct vlr_subscr *vsub; const char *imsi = "901700000004620"; - rx_from_ran = RAN_GERAN_A; + rx_from_ran = OSMO_RAT_GERAN_A; comment_start(); @@ -825,7 +825,7 @@ static void test_no_authen_imeisv_tmsi_imei() struct vlr_subscr *vsub; const char *imsi = "901700000004620"; - rx_from_ran = RAN_GERAN_A; + rx_from_ran = OSMO_RAT_GERAN_A; comment_start(); @@ -918,7 +918,7 @@ static void test_no_authen_subscr_expire() const char *imsi = "901700000004620"; /* No auth only works on GERAN */ - rx_from_ran = RAN_GERAN_A; + rx_from_ran = OSMO_RAT_GERAN_A; comment_start(); diff --git a/tests/msc_vlr/msc_vlr_test_no_authen.err b/tests/msc_vlr/msc_vlr_test_no_authen.err index ba82fc9d8..f865d8738 100644 --- a/tests/msc_vlr/msc_vlr_test_no_authen.err +++ b/tests/msc_vlr/msc_vlr_test_no_authen.err @@ -3,7 +3,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_no_authen - Location Update request causes a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -94,7 +94,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 - LU was successful, and the conn has already been closed @@ -117,7 +117,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - after a while, a new conn sends a CM Service Request - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -157,7 +157,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - all requests serviced, conn has been released - BSS sends BSSMAP Clear Complete @@ -182,7 +182,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 3 DCC (ti 00 sub MSISDN:46071 callref 40000001) New transaction DREF VLR subscr MSISDN:46071 usage increases to: 4 DMM Subscriber MSISDN:46071 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 + GERAN-A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -194,7 +194,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 DREF VLR subscr MSISDN:46071 usage decreases to: 4 - MS replies with Paging Response, we deliver the SMS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -221,8 +221,8 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_NEW}: Received Event RAN_CO DPAG Paging success for MSISDN:46071 (event=0) DPAG Calling paging cbfn. DREF MSISDN:46071: MSC conn use + trans_sms == 2 (0x21: compl_l3,trans_sms) -DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 +DMSC msc_tx 91 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 5 DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_ACCEPTED @@ -239,7 +239,7 @@ DREF VLR subscr MSISDN:46071 usage decreases to: 4 - conn is still open to wait for SMS ack dance llist_count(&net->ran_conns) == 1 - MS replies with CP-ACK for received SMS - MSC <--RAN_GERAN_A-- MS: SMS:0x04 + MSC <--GERAN-A-- MS: SMS:0x04 DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING @@ -247,12 +247,12 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN DREF MSISDN:46071: MSC conn use - dtap == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 - MS also sends RP-ACK, MSC in turn sends CP-ACK for that - MSC <--RAN_GERAN_A-- MS: SMS:0x01 + MSC <--GERAN-A-- MS: SMS:0x01 DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_COMMUNICATING -DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x04: 0904 +DMSC msc_tx 2 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x04: 0904 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 @@ -263,7 +263,7 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: state_chg t DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS dtap_tx_confirmed == 1 bssap_clear_sent == 1 - SMS is done, conn is gone @@ -283,7 +283,7 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -299,7 +299,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -318,7 +318,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_no_authen_tmsi - Location Update request causes a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -419,7 +419,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 vsub->tmsi == 0xffffffff DREF VLR subscr MSISDN:46071 usage decreases to: 1 - MS sends TMSI Realloc Complete - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 @@ -440,7 +440,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - LU was successful, and the conn has already been closed @@ -468,7 +468,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 --- - after a while, a new conn sends a CM Service Request using above TMSI - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -508,7 +508,7 @@ DMM RAN_conn(CM_SERVICE_REQ:50462976){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CON DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - all requests serviced, conn has been released - BSS sends BSSMAP Clear Complete @@ -533,7 +533,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 3 DCC (ti 00 sub MSISDN:46071 callref 40000002) New transaction DREF VLR subscr MSISDN:46071 usage increases to: 4 DMM Subscriber MSISDN:46071 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0x03020100, LAC 23 + GERAN-A sends out paging request to IMSI 901700000004620, TMSI 0x03020100, LAC 23 paging_expecting_tmsi == 0x03020100 DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -545,7 +545,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 DREF VLR subscr MSISDN:46071 usage decreases to: 4 - MS replies with Paging Response using TMSI, we deliver the SMS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -572,8 +572,8 @@ DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_AC DPAG Paging success for MSISDN:46071 (event=0) DPAG Calling paging cbfn. DREF MSISDN:46071: MSC conn use + trans_sms == 2 (0x21: compl_l3,trans_sms) -DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 +DMSC msc_tx 91 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 5 DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_ACCEPTED @@ -590,7 +590,7 @@ DREF VLR subscr MSISDN:46071 usage decreases to: 4 - conn is still open to wait for SMS ack dance llist_count(&net->ran_conns) == 1 - MS replies with CP-ACK for received SMS - MSC <--RAN_GERAN_A-- MS: SMS:0x04 + MSC <--GERAN-A-- MS: SMS:0x04 DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING @@ -598,12 +598,12 @@ DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S DREF MSISDN:46071: MSC conn use - dtap == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 - MS also sends RP-ACK, MSC in turn sends CP-ACK for that - MSC <--RAN_GERAN_A-- MS: SMS:0x01 + MSC <--GERAN-A-- MS: SMS:0x01 DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_COMMUNICATING -DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x04: 0904 +DMSC msc_tx 2 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x04: 0904 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 @@ -614,7 +614,7 @@ DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_COMMUNICATING}: state_chg to RAN_C DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS dtap_tx_confirmed == 1 bssap_clear_sent == 1 - SMS is done, conn is gone @@ -635,7 +635,7 @@ DMM RAN_conn(PAGING_RESP:50462976){RAN_CONN_S_RELEASED}: Deallocated --- - subscriber sends LU Request, this time with the TMSI - Location Update request causes a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -734,7 +734,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 3 vsub->tmsi == 0x03020100 DREF VLR subscr MSISDN:46071 usage decreases to: 2 - MS sends TMSI Realloc Complete - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 @@ -754,7 +754,7 @@ DMM RAN_conn(LU:50462976){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_RELEASIN DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - LU was successful, and the conn has already been closed @@ -782,7 +782,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 --- - subscriber detaches, using new TMSI - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -798,7 +798,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -817,7 +817,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_no_authen_imei - Location Update request causes a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -893,8 +893,8 @@ DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event L DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_IMEI -DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051802 +DMSC msc_tx 3 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: GSM48_MT_MM_ID_REQ: 051802 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 1 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 @@ -914,7 +914,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS replies with an Identity Response - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_ID_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) DMM IDENTITY RESPONSE: MI(IMEI)=423423423423420 @@ -937,7 +937,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - LU was successful, and the conn has already been closed @@ -963,7 +963,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -979,7 +979,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -998,7 +998,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_no_authen_tmsi_imei - Location Update request causes a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1074,8 +1074,8 @@ DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event L DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_IMEI_TMSI -DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051802 +DMSC msc_tx 3 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: GSM48_MT_MM_ID_REQ: 051802 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 1 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 @@ -1095,7 +1095,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS replies with an Identity Response - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_ID_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) DMM IDENTITY RESPONSE: MI(IMEI)=423423423423420 @@ -1122,7 +1122,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS sends TMSI Realloc Complete - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 @@ -1143,7 +1143,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - LU was successful, and the conn has already been closed @@ -1170,7 +1170,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1186,7 +1186,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -1205,7 +1205,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_no_authen_imeisv - Location Update request causes an IMEISV ID request back to the MS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1222,8 +1222,8 @@ DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 DVLR New subscr, IMSI: 901700000004620 DREF VLR subscr IMSI:901700000004620 usage increases to: 2 DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 -DMSC msc_tx 3 bytes to IMSI:901700000004620 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051803 +DMSC msc_tx 3 bytes to IMSI:901700000004620 via GERAN-A +- DTAP --GERAN-A--> MS: GSM48_MT_MM_ID_REQ: 051803 - DTAP matches expected message DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_IMEISV DMM RAN_conn(LU:901700000004620){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_COMPLETE_LAYER_3 @@ -1232,7 +1232,7 @@ DREF IMSI:901700000004620: MSC conn use - compl_l3 == 0 (0x0: ) DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CONN_E_UNUSED DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event RAN_CONN_E_UNUSED - MS replies with an Identity Response, causes LU to commence with a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_ID_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) DMM IDENTITY RESPONSE: MI(IMEI-SV)=4234234234234275 @@ -1314,7 +1314,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 - LU was successful, and the conn has already been closed @@ -1337,7 +1337,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1353,7 +1353,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -1372,7 +1372,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_no_authen_imeisv_imei - Location Update request causes an IMEISV ID request back to the MS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1389,8 +1389,8 @@ DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 DVLR New subscr, IMSI: 901700000004620 DREF VLR subscr IMSI:901700000004620 usage increases to: 2 DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 -DMSC msc_tx 3 bytes to IMSI:901700000004620 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051803 +DMSC msc_tx 3 bytes to IMSI:901700000004620 via GERAN-A +- DTAP --GERAN-A--> MS: GSM48_MT_MM_ID_REQ: 051803 - DTAP matches expected message DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_IMEISV DMM RAN_conn(LU:901700000004620){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_COMPLETE_LAYER_3 @@ -1399,7 +1399,7 @@ DREF IMSI:901700000004620: MSC conn use - compl_l3 == 0 (0x0: ) DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CONN_E_UNUSED DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event RAN_CONN_E_UNUSED - MS replies with an Identity Response, causes LU to commence with a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_ID_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) DMM IDENTITY RESPONSE: MI(IMEI-SV)=4234234234234275 @@ -1466,8 +1466,8 @@ DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event L DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_IMEI -DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051802 +DMSC msc_tx 3 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: GSM48_MT_MM_ID_REQ: 051802 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 1 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 @@ -1487,7 +1487,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS replies with an Identity Response - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_ID_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) DMM IDENTITY RESPONSE: MI(IMEI)=423423423423420 @@ -1510,7 +1510,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - LU was successful, and the conn has already been closed @@ -1536,7 +1536,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1552,7 +1552,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -1571,7 +1571,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_no_authen_imeisv_tmsi - Location Update request causes an IMEISV ID request back to the MS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1588,8 +1588,8 @@ DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 DVLR New subscr, IMSI: 901700000004620 DREF VLR subscr IMSI:901700000004620 usage increases to: 2 DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 -DMSC msc_tx 3 bytes to IMSI:901700000004620 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051803 +DMSC msc_tx 3 bytes to IMSI:901700000004620 via GERAN-A +- DTAP --GERAN-A--> MS: GSM48_MT_MM_ID_REQ: 051803 - DTAP matches expected message DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_IMEISV DMM RAN_conn(LU:901700000004620){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_COMPLETE_LAYER_3 @@ -1598,7 +1598,7 @@ DREF IMSI:901700000004620: MSC conn use - compl_l3 == 0 (0x0: ) DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CONN_E_UNUSED DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event RAN_CONN_E_UNUSED - MS replies with an Identity Response, causes LU to commence with a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_ID_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) DMM IDENTITY RESPONSE: MI(IMEI-SV)=4234234234234275 @@ -1690,7 +1690,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 vsub->tmsi == 0xffffffff DREF VLR subscr MSISDN:46071 usage decreases to: 1 - MS sends TMSI Realloc Complete - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 @@ -1711,7 +1711,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - LU was successful, and the conn has already been closed @@ -1733,7 +1733,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated --- - subscriber sends LU Request, this time with the TMSI - Location Update request causes an IMEISV ID request back to the MS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1748,8 +1748,8 @@ DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UP DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051803 +DMSC msc_tx 3 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: GSM48_MT_MM_ID_REQ: 051803 - DTAP matches expected message DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_IMEISV DMM RAN_conn(LU:901700000004620){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_COMPLETE_LAYER_3 @@ -1758,7 +1758,7 @@ DREF MSISDN:46071: MSC conn use - compl_l3 == 0 (0x0: ) DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CONN_E_UNUSED DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event RAN_CONN_E_UNUSED - MS replies with an Identity Response, causes LU to commence with a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_ID_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) DMM IDENTITY RESPONSE: MI(IMEI-SV)=5234234234234276 @@ -1850,7 +1850,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 3 vsub->tmsi == 0x03020100 DREF VLR subscr MSISDN:46071 usage decreases to: 2 - MS sends TMSI Realloc Complete - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 @@ -1870,7 +1870,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - LU was successful, and the conn has already been closed @@ -1898,7 +1898,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 --- - subscriber detaches, using new TMSI - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1914,7 +1914,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -1933,7 +1933,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_no_authen_imeisv_tmsi_imei - Location Update request causes an IMEISV ID request back to the MS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1950,8 +1950,8 @@ DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 DVLR New subscr, IMSI: 901700000004620 DREF VLR subscr IMSI:901700000004620 usage increases to: 2 DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 -DMSC msc_tx 3 bytes to IMSI:901700000004620 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051803 +DMSC msc_tx 3 bytes to IMSI:901700000004620 via GERAN-A +- DTAP --GERAN-A--> MS: GSM48_MT_MM_ID_REQ: 051803 - DTAP matches expected message DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_IMEISV DMM RAN_conn(LU:901700000004620){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_COMPLETE_LAYER_3 @@ -1960,7 +1960,7 @@ DREF IMSI:901700000004620: MSC conn use - compl_l3 == 0 (0x0: ) DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CONN_E_UNUSED DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Auth+Ciph, overruling event RAN_CONN_E_UNUSED - MS replies with an Identity Response, causes LU to commence with a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_ID_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) DMM IDENTITY RESPONSE: MI(IMEI-SV)=4234234234234275 @@ -2027,8 +2027,8 @@ DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: Received Event L DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL DVLR lu_compl_vlr_fsm(LU:901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_WAIT_IMEI_TMSI -DMSC msc_tx 3 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051802 +DMSC msc_tx 3 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: GSM48_MT_MM_ID_REQ: 051802 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 1 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 @@ -2048,7 +2048,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS replies with an Identity Response - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_ID_RESP DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) DMM IDENTITY RESPONSE: MI(IMEI)=423423423423420 @@ -2075,7 +2075,7 @@ DRLL subscr MSISDN:46071: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:46071: Message not permitted for initial conn: SMS:0x01 - MS sends TMSI Realloc Complete - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:46071: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:46071 @@ -2096,7 +2096,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - LU was successful, and the conn has already been closed @@ -2124,7 +2124,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -2140,7 +2140,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -2161,7 +2161,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 - Total time passed: 0.000000 s - Total time passed: 61.000000 s - Location Update request causes a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -2240,7 +2240,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 - LU was successful, and the conn has already been closed diff --git a/tests/msc_vlr/msc_vlr_test_reject_concurrency.c b/tests/msc_vlr/msc_vlr_test_reject_concurrency.c index fcc8db7da..66d2e392c 100644 --- a/tests/msc_vlr/msc_vlr_test_reject_concurrency.c +++ b/tests/msc_vlr/msc_vlr_test_reject_concurrency.c @@ -315,8 +315,8 @@ static void test_reject_paging_resp_during_cm() BTW("The original CM Service Request can conclude"); /* Release connection */ - expect_bssap_clear(RAN_GERAN_A); - conn_conclude_cm_service_req(g_conn, RAN_GERAN_A); + expect_bssap_clear(OSMO_RAT_GERAN_A); + conn_conclude_cm_service_req(g_conn, OSMO_RAT_GERAN_A); btw("all requests serviced, conn has been released"); bss_sends_clear_complete(); diff --git a/tests/msc_vlr/msc_vlr_test_reject_concurrency.err b/tests/msc_vlr/msc_vlr_test_reject_concurrency.err index 85dd25428..76431fbab 100644 --- a/tests/msc_vlr/msc_vlr_test_reject_concurrency.err +++ b/tests/msc_vlr/msc_vlr_test_reject_concurrency.err @@ -3,7 +3,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_reject_2nd_conn - Location Update Request on one connection - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -39,7 +39,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Aut lu_result_sent == 0 llist_count(&net->ran_conns) == 1 - Another Location Update Request from the same subscriber on another connection is rejected - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -58,7 +58,7 @@ DVLR vlr_lu_fsm(LU:901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_DONE DMM RAN_conn(LU:901700000004620){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn(LU:901700000004620){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 DRR 901700000004620: internal error during Location Updating attempt DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) @@ -125,7 +125,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -154,7 +154,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_reject_lu_during_lu - Location Update Request - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -191,7 +191,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Aut llist_count(&net->ran_conns) == 1 --- - Another Location Update Request from the same subscriber on the same conn is dropped silently - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) DMM Cannot accept another LU, conn already busy establishing authenticity; extraneous LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH @@ -247,7 +247,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -276,7 +276,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_reject_cm_during_lu - Location Update Request - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -313,14 +313,14 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Aut llist_count(&net->ran_conns) == 1 --- - A CM Service Request in the middle of a LU is rejected - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000004620 DMM Cannot accept CM Service Request, conn already busy establishing authenticity DMM -> CM SERVICE Reject cause: 22 -DMSC msc_tx 3 bytes to IMSI:901700000004620 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_CM_SERV_REJ: 052216 +DMSC msc_tx 3 bytes to IMSI:901700000004620 via GERAN-A +- DTAP --GERAN-A--> MS: GSM48_MT_MM_CM_SERV_REJ: 052216 - DTAP matches expected message DREF IMSI:901700000004620: MSC conn use - dtap == 0 (0x0: ) DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Received Event RAN_CONN_E_UNUSED @@ -376,7 +376,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -405,7 +405,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_reject_paging_resp_during_lu - Location Update Request - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -442,7 +442,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_AUTH_CIPH}: Awaiting results for Aut llist_count(&net->ran_conns) == 1 --- - An erratic Paging Response is dropped silently - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP DREF IMSI:901700000004620: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_RR_PAG_RESP (0x6:0x27) DMM Ignoring Paging Response, conn already busy establishing authenticity @@ -498,7 +498,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -529,7 +529,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 --- - Subscriber does a normal LU - Location Update Request - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -609,7 +609,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -632,7 +632,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - Subscriber does a normal CM Service Request - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -666,7 +666,7 @@ DREF MSISDN:46071: MSC conn use - compl_l3 == 1 (0x8: cm_service) cm_service_result_sent == 1 ran_conn_is_accepted() == true - A LU request on an open conn is dropped silently - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST DREF MSISDN:46071: MSC conn use + dtap == 2 (0xa: dtap,cm_service) DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) DMM Cannot accept another LU, conn already established; extraneous LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH @@ -675,7 +675,7 @@ DREF MSISDN:46071: MSC conn use - dtap == 1 (0x8: cm_service) llist_count(&net->ran_conns) == 1 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND DREF MSISDN:46071: MSC conn use + dtap == 2 (0xa: dtap,cm_service) DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 @@ -691,7 +691,7 @@ DREF MSISDN:46071: MSC conn use + release == 3 (0x10a: dtap,cm_service,release) DREF MSISDN:46071: MSC conn use - cm_service == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -718,7 +718,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 --- - Subscriber does a normal LU - Location Update Request - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -798,7 +798,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -821,7 +821,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - Subscriber does a normal CM Service Request - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -855,7 +855,7 @@ DREF MSISDN:46071: MSC conn use - compl_l3 == 1 (0x8: cm_service) cm_service_result_sent == 1 ran_conn_is_accepted() == true - A second CM Service Request on the same conn is accepted without another auth dance - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ DREF MSISDN:46071: MSC conn use + dtap == 2 (0xa: dtap,cm_service) DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000004620 @@ -867,7 +867,7 @@ DREF MSISDN:46071: MSC conn use - dtap == 1 (0x8: cm_service) llist_count(&net->ran_conns) == 1 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND DREF MSISDN:46071: MSC conn use + dtap == 2 (0xa: dtap,cm_service) DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 @@ -883,7 +883,7 @@ DREF MSISDN:46071: MSC conn use + release == 3 (0x10a: dtap,cm_service,release) DREF MSISDN:46071: MSC conn use - cm_service == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -910,7 +910,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 --- - Subscriber does a normal LU - Location Update Request - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -990,7 +990,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -1013,7 +1013,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - Subscriber does a normal CM Service Request - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1048,7 +1048,7 @@ DREF MSISDN:46071: MSC conn use - compl_l3 == 1 (0x8: cm_service) ran_conn_is_accepted() == true --- - An erratic Paging Response on the same conn is dropped silently - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP DREF MSISDN:46071: MSC conn use + dtap == 2 (0xa: dtap,cm_service) DRLL Dispatching 04.08 message GSM48_MT_RR_PAG_RESP (0x6:0x27) DMM Ignoring Paging Response, conn already established @@ -1063,7 +1063,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - all requests serviced, conn has been released - BSS sends BSSMAP Clear Complete @@ -1090,7 +1090,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 --- - Subscriber does a normal LU - Location Update Request - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1170,7 +1170,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -1199,7 +1199,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 3 DCC (ti 00 sub MSISDN:46071 callref 40000001) New transaction DREF VLR subscr MSISDN:46071 usage increases to: 4 DMM Subscriber MSISDN:46071 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 + GERAN-A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -1207,7 +1207,7 @@ DREF VLR subscr MSISDN:46071 usage decreases to: 4 paging_sent == 1 paging_stopped == 0 - MS replies with Paging Response, we deliver the SMS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1234,8 +1234,8 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_NEW}: Received Event RAN_CO DPAG Paging success for MSISDN:46071 (event=0) DPAG Calling paging cbfn. DREF MSISDN:46071: MSC conn use + trans_sms == 2 (0x21: compl_l3,trans_sms) -DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 +DMSC msc_tx 91 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 5 DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_ACCEPTED @@ -1249,7 +1249,7 @@ DREF MSISDN:46071: MSC conn use - compl_l3 == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 --- - MS sends erratic LU Request, which is dropped silently - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) DMM Cannot accept another LU, conn already established; extraneous LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH @@ -1257,7 +1257,7 @@ DREF MSISDN:46071: MSC conn use - dtap == 1 (0x20: trans_sms) lu_result_sent == 0 llist_count(&net->ran_conns) == 1 - MS replies with CP-ACK for received SMS - MSC <--RAN_GERAN_A-- MS: SMS:0x04 + MSC <--GERAN-A-- MS: SMS:0x04 DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING @@ -1265,12 +1265,12 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN DREF MSISDN:46071: MSC conn use - dtap == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 - MS also sends RP-ACK, MSC in turn sends CP-ACK for that - MSC <--RAN_GERAN_A-- MS: SMS:0x01 + MSC <--GERAN-A-- MS: SMS:0x01 DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_COMMUNICATING -DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x04: 0904 +DMSC msc_tx 2 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x04: 0904 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 @@ -1281,7 +1281,7 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: state_chg t DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS dtap_tx_confirmed == 1 bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -1309,7 +1309,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 --- - Subscriber does a normal LU - Location Update Request - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1389,7 +1389,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -1418,7 +1418,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 3 DCC (ti 00 sub MSISDN:46071 callref 40000002) New transaction DREF VLR subscr MSISDN:46071 usage increases to: 4 DMM Subscriber MSISDN:46071 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 + GERAN-A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -1426,7 +1426,7 @@ DREF VLR subscr MSISDN:46071 usage decreases to: 4 paging_sent == 1 paging_stopped == 0 - MS replies with Paging Response, we deliver the SMS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1453,8 +1453,8 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_NEW}: Received Event RAN_CO DPAG Paging success for MSISDN:46071 (event=0) DPAG Calling paging cbfn. DREF MSISDN:46071: MSC conn use + trans_sms == 2 (0x21: compl_l3,trans_sms) -DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 +DMSC msc_tx 91 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 5 DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_ACCEPTED @@ -1468,7 +1468,7 @@ DREF MSISDN:46071: MSC conn use - compl_l3 == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 --- - CM Service Request during open connection is accepted - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000004620 @@ -1481,7 +1481,7 @@ DREF MSISDN:46071: MSC conn use - dtap == 2 (0x28: cm_service,trans_sms) llist_count(&net->ran_conns) == 1 g_conn->received_cm_service_request == 1 - MS replies with CP-ACK for received SMS - MSC <--RAN_GERAN_A-- MS: SMS:0x04 + MSC <--GERAN-A-- MS: SMS:0x04 DREF MSISDN:46071: MSC conn use + dtap == 3 (0x2a: dtap,cm_service,trans_sms) DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING @@ -1489,12 +1489,12 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN DREF MSISDN:46071: MSC conn use - dtap == 2 (0x28: cm_service,trans_sms) llist_count(&net->ran_conns) == 1 - MS also sends RP-ACK, MSC in turn sends CP-ACK for that - MSC <--RAN_GERAN_A-- MS: SMS:0x01 + MSC <--GERAN-A-- MS: SMS:0x01 DREF MSISDN:46071: MSC conn use + dtap == 3 (0x2a: dtap,cm_service,trans_sms) DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_COMMUNICATING -DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x04: 0904 +DMSC msc_tx 2 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x04: 0904 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 @@ -1505,7 +1505,7 @@ DREF MSISDN:46071: MSC conn use - dtap == 1 (0x8: cm_service) llist_count(&net->ran_conns) == 1 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND DREF MSISDN:46071: MSC conn use + dtap == 2 (0xa: dtap,cm_service) DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 @@ -1521,7 +1521,7 @@ DREF MSISDN:46071: MSC conn use + release == 3 (0x10a: dtap,cm_service,release) DREF MSISDN:46071: MSC conn use - cm_service == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:46071 usage increases to: 2 DREF VLR subscr MSISDN:46071 usage decreases to: 1 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:46071: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -1548,7 +1548,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 --- - Subscriber does a normal LU - Location Update Request - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1628,7 +1628,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -1657,7 +1657,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 3 DCC (ti 00 sub MSISDN:46071 callref 40000003) New transaction DREF VLR subscr MSISDN:46071 usage increases to: 4 DMM Subscriber MSISDN:46071 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 + GERAN-A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:46071 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -1665,7 +1665,7 @@ DREF VLR subscr MSISDN:46071 usage decreases to: 4 paging_sent == 1 paging_stopped == 0 - MS replies with Paging Response, we deliver the SMS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1692,8 +1692,8 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_NEW}: Received Event RAN_CO DPAG Paging success for MSISDN:46071 (event=0) DPAG Calling paging cbfn. DREF MSISDN:46071: MSC conn use + trans_sms == 2 (0x21: compl_l3,trans_sms) -DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 +DMSC msc_tx 91 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 5 DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_ACCEPTED @@ -1707,13 +1707,13 @@ DREF MSISDN:46071: MSC conn use - compl_l3 == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 --- - MS sends another erratic Paging Response which is dropped silently - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message GSM48_MT_RR_PAG_RESP (0x6:0x27) DMM Ignoring Paging Response, conn already established DREF MSISDN:46071: MSC conn use - dtap == 1 (0x20: trans_sms) - MS replies with CP-ACK for received SMS - MSC <--RAN_GERAN_A-- MS: SMS:0x04 + MSC <--GERAN-A-- MS: SMS:0x04 DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING @@ -1721,12 +1721,12 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN DREF MSISDN:46071: MSC conn use - dtap == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 - MS also sends RP-ACK, MSC in turn sends CP-ACK for that - MSC <--RAN_GERAN_A-- MS: SMS:0x01 + MSC <--GERAN-A-- MS: SMS:0x01 DREF MSISDN:46071: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_COMMUNICATING -DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x04: 0904 +DMSC msc_tx 2 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x04: 0904 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 @@ -1737,7 +1737,7 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: state_chg t DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 3 DREF VLR subscr MSISDN:46071 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS dtap_tx_confirmed == 1 bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete diff --git a/tests/msc_vlr/msc_vlr_test_rest.c b/tests/msc_vlr/msc_vlr_test_rest.c index 501e3d33a..458738390 100644 --- a/tests/msc_vlr/msc_vlr_test_rest.c +++ b/tests/msc_vlr/msc_vlr_test_rest.c @@ -31,7 +31,7 @@ static void test_early_stage() EXPECT_ACCEPTED(false); btw("freshly allocated conn"); - g_conn = ran_conn_alloc(net, RAN_GERAN_A, 123); + g_conn = ran_conn_alloc(net, OSMO_RAT_GERAN_A, 123); EXPECT_ACCEPTED(false); btw("conn_fsm present, in state NEW"); @@ -43,7 +43,7 @@ static void test_early_stage() btw("fake: acceptance"); g_conn->vsub = vlr_subscr_alloc(net->vlr); - g_conn->via_ran = RAN_GERAN_A; + g_conn->via_ran = OSMO_RAT_GERAN_A; OSMO_ASSERT(g_conn->vsub); /* mark as silent call so it sticks around */ g_conn->silent_call = 1; diff --git a/tests/msc_vlr/msc_vlr_test_rest.err b/tests/msc_vlr/msc_vlr_test_rest.err index 1f0f509e7..1b33b2dc1 100644 --- a/tests/msc_vlr/msc_vlr_test_rest.err +++ b/tests/msc_vlr/msc_vlr_test_rest.err @@ -30,7 +30,7 @@ DMM RAN_conn{RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 1 (0x100: release) DREF VLR subscr unknown usage increases to: 2 DREF VLR subscr unknown usage decreases to: 1 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete DREF unknown: MSC conn use - release == 0 (0x0: ) @@ -52,7 +52,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_cm_service_without_lu - CM Service Request without a prior Location Updating - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -70,7 +70,7 @@ DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000004620){PR_ARQ_S_DONE}: DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DRR 901700000004620: subscriber not allowed to do a CM Service Request DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 @@ -95,7 +95,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_two_lu - Location Update request causes a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -186,7 +186,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -210,7 +210,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated --- - verify that the MS can send another LU request - Location Update request causes a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -298,7 +298,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 @@ -321,7 +321,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -337,7 +337,7 @@ DREF freeing VLR subscr MSISDN:46071 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -356,7 +356,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_lu_unknown_tmsi - Location Update request with unknown TMSI sends ID Request for IMSI - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -374,8 +374,8 @@ DREF VLR subscr TMSI:0x23422342 usage increases to: 2 DREF VLR subscr TMSI:0x23422342 usage decreases to: 1 DVLR vlr_lu_fsm(LU:591536962){VLR_ULA_S_IDLE}: vlr_loc_upd_want_imsi() DVLR vlr_lu_fsm(LU:591536962){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_IMSI -DMSC msc_tx 3 bytes to TMSI:0x23422342 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_ID_REQ: 051801 +DMSC msc_tx 3 bytes to TMSI:0x23422342 via GERAN-A +- DTAP --GERAN-A--> MS: GSM48_MT_MM_ID_REQ: 051801 - DTAP matches expected message DMM RAN_conn(LU:591536962){RAN_CONN_S_NEW}: Received Event RAN_CONN_E_COMPLETE_LAYER_3 DMM RAN_conn(LU:591536962){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_AUTH_CIPH @@ -394,7 +394,7 @@ DRLL subscr TMSI:0x23422342: Message not permitted for initial conn: GSM48_MT_RR DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr TMSI:0x23422342: Message not permitted for initial conn: SMS:0x01 - MS tells us the IMSI, causes a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_ID_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_ID_RESP DREF TMSI:0x23422342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_ID_RESP (0x5:0x19) DMM IDENTITY RESPONSE: MI(IMSI)=901700000004620 @@ -473,7 +473,7 @@ DMM RAN_conn(LU:591536962){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_RELEASI DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 bssap_clear_sent == 1 diff --git a/tests/msc_vlr/msc_vlr_test_ss.c b/tests/msc_vlr/msc_vlr_test_ss.c index 832293c52..0390196ee 100644 --- a/tests/msc_vlr/msc_vlr_test_ss.c +++ b/tests/msc_vlr/msc_vlr_test_ss.c @@ -75,7 +75,7 @@ static void perform_lu(void) EXPECT_CONN_COUNT(0); } -static void _test_ss_ussd_mo(enum ran_type via_ran) +static void _test_ss_ussd_mo(enum osmo_rat_type via_ran) { /* TODO: UTRAN requires auth and ciph */ rx_from_ran = via_ran; @@ -117,7 +117,7 @@ static void _test_ss_ussd_mo(enum ran_type via_ran) EXPECT_CONN_COUNT(0); } -static void _test_ss_ussd_no(enum ran_type via_ran) +static void _test_ss_ussd_no(enum osmo_rat_type via_ran) { struct vlr_subscr *vsub; @@ -194,7 +194,7 @@ static void _test_ss_ussd_no(enum ran_type via_ran) static void test_ss_ussd_mo_geran() { comment_start(); - _test_ss_ussd_mo(RAN_GERAN_A); + _test_ss_ussd_mo(OSMO_RAT_GERAN_A); clear_vlr(); comment_end(); } @@ -202,7 +202,7 @@ static void test_ss_ussd_mo_geran() static void test_ss_ussd_no_geran() { comment_start(); - _test_ss_ussd_no(RAN_GERAN_A); + _test_ss_ussd_no(OSMO_RAT_GERAN_A); clear_vlr(); comment_end(); } diff --git a/tests/msc_vlr/msc_vlr_test_ss.err b/tests/msc_vlr/msc_vlr_test_ss.err index 1d4a0c685..5dcdbbe99 100644 --- a/tests/msc_vlr/msc_vlr_test_ss.err +++ b/tests/msc_vlr/msc_vlr_test_ss.err @@ -3,7 +3,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_ss_ussd_mo_geran - Location Update request causes a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -82,7 +82,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 - LU was successful, and the conn has already been closed @@ -110,7 +110,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - after a while, a new conn sends a CM Service Request - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -143,7 +143,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_ACCEPTED}: Received Even DREF MSISDN:46071: MSC conn use - compl_l3 == 1 (0x8: cm_service) cm_service_result_sent == 1 ran_conn_is_accepted() == true - MSC <--RAN_GERAN_A-- MS: GSM0480_MTYPE_REGISTER + MSC <--GERAN-A-- MS: GSM0480_MTYPE_REGISTER DREF MSISDN:46071: MSC conn use + dtap == 2 (0xa: dtap,cm_service) DRLL Dispatching 04.08 message GSM0480_MTYPE_REGISTER (0xb:0x3b) DMM Received SS/USSD data (trans_id=8, msg_type=GSM0480_MTYPE_REGISTER) @@ -161,8 +161,8 @@ DREF MSISDN:46071: MSC conn use - dtap == 1 (0x40: trans_nc_ss) DVLR GSUP rx 61: 20010809710000004026f03004200000013101033527a225020101302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d DREF VLR subscr MSISDN:46071 usage increases to: 4 DMSC Routed to GSM 09.11 SS/USSD handler -DMSC msc_tx 43 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM0480_MTYPE_RELEASE_COMPLETE: 8b2a1c27a225020101302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d +DMSC msc_tx 43 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: GSM0480_MTYPE_RELEASE_COMPLETE: 8b2a1c27a225020101302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 3 DREF MSISDN:46071: MSC conn use - trans_nc_ss == 0 (0x0: ) @@ -171,7 +171,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000004620){RAN_CONN_S_COMMUNICATING}: state_ch DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_PROC_SS_REQUEST: vlr_gsupc_read_cb() returns 0 dtap_tx_confirmed == 1 @@ -199,7 +199,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_ss_ussd_no_geran - Location Update request causes a GSUP LU request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -278,7 +278,7 @@ DMM RAN_conn(LU:901700000004620){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 - LU was successful, and the conn has already been closed @@ -317,7 +317,7 @@ DCC (ti ff sub MSISDN:46071 callref 20000101) New transaction DREF VLR subscr MSISDN:46071 usage increases to: 4 DMM Triggering Paging Request DMM Subscriber MSISDN:46071 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 + GERAN-A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:46071 usage increases to: 5 DREF VLR subscr MSISDN:46071 usage decreases to: 4 @@ -331,7 +331,7 @@ DREF VLR subscr MSISDN:46071 usage increases to: 4 llist_count(&vsub->cs.requests) == 1 DREF VLR subscr MSISDN:46071 usage decreases to: 3 - MS replies with Paging Response, we deliver the NC/USSD - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -359,8 +359,8 @@ DPAG Paging success for MSISDN:46071 (event=0) DPAG Calling paging cbfn. DMM Paging subscr 46071 succeeded! DREF MSISDN:46071: MSC conn use + trans_nc_ss == 2 (0x41: compl_l3,trans_nc_ss) -DMSC msc_tx 25 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM0480_MTYPE_REGISTER: 0b3b1c15a11302010102013b300b04010f0406aa510c061b01 +DMSC msc_tx 25 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: GSM0480_MTYPE_REGISTER: 0b3b1c15a11302010102013b300b04010f0406aa510c061b01 - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 4 DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_ACCEPTED @@ -371,7 +371,7 @@ DREF MSISDN:46071: MSC conn use - compl_l3 == 1 (0x40: trans_nc_ss) dtap_tx_confirmed == 1 paging_stopped == 1 - MS responds to SS/USSD request - MSC <--RAN_GERAN_A-- MS: GSM0480_MTYPE_FACILITY + MSC <--GERAN-A-- MS: GSM0480_MTYPE_FACILITY DREF MSISDN:46071: MSC conn use + dtap == 2 (0x42: dtap,trans_nc_ss) DRLL Dispatching 04.08 message GSM0480_MTYPE_FACILITY (0xb:0x3a) DMM Received SS/USSD data (trans_id=0, msg_type=GSM0480_MTYPE_FACILITY) @@ -386,8 +386,8 @@ DREF MSISDN:46071: MSC conn use - dtap == 1 (0x40: trans_nc_ss) DVLR GSUP rx 20: 20010809710000004026f0300420000101310103 DREF VLR subscr MSISDN:46071 usage increases to: 4 DMSC Routed to GSM 09.11 SS/USSD handler -DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: GSM0480_MTYPE_RELEASE_COMPLETE: 0b2a +DMSC msc_tx 2 bytes to MSISDN:46071 via GERAN-A +- DTAP --GERAN-A--> MS: GSM0480_MTYPE_RELEASE_COMPLETE: 0b2a - DTAP matches expected message DREF VLR subscr MSISDN:46071 usage decreases to: 3 DREF MSISDN:46071: MSC conn use - trans_nc_ss == 0 (0x0: ) @@ -396,7 +396,7 @@ DMM RAN_conn(PAGING_RESP:901700000004620){RAN_CONN_S_COMMUNICATING}: state_chg t DREF MSISDN:46071: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:46071 usage increases to: 4 DREF VLR subscr MSISDN:46071 usage decreases to: 3 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF VLR subscr MSISDN:46071 usage decreases to: 2 <-- GSUP rx OSMO_GSUP_MSGT_PROC_SS_REQUEST: vlr_gsupc_read_cb() returns 0 dtap_tx_confirmed == 1 diff --git a/tests/msc_vlr/msc_vlr_test_umts_authen.c b/tests/msc_vlr/msc_vlr_test_umts_authen.c index 62e280e3e..beeea22af 100644 --- a/tests/msc_vlr/msc_vlr_test_umts_authen.c +++ b/tests/msc_vlr/msc_vlr_test_umts_authen.c @@ -23,7 +23,7 @@ #include "msc_vlr_tests.h" -static void _test_umts_authen(enum ran_type via_ran) +static void _test_umts_authen(enum osmo_rat_type via_ran) { struct vlr_subscr *vsub; const char *imsi = "901700000010650"; @@ -122,7 +122,7 @@ static void _test_umts_authen(enum ran_type via_ran) VERBOSE_ASSERT(auth_request_sent, == true, "%d"); VERBOSE_ASSERT(lu_result_sent, == RES_NONE, "%d"); - if (via_ran == RAN_GERAN_A) { + if (via_ran == OSMO_RAT_GERAN_A) { btw("MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR"); gsup_expect_tx("04010809710000000156f0280102"); ms_sends_msg("0554" "e229c19e" "2104" "791f2e41"); @@ -193,7 +193,7 @@ static void _test_umts_authen(enum ran_type via_ran) EXPECT_ACCEPTED(false); thwart_rx_non_initial_requests(); - if (via_ran == RAN_GERAN_A) { + if (via_ran == OSMO_RAT_GERAN_A) { btw("MS sends Authen Response, VLR accepts with a CM Service Accept"); gsup_expect_tx(NULL); ms_sends_msg("0554" "7db47cf7" "2104" "f81e4dc7"); /* 2nd vector's res, s.a. */ @@ -255,7 +255,7 @@ static void _test_umts_authen(enum ran_type via_ran) EXPECT_ACCEPTED(false); thwart_rx_non_initial_requests(); - if (via_ran == RAN_GERAN_A) { + if (via_ran == OSMO_RAT_GERAN_A) { btw("MS sends Authen Response, VLR accepts and sends pending SMS"); dtap_expect_tx(sms); ms_sends_msg("0554" "706f9967" "2104" "19ba609c"); /* 3nd vector's res, s.a. */ @@ -313,14 +313,14 @@ static void _test_umts_authen(enum ran_type via_ran) static void test_umts_authen_geran() { comment_start(); - _test_umts_authen(RAN_GERAN_A); + _test_umts_authen(OSMO_RAT_GERAN_A); comment_end(); } static void test_umts_authen_utran() { comment_start(); - _test_umts_authen(RAN_UTRAN_IU); + _test_umts_authen(OSMO_RAT_UTRAN_IU); comment_end(); } @@ -334,7 +334,7 @@ extern int milenage_f1(const u8 *opc, const u8 *k, const u8 *_rand, const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s); #endif -static void _test_umts_authen_resync(enum ran_type via_ran) +static void _test_umts_authen_resync(enum osmo_rat_type via_ran) { struct vlr_subscr *vsub; const char *imsi = "901700000010650"; @@ -491,7 +491,7 @@ static void _test_umts_authen_resync(enum ran_type via_ran) VERBOSE_ASSERT(auth_request_sent, == true, "%d"); VERBOSE_ASSERT(lu_result_sent, == RES_NONE, "%d"); - if (via_ran == RAN_GERAN_A) { + if (via_ran == OSMO_RAT_GERAN_A) { btw("MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR"); gsup_expect_tx("04010809710000000156f0280102"); ms_sends_msg("0554" "1df5f0b4" "2104" "f22b696e"); @@ -550,18 +550,18 @@ static void _test_umts_authen_resync(enum ran_type via_ran) static void test_umts_authen_resync_geran() { comment_start(); - _test_umts_authen_resync(RAN_GERAN_A); + _test_umts_authen_resync(OSMO_RAT_GERAN_A); comment_end(); } static void test_umts_authen_resync_utran() { comment_start(); - _test_umts_authen_resync(RAN_UTRAN_IU); + _test_umts_authen_resync(OSMO_RAT_UTRAN_IU); comment_end(); } -static void _test_umts_authen_too_short_res(enum ran_type via_ran) +static void _test_umts_authen_too_short_res(enum osmo_rat_type via_ran) { net->authentication_required = true; net->vlr->cfg.assign_tmsi = true; @@ -650,18 +650,18 @@ static void _test_umts_authen_too_short_res(enum ran_type via_ran) static void test_umts_authen_too_short_res_geran() { comment_start(); - _test_umts_authen_too_short_res(RAN_GERAN_A); + _test_umts_authen_too_short_res(OSMO_RAT_GERAN_A); comment_end(); } static void test_umts_authen_too_short_res_utran() { comment_start(); - _test_umts_authen_too_short_res(RAN_UTRAN_IU); + _test_umts_authen_too_short_res(OSMO_RAT_UTRAN_IU); comment_end(); } -static void _test_umts_authen_too_long_res(enum ran_type via_ran) +static void _test_umts_authen_too_long_res(enum osmo_rat_type via_ran) { net->authentication_required = true; net->vlr->cfg.assign_tmsi = true; @@ -750,18 +750,18 @@ static void _test_umts_authen_too_long_res(enum ran_type via_ran) static void test_umts_authen_too_long_res_geran() { comment_start(); - _test_umts_authen_too_long_res(RAN_GERAN_A); + _test_umts_authen_too_long_res(OSMO_RAT_GERAN_A); comment_end(); } static void test_umts_authen_too_long_res_utran() { comment_start(); - _test_umts_authen_too_long_res(RAN_UTRAN_IU); + _test_umts_authen_too_long_res(OSMO_RAT_UTRAN_IU); comment_end(); } -static void _test_umts_authen_only_sres(enum ran_type via_ran) +static void _test_umts_authen_only_sres(enum osmo_rat_type via_ran) { net->authentication_required = true; net->vlr->cfg.assign_tmsi = true; @@ -835,7 +835,7 @@ static void _test_umts_authen_only_sres(enum ran_type via_ran) VERBOSE_ASSERT(auth_request_sent, == true, "%d"); VERBOSE_ASSERT(lu_result_sent, == RES_NONE, "%d"); - if (via_ran == RAN_GERAN_A) + if (via_ran == OSMO_RAT_GERAN_A) btw("MS sends Authen Response of wrong RES size, VLR thwarts:" " GERAN reports an SRES mismatch"); else @@ -855,14 +855,14 @@ static void _test_umts_authen_only_sres(enum ran_type via_ran) static void test_umts_authen_only_sres_geran() { comment_start(); - _test_umts_authen_only_sres(RAN_GERAN_A); + _test_umts_authen_only_sres(OSMO_RAT_GERAN_A); comment_end(); } static void test_umts_authen_only_sres_utran() { comment_start(); - _test_umts_authen_only_sres(RAN_UTRAN_IU); + _test_umts_authen_only_sres(OSMO_RAT_UTRAN_IU); comment_end(); } diff --git a/tests/msc_vlr/msc_vlr_test_umts_authen.err b/tests/msc_vlr/msc_vlr_test_umts_authen.err index d3c54bc4b..3f781d784 100644 --- a/tests/msc_vlr/msc_vlr_test_umts_authen.err +++ b/tests/msc_vlr/msc_vlr_test_umts_authen.err @@ -3,7 +3,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_umts_authen_geran - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -51,7 +51,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -135,7 +135,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 vsub->tmsi == 0xffffffff DREF VLR subscr MSISDN:42342 usage decreases to: 1 - MS sends TMSI Realloc Complete - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 @@ -156,7 +156,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -177,7 +177,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, 2nd auth vector - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--GERAN-A-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -221,7 +221,7 @@ DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts with a CM Service Accept - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 7db47cf7f81e4dc7) @@ -258,7 +258,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) @@ -283,7 +283,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 3 DCC (ti 00 sub MSISDN:42342 callref 40000001) New transaction DREF VLR subscr MSISDN:42342 usage increases to: 4 DMM Subscriber MSISDN:42342 not paged yet, start paging. - RAN_GERAN_A sends out paging request to IMSI 901700000010650, TMSI 0x03020100, LAC 23 + GERAN-A sends out paging request to IMSI 901700000010650, TMSI 0x03020100, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:42342 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -295,7 +295,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 DREF VLR subscr MSISDN:42342 usage decreases to: 4 - MS replies with Paging Response, and VLR sends Auth Request with third key - MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP + MSC <--GERAN-A-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -338,7 +338,7 @@ DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts and sends pending SMS - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 706f996719ba609c) @@ -365,8 +365,8 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_AUTH_CIPH}: Received Event DPAG Paging success for MSISDN:42342 (event=0) DPAG Calling paging cbfn. DREF MSISDN:42342: MSC conn use + trans_sms == 2 (0x22: dtap,trans_sms) -DMSC msc_tx 91 bytes to MSISDN:42342 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x01: 09015801000791447758100650004c0005802443f2000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 +DMSC msc_tx 91 bytes to MSISDN:42342 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x01: 09015801000791447758100650004c0005802443f2000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 - DTAP matches expected message DREF VLR subscr MSISDN:42342 usage decreases to: 4 DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ACCEPTED @@ -381,7 +381,7 @@ DREF VLR subscr MSISDN:42342 usage decreases to: 4 - conn is still open to wait for SMS ack dance llist_count(&net->ran_conns) == 1 - MS replies with CP-ACK for received SMS - MSC <--RAN_GERAN_A-- MS: SMS:0x04 + MSC <--GERAN-A-- MS: SMS:0x04 DREF MSISDN:42342: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING @@ -389,12 +389,12 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN DREF MSISDN:42342: MSC conn use - dtap == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 - MS also sends RP-ACK, MSC in turn sends CP-ACK for that - MSC <--RAN_GERAN_A-- MS: SMS:0x01 + MSC <--GERAN-A-- MS: SMS:0x01 DREF MSISDN:42342: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_COMMUNICATING -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_GERAN_A -- DTAP --RAN_GERAN_A--> MS: SMS:0x04: 0904 +DMSC msc_tx 2 bytes to MSISDN:42342 via GERAN-A +- DTAP --GERAN-A--> MS: SMS:0x04: 0904 - DTAP matches expected message DREF VLR subscr MSISDN:42342 usage decreases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 @@ -405,7 +405,7 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_COMMUNICATING}: state_chg t DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS dtap_tx_confirmed == 1 bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -425,7 +425,7 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--GERAN-A-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -441,7 +441,7 @@ DREF freeing VLR subscr MSISDN:42342 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -460,7 +460,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_umts_authen_utran - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -508,7 +508,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e41) @@ -538,7 +538,7 @@ DMM <- SECURITY MODE COMPLETE IMSI:901700000010650 DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() DIUCS IMSI:901700000010650: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Allocated @@ -604,7 +604,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 vsub->tmsi == 0xffffffff DREF VLR subscr MSISDN:42342 usage decreases to: 1 - MS sends TMSI Realloc Complete - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 @@ -625,7 +625,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) iu_release_sent == 1 - RNC sends Iu Release Complete @@ -646,7 +646,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - after a while, a new conn sends a CM Service Request. VLR responds with Auth Req, 2nd auth vector - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_CM_SERV_REQ + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_CM_SERV_REQ new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -690,7 +690,7 @@ DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 7db47cf7f81e4dc7) @@ -720,7 +720,7 @@ DMM <- SECURITY MODE COMPLETE MSISDN:42342 DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() DIUCS MSISDN:42342: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() DVLR Process_Access_Request_VLR(CM_SERVICE_REQ:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() @@ -740,7 +740,7 @@ DMM RAN_conn(CM_SERVICE_REQ:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS iu_release_sent == 1 - RNC sends Iu Release Complete DREF MSISDN:42342: MSC conn use - release == 0 (0x0: ) @@ -765,7 +765,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 3 DCC (ti 00 sub MSISDN:42342 callref 40000002) New transaction DREF VLR subscr MSISDN:42342 usage increases to: 4 DMM Subscriber MSISDN:42342 not paged yet, start paging. - RAN_UTRAN_IU sends out paging request to IMSI 901700000010650, TMSI 0x03020100, LAC 23 + UTRAN-Iu sends out paging request to IMSI 901700000010650, TMSI 0x03020100, LAC 23 strcmp(paging_expecting_imsi, imsi) == 0 DREF VLR subscr MSISDN:42342 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 @@ -777,7 +777,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 5 llist_count(&vsub->cs.requests) == 1 DREF VLR subscr MSISDN:42342 usage decreases to: 4 - MS replies with Paging Response, and VLR sends Auth Request with third key - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_RR_PAG_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_RR_PAG_RESP new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -820,7 +820,7 @@ DRLL subscr MSISDN:42342: Message not permitted for initial conn: GSM48_MT_RR_SY DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DRLL subscr MSISDN:42342: Message not permitted for initial conn: SMS:0x01 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM MSISDN:42342: MM UMTS AUTHENTICATION RESPONSE (res = 706f996719ba609c) @@ -850,7 +850,7 @@ DMM <- SECURITY MODE COMPLETE MSISDN:42342 DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: Received Event PR_ARQ_E_CIPH_RES DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_ciph() DIUCS MSISDN:42342: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_node2_post_vlr() DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_pres() DVLR Process_Access_Request_VLR(PAGING_RESP:901700000010650){PR_ARQ_S_WAIT_CIPH}: _proc_arq_vlr_post_trace() @@ -862,8 +862,8 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_AUTH_CIPH}: Received Event DPAG Paging success for MSISDN:42342 (event=0) DPAG Calling paging cbfn. DREF MSISDN:42342: MSC conn use + trans_sms == 1 (0x20: trans_sms) -DMSC msc_tx 91 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: SMS:0x01: 09015801000791447758100650004c0005802443f2000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 +DMSC msc_tx 91 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: SMS:0x01: 09015801000791447758100650004c0005802443f2000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 - DTAP matches expected message DREF VLR subscr MSISDN:42342 usage decreases to: 4 DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ACCEPTED @@ -876,7 +876,7 @@ DREF VLR subscr MSISDN:42342 usage decreases to: 4 - conn is still open to wait for SMS ack dance llist_count(&net->ran_conns) == 1 - MS replies with CP-ACK for received SMS - MSC <--RAN_UTRAN_IU-- MS: SMS:0x04 + MSC <--UTRAN-Iu-- MS: SMS:0x04 DREF MSISDN:42342: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x04 (0x9:0x4) DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_ACCEPTED}: Received Event RAN_CONN_E_COMMUNICATING @@ -884,12 +884,12 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN DREF MSISDN:42342: MSC conn use - dtap == 1 (0x20: trans_sms) llist_count(&net->ran_conns) == 1 - MS also sends RP-ACK, MSC in turn sends CP-ACK for that - MSC <--RAN_UTRAN_IU-- MS: SMS:0x01 + MSC <--UTRAN-Iu-- MS: SMS:0x01 DREF MSISDN:42342: MSC conn use + dtap == 2 (0x22: dtap,trans_sms) DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1) DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_COMMUNICATING}: Received Event RAN_CONN_E_COMMUNICATING -DMSC msc_tx 2 bytes to MSISDN:42342 via RAN_UTRAN_IU -- DTAP --RAN_UTRAN_IU--> MS: SMS:0x04: 0904 +DMSC msc_tx 2 bytes to MSISDN:42342 via UTRAN-Iu +- DTAP --UTRAN-Iu--> MS: SMS:0x04: 0904 - DTAP matches expected message DREF VLR subscr MSISDN:42342 usage decreases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 @@ -900,7 +900,7 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_COMMUNICATING}: state_chg t DREF MSISDN:42342: MSC conn use + release == 1 (0x100: release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS dtap_tx_confirmed == 1 iu_release_sent == 1 - RNC sends Iu Release Complete @@ -920,7 +920,7 @@ DMM RAN_conn(PAGING_RESP:901700000010650){RAN_CONN_S_RELEASED}: Deallocated llist_count(&net->ran_conns) == 0 --- - subscriber detaches - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_IMSI_DETACH_IND + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_IMSI_DETACH_IND new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -936,7 +936,7 @@ DREF freeing VLR subscr MSISDN:42342 DMM RAN_conn{RAN_CONN_S_NEW}: Received Event RAN_CONN_E_CN_CLOSE DMM RAN_conn{RAN_CONN_S_NEW}: state_chg to RAN_CONN_S_RELEASING DREF unknown: MSC conn use + release == 2 (0x101: compl_l3,release) -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF unknown: MSC conn use - compl_l3 == 1 (0x100: release) iu_release_sent == 1 - RNC sends Iu Release Complete @@ -955,7 +955,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_umts_authen_resync_geran - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1003,7 +1003,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Failure with Resync cause, VLR sends GSUP to HLR to resync - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_FAIL + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_FAIL DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_FAIL (0x5:0x1c) DMM IMSI:901700000010650: MM R99 AUTHENTICATION SYNCH (AUTS = 979498b1f72d3e28c59fa2e72f9c) @@ -1034,7 +1034,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends GSUP LU Req to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = 1df5f0b4f22b696e) @@ -1118,7 +1118,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 vsub->tmsi == 0xffffffff DREF VLR subscr MSISDN:42342 usage decreases to: 1 - MS sends TMSI Realloc Complete - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--GERAN-A-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 @@ -1139,7 +1139,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) bssap_clear_sent == 1 - BSS sends BSSMAP Clear Complete @@ -1166,7 +1166,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_umts_authen_resync_utran - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1214,7 +1214,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Failure with Resync cause, VLR sends GSUP to HLR to resync - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_FAIL + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_FAIL DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_FAIL (0x5:0x1c) DMM IMSI:901700000010650: MM R99 AUTHENTICATION SYNCH (AUTS = 979498b1f72d3e28c59fa2e72f9c) @@ -1245,7 +1245,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response, VLR accepts and sends SecurityModeControl - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = 1df5f0b4f22b696e) @@ -1275,7 +1275,7 @@ DMM <- SECURITY MODE COMPLETE IMSI:901700000010650 DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_post_ciph() DIUCS IMSI:901700000010650: tx CommonID 901700000010650 -- Iu Common ID --RAN_UTRAN_IU--> MS (IMSI=901700000010650) +- Iu Common ID --UTRAN-Iu--> MS (IMSI=901700000010650) DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: vlr_loc_upd_node_4() DVLR vlr_lu_fsm(LU:901700000010650){VLR_ULA_S_WAIT_CIPH}: state_chg to VLR_ULA_S_WAIT_HLR_UPD DVLR upd_hlr_vlr_fsm(LU:901700000010650){UPD_HLR_VLR_S_INIT}: Allocated @@ -1341,7 +1341,7 @@ DREF VLR subscr MSISDN:42342 usage increases to: 2 vsub->tmsi == 0xffffffff DREF VLR subscr MSISDN:42342 usage decreases to: 1 - MS sends TMSI Realloc Complete - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_TMSI_REALL_COMPL + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_TMSI_REALL_COMPL DREF MSISDN:42342: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_TMSI_REALL_COMPL (0x5:0x1b) DMM TMSI Reallocation Completed. Subscriber: MSISDN:42342 @@ -1362,7 +1362,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_ACCEPTED}: state_chg to RAN_CONN_S_R DREF MSISDN:42342: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr MSISDN:42342 usage increases to: 3 DREF VLR subscr MSISDN:42342 usage decreases to: 2 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF MSISDN:42342: MSC conn use - dtap == 1 (0x100: release) iu_release_sent == 1 - RNC sends Iu Release Complete @@ -1389,7 +1389,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_umts_authen_too_short_res_geran - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1437,7 +1437,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response of wrong RES size, VLR thwarts - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e) @@ -1460,7 +1460,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ DREF IMSI:901700000010650: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr IMSI:901700000010650 usage increases to: 2 DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF IMSI:901700000010650: MSC conn use - dtap == 1 (0x100: release) lu_result_sent == 2 bssap_clear_sent == 1 @@ -1487,7 +1487,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_umts_authen_too_short_res_utran - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1535,7 +1535,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response of wrong RES size, VLR thwarts - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e) @@ -1558,7 +1558,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ DREF IMSI:901700000010650: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr IMSI:901700000010650 usage increases to: 2 DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF IMSI:901700000010650: MSC conn use - dtap == 1 (0x100: release) lu_result_sent == 2 iu_release_sent == 1 @@ -1585,7 +1585,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_umts_authen_too_long_res_geran - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1633,7 +1633,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response of wrong RES size, VLR thwarts - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e4123) @@ -1656,7 +1656,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ DREF IMSI:901700000010650: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr IMSI:901700000010650 usage increases to: 2 DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF IMSI:901700000010650: MSC conn use - dtap == 1 (0x100: release) lu_result_sent == 2 bssap_clear_sent == 1 @@ -1683,7 +1683,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_umts_authen_too_long_res_utran - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1731,7 +1731,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response of wrong RES size, VLR thwarts - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM UMTS AUTHENTICATION RESPONSE (res = e229c19e791f2e4123) @@ -1754,7 +1754,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ DREF IMSI:901700000010650: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr IMSI:901700000010650 usage increases to: 2 DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF IMSI:901700000010650: MSC conn use - dtap == 1 (0x100: release) lu_result_sent == 2 iu_release_sent == 1 @@ -1781,7 +1781,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_umts_authen_only_sres_geran - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--GERAN-A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1829,7 +1829,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response of wrong RES size, VLR thwarts: GERAN reports an SRES mismatch - MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--GERAN-A-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM GSM AUTHENTICATION RESPONSE (sres = e229c19e) @@ -1852,7 +1852,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ DREF IMSI:901700000010650: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr IMSI:901700000010650 usage increases to: 2 DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 -- BSSAP Clear --RAN_GERAN_A--> MS +- BSSAP Clear --GERAN-A--> MS DREF IMSI:901700000010650: MSC conn use - dtap == 1 (0x100: release) lu_result_sent == 2 bssap_clear_sent == 1 @@ -1879,7 +1879,7 @@ talloc_total_blocks(tall_bsc_ctx) == 13 ===== test_umts_authen_only_sres_utran - Location Update request causes a GSUP Send Auth Info request to HLR - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_LOC_UPD_REQUEST + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_LOC_UPD_REQUEST new conn DMM RAN_conn{RAN_CONN_S_NEW}: Allocated DREF unknown: MSC conn use + compl_l3 == 1 (0x1: compl_l3) @@ -1927,7 +1927,7 @@ DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 auth_request_sent == 1 lu_result_sent == 0 - MS sends Authen Response of wrong RES size, VLR thwarts: UTRAN disallows GSM AKA altogether - MSC <--RAN_UTRAN_IU-- MS: GSM48_MT_MM_AUTH_RESP + MSC <--UTRAN-Iu-- MS: GSM48_MT_MM_AUTH_RESP DREF IMSI:901700000010650: MSC conn use + dtap == 1 (0x2: dtap) DRLL Dispatching 04.08 message GSM48_MT_MM_AUTH_RESP (0x5:0x14) DMM IMSI:901700000010650: MM GSM AUTHENTICATION RESPONSE (sres = e229c19e) @@ -1950,7 +1950,7 @@ DMM RAN_conn(LU:901700000010650){RAN_CONN_S_AUTH_CIPH}: state_chg to RAN_CONN_S_ DREF IMSI:901700000010650: MSC conn use + release == 2 (0x102: dtap,release) DREF VLR subscr IMSI:901700000010650 usage increases to: 2 DREF VLR subscr IMSI:901700000010650 usage decreases to: 1 -- Iu Release --RAN_UTRAN_IU--> MS +- Iu Release --UTRAN-Iu--> MS DREF IMSI:901700000010650: MSC conn use - dtap == 1 (0x100: release) lu_result_sent == 2 iu_release_sent == 1 diff --git a/tests/msc_vlr/msc_vlr_tests.c b/tests/msc_vlr/msc_vlr_tests.c index de7600c52..d3e338afc 100644 --- a/tests/msc_vlr/msc_vlr_tests.c +++ b/tests/msc_vlr/msc_vlr_tests.c @@ -178,7 +178,7 @@ bool conn_exists(const struct ran_conn *conn) /* Simplified version of the cm_service_request_concludes() */ void conn_conclude_cm_service_req(struct ran_conn *conn, - enum ran_type via_ran) + enum osmo_rat_type via_ran) { btw("Concluding CM Service Request"); @@ -191,13 +191,13 @@ void conn_conclude_cm_service_req(struct ran_conn *conn, ASSERT_RELEASE_CLEAR(via_ran); } -enum ran_type rx_from_ran = RAN_GERAN_A; +enum osmo_rat_type rx_from_ran = OSMO_RAT_GERAN_A; struct ran_conn *conn_new(void) { struct ran_conn *conn; conn = ran_conn_alloc(net, rx_from_ran, 23); - if (conn->via_ran == RAN_UTRAN_IU) { + if (conn->via_ran == OSMO_RAT_UTRAN_IU) { struct ranap_ue_conn_ctx *ue_ctx = talloc_zero(conn, struct ranap_ue_conn_ctx); *ue_ctx = (struct ranap_ue_conn_ctx){ .conn_id = 42, @@ -214,7 +214,7 @@ void rx_from_ms(struct msgb *msg) struct gsm48_hdr *gh = msgb_l3(msg); log("MSC <--%s-- MS: %s", - ran_type_name(rx_from_ran), + osmo_rat_type_name(rx_from_ran), gh_type_name(gh)); if (!conn_exists(g_conn)) @@ -358,10 +358,10 @@ void paging_expect_tmsi(uint32_t tmsi) paging_expecting_imsi = NULL; } -static int _paging_sent(enum ran_type via_ran, const char *imsi, uint32_t tmsi, uint32_t lac) +static int _paging_sent(enum osmo_rat_type via_ran, const char *imsi, uint32_t tmsi, uint32_t lac) { log("%s sends out paging request to IMSI %s, TMSI 0x%08x, LAC %u", - ran_type_name(via_ran), imsi, tmsi, lac); + osmo_rat_type_name(via_ran), imsi, tmsi, lac); OSMO_ASSERT(paging_expecting_imsi || (paging_expecting_tmsi != GSM_RESERVED_TMSI)); if (paging_expecting_imsi) VERBOSE_ASSERT(strcmp(paging_expecting_imsi, imsi), == 0, "%d"); @@ -377,14 +377,14 @@ static int _paging_sent(enum ran_type via_ran, const char *imsi, uint32_t tmsi, int __real_ranap_iu_page_cs(const char *imsi, const uint32_t *tmsi, uint16_t lac); int __wrap_ranap_iu_page_cs(const char *imsi, const uint32_t *tmsi, uint16_t lac) { - return _paging_sent(RAN_UTRAN_IU, imsi, tmsi ? *tmsi : GSM_RESERVED_TMSI, lac); + return _paging_sent(OSMO_RAT_UTRAN_IU, imsi, tmsi ? *tmsi : GSM_RESERVED_TMSI, lac); } /* override, requires '-Wl,--wrap=a_iface_tx_paging' */ int __real_a_iface_tx_paging(const char *imsi, uint32_t tmsi, uint16_t lac); int __wrap_a_iface_tx_paging(const char *imsi, uint32_t tmsi, uint16_t lac) { - return _paging_sent(RAN_GERAN_A, imsi, tmsi, lac); + return _paging_sent(OSMO_RAT_GERAN_A, imsi, tmsi, lac); } /* override, requires '-Wl,--wrap=msc_stop_paging' */ @@ -437,7 +437,7 @@ void clear_vlr() net->vlr->cfg.auth_tuple_max_reuse_count = 0; net->vlr->cfg.auth_reuse_old_sets_on_error = false; - rx_from_ran = RAN_GERAN_A; + rx_from_ran = OSMO_RAT_GERAN_A; auth_request_sent = false; auth_request_expect_rand = NULL; auth_request_expect_autn = NULL; @@ -581,10 +581,10 @@ int __wrap_osmo_gsup_client_send(struct osmo_gsup_client *gsupc, struct msgb *ms return 0; } -static int _validate_dtap(struct msgb *msg, enum ran_type to_ran) +static int _validate_dtap(struct msgb *msg, enum osmo_rat_type to_ran) { btw("DTAP --%s--> MS: %s: %s", - ran_type_name(to_ran), gh_type_name((void*)msg->data), + osmo_rat_type_name(to_ran), gh_type_name((void*)msg->data), osmo_hexdump_nospc(msg->data, msg->len)); OSMO_ASSERT(dtap_tx_expected); @@ -612,14 +612,14 @@ static int _validate_dtap(struct msgb *msg, enum ran_type to_ran) int __real_ranap_iu_tx(struct msgb *msg, uint8_t sapi); int __wrap_ranap_iu_tx(struct msgb *msg, uint8_t sapi) { - return _validate_dtap(msg, RAN_UTRAN_IU); + return _validate_dtap(msg, OSMO_RAT_UTRAN_IU); } /* override, requires '-Wl,--wrap=ranap_iu_tx_release' */ int __real_ranap_iu_tx_release(struct ranap_ue_conn_ctx *ctx, const struct RANAP_Cause *cause); int __wrap_ranap_iu_tx_release(struct ranap_ue_conn_ctx *ctx, const struct RANAP_Cause *cause) { - btw("Iu Release --%s--> MS", ran_type_name(RAN_UTRAN_IU)); + btw("Iu Release --%s--> MS", osmo_rat_type_name(OSMO_RAT_UTRAN_IU)); OSMO_ASSERT(iu_release_expected); iu_release_expected = false; iu_release_sent = true; @@ -630,7 +630,7 @@ int __wrap_ranap_iu_tx_release(struct ranap_ue_conn_ctx *ctx, const struct RANAP int __real_ranap_iu_tx_common_id(struct ranap_ue_conn_ctx *ue_ctx, const char *imsi); int __wrap_ranap_iu_tx_common_id(struct ranap_ue_conn_ctx *ue_ctx, const char *imsi) { - btw("Iu Common ID --%s--> MS (IMSI=%s)", ran_type_name(RAN_UTRAN_IU), imsi); + btw("Iu Common ID --%s--> MS (IMSI=%s)", osmo_rat_type_name(OSMO_RAT_UTRAN_IU), imsi); return 0; } @@ -638,14 +638,14 @@ int __wrap_ranap_iu_tx_common_id(struct ranap_ue_conn_ctx *ue_ctx, const char *i int __real_a_iface_tx_dtap(struct msgb *msg); int __wrap_a_iface_tx_dtap(struct msgb *msg) { - return _validate_dtap(msg, RAN_GERAN_A); + return _validate_dtap(msg, OSMO_RAT_GERAN_A); } /* override, requires '-Wl,--wrap=a_iface_tx_clear_cmd' */ int __real_a_iface_tx_clear_cmd(struct ran_conn *conn); int __wrap_a_iface_tx_clear_cmd(struct ran_conn *conn) { - btw("BSSAP Clear --%s--> MS", ran_type_name(RAN_GERAN_A)); + btw("BSSAP Clear --%s--> MS", osmo_rat_type_name(OSMO_RAT_GERAN_A)); OSMO_ASSERT(bssap_clear_expected); bssap_clear_expected = false; bssap_clear_sent = true; @@ -824,7 +824,7 @@ static int fake_vlr_tx_ciph_mode_cmd(void *msc_conn_ref, bool umts_aka, bool ret /* If we built without support for IU, fake the IU part here. The root cause is that we don't * have differing sets of expected outputs for --enable-iu and --disable-iu. */ struct ran_conn *conn = msc_conn_ref; - if (conn->via_ran == RAN_UTRAN_IU) { + if (conn->via_ran == OSMO_RAT_UTRAN_IU) { DEBUGP(DMM, "-> SECURITY MODE CONTROL %s\n", vlr_subscr_name(conn->vsub)); rc = __wrap_ranap_iu_tx_sec_mode_cmd(conn->iu.ue_ctx, &conn->vsub->last_tuple->vec, 0, 1); @@ -839,7 +839,7 @@ static int fake_vlr_tx_ciph_mode_cmd(void *msc_conn_ref, bool umts_aka, bool ret void ms_sends_security_mode_complete() { OSMO_ASSERT(g_conn); - OSMO_ASSERT(g_conn->via_ran == RAN_UTRAN_IU); + OSMO_ASSERT(g_conn->via_ran == OSMO_RAT_UTRAN_IU); OSMO_ASSERT(g_conn->iu.ue_ctx); ran_conn_rx_sec_mode_compl(g_conn); } @@ -848,7 +848,7 @@ void bss_sends_clear_complete() { btw("BSS sends BSSMAP Clear Complete"); OSMO_ASSERT(g_conn); - OSMO_ASSERT(g_conn->via_ran == RAN_GERAN_A); + OSMO_ASSERT(g_conn->via_ran == OSMO_RAT_GERAN_A); ran_conn_rx_bssmap_clear_complete(g_conn); } @@ -856,7 +856,7 @@ void rnc_sends_release_complete() { btw("RNC sends Iu Release Complete"); OSMO_ASSERT(g_conn); - OSMO_ASSERT(g_conn->via_ran == RAN_UTRAN_IU); + OSMO_ASSERT(g_conn->via_ran == OSMO_RAT_UTRAN_IU); ran_conn_rx_iu_release_complete(g_conn); } diff --git a/tests/msc_vlr/msc_vlr_tests.h b/tests/msc_vlr/msc_vlr_tests.h index 7eb6d240a..b35053c6f 100644 --- a/tests/msc_vlr/msc_vlr_tests.h +++ b/tests/msc_vlr/msc_vlr_tests.h @@ -53,7 +53,7 @@ extern struct gsm_network *net; extern struct gsm_bts *the_bts; extern void *msgb_ctx; -extern enum ran_type rx_from_ran; +extern enum osmo_rat_type rx_from_ran; extern const char *gsup_tx_expected; extern bool gsup_tx_confirmed; @@ -125,13 +125,13 @@ static inline void expect_bssap_clear() bssap_clear_sent = false; } -static inline void expect_release_clear(enum ran_type via_ran) +static inline void expect_release_clear(enum osmo_rat_type via_ran) { switch (via_ran) { - case RAN_GERAN_A: + case OSMO_RAT_GERAN_A: expect_bssap_clear(); return; - case RAN_UTRAN_IU: + case OSMO_RAT_UTRAN_IU: expect_iu_release(); return; default: @@ -153,7 +153,7 @@ struct msgb *msgb_from_hex(const char *label, uint16_t size, const char *hex); void clear_vlr(); bool conn_exists(const struct ran_conn *conn); void conn_conclude_cm_service_req(struct ran_conn *conn, - enum ran_type via_ran); + enum osmo_rat_type via_ran); void dtap_expect_tx(const char *hex); void dtap_expect_tx_ussd(char *ussd_text); @@ -234,10 +234,10 @@ extern const struct timeval fake_time_start_time; #define ASSERT_RELEASE_CLEAR(via_ran) \ switch (via_ran) { \ - case RAN_GERAN_A: \ + case OSMO_RAT_GERAN_A: \ VERBOSE_ASSERT(bssap_clear_sent, == true, "%d"); \ break; \ - case RAN_UTRAN_IU: \ + case OSMO_RAT_UTRAN_IU: \ VERBOSE_ASSERT(iu_release_sent, == true, "%d"); \ break; \ default: \ @@ -245,13 +245,13 @@ extern const struct timeval fake_time_start_time; break; \ } -static inline void bss_rnc_sends_release_clear_complete(enum ran_type via_ran) +static inline void bss_rnc_sends_release_clear_complete(enum osmo_rat_type via_ran) { switch (via_ran) { - case RAN_GERAN_A: + case OSMO_RAT_GERAN_A: bss_sends_clear_complete(); return; - case RAN_UTRAN_IU: + case OSMO_RAT_UTRAN_IU: rnc_sends_release_complete(); return; default: