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
lizhongxiao
OpenXG-RAN
Commits
32c7795a
Commit
32c7795a
authored
Feb 15, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for 0bdb1b9f402c5315a591b1fbc4310dbc62fc820d
parent
0827b2f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
openair1/PHY/INIT/nr_init_ue.c
openair1/PHY/INIT/nr_init_ue.c
+8
-3
No files found.
openair1/PHY/INIT/nr_init_ue.c
View file @
32c7795a
...
@@ -485,10 +485,8 @@ int init_nr_ue_signal(PHY_VARS_NR_UE *ue, int nb_connected_gNB)
...
@@ -485,10 +485,8 @@ int init_nr_ue_signal(PHY_VARS_NR_UE *ue, int nb_connected_gNB)
}
}
// initialization for the last instance of pdsch_vars (used for MU-MIMO)
// initialization for the last instance of pdsch_vars (used for MU-MIMO)
for
(
th_id
=
0
;
th_id
<
RX_NB_TH_MAX
;
th_id
++
)
ue
->
pdsch_vars
[
th_id
][
gNB_id
]
=
malloc16_clear
(
sizeof
(
NR_UE_PDSCH
));
for
(
th_id
=
0
;
th_id
<
RX_NB_TH_MAX
;
th_id
++
)
{
for
(
th_id
=
0
;
th_id
<
RX_NB_TH_MAX
;
th_id
++
)
{
ue
->
pdsch_vars
[
th_id
][
gNB_id
]
=
malloc16_clear
(
sizeof
(
NR_UE_PDSCH
));
ue
->
pdsch_vars
[
th_id
][
gNB_id
]
->
llr
[
1
]
=
malloc16_clear
((
8
*
(
3
*
8
*
8448
))
*
sizeof
(
int16_t
));
ue
->
pdsch_vars
[
th_id
][
gNB_id
]
->
llr
[
1
]
=
malloc16_clear
((
8
*
(
3
*
8
*
8448
))
*
sizeof
(
int16_t
));
ue
->
pdsch_vars
[
th_id
][
gNB_id
]
->
layer_llr
[
1
]
=
malloc16_clear
((
8
*
(
3
*
8
*
8448
))
*
sizeof
(
int16_t
));
ue
->
pdsch_vars
[
th_id
][
gNB_id
]
->
layer_llr
[
1
]
=
malloc16_clear
((
8
*
(
3
*
8
*
8448
))
*
sizeof
(
int16_t
));
}
}
...
@@ -682,6 +680,13 @@ void term_nr_ue_signal(PHY_VARS_NR_UE *ue, int nb_connected_gNB)
...
@@ -682,6 +680,13 @@ void term_nr_ue_signal(PHY_VARS_NR_UE *ue, int nb_connected_gNB)
free_and_zero
(
ue
->
prach_vars
[
gNB_id
]);
free_and_zero
(
ue
->
prach_vars
[
gNB_id
]);
}
}
const
int
gNB_id
=
ue
->
n_connected_gNB
;
for
(
int
th_id
=
0
;
th_id
<
RX_NB_TH_MAX
;
th_id
++
)
{
free_and_zero
(
ue
->
pdsch_vars
[
th_id
][
gNB_id
]
->
llr
[
1
]);
free_and_zero
(
ue
->
pdsch_vars
[
th_id
][
gNB_id
]
->
layer_llr
[
1
]);
free_and_zero
(
ue
->
pdsch_vars
[
th_id
][
gNB_id
]);
}
free_and_zero
(
ue
->
sinr_CQI_dB
);
free_and_zero
(
ue
->
sinr_CQI_dB
);
}
}
...
...
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