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
f62629e8
Commit
f62629e8
authored
Oct 17, 2022
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style(ci): fix formatting
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@openairinterface.org
>
parent
8bbafb33
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+10
-8
src/amf-app/amf_n1.hpp
src/amf-app/amf_n1.hpp
+2
-1
No files found.
src/amf-app/amf_n1.cpp
View file @
f62629e8
...
...
@@ -165,7 +165,8 @@ amf_n1::amf_n1()
// EventExposure: subscribe to UE Registration State change
ee_ue_registration_state_connection
=
event_sub
.
subscribe_ue_registration_state
(
boost
::
bind
(
&
amf_n1
::
handle_ue_registration_state_change
,
this
,
_1
,
_2
,
_3
,
_4
,
_5
));
&
amf_n1
::
handle_ue_registration_state_change
,
this
,
_1
,
_2
,
_3
,
_4
,
_5
));
// EventExposure: subscribe to UE Connectivity State change
ee_ue_connectivity_state_connection
=
...
...
@@ -786,7 +787,8 @@ void amf_n1::identity_response_handle(
Logger
::
amf_n1
().
debug
(
"Signal the UE Registration State Event notification for SUPI %s"
,
supi
.
c_str
());
//event_sub.ue_registration_state(supi, _5GMM_COMMON_PROCEDURE_INITIATED, 1);
// event_sub.ue_registration_state(supi, _5GMM_COMMON_PROCEDURE_INITIATED,
// 1);
// TODO: Trigger UE Location Report
run_registration_procedure
(
nc
);
...
...
@@ -1355,7 +1357,6 @@ void amf_n1::registration_request_handle(
"No Optional NAS Container inside Registration Request message"
);
}
// Store NAS information into nas_context
// Run the corresponding registration procedure
switch
(
reg_type
)
{
...
...
@@ -2577,8 +2578,6 @@ void amf_n1::security_mode_complete_handle(
set_5gmm_state
(
nc
,
_5GMM_REGISTERED
);
stacs
.
display
();
// Trigger UE location Status Notify
// Find UE context
...
...
@@ -2637,7 +2636,8 @@ void amf_n1::security_mode_complete_handle(
Logger
::
amf_n1
().
debug
(
"Signal the UE Registration State Event notification for SUPI %s"
,
supi
.
c_str
());
event_sub
.
ue_registration_state
(
supi
,
_5GMM_REGISTERED
,
1
,
ran_ue_ngap_id
,
amf_ue_ngap_id
);
event_sub
.
ue_registration_state
(
supi
,
_5GMM_REGISTERED
,
1
,
ran_ue_ngap_id
,
amf_ue_ngap_id
);
// Trigger UE Connectivity Status Notify
Logger
::
amf_n1
().
debug
(
...
...
@@ -3109,7 +3109,8 @@ void amf_n1::ue_initiate_de_registration_handle(
Logger
::
amf_n1
().
debug
(
"Signal the UE Registration State Event notification for SUPI %s"
,
supi
.
c_str
());
event_sub
.
ue_registration_state
(
supi
,
_5GMM_DEREGISTERED
,
1
,
ran_ue_ngap_id
,
amf_ue_ngap_id
);
event_sub
.
ue_registration_state
(
supi
,
_5GMM_DEREGISTERED
,
1
,
ran_ue_ngap_id
,
amf_ue_ngap_id
);
// Trigger UE Loss of Connectivity Status Notify
Logger
::
amf_n1
().
debug
(
...
...
@@ -3651,7 +3652,8 @@ void amf_n1::handle_ue_reachability_status_change(
//------------------------------------------------------------------------------
void
amf_n1
::
handle_ue_registration_state_change
(
std
::
string
supi
,
uint8_t
status
,
uint8_t
http_version
,
uint32_t
ran_ue_ngap_id
,
long
amf_ue_ngap_id
)
{
std
::
string
supi
,
uint8_t
status
,
uint8_t
http_version
,
uint32_t
ran_ue_ngap_id
,
long
amf_ue_ngap_id
)
{
Logger
::
amf_n1
().
debug
(
"Send request to SBI to trigger UE Registration State Report (SUPI "
"%s )"
,
...
...
src/amf-app/amf_n1.hpp
View file @
f62629e8
...
...
@@ -805,7 +805,8 @@ class amf_n1 {
* @return void
*/
void
handle_ue_registration_state_change
(
std
::
string
supi
,
uint8_t
status
,
uint8_t
http_version
,
uint32_t
ran_ue_ngap_id
,
long
amf_ue_ngap_id
);
std
::
string
supi
,
uint8_t
status
,
uint8_t
http_version
,
uint32_t
ran_ue_ngap_id
,
long
amf_ue_ngap_id
);
/*
* Handle the UE Connectivity State Change event to trigger the notification
...
...
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