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
zzha zzha
OpenXG-RAN
Commits
25796d27
Commit
25796d27
authored
Mar 24, 2016
by
lukashov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing the way bler is computed for SIC receiver
parent
978a7a62
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
+1
-1
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
+2
-2
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+7
-2
No files found.
openair1/PHY/LTE_TRANSPORT/dci_tools.c
View file @
25796d27
...
...
@@ -5897,7 +5897,7 @@ uint16_t quantize_subband_pmi(PHY_MEASUREMENTS *meas,uint8_t eNB_id,int nb_rb)
pmi_im
+=
meas
->
subband_pmi_im
[
eNB_id
][
i
][
aarx
];
//printf("meas->subband_pmi_im[eNB_id][i][%d]=%d\n",aarx, meas->subband_pmi_im[eNB_id][i][aarx]);
}
if
(((
pmi_re
>=
pmi_im
)
&&
(
pmi_re
>=
-
pmi_im
))
||
((
pmi_re
<
=
pmi_im
)
&&
(
pmi_re
<=
-
pmi_im
)))
if
(((
pmi_re
>=
pmi_im
)
&&
(
pmi_re
>=
-
pmi_im
))
||
((
pmi_re
>
=
pmi_im
)
&&
(
pmi_re
<=
-
pmi_im
)))
pmiq
=
PMI_2A_R1_11
;
else
pmiq
=
PMI_2A_R1_1j
;
...
...
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
View file @
25796d27
...
...
@@ -1295,7 +1295,7 @@ uint8_t get_pmi(uint8_t N_RB_DL,MIMO_mode_t mode, uint32_t pmi_alloc,uint16_t rb
int
dlsch_modulation
(
mod_sym_t
**
txdataF
,
int16_t
amp
,
int16_t
amp
,
//512
uint32_t
subframe_offset
,
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint8_t
num_pdcch_symbols
,
...
...
@@ -1336,7 +1336,7 @@ int dlsch_modulation(mod_sym_t **txdataF,
nsymb
=
(
frame_parms
->
Ncp
==
0
)
?
14
:
12
;
amp_rho_a
=
(
int16_t
)(((
int32_t
)
amp
*
dlsch0
->
sqrt_rho_a
)
>>
13
);
amp_rho_a
=
(
int16_t
)(((
int32_t
)
amp
*
dlsch0
->
sqrt_rho_a
)
>>
13
);
//amp=512 in full scale; dlsch0->sqrt_rho_a=8192in Q2.13, 1 in full scale
amp_rho_b
=
(
int16_t
)(((
int32_t
)
amp
*
dlsch0
->
sqrt_rho_b
)
>>
13
);
if
(
mod_order0
==
4
)
...
...
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
25796d27
...
...
@@ -3511,7 +3511,7 @@ n(tikz_fname,"w");
stop_meas
(
&
PHY_vars_UE
->
dlsch_unscrambling_stats
);
start_meas
(
&
PHY_vars_UE
->
dlsch_decoding_stats
);
ret
[
0
]
=
dlsch_decoding
(
PHY_vars_UE
,
ret
[
cw_non_sic
]
=
dlsch_decoding
(
PHY_vars_UE
,
PHY_vars_UE
->
lte_ue_pdsch_vars
[
eNB_id
]
->
llr
[
cw_non_sic
],
&
PHY_vars_UE
->
lte_frame_parms
,
PHY_vars_UE
->
dlsch_ue
[
0
][
cw_non_sic
],
...
...
@@ -3522,7 +3522,7 @@ n(tikz_fname,"w");
stop_meas
(
&
PHY_vars_UE
->
dlsch_decoding_stats
);
if
(
ret
[
0
]
<=
PHY_vars_UE
->
dlsch_ue
[
0
][
cw_non_sic
]
->
max_turbo_iterations
)
{
if
(
ret
[
cw_non_sic
]
<=
PHY_vars_UE
->
dlsch_ue
[
0
][
cw_non_sic
]
->
max_turbo_iterations
)
{
if
(
cw_non_sic
==
0
)
{
avg_iter
[
0
]
+=
ret
[
0
];
...
...
@@ -3862,11 +3862,16 @@ n(tikz_fname,"w");
iter_trials
[
0
]
++
;
}
if
(
rx_type
==
rx_SIC_dual_stream
)
{
errs
[
1
][
round
]
++
;
}
if
(
cw_non_sic
==
1
)
{
avg_iter
[
1
]
+=
ret
[
1
]
-
1
;
iter_trials
[
1
]
++
;
}
if
(
n_frames
==
1
)
{
//if ((n_frames==1) || (SNR>=30)) {
printf
(
"cw %d, round %d: DLSCH errors found, uncoded ber %f
\n
"
,
cw_non_sic
,
round
,
uncoded_ber
);
...
...
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