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
8764fb14
Commit
8764fb14
authored
May 08, 2021
by
yangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix paging bug
parent
8f83c097
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
7 deletions
+10
-7
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+1
-0
src/amf-app/amf_n2.cpp
src/amf-app/amf_n2.cpp
+4
-3
src/contexts/ue_ngap_context.hpp
src/contexts/ue_ngap_context.hpp
+4
-0
src/itti/msgs/itti_msg_amf_app.hpp
src/itti/msgs/itti_msg_amf_app.hpp
+0
-1
src/itti/msgs/itti_msg_n2.hpp
src/itti/msgs/itti_msg_n2.hpp
+0
-1
src/sbi/amf_server/impl/TestSignallingApiImpl.cpp
src/sbi/amf_server/impl/TestSignallingApiImpl.cpp
+1
-2
No files found.
src/amf-app/amf_n1.cpp
View file @
8764fb14
...
...
@@ -2702,6 +2702,7 @@ void amf_n1::ul_nas_transport_handle(uint32_t ran_ue_ngap_id,
itti_msg
->
snssai
.
sD
=
std
::
to_string
(
snssai
.
sd
);
itti_msg
->
plmn
.
mnc
=
plmn
.
mnc
;
itti_msg
->
plmn
.
mcc
=
plmn
.
mcc
;
itti_msg
->
plmn
.
tac
=
plmn
.
tac
;
std
::
shared_ptr
<
itti_smf_services_consumer
>
i
=
std
::
shared_ptr
<
itti_smf_services_consumer
>
(
itti_msg
);
int
ret
=
itti_inst
->
send_msg
(
i
);
...
...
src/amf-app/amf_n2.cpp
View file @
8764fb14
...
...
@@ -241,9 +241,10 @@ void amf_n2::handle_itti_message(itti_paging& itti_msg) {
Logger
::
amf_n2
().
warn
(
"=========================================="
);
std
::
vector
<
struct
Tai_s
>
list
;
Tai_t
tai_test
;
tai_test
.
mcc
=
itti_msg
.
plmn
.
mcc
;
tai_test
.
mnc
=
itti_msg
.
plmn
.
mnc
;
tai_test
.
tac
=
itti_msg
.
plmn
.
tac
;
tai_test
.
mcc
=
unc
.
get
()
->
tai
.
mcc
;
tai_test
.
mnc
=
unc
.
get
()
->
tai
.
mnc
;
tai_test
.
tac
=
unc
.
get
()
->
tai
.
tac
;
list
.
push_back
(
tai_test
);
Paging_test
.
setTAIListForPaging
(
list
);
...
...
src/contexts/ue_ngap_context.hpp
View file @
8764fb14
...
...
@@ -35,6 +35,8 @@
#include "gNB_context.hpp"
using
namespace
sctp
;
using
namespace
ngap
;
typedef
enum
{
NGAP_UE_INVALID_STATE
,
NGAP_UE_WAITING_CSR
,
// Context Setup Response(CSR)
...
...
@@ -60,6 +62,8 @@ class ue_ngap_context {
std
::
string
s_pointer
=
"1"
;
std
::
string
s_tmsi
=
"1"
;
Tai_t
tai
;
// state management, ue status over the air
ng_ue_state_t
ng_ue_state
;
};
...
...
src/itti/msgs/itti_msg_amf_app.hpp
View file @
8764fb14
...
...
@@ -69,7 +69,6 @@ class itti_test_signalling_paging : public itti_msg_amf_app {
public:
uint32_t
ran_ue_ngap_id
;
long
amf_ue_ngap_id
;
plmn_t
plmn
;
};
class
itti_test_signalling_network_initiated_deregistration
:
public
itti_msg_amf_app
{
...
...
src/itti/msgs/itti_msg_n2.hpp
View file @
8764fb14
...
...
@@ -181,7 +181,6 @@ class itti_paging : public itti_msg_n2 {
public:
uint32_t
ran_ue_ngap_id
;
long
amf_ue_ngap_id
;
plmn_t
plmn
;
};
...
...
src/sbi/amf_server/impl/TestSignallingApiImpl.cpp
View file @
8764fb14
...
...
@@ -75,8 +75,7 @@ void TestSignallingApiImpl::test_signalling_paging(
new
itti_test_signalling_paging
(
AMF_SERVER
,
TASK_AMF_APP
);
itti_msg
->
ran_ue_ngap_id
=
psc
.
get
()
->
ran_ue_ngap_id
;
itti_msg
->
amf_ue_ngap_id
=
psc
.
get
()
->
amf_ue_ngap_id
;
itti_msg
->
plmn
=
psc
.
get
()
->
plmn
;
itti_msg
->
amf_ue_ngap_id
=
psc
.
get
()
->
amf_ue_ngap_id
;
std
::
shared_ptr
<
itti_test_signalling_paging
>
i
=
std
::
shared_ptr
<
itti_test_signalling_paging
>
(
itti_msg
);
...
...
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