Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
ce15e0e9
Commit
ce15e0e9
authored
Jul 08, 2016
by
Elena Lukashova
Browse files
Fixing warning and changing target precission to 10^(-2).
parent
8cc39130
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
ce15e0e9
...
...
@@ -4383,7 +4383,7 @@ n(tikz_fname,"w");
SNR
,
mcs1
,
PHY_vars_eNB
->
dlsch_eNB
[
0
][
0
]
->
harq_processes
[
0
]
->
TBS
,
rate
,
rate
[
0
]
,
errs
[
0
][
0
],
round_trials
[
0
],
errs
[
0
][
1
],
...
...
@@ -4401,7 +4401,7 @@ n(tikz_fname,"w");
PHY_vars_eNB
->
dlsch_eNB
[
0
][
0
]
->
harq_processes
[
0
]
->
TBS
,
rate
[
0
]
*
effective_rate
,
100
*
effective_rate
,
rate
,
rate
[
0
]
,
(
double
)
avg_iter
[
0
]
/
iter_trials
[
0
],
errs
[
0
][
0
],
round_trials
[
0
],
...
...
@@ -4427,7 +4427,7 @@ n(tikz_fname,"w");
mcs1
,
mcs2
,
PHY_vars_eNB
->
dlsch_eNB
[
0
][
0
]
->
harq_processes
[
0
]
->
TBS
,
PHY_vars_eNB
->
dlsch_eNB
[
0
][
1
]
->
harq_processes
[
0
]
->
TBS
,
rate
,
rate
[
0
]
,
errs
[
0
][
0
],
round_trials
[
0
],
errs
[
0
][
1
],
...
...
@@ -4446,7 +4446,7 @@ n(tikz_fname,"w");
PHY_vars_eNB
->
dlsch_eNB
[
0
][
1
]
->
harq_processes
[
0
]
->
TBS
,
rate
[
0
]
*
effective_rate
,
100
*
effective_rate
,
rate
,
rate
[
0
]
,
(
double
)
avg_iter
[
0
]
/
iter_trials
[
0
],
errs
[
0
][
0
],
round_trials
[
0
],
...
...
@@ -4533,10 +4533,10 @@ n(tikz_fname,"w");
PHY_vars_UE->dlsch_unscrambling_stats.trials,
PHY_vars_UE->dlsch_decoding_stats.trials);
*/
printf
(
"[passed] effective rate : %f (%2.1f%%,%f)): log and break
\n
"
,
rate
[
0
]
*
effective_rate
,
100
*
effective_rate
,
rate
);
printf
(
"[passed] effective rate : %f (%2.1f%%,%f)): log and break
\n
"
,
rate
[
0
]
*
effective_rate
,
100
*
effective_rate
,
rate
[
0
]
);
break
;
}
else
if
(
test_perf
!=
0
){
printf
(
"[continue] effective rate : %f (%2.1f%%,%f)): increase snr
\n
"
,
rate
[
0
]
*
effective_rate
,
100
*
effective_rate
,
rate
);
printf
(
"[continue] effective rate : %f (%2.1f%%,%f)): increase snr
\n
"
,
rate
[
0
]
*
effective_rate
,
100
*
effective_rate
,
rate
[
0
]
);
}
if
(
abstx
==
1
)
{
if
((
rx_type
==
rx_IC_dual_stream
)
||
(
rx_type
==
rx_standard
))
{
...
...
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