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
zzha zzha
OpenXG-RAN
Commits
c4370d9d
Commit
c4370d9d
authored
Sep 07, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start CU/DU tasks in create_remaining_tasks() of ENB_APP
parent
2e453eff
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
70 additions
and
5 deletions
+70
-5
openair2/ENB_APP/enb_app.c
openair2/ENB_APP/enb_app.c
+14
-5
openair2/F1AP/CU_F1AP.c
openair2/F1AP/CU_F1AP.c
+1
-0
openair2/F1AP/DU_F1AP.c
openair2/F1AP/DU_F1AP.c
+1
-0
openair2/F1AP/cu_f1ap_task.h
openair2/F1AP/cu_f1ap_task.h
+27
-0
openair2/F1AP/du_f1ap_task.h
openair2/F1AP/du_f1ap_task.h
+27
-0
No files found.
openair2/ENB_APP/enb_app.c
View file @
c4370d9d
...
...
@@ -49,6 +49,9 @@
# include "udp_eNB_task.h"
# endif
extern
void
*
F1AP_CU_task
(
void
*
);
extern
void
*
F1AP_DU_task
(
void
*
);
#if defined(FLEXRAN_AGENT_SB_IF)
# include "flexran_agent.h"
#endif
...
...
@@ -70,12 +73,15 @@ static void create_remaining_tasks(module_id_t enb_id)
int
rc
;
itti_wait_ready
(
1
);
switch
(
type
)
{
case
ngran_eNB
:
case
ngran_ng_eNB
:
case
ngran_gNB
:
case
ngran_eNB_CU
:
case
ngran_ng_eNB_CU
:
case
ngran_gNB_CU
:
rc
=
itti_create_task
(
TASK_CU_F1
,
F1AP_CU_task
,
NULL
);
AssertFatal
(
rc
>=
0
,
"Create task for CU F1AP failed
\n
"
);
/* fall through */
case
ngran_eNB
:
case
ngran_ng_eNB
:
case
ngran_gNB
:
rc
=
itti_create_task
(
TASK_SCTP
,
sctp_eNB_task
,
NULL
);
AssertFatal
(
rc
>=
0
,
"Create task for SCTP failed
\n
"
);
rc
=
itti_create_task
(
TASK_S1AP
,
s1ap_eNB_task
,
NULL
);
...
...
@@ -92,11 +98,14 @@ static void create_remaining_tasks(module_id_t enb_id)
break
;
}
switch
(
type
)
{
case
ngran_eNB_DU
:
case
ngran_gNB_DU
:
rc
=
itti_create_task
(
TASK_DU_F1
,
F1AP_DU_task
,
NULL
);
AssertFatal
(
rc
>=
0
,
"Create task for DU F1AP failed
\n
"
);
/* fall through */
case
ngran_eNB
:
case
ngran_ng_eNB
:
case
ngran_gNB
:
case
ngran_eNB_DU
:
case
ngran_gNB_DU
:
rc
=
itti_create_task
(
TASK_L2L1
,
l2l1_task
,
NULL
);
AssertFatal
(
rc
>=
0
,
"Create task for L2L1 failed
\n
"
);
break
;
...
...
openair2/F1AP/CU_F1AP.c
View file @
c4370d9d
...
...
@@ -35,6 +35,7 @@
#include "cu_f1ap_defs.h"
#include "f1ap_encoder.h"
#include "f1ap_decoder.h"
#include "cu_f1ap_task.h"
#include "sctp_cu.h"
#include "platform_types.h"
#include "common/utils/LOG/log.h"
...
...
openair2/F1AP/DU_F1AP.c
View file @
c4370d9d
...
...
@@ -35,6 +35,7 @@
#include "du_f1ap_defs.h"
#include "f1ap_encoder.h"
#include "f1ap_decoder.h"
#include "du_f1ap_task.h"
#include "platform_types.h"
#include "common/utils/LOG/log.h"
#include "sctp_du.h"
...
...
openair2/F1AP/cu_f1ap_task.h
0 → 100644
View file @
c4370d9d
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
#ifndef CU_F1AP_TASK_H_
#define CU_F1AP_TASK_H_
void
*
F1AP_CU_task
(
void
*
arg
);
#endif
/* CU_F1AP_TASK_H_ */
openair2/F1AP/du_f1ap_task.h
0 → 100644
View file @
c4370d9d
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
#ifndef DU_F1AP_TASK_H_
#define DU_F1AP_TASK_H_
void
*
F1AP_DU_task
(
void
*
arg
);
#endif
/* DU_F1AP_TASK_H_ */
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