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
canghaiwuhen
OpenXG-RAN
Commits
965ed29e
Commit
965ed29e
authored
Aug 11, 2018
by
Elena Lukashova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Temporary fix in dlsch_detection_mrc_core for abntenna configuration
parent
5449a37b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
13 deletions
+26
-13
openair1/PHY/LTE_UE_TRANSPORT/dlsch_demodulation.c
openair1/PHY/LTE_UE_TRANSPORT/dlsch_demodulation.c
+26
-13
No files found.
openair1/PHY/LTE_UE_TRANSPORT/dlsch_demodulation.c
View file @
965ed29e
...
...
@@ -46,7 +46,7 @@
#include "linear_preprocessing_rec.h"
#define NOCYGWIN_STATIC
//
#define DEBUG_FRONT_END
#define DEBUG_FRONT_END
/* dynamic shift for LLR computation for TM3/4
...
...
@@ -3635,15 +3635,19 @@ void dlsch_detection_mrc_core(int **rxdataF_comp,
if
(
rho
)
{
rho128_0
=
(
__m128i
*
)
&
rho
[
0
][
start_point
];
rho128_1
=
(
__m128i
*
)
&
rho
[
1
][
start_point
];
rho128_2
=
(
__m128i
*
)
&
rho
[
2
][
start_point
];
rho128_3
=
(
__m128i
*
)
&
rho
[
3
][
start_point
];
if
(
length_mod4
==
0
){
length2
=
length
>>
2
;
if
(
n_tx
==
4
){
rho128_2
=
(
__m128i
*
)
&
rho
[
2
][
start_point
];
rho128_3
=
(
__m128i
*
)
&
rho
[
3
][
start_point
];
}
if
(
length_mod4
==
0
){
length2
=
length
>>
2
;
for
(
i
=
0
;
i
<
length2
;
++
i
)
{
rho128_0
[
i
]
=
_mm_adds_epi16
(
_mm_srai_epi16
(
rho128_0
[
i
],
1
),
_mm_srai_epi16
(
rho128_1
[
i
],
1
));
rho128_2
[
i
]
=
_mm_adds_epi16
(
_mm_srai_epi16
(
rho128_2
[
i
],
1
),
_mm_srai_epi16
(
rho128_3
[
i
],
1
));
for
(
i
=
0
;
i
<
length2
;
++
i
)
{
rho128_0
[
i
]
=
_mm_adds_epi16
(
_mm_srai_epi16
(
rho128_0
[
i
],
1
),
_mm_srai_epi16
(
rho128_1
[
i
],
1
));
if
(
n_tx
==
4
){
rho128_2
[
i
]
=
_mm_adds_epi16
(
_mm_srai_epi16
(
rho128_2
[
i
],
1
),
_mm_srai_epi16
(
rho128_3
[
i
],
1
));
}
}
}
}
...
...
@@ -3651,15 +3655,19 @@ void dlsch_detection_mrc_core(int **rxdataF_comp,
if
(
rho_i
){
rho128_i0
=
(
__m128i
*
)
&
rho_i
[
0
][
start_point
];
rho128_i1
=
(
__m128i
*
)
&
rho_i
[
1
][
start_point
];
rho128_i2
=
(
__m128i
*
)
&
rho_i
[
2
][
start_point
];
rho128_i3
=
(
__m128i
*
)
&
rho_i
[
3
][
start_point
];
if
(
n_tx
==
4
){
rho128_i2
=
(
__m128i
*
)
&
rho_i
[
2
][
start_point
];
rho128_i3
=
(
__m128i
*
)
&
rho_i
[
3
][
start_point
];
}
if
(
length_mod4
==
0
){
length2
=
length
>>
2
;
for
(
i
=
0
;
i
<
length2
;
++
i
)
for
(
i
=
0
;
i
<
length2
;
++
i
)
{
rho128_i0
[
i
]
=
_mm_adds_epi16
(
_mm_srai_epi16
(
rho128_i0
[
i
],
1
),
_mm_srai_epi16
(
rho128_i1
[
i
],
1
));
rho128_i2
[
i
]
=
_mm_adds_epi16
(
_mm_srai_epi16
(
rho128_i2
[
i
],
1
),
_mm_srai_epi16
(
rho128_i3
[
i
],
1
));
if
(
n_tx
==
4
){
rho128_i2
[
i
]
=
_mm_adds_epi16
(
_mm_srai_epi16
(
rho128_i2
[
i
],
1
),
_mm_srai_epi16
(
rho128_i3
[
i
],
1
));
}
}
}
}
...
...
@@ -4586,6 +4594,11 @@ void whitening_processing_core_flp(float complex **rxdataF_flp,
W_Wh_0
[
aatx
*
n_rx
+
aarx
][
re
]
=
W_Wh_0_re
[
aatx
*
n_rx
+
aarx
];
W_Wh_1
[
aatx
*
n_rx
+
aarx
][
re
]
=
W_Wh_1_re
[
aatx
*
n_rx
+
aarx
];
if
(
re
==
0
){
printf
(
"whitening_processing_core_flp: W_Wh_0[%d] = (%f + i%f)
\n
"
,
aatx
*
n_rx
+
aarx
,
creal
(
W_Wh_0
[
aatx
*
n_rx
+
aarx
][
re
]),
cimag
(
W_Wh_0
[
aatx
*
n_rx
+
aarx
][
re
]));
printf
(
"whitening_processing_core_flp: W_Wh_1[%d] = (%f + i%f)
\n
"
,
aatx
*
n_rx
+
aarx
,
creal
(
W_Wh_1
[
aatx
*
n_rx
+
aarx
][
re
]),
cimag
(
W_Wh_1
[
aatx
*
n_rx
+
aarx
][
re
]));
}
if
(
fabs
(
creal
(
W_Wh_0_re
[
aatx
*
n_rx
+
aarx
]))
>
max_0
)
max_0
=
fabs
(
creal
(
W_Wh_0_re
[
aatx
*
n_rx
+
aarx
]));
if
(
fabs
(
cimag
(
W_Wh_0_re
[
aatx
*
n_rx
+
aarx
]))
>
max_0
)
...
...
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