From 056984fab1c1d6f80b5dc28f4c83eb80515d7c25 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 3 Jan 2016 16:31:31 +0100 Subject: merge (+rename) iu_helpers.c into libosmo-ranap --- src/hnbgw_hnbap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/hnbgw_hnbap.c') diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c index 87dc343..7790bfd 100644 --- a/src/hnbgw_hnbap.c +++ b/src/hnbgw_hnbap.c @@ -86,7 +86,7 @@ static int hnbgw_tx_ue_register_acc(struct ue_context *ue) size_t encoded_imsi_len; int rc; - encoded_imsi_len = encode_iu_imsi(encoded_imsi, + encoded_imsi_len = ranap_imsi_encode(encoded_imsi, sizeof(encoded_imsi), ue->imsi); memset(&accept, 0, sizeof(accept)); @@ -150,15 +150,15 @@ static int hnbgw_rx_ue_register_req(struct hnb_context *ctx, ANY_t *in) switch (ies.uE_Identity.present) { case UE_Identity_PR_iMSI: - decode_iu_bcd(imsi, sizeof(imsi), ies.uE_Identity.choice.iMSI.buf, + ranap_bcd_decode(imsi, sizeof(imsi), ies.uE_Identity.choice.iMSI.buf, ies.uE_Identity.choice.iMSI.size); break; case UE_Identity_PR_iMSIDS41: - decode_iu_bcd(imsi, sizeof(imsi), ies.uE_Identity.choice.iMSIDS41.buf, + ranap_bcd_decode(imsi, sizeof(imsi), ies.uE_Identity.choice.iMSIDS41.buf, ies.uE_Identity.choice.iMSIDS41.size); break; case UE_Identity_PR_iMSIESN: - decode_iu_bcd(imsi, sizeof(imsi), ies.uE_Identity.choice.iMSIESN.iMSIDS41.buf, + ranap_bcd_decode(imsi, sizeof(imsi), ies.uE_Identity.choice.iMSIESN.iMSIDS41.buf, ies.uE_Identity.choice.iMSIESN.iMSIDS41.size); break; default: -- cgit v1.2.3