Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
dyyu
openairinterface5G
Commits
727782a0
Commit
727782a0
authored
Jun 15, 2017
by
Elena Lukashova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setting default use_sic_receiver, otherwise it was working properly
only with XFORMS enabled.
parent
ff9f54e1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
openair1/SIMULATION/LTE_PHY/dlsim_tm4.c
openair1/SIMULATION/LTE_PHY/dlsim_tm4.c
+15
-6
No files found.
openair1/SIMULATION/LTE_PHY/dlsim_tm4.c
View file @
727782a0
...
...
@@ -717,6 +717,11 @@ int main(int argc, char **argv)
exit
(
-
1
);
}
if
(
transmission_mode
==
4
&&
rx_type
==
rx_SIC_dual_stream
)
use_sic_receiver
=
1
;
else
if
(
transmission_mode
==
4
&&
rx_type
==
rx_IC_dual_stream
)
use_sic_receiver
=
0
;
if
(
xforms
==
1
)
{
fl_initialize
(
&
argc
,
argv
,
NULL
,
0
,
0
);
...
...
@@ -725,15 +730,15 @@ int main(int argc, char **argv)
fl_show_form
(
form_ue
->
lte_phy_scope_ue
,
FL_PLACE_HOTSPOT
,
FL_FULLBORDER
,
title
);
if
(
transmission_mode
==
4
&&
rx_type
==
rx_SIC_dual_stream
)
{
if
(
transmission_mode
==
4
&&
use_sic_receiver
==
1
)
{
use_sic_receiver
=
1
;
fl_set_button
(
form_ue
->
button_0
,
use_sic_receiver
);
fl_set_object_label
(
form_ue
->
button_0
,
"SIC Receiver ON"
);
fl_set_object_color
(
form_ue
->
button_0
,
FL_RE
D
,
FL_RE
D
);
}
else
if
(
transmission_mode
==
4
&&
rx_type
==
rx_IC_dual_stream
){
fl_set_object_color
(
form_ue
->
button_0
,
FL_
G
RE
EN
,
FL_
G
RE
EN
);
}
else
if
(
transmission_mode
==
4
&&
use_sic_receiver
==
0
){
use_sic_receiver
=
0
;
fl_set_button
(
form_ue
->
button_0
,
use_sic_receiver
);
fl_set_object_label
(
form_ue
->
button_0
,
"SIC Receiver O
N
"
);
fl_set_object_label
(
form_ue
->
button_0
,
"SIC Receiver O
FF
"
);
fl_set_object_color
(
form_ue
->
button_0
,
FL_RED
,
FL_RED
);
}
...
...
@@ -3902,10 +3907,14 @@ int main(int argc, char **argv)
printf
(
"[DLSIM 3 ] UE->dlsch[subframe&0x1][0][1]->pmi_alloc %d
\n
"
,
UE
->
dlsch
[
subframe
&
0x1
][
0
][
1
]
->
pmi_alloc
);
#endif
if
(
transmission_mode
==
4
&&
use_sic_receiver
==
1
)
if
(
transmission_mode
==
4
&&
use_sic_receiver
==
1
)
{
rx_type
=
rx_SIC_dual_stream
;
else
if
(
transmission_mode
==
4
&&
use_sic_receiver
==
0
)
//printf("I am using SIC!\n");
}
else
if
(
transmission_mode
==
4
&&
use_sic_receiver
==
0
){
rx_type
=
rx_IC_dual_stream
;
//printf("I am using PIA!\n");
}
switch
(
transmission_mode
)
{
case
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