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
dcae2e7f
Commit
dcae2e7f
authored
Nov 29, 2022
by
Roberto Louro Magueta
Committed by
laurent
Feb 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix buffer overflow for 4-layers DL
parent
d8c97ec7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
+6
-6
No files found.
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
View file @
dcae2e7f
...
@@ -2203,12 +2203,12 @@ uint8_t nr_zero_forcing_rx(uint32_t rx_size,
...
@@ -2203,12 +2203,12 @@ uint8_t nr_zero_forcing_rx(uint32_t rx_size,
int32_t
determ_fin
[
12
*
nb_rb_0
]
__attribute__
((
aligned
(
32
)));
int32_t
determ_fin
[
12
*
nb_rb_0
]
__attribute__
((
aligned
(
32
)));
///Allocate H^*H matrix elements and sub elements
///Allocate H^*H matrix elements and sub elements
conjH_H_elements
=
(
int32_t
***
)
malloc16_clear
(
n_rx
*
sizeof
(
int32_t
**
)
);
conjH_H_elements
=
(
int32_t
***
)
malloc16_clear
(
n_rx
*
sizeof
(
int32_t
**
)
);
for
(
int
aarx
=
0
;
aarx
<
n_rx
;
aarx
++
)
{
for
(
int
aarx
=
0
;
aarx
<
n_rx
;
aarx
++
)
{
conjH_H_elements
[
aarx
]
=
(
int32_t
**
)
malloc16_clear
(
n_tx
*
n_tx
*
sizeof
(
int32_t
)
);
conjH_H_elements
[
aarx
]
=
(
int32_t
**
)
malloc16_clear
(
n_tx
*
n_tx
*
sizeof
(
int32_t
*
)
);
for
(
int
rtx
=
0
;
rtx
<
n_tx
;
rtx
++
)
{
//
row
for
(
int
rtx
=
0
;
rtx
<
n_tx
;
rtx
++
)
{
//
row
for
(
int
ctx
=
0
;
ctx
<
n_tx
;
ctx
++
)
{
//
column
for
(
int
ctx
=
0
;
ctx
<
n_tx
;
ctx
++
)
{
//
column
conjH_H_elements
[
aarx
][
ctx
*
n_tx
+
rtx
]
=
(
int32_t
*
)
malloc16_clear
(
12
*
nb_rb_0
*
sizeof
(
int32_t
*
)
);
conjH_H_elements
[
aarx
][
ctx
*
n_tx
+
rtx
]
=
(
int32_t
*
)
malloc16_clear
(
12
*
nb_rb_0
*
sizeof
(
int32_t
)
);
}
}
}
}
}
}
...
...
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