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
fab75b4a
Commit
fab75b4a
authored
May 31, 2022
by
Florian Kaltenberger
Committed by
Raymond Knopp
May 31, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aligning some internal memory to avoid segfaults
parent
e141b208
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
+3
-3
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
+3
-3
No files found.
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
View file @
fab75b4a
...
...
@@ -686,9 +686,9 @@ int32_t nr_rx_pdcch(PHY_VARS_NR_UE *ue,
// Pointers to extracted PDCCH symbols in frequency-domain.
int32_t
rx_size
=
4
*
273
*
12
;
int32_t
rxdataF_ext
[
4
*
frame_parms
->
nb_antennas_rx
][
rx_size
];
int32_t
rxdataF_comp
[
4
*
frame_parms
->
nb_antennas_rx
][
rx_size
];
int32_t
pdcch_dl_ch_estimates_ext
[
4
*
frame_parms
->
nb_antennas_rx
][
rx_size
];
__attribute__
((
aligned
(
32
)))
int32_t
rxdataF_ext
[
4
*
frame_parms
->
nb_antennas_rx
][
rx_size
];
__attribute__
((
aligned
(
32
)))
int32_t
rxdataF_comp
[
4
*
frame_parms
->
nb_antennas_rx
][
rx_size
];
__attribute__
((
aligned
(
32
)))
int32_t
pdcch_dl_ch_estimates_ext
[
4
*
frame_parms
->
nb_antennas_rx
][
rx_size
];
// Pointer to llrs, 4-bit resolution.
int32_t
llr_size
=
2
*
4
*
100
*
12
;
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_pbch.c
View file @
fab75b4a
...
...
@@ -430,8 +430,8 @@ int nr_rx_pbch( PHY_VARS_NR_UE *ue,
for
(
symbol
=
1
;
symbol
<
4
;
symbol
++
)
{
const
uint16_t
nb_re
=
symbol
==
2
?
72
:
180
;
struct
complex16
rxdataF_ext
[
frame_parms
->
nb_antennas_rx
][
PBCH_MAX_RE_PER_SYMBOL
];
struct
complex16
dl_ch_estimates_ext
[
frame_parms
->
nb_antennas_rx
][
PBCH_MAX_RE_PER_SYMBOL
];
__attribute__
((
aligned
(
32
)))
struct
complex16
rxdataF_ext
[
frame_parms
->
nb_antennas_rx
][
PBCH_MAX_RE_PER_SYMBOL
];
__attribute__
((
aligned
(
32
)))
struct
complex16
dl_ch_estimates_ext
[
frame_parms
->
nb_antennas_rx
][
PBCH_MAX_RE_PER_SYMBOL
];
memset
(
dl_ch_estimates_ext
,
0
,
sizeof
dl_ch_estimates_ext
);
nr_pbch_extract
(
nr_ue_common_vars
->
common_vars_rx_data_per_thread
[
proc
->
thread_id
].
rxdataF
,
estimateSz
,
...
...
@@ -456,7 +456,7 @@ int nr_rx_pbch( PHY_VARS_NR_UE *ue,
#ifdef DEBUG_PBCH
LOG_I
(
PHY
,
"[PHY] PBCH log2_maxh = %d (%d)
\n
"
,
nr_ue_pbch_vars
->
log2_maxh
,
max_h
);
#endif
struct
complex16
rxdataF_comp
[
frame_parms
->
nb_antennas_rx
][
PBCH_MAX_RE_PER_SYMBOL
];
__attribute__
((
aligned
(
32
)))
struct
complex16
rxdataF_comp
[
frame_parms
->
nb_antennas_rx
][
PBCH_MAX_RE_PER_SYMBOL
];
nr_pbch_channel_compensation
(
rxdataF_ext
,
dl_ch_estimates_ext
,
nb_re
,
...
...
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