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
ZhouShuya
OpenXG-RAN
Commits
7a6ef377
Commit
7a6ef377
authored
Nov 22, 2016
by
Elena_Lukashova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing a bug in dlsch_demodulation.c for llr calls.
parent
8cb78dc4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
+6
-10
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
+5
-5
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+1
-5
No files found.
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
View file @
7a6ef377
...
...
@@ -776,7 +776,7 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
switch
(
dlsch0_harq
->
Qm
)
{
case
2
:
if
((
rx_type
==
rx_standard
)
||
(
codeword_TB0
=
1
))
{
if
((
rx_type
==
rx_standard
)
||
(
codeword_TB0
=
=
-
1
)
||
(
codeword_TB1
==
-
1
))
{
dlsch_qpsk_llr
(
frame_parms
,
lte_ue_pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
lte_ue_pdsch_vars
[
eNB_id
]
->
llr
[
0
],
...
...
@@ -852,7 +852,7 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
}
break
;
case
4
:
if
((
rx_type
==
rx_standard
)
||
(
codeword_TB0
=
1
)
)
{
if
((
rx_type
==
rx_standard
)
||
(
codeword_TB0
=
=
-
1
)
||
(
codeword_TB1
==
-
1
)
)
{
dlsch_16qam_llr
(
frame_parms
,
lte_ue_pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
lte_ue_pdsch_vars
[
eNB_id
]
->
llr
[
0
],
...
...
@@ -861,7 +861,7 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
4
,
subframe
,
symbol
),
lte_ue_pdsch_vars
[
eNB_id
]
->
llr128
);
}
else
if
(
(
rx_type
>=
rx_IC_single_stream
)
&&
(
codeword_TB0
!=
-
1
))
{
else
if
(
rx_type
>=
rx_IC_single_stream
)
{
if
(
dlsch1_harq
->
Qm
==
2
)
{
dlsch_16qam_qpsk_llr
(
frame_parms
,
lte_ue_pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
...
...
@@ -935,7 +935,7 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
}
break
;
case
6
:
if
((
rx_type
==
rx_standard
)
||
(
codeword_TB0
==
-
1
))
{
if
((
rx_type
==
rx_standard
)
||
(
codeword_TB0
==
-
1
)
||
(
codeword_TB1
==
-
1
)
)
{
dlsch_64qam_llr
(
frame_parms
,
lte_ue_pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
lte_ue_pdsch_vars
[
eNB_id
]
->
llr
[
0
],
...
...
@@ -945,7 +945,7 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
adjust_G2
(
frame_parms
,
dlsch0_harq
->
rb_alloc_even
,
6
,
subframe
,
symbol
),
lte_ue_pdsch_vars
[
eNB_id
]
->
llr128
);
}
else
if
(
(
rx_type
>=
rx_IC_single_stream
)
&&
(
codeword_TB0
!=
-
1
))
{
else
if
(
rx_type
>=
rx_IC_single_stream
)
{
if
(
dlsch1_harq
->
Qm
==
2
)
{
dlsch_64qam_qpsk_llr
(
frame_parms
,
lte_ue_pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
,
...
...
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
7a6ef377
...
...
@@ -3619,11 +3619,6 @@ int main(int argc, char **argv)
for
(
TB
=
0
;
TB
<
Kmimo
;
TB
++
){
// may be we ll have to swap CW
/* if (PHY_vars_UE->dlsch_ue[0][TB] == NULL){
printf("[DLSIM] PHY_vars_UE->dlsch_ue[0][TB] == NULL\n");
printf("HERE HERE HERE HERE\n");
continue;
}*/
if
(
TB0_active
==
0
){
#ifdef DEBUG_HARQ
...
...
@@ -4164,6 +4159,7 @@ int main(int argc, char **argv)
#endif
}
}
if
(
rx_type
==
rx_SIC_dual_stream
)
TB
++
;
// to terminate the loop over TB
}
...
...
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