diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-12-14 05:30:16 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-12-14 05:39:23 +0100 |
commit | 62ede0b022d5e910bb54b97134af5f1d5ebc6d58 (patch) | |
tree | fe6b1449350e2b30dddfb8335497432064338591 /include | |
parent | baef13825fe020724b5da69c050e17ae6a80a979 (diff) |
Cosmetic: move translation of vlr_ciph into msc_vlr_set_ciph_mode()
a_iface_tx_cipher_mode() is a bit too far away from the VLR to be handling its
ciphering enums. Instead, construct the gsm0808_encrypt_info in the
msc_vlr_set_ciph_mode() callback.
Greatly simplify the sanity checking code.
Change-Id: Id46f9a513b555d0a481f7124c9984c2b5b196b3e
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/msc/a_iface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/msc/a_iface.h b/include/osmocom/msc/a_iface.h index f0da248b7..30a10af2e 100644 --- a/include/osmocom/msc/a_iface.h +++ b/include/osmocom/msc/a_iface.h @@ -57,7 +57,7 @@ int a_iface_tx_dtap(struct msgb *msg); /* Send Cipher mode command via A-interface */ int a_iface_tx_cipher_mode(const struct gsm_subscriber_connection *conn, - int cipher, const uint8_t *key, int len, int include_imeisv); + struct gsm0808_encrypt_info *ei, int include_imeisv); /* Page a subscriber via A-interface */ int a_iface_tx_paging(const char *imsi, uint32_t tmsi, uint16_t lac); |