Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
lizhongxiao
OpenXG-RAN
Commits
d9f6722d
Commit
d9f6722d
authored
Nov 28, 2023
by
Chieh-Chun Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: correct the teidupf in GTP ran func
parent
e2223d71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
openair2/E2AP/RAN_FUNCTION/CUSTOMIZED/ran_func_gtp.c
openair2/E2AP/RAN_FUNCTION/CUSTOMIZED/ran_func_gtp.c
+3
-3
No files found.
openair2/E2AP/RAN_FUNCTION/CUSTOMIZED/ran_func_gtp.c
View file @
d9f6722d
...
...
@@ -44,7 +44,7 @@ bool read_gtp_sm(void * data)
uint64_t
ue_id_list
[
MAX_MOBILES_PER_GNB
];
size_t
num_ues
=
nr_pdcp_get_num_ues
(
ue_id_list
,
MAX_MOBILES_PER_GNB
);
gtp
->
msg
.
len
=
num_ues
;
if
(
gtp
->
msg
.
len
>
0
){
gtp
->
msg
.
ngut
=
calloc
(
gtp
->
msg
.
len
,
sizeof
(
gtp_ngu_t_stats_t
)
);
...
...
@@ -66,7 +66,7 @@ bool read_gtp_sm(void * data)
if
(
nb_pdu_session
>
0
)
{
int
nb_pdu_idx
=
nb_pdu_session
-
1
;
gtp
->
msg
.
ngut
[
i
].
teidgnb
=
ue_context_p
->
ue_context
.
pduSession
[
nb_pdu_idx
].
param
.
gNB_teid_N3
;
gtp
->
msg
.
ngut
[
i
].
teidupf
=
ue_context_p
->
ue_context
.
pduSession
[
nb_pdu_idx
].
param
.
UPF_teid_N3
;
gtp
->
msg
.
ngut
[
i
].
teidupf
=
ue_context_p
->
ue_context
.
pduSession
[
nb_pdu_idx
].
param
.
gtp_teid
;
// TODO: one PDU session has multiple QoS Flow
int
nb_qos_flow
=
ue_context_p
->
ue_context
.
pduSession
[
nb_pdu_idx
].
param
.
nb_qos
;
if
(
nb_qos_flow
>
0
)
{
...
...
@@ -80,7 +80,7 @@ bool read_gtp_sm(void * data)
#elif defined (NGRAN_GNB_CUUP)
// For the moment, CU-UP doesn't store PDU session information
printf
(
"GTP SM not yet implemented in CU-UP
\n
"
);
return
false
;
return
false
;
#endif
}
...
...
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