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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG-RAN
Commits
dc5f4bf8
Commit
dc5f4bf8
authored
Jan 09, 2025
by
rmagueta
Committed by
Laurent THOMAS
Jan 14, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply delay compensation only when delay is different from 0
parent
6384517c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
openair1/PHY/NR_TRANSPORT/pucch_rx.c
openair1/PHY/NR_TRANSPORT/pucch_rx.c
+6
-4
No files found.
openair1/PHY/NR_TRANSPORT/pucch_rx.c
View file @
dc5f4bf8
...
...
@@ -1102,12 +1102,14 @@ void nr_decode_pucch2(PHY_VARS_gNB *gNB,
c16_t
ch_temp
[
128
]
__attribute__
((
aligned
(
32
)))
=
{
0
};
delay_t
delay
=
{
0
};
nr_est_delay
(
128
,
ch_ls
,
ch_temp
,
&
delay
);
int
delay_idx
=
get_delay_idx
(
delay
.
est_delay
,
MAX_DELAY_COMP
);
c16_t
*
delay_table
=
frame_parms
->
delay_table128
[
delay_idx
];
// Apply delay compensation on the input
for
(
int
aa
=
0
;
aa
<
Prx
;
aa
++
)
mult_complex_vectors
(
rp
[
aa
][
symb
],
delay_table
,
rp
[
aa
][
symb
],
nb_re_pucch
,
8
);
if
(
delay
.
est_delay
!=
0
)
{
int
delay_idx
=
get_delay_idx
(
delay
.
est_delay
,
MAX_DELAY_COMP
);
c16_t
*
delay_table
=
frame_parms
->
delay_table128
[
delay_idx
];
for
(
int
aa
=
0
;
aa
<
Prx
;
aa
++
)
mult_complex_vectors
(
rp
[
aa
][
symb
],
delay_table
,
rp
[
aa
][
symb
],
nb_re_pucch
,
8
);
}
// extract again DMRS, and signal, after delay compensation
for
(
int
aa
=
0
;
aa
<
Prx
;
aa
++
)
{
...
...
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