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
常顺宇
OpenXG-RAN
Commits
e807f7cd
Commit
e807f7cd
authored
Jun 04, 2018
by
hongzhi wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UE nr thread bug fix
parent
37e09437
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
17 deletions
+6
-17
targets/RT/USER/nr-uesoftmodem.c
targets/RT/USER/nr-uesoftmodem.c
+6
-17
No files found.
targets/RT/USER/nr-uesoftmodem.c
View file @
e807f7cd
...
@@ -850,7 +850,6 @@ int main( int argc, char **argv ) {
...
@@ -850,7 +850,6 @@ int main( int argc, char **argv ) {
//randominit (0);
//randominit (0);
set_taus_seed
(
0
);
set_taus_seed
(
0
);
if
(
UE_flag
==
1
)
{
printf
(
"configuring for UE
\n
"
);
printf
(
"configuring for UE
\n
"
);
set_comp_log
(
HW
,
LOG_DEBUG
,
LOG_HIGH
,
1
);
set_comp_log
(
HW
,
LOG_DEBUG
,
LOG_HIGH
,
1
);
...
@@ -866,14 +865,9 @@ int main( int argc, char **argv ) {
...
@@ -866,14 +865,9 @@ int main( int argc, char **argv ) {
set_comp_log
(
NAS
,
LOG_INFO
,
LOG_HIGH
,
1
);
set_comp_log
(
NAS
,
LOG_INFO
,
LOG_HIGH
,
1
);
# endif
# endif
#endif
#endif
}
if
(
ouput_vcd
)
{
if
(
ouput_vcd
)
if
(
UE_flag
==
1
)
VCD_SIGNAL_DUMPER_INIT
(
"/tmp/openair_dump_UE.vcd"
);
VCD_SIGNAL_DUMPER_INIT
(
"/tmp/openair_dump_UE.vcd"
);
else
VCD_SIGNAL_DUMPER_INIT
(
"/tmp/openair_dump_eNB.vcd"
);
}
//if (opp_enabled ==1) {
//if (opp_enabled ==1) {
// reset_opp_meas();
// reset_opp_meas();
...
@@ -882,11 +876,7 @@ int main( int argc, char **argv ) {
...
@@ -882,11 +876,7 @@ int main( int argc, char **argv ) {
#if defined(ENABLE_ITTI)
#if defined(ENABLE_ITTI)
if
(
UE_flag
==
1
)
{
log_set_instance_type
(
LOG_INSTANCE_UE
);
log_set_instance_type
(
LOG_INSTANCE_UE
);
}
else
{
log_set_instance_type
(
LOG_INSTANCE_ENB
);
}
itti_init
(
TASK_MAX
,
THREAD_MAX
,
MESSAGES_ID_MAX
,
tasks_info
,
messages_info
,
messages_definition_xml
,
itti_dump_file
);
itti_init
(
TASK_MAX
,
THREAD_MAX
,
MESSAGES_ID_MAX
,
tasks_info
,
messages_info
,
messages_definition_xml
,
itti_dump_file
);
...
@@ -1167,7 +1157,7 @@ int main( int argc, char **argv ) {
...
@@ -1167,7 +1157,7 @@ int main( int argc, char **argv ) {
// start the main thread
// start the main thread
if
(
UE_flag
==
1
)
{
//
if (UE_flag == 1) {
init_UE
(
1
);
init_UE
(
1
);
number_of_cards
=
1
;
number_of_cards
=
1
;
...
@@ -1175,7 +1165,7 @@ int main( int argc, char **argv ) {
...
@@ -1175,7 +1165,7 @@ int main( int argc, char **argv ) {
PHY_vars_UE_g
[
0
][
CC_id
]
->
rf_map
.
card
=
0
;
PHY_vars_UE_g
[
0
][
CC_id
]
->
rf_map
.
card
=
0
;
PHY_vars_UE_g
[
0
][
CC_id
]
->
rf_map
.
chain
=
CC_id
+
chain_offset
;
PHY_vars_UE_g
[
0
][
CC_id
]
->
rf_map
.
chain
=
CC_id
+
chain_offset
;
}
}
}
//
}
// connect the TX/RX buffers
// connect the TX/RX buffers
if
(
UE_flag
==
1
)
{
if
(
UE_flag
==
1
)
{
...
@@ -1252,10 +1242,9 @@ int main( int argc, char **argv ) {
...
@@ -1252,10 +1242,9 @@ int main( int argc, char **argv ) {
// *** Handle per CC_id openair0
// *** Handle per CC_id openair0
if
(
UE_flag
==
1
)
{
if
(
PHY_vars_UE_g
[
0
][
0
]
->
rfdevice
.
trx_end_func
)
if
(
PHY_vars_UE_g
[
0
][
0
]
->
rfdevice
.
trx_end_func
)
PHY_vars_UE_g
[
0
][
0
]
->
rfdevice
.
trx_end_func
(
&
PHY_vars_UE_g
[
0
][
0
]
->
rfdevice
);
PHY_vars_UE_g
[
0
][
0
]
->
rfdevice
.
trx_end_func
(
&
PHY_vars_UE_g
[
0
][
0
]
->
rfdevice
);
}
if
(
ouput_vcd
)
if
(
ouput_vcd
)
VCD_SIGNAL_DUMPER_CLOSE
();
VCD_SIGNAL_DUMPER_CLOSE
();
...
...
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