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
d74c4230
Commit
d74c4230
authored
Jul 22, 2022
by
Arina Prostakova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make sub_event public and trigger LOC DEREG from N2
parent
8d84d140
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
9 deletions
+19
-9
src/amf-app/amf_event.hpp
src/amf-app/amf_event.hpp
+0
-1
src/amf-app/amf_n1.hpp
src/amf-app/amf_n1.hpp
+8
-8
src/amf-app/amf_n2.cpp
src/amf-app/amf_n2.cpp
+11
-0
No files found.
src/amf-app/amf_event.hpp
View file @
d74c4230
...
...
@@ -100,7 +100,6 @@ class amf_event {
bs2
::
connection
subscribe_ue_loss_of_connectivity
(
const
ue_loss_of_connectivity_sig_t
::
slot_type
&
sig
);
private:
ue_location_report_sig_t
ue_location_report
;
// Signal for UE Location Report
ue_reachability_status_sig_t
ue_reachability_status
;
// Signal for UE Reachability Report
...
...
src/amf-app/amf_n1.hpp
View file @
d74c4230
...
...
@@ -824,6 +824,14 @@ class amf_n1 {
void
handle_ue_loss_of_connectivity_change
(
std
::
string
supi
,
uint8_t
status
,
uint8_t
http_version
);
// for Event Handling
amf_event
event_sub
;
bs2
::
connection
ee_ue_location_report_connection
;
bs2
::
connection
ee_ue_reachability_status_connection
;
bs2
::
connection
ee_ue_registration_state_connection
;
bs2
::
connection
ee_ue_connectivity_state_connection
;
bs2
::
connection
ee_ue_loss_of_connectivity_connection
;
private:
/*
* Handle UE-initiated Deregistration Request message
...
...
@@ -985,14 +993,6 @@ class amf_n1 {
static
uint8_t
no_random_delta
;
random_state_t
random_state
;
database_t
*
db_desc
;
// for Event Handling
amf_event
event_sub
;
bs2
::
connection
ee_ue_location_report_connection
;
bs2
::
connection
ee_ue_reachability_status_connection
;
bs2
::
connection
ee_ue_registration_state_connection
;
bs2
::
connection
ee_ue_connectivity_state_connection
;
bs2
::
connection
ee_ue_loss_of_connectivity_connection
;
};
}
// namespace amf_application
...
...
src/amf-app/amf_n2.cpp
View file @
d74c4230
...
...
@@ -2198,6 +2198,12 @@ void amf_n2::remove_ue_context_with_ran_ue_ngap_id(
if
(
nc
.
get
()
->
is_stacs_available
)
{
stacs
.
update_5gmm_state
(
nc
.
get
()
->
imsi
,
"5GMM-DEREGISTERED"
);
}
// Trigger UE Loss of Connectivity Status Notify
Logger
::
amf_n1
().
debug
(
"Signal the UE Loss of Connectivity Event notification for SUPI %s"
,
supi
.
c_str
());
amf_n1_inst
->
event_sub
.
ue_loss_of_connectivity
(
supi
,
DEREGISTERED
,
1
);
amf_n1_inst
->
remove_imsi_2_nas_context
(
supi
);
// TODO: remove_guti_2_nas_context(guti);
...
...
@@ -2274,6 +2280,11 @@ void amf_n2::remove_ue_context_with_amf_ue_ngap_id(
if
(
nc
.
get
()
->
is_stacs_available
)
{
stacs
.
update_5gmm_state
(
nc
.
get
()
->
imsi
,
"5GMM-DEREGISTERED"
);
}
// Trigger UE Loss of Connectivity Status Notify
Logger
::
amf_n1
().
debug
(
"Signal the UE Loss of Connectivity Event notification for SUPI %s"
,
supi
.
c_str
());
amf_n1_inst
->
event_sub
.
ue_loss_of_connectivity
(
supi
,
DEREGISTERED
,
1
);
amf_n1_inst
->
remove_imsi_2_nas_context
(
supi
);
// TODO: remove_guti_2_nas_context(guti);
...
...
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