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
常顺宇
OpenXG-RAN
Commits
759c1342
Commit
759c1342
authored
Jul 11, 2018
by
Elena Lukashova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing a bug in dlsch_channel_level_core.
parent
b4ed5f1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
openair1/PHY/LTE_UE_TRANSPORT/dlsch_demodulation.c
openair1/PHY/LTE_UE_TRANSPORT/dlsch_demodulation.c
+5
-5
No files found.
openair1/PHY/LTE_UE_TRANSPORT/dlsch_demodulation.c
View file @
759c1342
...
@@ -3842,7 +3842,7 @@ void dlsch_channel_level_core(int **dl_ch_estimates_ext,
...
@@ -3842,7 +3842,7 @@ void dlsch_channel_level_core(int **dl_ch_estimates_ext,
short
ii
;
short
ii
;
int
aatx
,
aarx
;
int
aatx
,
aarx
;
int
length_mod
4
;
int
length_mod
8
;
int
length2
;
int
length2
;
__m128i
*
dl_ch128
,
avg128D
;
__m128i
*
dl_ch128
,
avg128D
;
...
@@ -3856,11 +3856,11 @@ void dlsch_channel_level_core(int **dl_ch_estimates_ext,
...
@@ -3856,11 +3856,11 @@ void dlsch_channel_level_core(int **dl_ch_estimates_ext,
dl_ch128
=
(
__m128i
*
)
&
dl_ch_estimates_ext
[
aatx
*
n_rx
+
aarx
][
start_point
];
dl_ch128
=
(
__m128i
*
)
&
dl_ch_estimates_ext
[
aatx
*
n_rx
+
aarx
][
start_point
];
length_mod
4
=
length
&
3
;
length_mod
8
=
length
&
7
;
if
(
length_mod
4
==
0
){
if
(
length_mod
8
==
0
){
length2
=
length
>>
2
;
length2
=
length
>>
3
;
for
(
ii
=
0
;
ii
<
length2
;
ii
++
)
{
for
(
ii
=
0
;
ii
<
length2
;
ii
++
)
{
avg128D
=
_mm_add_epi32
(
avg128D
,
_mm_srai_epi16
(
_mm_madd_epi16
(
dl_ch128
[
0
],
dl_ch128
[
0
]),
x
));
avg128D
=
_mm_add_epi32
(
avg128D
,
_mm_srai_epi16
(
_mm_madd_epi16
(
dl_ch128
[
0
],
dl_ch128
[
0
]),
x
));
...
@@ -4428,7 +4428,7 @@ void float_to_rxdataF(int32_t **rxdataF_ext,
...
@@ -4428,7 +4428,7 @@ void float_to_rxdataF(int32_t **rxdataF_ext,
if
(
re
==
0
){
if
(
re
==
0
){
printf
(
" float_to_rxdataF: real = %f, imag = %f
\n
"
,
creal
(
rxdataF_f
[
aarx
][
re
]),
cimag
(
rxdataF_f
[
aarx
][
re
]));
printf
(
" float_to_rxdataF: real = %f, imag = %f
\n
"
,
creal
(
rxdataF_f
[
aarx
][
re
]),
cimag
(
rxdataF_f
[
aarx
][
re
]));
printf
(
"float_to_rxdataF: real fixed = %d, imag fixed = %d
\n
"
,
real
,
imag
);
printf
(
"float_to_rxdataF: real fixed = %d, imag fixed = %d
\n
"
,
real
,
imag
);
printf
(
"float_to_rxdataF: ant %d, re = %d, rxdataF_ext = %d
\n
"
,
aarx
,
re
,
rxdataF_ext
[
aarx
][
s
ymbol
*
nb_rb
*
12
+
re
]);
printf
(
"float_to_rxdataF: ant %d, re = %d, rxdataF_ext = %d
\n
"
,
aarx
,
re
,
rxdataF_ext
[
aarx
][
s
tart_point
+
re
]);
}
}
#endif
#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