diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-01-03 16:31:31 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-01-03 16:31:31 +0100 |
commit | 056984fab1c1d6f80b5dc28f4c83eb80515d7c25 (patch) | |
tree | 464c52e786dddd420129f0f0a177b9e48e61f106 /src/hnbgw_hnbap.c | |
parent | a95d5a5f51d2dcc6b7bffdfe971148a6307e94d9 (diff) |
merge (+rename) iu_helpers.c into libosmo-ranap
Diffstat (limited to 'src/hnbgw_hnbap.c')
-rw-r--r-- | src/hnbgw_hnbap.c | 8 |
1 files changed, 4 insertions, 4 deletions
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: |