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
7d649f43
Commit
7d649f43
authored
Mar 01, 2017
by
Elena_Lukashova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing bler limits for different receivers.
parent
2e9dfe0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
openair1/SIMULATION/LTE_PHY/dlsim_tm4.c
openair1/SIMULATION/LTE_PHY/dlsim_tm4.c
+9
-9
No files found.
openair1/SIMULATION/LTE_PHY/dlsim_tm4.c
View file @
7d649f43
...
...
@@ -166,7 +166,7 @@ int main(int argc, char **argv)
RX_type_t
rx_type
=
rx_standard
;
unsigned
char
cur_harq_pid
;
int
hold_rank1_precoder
=
0
;
int
tpmi_retr
=
2
;
int
tpmi_retr
=
0
;
bool
is_first_time
;
int
updated_csi
=
0
;
...
...
@@ -781,9 +781,9 @@ int main(int argc, char **argv)
sprintf
(
bler_fname
,
"bler_tx%d_rec%d_chan%d_nrx%d_mcs%d_mcsi%d_u%d_imod%d.csv"
,
transmission_mode
,
rx_type
,
channel_model
,
n_rx
,
mcs1
,
mcs_i
,
rx_type
,
i_mod
);
else
if
(
abstx
==
1
){
if
(
perfect_ce
==
1
)
sprintf
(
bler_fname
,
"bler_tx%d_r%d_ch%d_%d_nrx%d_rnd%d_mcs%d_mcsi%d_ab_pce_sh%d_rpmi%d.csv"
,
transmission_mode
,
rx_type
,
channel_model
,
n_frames
,
n_rx
,
num_rounds
,
mcs1
,
mcs2
,
interf_unaw_shift
,
tpmi_retr
);
sprintf
(
bler_fname
,
"bler_tx%d_r%d_ch%d_%d_nrx%d_rnd%d_mcs%d_mcsi%d_ab_pce_sh%d_rpmi%d
_n
.csv"
,
transmission_mode
,
rx_type
,
channel_model
,
n_frames
,
n_rx
,
num_rounds
,
mcs1
,
mcs2
,
interf_unaw_shift
,
tpmi_retr
);
else
sprintf
(
bler_fname
,
"bler_tx%d_r%d_ch%d_%d_nrx%d_rnd%d_mcs%d_mcsi%d_ab_sh%d_rtpmi%d.csv"
,
transmission_mode
,
rx_type
,
channel_model
,
n_frames
,
n_rx
,
num_rounds
,
mcs1
,
mcs2
,
interf_unaw_shift
,
tpmi_retr
);
sprintf
(
bler_fname
,
"bler_tx%d_r%d_ch%d_%d_nrx%d_rnd%d_mcs%d_mcsi%d_ab_sh%d_rtpmi%d
_n
.csv"
,
transmission_mode
,
rx_type
,
channel_model
,
n_frames
,
n_rx
,
num_rounds
,
mcs1
,
mcs2
,
interf_unaw_shift
,
tpmi_retr
);
}
else
{
//abstx=0
if
(
perfect_ce
==
1
){
...
...
@@ -799,7 +799,7 @@ int main(int argc, char **argv)
sprintf
(
bler_fname
,
"bler_tx%d_r%d_ch%d_%d_nrx%d_rnd%d_mcs%d_mcsi%d_sh%d_up_rtpmi%d_n.csv"
,
transmission_mode
,
rx_type
,
channel_model
,
n_frames
,
n_rx
,
num_rounds
,
mcs1
,
mcs2
,
interf_unaw_shift
,
tpmi_retr
);
}
else
{
sprintf
(
bler_fname
,
"bler_tx%d_r%d_ch%d_%d_nrx%d_rnd%d_mcs%d_mcsi%d_sh%d_rtpmi%
d_n.
csv"
,
transmission_mode
,
rx_type
,
channel_model
,
n_frames
,
n_rx
,
num_rounds
,
mcs1
,
mcs2
,
interf_unaw_shift
,
tpmi_retr
);
sprintf
(
bler_fname
,
"bler_tx%d_r%d_ch%d_%d_nrx%d_rnd%d_mcs%d_mcsi%d_sh%d_rtpmi%csv"
,
transmission_mode
,
rx_type
,
channel_model
,
n_frames
,
n_rx
,
num_rounds
,
mcs1
,
mcs2
,
interf_unaw_shift
,
tpmi_retr
);
}
}
}
...
...
@@ -5237,10 +5237,10 @@ int main(int argc, char **argv)
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
))
{
if
((
rx_type
==
rx_IC_dual_stream
)
||
(
rx_type
==
rx_
SIC_dual_stream
))
{
if
(((
double
)
errs
[
0
][
0
]
/
(
round_trials
[
0
][
0
]))
<
1e-2
&&
((
double
)
errs
[
1
][
0
]
/
(
round_trials
[
1
][
0
]))
<
1e-2
)
if
(((
double
)
errs
[
0
][
0
]
/
(
round_trials
[
0
][
0
]))
<
1e-2
&&
((
double
)
errs
[
1
][
0
]
/
(
round_trials
[
1
][
0
]))
<
1e-2
)
if
(((
(
double
)
errs
[
0
][
0
]
/
(
round_trials
[
0
][
0
]))
<
1e-2
)
&&
(((
double
)
errs
[
1
][
0
]
/
(
round_trials
[
1
][
0
]))
<
1e-2
)
)
if
(((
(
double
)
errs
[
0
][
0
]
/
(
round_trials
[
0
][
0
]))
<
1e-2
)
&&
(((
double
)
errs
[
1
][
0
]
/
(
round_trials
[
1
][
0
]))
<
1e-2
)
)
break
;
}
else
{
...
...
@@ -5251,8 +5251,8 @@ int main(int argc, char **argv)
}
else
{
if
((
rx_type
==
rx_IC_dual_stream
)
||
(
rx_type
==
rx_
standard
)
||
(
rx_type
==
rx_
SIC_dual_stream
))
{
if
(((
double
)
errs
[
0
][
0
]
/
(
round_trials
[
0
][
0
]))
<
1e-3
&&
((
double
)
errs
[
1
][
0
]
/
(
round_trials
[
1
][
0
]))
<
1e-3
)
if
((
rx_type
==
rx_IC_dual_stream
)
||
(
rx_type
==
rx_SIC_dual_stream
))
{
if
(((
(
double
)
errs
[
0
][
0
]
/
(
round_trials
[
0
][
0
]))
<
1e-3
)
&&
(((
double
)
errs
[
1
][
0
]
/
(
round_trials
[
1
][
0
]))
<
1e-3
)
)
break
;
}
else
{
...
...
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