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
spbro
OpenXG-RAN
Commits
66ab8e12
Commit
66ab8e12
authored
Jun 15, 2021
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid double call of gtpu task and call it only for the NSA and SA scenarios
parent
1198ef18
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
executables/nr-softmodem.c
executables/nr-softmodem.c
+8
-5
No files found.
executables/nr-softmodem.c
View file @
66ab8e12
...
@@ -370,10 +370,10 @@ int create_gNB_tasks(uint32_t gnb_nb) {
...
@@ -370,10 +370,10 @@ int create_gNB_tasks(uint32_t gnb_nb) {
}
}
}
}
if
(
itti_create_task
(
TASK_GTPV1_U
,
&
nr_gtpv1u_gNB_task
,
NULL
)
<
0
)
{
/*
if (itti_create_task (TASK_GTPV1_U, &nr_gtpv1u_gNB_task, NULL) < 0) {
LOG_E(GTPU, "Create task for GTPV1U failed\n");
LOG_E(GTPU, "Create task for GTPV1U failed\n");
return -1;
return -1;
}
}
*/
}
}
}
}
...
@@ -388,9 +388,12 @@ int create_gNB_tasks(uint32_t gnb_nb) {
...
@@ -388,9 +388,12 @@ int create_gNB_tasks(uint32_t gnb_nb) {
LOG_E
(
NR_RRC
,
"Create task for NR RRC gNB failed
\n
"
);
LOG_E
(
NR_RRC
,
"Create task for NR RRC gNB failed
\n
"
);
return
-
1
;
return
-
1
;
}
}
if
(
itti_create_task
(
TASK_GTPV1_U
,
&
nr_gtpv1u_gNB_task
,
NULL
)
<
0
)
{
//Use check on x2ap to consider the NSA scenario and check on AMF_MODE_ENABLED for the SA scenario
LOG_E
(
GTPU
,
"Create task for GTPV1U failed
\n
"
);
if
(
is_x2ap_enabled
()
||
AMF_MODE_ENABLED
){
return
-
1
;
if
(
itti_create_task
(
TASK_GTPV1_U
,
&
nr_gtpv1u_gNB_task
,
NULL
)
<
0
)
{
LOG_E
(
GTPU
,
"Create task for GTPV1U failed
\n
"
);
return
-
1
;
}
}
}
}
}
...
...
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