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
zzha zzha
OpenXG-RAN
Commits
6045e5cf
Commit
6045e5cf
authored
Jun 12, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize memory to 0 in nr_decode_pucch{,2}()
parent
54d5676c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
openair1/PHY/NR_TRANSPORT/pucch_rx.c
openair1/PHY/NR_TRANSPORT/pucch_rx.c
+6
-2
No files found.
openair1/PHY/NR_TRANSPORT/pucch_rx.c
View file @
6045e5cf
...
...
@@ -253,7 +253,9 @@ void nr_decode_pucch0(PHY_VARS_gNB *gNB,
uint8_t
index
=
0
;
int
nb_re_pucch
=
12
*
pucch_pdu
->
prb_size
;
// prb size is 1
int32_t
rp
[
frame_parms
->
nb_antennas_rx
][
pucch_pdu
->
nr_of_symbols
][
nb_re_pucch
],
*
tmp_rp
;
int32_t
rp
[
frame_parms
->
nb_antennas_rx
][
pucch_pdu
->
nr_of_symbols
][
nb_re_pucch
];
memset
(
rp
,
0
,
sizeof
(
rp
));
int32_t
*
tmp_rp
=
NULL
;
for
(
int
l
=
0
;
l
<
pucch_pdu
->
nr_of_symbols
;
l
++
)
{
uint8_t
l2
=
l
+
pucch_pdu
->
start_symbol_index
;
...
...
@@ -1169,7 +1171,9 @@ void nr_decode_pucch2(PHY_VARS_gNB *gNB,
int
nb_re_pucch
=
12
*
pucch_pdu
->
prb_size
;
int16_t
rp
[
Prx2
][
2
][
nb_re_pucch
*
2
],
*
tmp_rp
;
int16_t
rp
[
Prx2
][
2
][
nb_re_pucch
*
2
];
memset
(
rp
,
0
,
sizeof
(
rp
));
int16_t
*
tmp_rp
=
NULL
;
__m64
dmrs_re
,
dmrs_im
;
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