aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msc_vlr/msc_vlr_tests.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-11-30 01:08:36 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-11-30 22:46:13 +0100
commit3c20a5ee7483108fed857b61050b7282327d5c83 (patch)
tree4c55c23ed4f24c6827e9a1d461d2bb9da561edf5 /tests/msc_vlr/msc_vlr_tests.c
parentc036b79918dbeb2baefff177be51dfdd9dac1588 (diff)
rename some RAN conn related stuff to ran_conn_*
Following previous rename of gsm_subscriber_connection: Some functions and #defines are still called like "msc_conn" or just "msc_", while they are clearly about a RAN conn. To avoid confusion with the future separate concepts of MSC roles and a RAN connection, rename all those to match the common "ran_conn" prefix. Change-Id: Ia17a0a35f11911e00e19cafb5d7828d729a69640
Diffstat (limited to 'tests/msc_vlr/msc_vlr_tests.c')
-rw-r--r--tests/msc_vlr/msc_vlr_tests.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/msc_vlr/msc_vlr_tests.c b/tests/msc_vlr/msc_vlr_tests.c
index 92e0accd7..2443e3107 100644
--- a/tests/msc_vlr/msc_vlr_tests.c
+++ b/tests/msc_vlr/msc_vlr_tests.c
@@ -186,7 +186,7 @@ void conn_conclude_cm_service_req(struct ran_conn *conn,
OSMO_ASSERT(conn->received_cm_service_request);
conn->received_cm_service_request = false;
- ran_conn_put(conn, MSC_CONN_USE_CM_SERVICE);
+ ran_conn_put(conn, RAN_CONN_USE_CM_SERVICE);
ASSERT_RELEASE_CLEAR(via_ran);
}
@@ -225,14 +225,14 @@ void rx_from_ms(struct msgb *msg)
g_conn = conn_new();
reset_l3_seq_nr();
patch_l3_seq_nr(msg);
- msc_compl_l3(g_conn, msg, 23);
+ ran_conn_compl_l3(g_conn, msg, 23);
} else {
patch_l3_seq_nr(msg);
if ((gsm48_hdr_pdisc(gh) == GSM48_PDISC_RR)
&& (gsm48_hdr_msg_type(gh) == GSM48_MT_RR_CIPH_M_COMPL))
- msc_cipher_mode_compl(g_conn, msg, 0);
+ ran_conn_cipher_mode_compl(g_conn, msg, 0);
else
- msc_dtap(g_conn, msg);
+ ran_conn_dtap(g_conn, msg);
}
if (!conn_exists(g_conn))
@@ -842,7 +842,7 @@ void ms_sends_security_mode_complete()
OSMO_ASSERT(g_conn);
OSMO_ASSERT(g_conn->via_ran == RAN_UTRAN_IU);
OSMO_ASSERT(g_conn->iu.ue_ctx);
- msc_rx_sec_mode_compl(g_conn);
+ ran_conn_rx_sec_mode_compl(g_conn);
}
void bss_sends_clear_complete()