From c299fb93a4af55e5276f3faf32e9f2fb0797b65c Mon Sep 17 00:00:00 2001 From: Cedric Roux <cedric.roux@eurecom.fr> Date: Wed, 20 Nov 2013 10:40:30 +0000 Subject: [PATCH] - Fix integrity/encryption algorithms values git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4452 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair-cn/S1AP/s1ap_mme_nas_procedures.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/openair-cn/S1AP/s1ap_mme_nas_procedures.c b/openair-cn/S1AP/s1ap_mme_nas_procedures.c index a259f65319..cfc34beebe 100644 --- a/openair-cn/S1AP/s1ap_mme_nas_procedures.c +++ b/openair-cn/S1AP/s1ap_mme_nas_procedures.c @@ -259,7 +259,7 @@ int s1ap_handle_attach_accepted(nas_attach_accept_t *attach_accept_p) * At least one bearer has been established. We can now send s1ap initial context setup request * message to eNB. */ - char supportedAlgorithms[] = { 0x02, 0xa0 }; + uint8_t supportedAlgorithms[] = { 0x00, 0x02 }; uint8_t offset = 0; uint8_t *buffer_p; uint32_t length; @@ -303,13 +303,6 @@ int s1ap_handle_attach_accepted(nas_attach_accept_t *attach_accept_p) initialContextSetupRequest_p->eNB_UE_S1AP_ID = (unsigned long)ue_ref->eNB_ue_s1ap_id; /* uEaggregateMaximumBitrateDL and uEaggregateMaximumBitrateUL expressed in term of bits/sec */ -// asn_int642INTEGER( -// &initialContextSetupRequest_p->uEaggregateMaximumBitrate.uEaggregateMaximumBitRateDL, -// initial_p->ambr.br_dl); -// asn_int642INTEGER( -// &initialContextSetupRequest_p->uEaggregateMaximumBitrate.uEaggregateMaximumBitRateUL, -// initial_p->ambr.br_ul); - initialContextSetupRequest_p->uEaggregateMaximumBitrate.uEaggregateMaximumBitRateDL = initial_p->ambr.br_dl; initialContextSetupRequest_p->uEaggregateMaximumBitrate.uEaggregateMaximumBitRateUL = initial_p->ambr.br_ul; -- GitLab