aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/vlr.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-07 17:52:32 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-03-09 18:34:16 +0100
commit194c2e4316f98acd7a1ab3eca1c60da805e55da8 (patch)
treebe9c4cfaad07ff43d780f7758e8aaf578649bea9 /openbsc/include/openbsc/vlr.h
parentae1d15248303058ff69eb190086198539b3f41e4 (diff)
IuCS: send RANAP CommonID
Add libiu function to send a CommonID message down a UE connection, iu_tx_common_id(); add also a corresponding stub to libiudummy for linking with tests. Add libmsc function msc_tx_common_id() to call the above. Add this mostly to clearly indicate in msc_ifaces.h that libmsc is calling out of the MSC; also to do conn->via_iface checking. Call msc_tx_common_id() after ciphering is established, in _gsm48_rx_mm_serv_req_sec_cb()'s GSM_SECURITY_SUCCEEDED case. Change-Id: I576ddd5bbabfc989149debd2f8a9743db6d26043
Diffstat (limited to 'openbsc/include/openbsc/vlr.h')
-rw-r--r--openbsc/include/openbsc/vlr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/vlr.h b/openbsc/include/openbsc/vlr.h
index a72970848..c137e5007 100644
--- a/openbsc/include/openbsc/vlr.h
+++ b/openbsc/include/openbsc/vlr.h
@@ -186,6 +186,9 @@ struct vlr_ops {
int (*tx_cm_serv_acc)(void *msc_conn_ref);
int (*tx_cm_serv_rej)(void *msc_conn_ref, enum vlr_proc_arq_result result);
+ /* FIXME: add tx_common_id() for when auth is complete on UTRAN, see
+ * msc_tx_common_id(conn) */
+
int (*set_ciph_mode)(void *msc_conn_ref, enum vlr_ciph ciph_mode,
bool retrieve_imeisv);