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
5dc001ad
Commit
5dc001ad
authored
Apr 29, 2022
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Guti allocation
parent
d9ecd50f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+1
-1
src/ngap/ngapIEs/FiveGSTmsi.cpp
src/ngap/ngapIEs/FiveGSTmsi.cpp
+2
-1
No files found.
src/amf-app/amf_n1.cpp
View file @
5dc001ad
...
...
@@ -2551,7 +2551,7 @@ void amf_n1::security_mode_complete_handle(
std
::
string
guti
=
mcc
+
mnc
+
amf_cfg
.
guami
.
regionID
+
amf_cfg
.
guami
.
AmfSetID
+
amf_cfg
.
guami
.
AmfPointer
+
std
::
to_string
(
tmsi
);
conv
::
tmsi_
to_string
(
tmsi
);
Logger
::
amf_n1
().
debug
(
"Allocated GUTI %s"
,
guti
.
c_str
());
// TODO: remove hardcoded values
...
...
src/ngap/ngapIEs/FiveGSTmsi.cpp
View file @
5dc001ad
...
...
@@ -27,6 +27,7 @@
*/
#include "FiveGSTmsi.hpp"
#include "conversions.hpp"
using
namespace
ngap
;
...
...
@@ -46,7 +47,7 @@ bool FiveGSTmsi::decodefrompdu(Ngap_FiveG_S_TMSI_t pdu) {
amfSetid
.
getAMFSetID
(
setId
);
amfPointer
.
getAMFPointer
(
pointer
);
_5g_s_tmsi
=
setId
+
pointer
+
std
::
to_string
(
tmsi
);
tmsi_value
=
std
::
to_string
(
tmsi
);
tmsi_value
=
conv
::
tmsi_
to_string
(
tmsi
);
return
true
;
}
...
...
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