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
wangjie
OpenXG-RAN
Commits
5869ec96
Commit
5869ec96
authored
Nov 22, 2016
by
Elena_Lukashova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modifying names of output files for updated CSI.
parent
7a6ef377
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
8 deletions
+22
-8
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+22
-8
No files found.
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
5869ec96
...
...
@@ -754,16 +754,30 @@ int main(int argc, char **argv)
SCM_A
,
SCM_B
,
SCM_C
,
SCM_D
,
EPA
,
EVA
,
ETU
,
Rayleigh8
,
Rayleigh1
,
Rayleigh1_corr
,
Rayleigh1_anticorr
,
Rice1
,
Rice8
,
Rayleigh1_orthogonal
,
Rayleigh1_orth_eff_ch_TM4_prec_real
,
Rayleigh1_orth_eff_ch_TM4_prec_imag
,
Rayleigh8_orth_eff_ch_TM4_prec_real
,
Rayleigh8_orth_eff_ch_TM4_prec_imag
,
TS_SHIFT
);
if
(
transmission_mode
==
5
)
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
)
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.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
);
else
//abstx=0
if
(
perfect_ce
==
1
)
sprintf
(
bler_fname
,
"bler_tx%d_r%d_ch%d_%d_nrx%d_rnd%d_mcs%d_mcsi%d_pce_sh%d_rtpmi%d.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_pnort_rtpmi%d.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
){
if
(
updated_csi
==
1
){
sprintf
(
bler_fname
,
"bler_tx%d_r%d_ch%d_%d_nrx%d_rnd%d_mcs%d_mcsi%d_pce_sh%d_up_rtpmi%d.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_pce_sh%d_rtpmi%d.csv"
,
transmission_mode
,
rx_type
,
channel_model
,
n_frames
,
n_rx
,
num_rounds
,
mcs1
,
mcs2
,
interf_unaw_shift
,
tpmi_retr
);
}
}
else
{
if
(
updated_csi
==
1
){
sprintf
(
bler_fname
,
"bler_tx%d_r%d_ch%d_%d_nrx%d_rnd%d_mcs%d_mcsi%d_sh%d_up_rtpmi%d.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.csv"
,
transmission_mode
,
rx_type
,
channel_model
,
n_frames
,
n_rx
,
num_rounds
,
mcs1
,
mcs2
,
interf_unaw_shift
,
tpmi_retr
);
}
}
}
bler_fd
=
fopen
(
bler_fname
,
"w"
);
if
(
bler_fd
==
NULL
)
{
...
...
@@ -2839,7 +2853,7 @@ int main(int argc, char **argv)
}
//Here need to add cases for TPMI 6 and TPMI 5 and check for both TB.
if
(
transmission_mode
==
4
&&
((((
DCI2_5MHz_2A_TDD_t
*
)
&
DLSCH_alloc_pdu_1
[
k
])
->
tpmi
==
2
)
||
(((
DCI2_5MHz_2A_FDD_t
*
)
&
DLSCH_alloc_pdu_1
[
k
])
->
tpmi
==
2
))){
if
(
transmission_mode
==
4
&&
((((
DCI2_5MHz_2A_TDD_t
*
)
&
DLSCH_alloc_pdu_1
[
k
])
->
tpmi
==
2
)
||
(((
DCI2_5MHz_2A_FDD_t
*
)
&
DLSCH_alloc_pdu_1
[
k
])
->
tpmi
==
2
))
&&
(
TB0_active
==
1
)
){
#ifdef DEBUG_HARQ
printf
(
"[DLSIM] I am calling from the eNode B 1
\n
"
);
#endif
...
...
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