Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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 UE
Commits
ce480160
Commit
ce480160
authored
7 years ago
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
d6ffb842
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 @
ce480160
...
...
@@ -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_
RED, FL_RED
);
}else if (transmission_mode==4 &&
rx_type == rx_IC_dual_stream
){
fl_set_object_color(form_ue->button_0, FL_
GREEN, FL_GREEN
);
}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:
...
...
This diff is collapsed.
Click to expand it.
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