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
99597dd0
Commit
99597dd0
authored
Mar 09, 2023
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup for gNB Context
parent
260bff8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+1
-0
src/ngap/ngap_app/ngap_app.cpp
src/ngap/ngap_app/ngap_app.cpp
+2
-6
No files found.
src/amf-app/amf_n1.cpp
View file @
99597dd0
...
...
@@ -2636,6 +2636,7 @@ void amf_n1::security_mode_complete_handle(
Logger
::
amf_n1
().
error
(
"No existed gNB context with assoc_id (%d)"
,
unc
->
gnb_assoc_id
);
}
else
{
// TODO: get_user_location(uc);
oai
::
amf
::
model
::
UserLocation
user_location
=
{};
oai
::
amf
::
model
::
NrLocation
nr_location
=
{};
...
...
src/ngap/ngap_app/ngap_app.cpp
View file @
99597dd0
...
...
@@ -99,17 +99,13 @@ void ngap_app::handle_sctp_new_association(
"Received a new association request on an association that is being "
"%s, ignoring"
,
ng_gnb_state_str
[
gc
->
ng_state
]);
return
;
}
else
{
Logger
::
ngap
().
debug
(
"Update gNB context with assoc id (%d)"
,
assoc_id
);
}
}
if
(
gc
==
nullptr
)
{
Logger
::
ngap
().
error
(
"Failed to create gNB context for assoc_id (%d)"
,
assoc_id
);
return
;
};
// Update gNB Context
gc
->
sctp_assoc_id
=
assoc_id
;
gc
->
instreams
=
instreams
;
gc
->
outstreams
=
outstreams
;
...
...
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