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
19e32019
Commit
19e32019
authored
Sep 15, 2022
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into cu_du_testing
parents
378ed04e
623f1df1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+2
-0
src/amf-app/amf_sbi.cpp
src/amf-app/amf_sbi.cpp
+6
-8
No files found.
src/amf-app/amf_n1.cpp
View file @
19e32019
...
...
@@ -3092,6 +3092,8 @@ void amf_n1::ue_initiate_de_registration_handle(
bstring
b
=
blk2bstr
(
buffer
,
encoded_size
);
itti_send_dl_nas_buffer_to_task_n2
(
b
,
ran_ue_ngap_id
,
amf_ue_ngap_id
);
// sleep 100ms
usleep
(
200000
);
}
set_5gmm_state
(
nc
,
_5GMM_DEREGISTERED
);
...
...
src/amf-app/amf_sbi.cpp
View file @
19e32019
...
...
@@ -523,15 +523,13 @@ void amf_sbi::handle_itti_message(
Logger
::
amf_sbi
().
debug
(
"SMF URI: %s"
,
remote_uri
.
c_str
());
nlohmann
::
json
pdu_session_release_request
;
pdu_session_release_request
[
"supi"
]
=
itti_msg
.
supi
.
c_str
();
pdu_session_release_request
[
"dnn"
]
=
psc
->
dnn
.
c_str
();
pdu_session_release_request
[
"sNssai"
][
"sst"
]
=
psc
->
snssai
.
sST
;
pdu_session_release_request
[
"sNssai"
][
"sd"
]
=
psc
->
snssai
.
sD
;
pdu_session_release_request
[
"pduSessionId"
]
=
psc
->
pdu_session_id
;
pdu_session_release_request
[
"cause"
]
=
"REL_DUE_TO_REACTIVATION"
;
// TODO:
pdu_session_release_request
[
"ngApCause"
]
=
"radioNetwork"
;
std
::
string
msg_body
=
pdu_session_release_request
.
dump
();
uint8_t
http_version
=
1
;
// pdu_session_release_request["ngApCause"] = "radioNetwork";
// TODO: 5gMmCauseValue
// TODO: UserLocation
// TODO: N2SmInfo
std
::
string
msg_body
=
pdu_session_release_request
.
dump
();
uint8_t
http_version
=
1
;
if
(
amf_cfg
.
support_features
.
use_http2
)
http_version
=
2
;
nlohmann
::
json
response_json
=
{};
...
...
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