diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-07 17:52:32 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-11-12 16:05:35 +0100 |
commit | fda5bb5e51a60ad168be5ba86db6b1fe15f7a6c9 (patch) | |
tree | 9a0962c464b8b0c3e920bab2e36439b5c453da8c /openbsc/include/openbsc/msc_ifaces.h | |
parent | 0faacd6adfa5a0f95c4db27494ebd2795f93e59d (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/msc_ifaces.h')
-rw-r--r-- | openbsc/include/openbsc/msc_ifaces.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/msc_ifaces.h b/openbsc/include/openbsc/msc_ifaces.h index 83aad92a4..0f2142a20 100644 --- a/openbsc/include/openbsc/msc_ifaces.h +++ b/openbsc/include/openbsc/msc_ifaces.h @@ -45,3 +45,5 @@ int msc_gsm48_tx_mm_serv_rej(struct gsm_subscriber_connection *conn, /* TODO: specific to A interface, move this away */ int msc_gsm0808_tx_cipher_mode(struct gsm_subscriber_connection *conn, int cipher, const uint8_t *key, int len, int include_imeisv); + +int msc_tx_common_id(struct gsm_subscriber_connection *conn); |