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
8007758e
Commit
8007758e
authored
Apr 29, 2020
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/split73' into develop_integration_2020_w17
parents
c47daed7
9480293c
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
23 deletions
+17
-23
cmake_targets/nas_sim_tools/CMakeLists.txt
cmake_targets/nas_sim_tools/CMakeLists.txt
+1
-0
common/utils/ocp_itti/intertask_interface.h
common/utils/ocp_itti/intertask_interface.h
+1
-1
openair1/PHY/LTE_TRANSPORT/ulsch_demodulation.c
openair1/PHY/LTE_TRANSPORT/ulsch_demodulation.c
+0
-1
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+6
-9
targets/COMMON/create_tasks.c
targets/COMMON/create_tasks.c
+3
-3
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+6
-3
targets/RT/USER/lte-uesoftmodem.c
targets/RT/USER/lte-uesoftmodem.c
+0
-6
No files found.
cmake_targets/nas_sim_tools/CMakeLists.txt
View file @
8007758e
...
@@ -14,6 +14,7 @@ set(CMAKE_C_FLAGS
...
@@ -14,6 +14,7 @@ set(CMAKE_C_FLAGS
set
(
OPENAIR_DIR $ENV{OPENAIR_DIR}
)
set
(
OPENAIR_DIR $ENV{OPENAIR_DIR}
)
set
(
OPENAIR3_DIR $ENV{OPENAIR_DIR}/openair3
)
set
(
OPENAIR3_DIR $ENV{OPENAIR_DIR}/openair3
)
include_directories
(
${
OPENAIR_DIR
}
/openair2/COMMON
)
set
(
CONF2UEDATA_LIB_SRC
set
(
CONF2UEDATA_LIB_SRC
${
OPENAIR_DIR
}
/openair3/NAS/TOOLS/conf_emm.c
${
OPENAIR_DIR
}
/openair3/NAS/TOOLS/conf_emm.c
...
...
common/utils/ocp_itti/intertask_interface.h
View file @
8007758e
...
@@ -288,7 +288,7 @@ void * rrc_enb_process_msg(void*);
...
@@ -288,7 +288,7 @@ void * rrc_enb_process_msg(void*);
TASK_DEF(TASK_PDCP_ENB, TASK_PRIORITY_MED, 200, NULL, NULL) \
TASK_DEF(TASK_PDCP_ENB, TASK_PRIORITY_MED, 200, NULL, NULL) \
TASK_DEF(TASK_DATA_FORWARDING, TASK_PRIORITY_MED, 200, NULL, NULL) \
TASK_DEF(TASK_DATA_FORWARDING, TASK_PRIORITY_MED, 200, NULL, NULL) \
TASK_DEF(TASK_END_MARKER, TASK_PRIORITY_MED, 200, NULL, NULL) \
TASK_DEF(TASK_END_MARKER, TASK_PRIORITY_MED, 200, NULL, NULL) \
TASK_DEF(TASK_RRC_ENB, TASK_PRIORITY_MED, 200,
rrc_enb_process_msg
,NULL)\
TASK_DEF(TASK_RRC_ENB, TASK_PRIORITY_MED, 200,
NULL
,NULL)\
TASK_DEF(TASK_RRC_GNB, TASK_PRIORITY_MED, 200, NULL,NULL)\
TASK_DEF(TASK_RRC_GNB, TASK_PRIORITY_MED, 200, NULL,NULL)\
TASK_DEF(TASK_RAL_ENB, TASK_PRIORITY_MED, 200, NULL, NULL) \
TASK_DEF(TASK_RAL_ENB, TASK_PRIORITY_MED, 200, NULL, NULL) \
TASK_DEF(TASK_S1AP, TASK_PRIORITY_MED, 200, NULL, NULL) \
TASK_DEF(TASK_S1AP, TASK_PRIORITY_MED, 200, NULL, NULL) \
...
...
openair1/PHY/LTE_TRANSPORT/ulsch_demodulation.c
View file @
8007758e
...
@@ -780,7 +780,6 @@ void ulsch_channel_compensation(int32_t **rxdataF_ext,
...
@@ -780,7 +780,6 @@ void ulsch_channel_compensation(int32_t **rxdataF_ext,
#endif
#endif
for
(
rb
=
0
;
rb
<
nb_rb
;
rb
++
)
{
for
(
rb
=
0
;
rb
<
nb_rb
;
rb
++
)
{
LOG_D
(
PHY
,
"comp: symbol %d rb %d
\n
"
,
symbol
,
rb
);
// just compute channel magnitude without scaling, this is done after equalization for SC-FDMA
// just compute channel magnitude without scaling, this is done after equalization for SC-FDMA
#if defined(__x86_64__) || defined(__i386__)
#if defined(__x86_64__) || defined(__i386__)
mmtmpU0
=
_mm_madd_epi16
(
ul_ch128
[
0
],
ul_ch128
[
0
]);
mmtmpU0
=
_mm_madd_epi16
(
ul_ch128
[
0
],
ul_ch128
[
0
]);
...
...
openair2/RRC/LTE/rrc_eNB.c
View file @
8007758e
...
@@ -9095,29 +9095,26 @@ void *rrc_enb_process_itti_msg(void *notUsed) {
...
@@ -9095,29 +9095,26 @@ void *rrc_enb_process_itti_msg(void *notUsed) {
return
NULL
;
return
NULL
;
}
}
// as there are race conditions, no rrc thread
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
void
*
void
*
rrc_enb_
process_msg
(
rrc_enb_
task
(
void
*
args_p
void
*
args_p
)
)
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
{
{
rrc_enb_init
();
itti_mark_task_ready
(
TASK_RRC_ENB
);
LOG_I
(
RRC
,
"Entering main loop of RRC message task
\n
"
);
//while (1) {
while
(
1
)
{
//(void) rrc_enb_process_itti_msg(NULL);
//}
//while (1) {
(
void
)
rrc_enb_process_itti_msg
(
NULL
);
(
void
)
rrc_enb_process_itti_msg
(
NULL
);
{
{
//extern volatile int go_nr;
//extern volatile int go_nr;
void
rrc_go_nr
(
void
);
void
rrc_go_nr
(
void
);
//if (go_nr) rrc_go_nr();
//if (go_nr) rrc_go_nr();
}
}
//}
}
return
NULL
;
}
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
...
...
targets/COMMON/create_tasks.c
View file @
8007758e
...
@@ -56,9 +56,9 @@ int create_tasks(uint32_t enb_nb) {
...
@@ -56,9 +56,9 @@ int create_tasks(uint32_t enb_nb) {
rc
=
itti_create_task
(
TASK_ENB_APP
,
eNB_app_task
,
NULL
);
rc
=
itti_create_task
(
TASK_ENB_APP
,
eNB_app_task
,
NULL
);
AssertFatal
(
rc
>=
0
,
"Create task for eNB APP failed
\n
"
);
AssertFatal
(
rc
>=
0
,
"Create task for eNB APP failed
\n
"
);
// No more rrc thread, as many race conditions are hidden behind
LOG_I
(
RRC
,
"Creating RRC eNB Task
\n
"
);
r
rc_enb_init
(
);
r
c
=
itti_create_task
(
TASK_RRC_ENB
,
rrc_enb_task
,
NULL
);
itti_mark_task_ready
(
TASK_RRC_ENB
);
AssertFatal
(
rc
>=
0
,
"Create task for RRC eNB failed
\n
"
);
if
(
EPC_MODE_ENABLED
&&
!
(
split73
==
SPLIT73_DU
)
)
{
if
(
EPC_MODE_ENABLED
&&
!
(
split73
==
SPLIT73_DU
)
)
{
rc
=
itti_create_task
(
TASK_SCTP
,
sctp_eNB_task
,
NULL
);
rc
=
itti_create_task
(
TASK_SCTP
,
sctp_eNB_task
,
NULL
);
...
...
targets/RT/USER/lte-softmodem.c
View file @
8007758e
...
@@ -446,9 +446,12 @@ int restart_L1L2(module_id_t enb_id) {
...
@@ -446,9 +446,12 @@ int restart_L1L2(module_id_t enb_id) {
init_UE_info
(
&
RC
.
mac
[
enb_id
]
->
UE_info
);
init_UE_info
(
&
RC
.
mac
[
enb_id
]
->
UE_info
);
LOG_I
(
ENB_APP
,
"attempting to create ITTI tasks
\n
"
);
LOG_I
(
ENB_APP
,
"attempting to create ITTI tasks
\n
"
);
// No more rrc thread, as many race conditions are hidden behind
if
(
itti_create_task
(
TASK_RRC_ENB
,
rrc_enb_task
,
NULL
)
<
0
)
{
rrc_enb_init
();
LOG_E
(
RRC
,
"Create task for RRC eNB failed
\n
"
);
itti_mark_task_ready
(
TASK_RRC_ENB
);
return
-
1
;
}
else
{
LOG_I
(
RRC
,
"Re-created task for RRC eNB successfully
\n
"
);
}
/* pass a reconfiguration request which will configure everything down to
/* pass a reconfiguration request which will configure everything down to
* RC.eNB[i][j]->frame_parms, too */
* RC.eNB[i][j]->frame_parms, too */
...
...
targets/RT/USER/lte-uesoftmodem.c
View file @
8007758e
...
@@ -541,12 +541,6 @@ void init_pdcp(void) {
...
@@ -541,12 +541,6 @@ void init_pdcp(void) {
pdcp_set_pdcp_data_ind_func
((
pdcp_data_ind_func_t
)
pdcp_data_ind
);
pdcp_set_pdcp_data_ind_func
((
pdcp_data_ind_func_t
)
pdcp_data_ind
);
}
}
// Stupid function addition because UE itti messages queues definition is common with eNB
void
*
rrc_enb_process_msg
(
void
*
notUsed
)
{
AssertFatal
(
false
,
""
);
return
NULL
;
}
int
main
(
int
argc
,
char
**
argv
)
{
int
main
(
int
argc
,
char
**
argv
)
{
int
CC_id
;
int
CC_id
;
uint8_t
abstraction_flag
=
0
;
uint8_t
abstraction_flag
=
0
;
...
...
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