Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-AMF
Commits
ecb13e33
Commit
ecb13e33
authored
Nov 02, 2021
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix_Ran_Ue_Ngap_Id' into 'develop'
fix for Ran UE Ngap ID See merge request oai/cn5g/oai-cn5g-amf!66
parents
0e26b1eb
43eeb1a2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
src/amf-app/amf_n2.cpp
src/amf-app/amf_n2.cpp
+1
-1
src/ngap/ngapMsgs/InitialUEMessage.cpp
src/ngap/ngapMsgs/InitialUEMessage.cpp
+4
-3
src/ngap/ngapMsgs/InitialUEMessage.hpp
src/ngap/ngapMsgs/InitialUEMessage.hpp
+1
-1
No files found.
src/amf-app/amf_n2.cpp
View file @
ecb13e33
...
...
@@ -584,7 +584,7 @@ void amf_n2::handle_itti_message(itti_initial_ue_message& init_ue_msg) {
// UE NGAP Context
uint32_t
ran_ue_ngap_id
=
0
;
if
(
(
ran_ue_ngap_id
=
init_ue_msg
.
initUeMsg
->
getRanUENgapID
())
==
0
)
{
if
(
!
init_ue_msg
.
initUeMsg
->
getRanUENgapID
(
ran_ue_ngap_id
)
)
{
Logger
::
amf_n2
().
error
(
"Missing Mandatory IE (RanUeNgapId)"
);
return
;
}
...
...
src/ngap/ngapMsgs/InitialUEMessage.cpp
View file @
ecb13e33
...
...
@@ -389,11 +389,12 @@ bool InitialUEMessageMsg::decodefrompdu(Ngap_NGAP_PDU_t* ngap_msg_pdu) {
}
//------------------------------------------------------------------------------
uint32_t
InitialUEMessageMsg
::
getRanUENgapID
(
)
{
bool
InitialUEMessageMsg
::
getRanUENgapID
(
uint32_t
&
value
)
{
if
(
ranUeNgapId
)
{
return
ranUeNgapId
->
getRanUeNgapId
();
value
=
ranUeNgapId
->
getRanUeNgapId
();
return
true
;
}
else
{
return
0
;
return
false
;
}
}
...
...
src/ngap/ngapMsgs/InitialUEMessage.hpp
View file @
ecb13e33
...
...
@@ -61,7 +61,7 @@ class InitialUEMessageMsg {
int
encode2buffer
(
uint8_t
*
buf
,
int
buf_size
);
// Decapsulation
bool
decodefrompdu
(
Ngap_NGAP_PDU_t
*
ngap_msg_pdu
);
uint32_t
getRanUENgapID
(
);
bool
getRanUENgapID
(
uint32_t
&
value
);
bool
getNasPdu
(
uint8_t
*&
nas
,
size_t
&
sizeofnas
);
bool
getUserLocationInfoNR
(
struct
NrCgi_s
&
cig
,
struct
Tai_s
&
tai
);
int
getRRCEstablishmentCause
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment