Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
57eef276
Commit
57eef276
authored
May 02, 2018
by
Cédric Roux
Browse files
bugfix: intialize memory
This is taken from commit
7bc14347
and is necessary for the UE to function properly.
parent
880d7687
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair1/PHY/INIT/lte_init_ue.c
View file @
57eef276
...
...
@@ -853,6 +853,9 @@ int init_lte_ue_signal(PHY_VARS_UE *ue,
(
*
pdcch_vars_th
)[
th_id
][
eNB_id
]
->
rho
=
(
int32_t
**
)
malloc16
(
fp
->
nb_antennas_rx
*
sizeof
(
int32_t
*
)
);
(
*
pdcch_vars_th
)[
th_id
][
eNB_id
]
->
rxdataF_ext
=
(
int32_t
**
)
malloc16_clear
(
8
*
sizeof
(
int32_t
*
)
);
(
*
pdcch_vars_th
)[
th_id
][
eNB_id
]
->
dl_ch_estimates_ext
=
(
int32_t
**
)
malloc16_clear
(
8
*
sizeof
(
int32_t
*
)
);
(
*
pdcch_vars_th
)[
th_id
][
eNB_id
]
->
dciFormat
=
0
;
(
*
pdcch_vars_th
)[
th_id
][
eNB_id
]
->
agregationLevel
=
0xFF
;
}
for
(
i
=
0
;
i
<
fp
->
nb_antennas_rx
;
i
++
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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