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
Michael Black
OpenXG-RAN
Commits
8cfb8b6a
Commit
8cfb8b6a
authored
Feb 25, 2022
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix correlation calculation in nr_dlsch_channel_compensation()
parent
22d2e9a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
+2
-2
No files found.
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
View file @
8cfb8b6a
...
...
@@ -931,12 +931,12 @@ void nr_dlsch_channel_compensation(int **rxdataF_ext,
for
(
aarx
=
0
;
aarx
<
frame_parms
->
nb_antennas_rx
;
aarx
++
)
{
for
(
aatx
=
0
;
aatx
<
nb_aatx
;
aatx
++
)
{
dl_ch128
=
(
__m128i
*
)
&
dl_ch_estimates_ext
[
aatx
*
frame_parms
->
nb_antennas_rx
+
aarx
][
symbol
*
nb_rb
*
12
];
for
(
atx
=
0
;
atx
<
nb_aatx
;
atx
++
)
{
avg_rho_re
[
aarx
][
aatx
*
nb_aatx
+
atx
]
=
0
;
avg_rho_im
[
aarx
][
aatx
*
nb_aatx
+
atx
]
=
0
;
rho128
=
(
__m128i
*
)
&
rho
[
aarx
][
aatx
*
nb_aatx
+
atx
][
symbol
*
nb_rb
*
12
];
dl_ch128
=
(
__m128i
*
)
&
dl_ch_estimates_ext
[
aatx
*
frame_parms
->
nb_antennas_rx
+
aarx
][
symbol
*
nb_rb
*
12
];
dl_ch128_2
=
(
__m128i
*
)
&
dl_ch_estimates_ext
[
atx
*
frame_parms
->
nb_antennas_rx
+
aarx
][
symbol
*
nb_rb
*
12
];
for
(
rb
=
0
;
rb
<
nb_rb_0
;
rb
++
)
{
...
...
@@ -1027,6 +1027,7 @@ void nr_dlsch_channel_compensation(int **rxdataF_ext,
((
int16_t
*
)
&
rho128
[
2
])[
5
]
+
((
int16_t
*
)
&
rho128
[
2
])[
7
])
/
16
;
dl_ch128
+=
3
;
dl_ch128_2
+=
3
;
rho128
+=
3
;
}
...
...
@@ -1036,7 +1037,6 @@ void nr_dlsch_channel_compensation(int **rxdataF_ext,
avg_rho_im
[
aarx
][
aatx
*
nb_aatx
+
atx
]
=
16
*
avg_rho_im
[
aarx
][
aatx
*
nb_aatx
+
atx
]
/
(
nb_rb
*
12
);
//printf("rho[rx]%d tx%d tx%d = Re: %d Im: %d\n",aarx, aatx,atx, avg_rho_re[aarx][aatx*nb_aatx+atx], avg_rho_im[aarx][aatx*nb_aatx+atx]);
}
dl_ch128
+=
3
;
}
}
}
...
...
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