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
b4764ee7
Commit
b4764ee7
authored
Jan 10, 2024
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
handle somehow txdadaF_BF
parent
33a2d3e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
openair1/PHY/INIT/nr_init_ru.c
openair1/PHY/INIT/nr_init_ru.c
+8
-3
openair1/SCHED_NR/nr_ru_procedures.c
openair1/SCHED_NR/nr_ru_procedures.c
+2
-2
No files found.
openair1/PHY/INIT/nr_init_ru.c
View file @
b4764ee7
...
...
@@ -192,9 +192,14 @@ void nr_phy_free_RU(RU_t *ru)
free_and_zero
(
ru
->
common
.
txdataF
);
// free IFFT input buffers (TX)
// invalid pointers in 7.2!
//for (i = 0; i < ru->nb_tx; i++) free_and_zero(ru->common.txdataF_BF[i]);
//free_and_zero(ru->common.txdataF_BF);
// nr_feptx_prec(): if no precoding, it just copies pointers instead of memory
// note that we still allocate that memory in nr_phy_init_RU(), otherwise
// we cannot execute in the first iteration because XYZ
bool
no_precoding
=
ru
->
do_precoding
==
0
||
(
ru
->
nb_tx
==
1
&&
ru
->
nb_log_antennas
==
1
);
if
(
!
no_precoding
)
{
for
(
i
=
0
;
i
<
ru
->
nb_tx
;
i
++
)
free_and_zero
(
ru
->
common
.
txdataF_BF
[
i
]);
free_and_zero
(
ru
->
common
.
txdataF_BF
);
}
// free FFT output buffers (RX)
for
(
i
=
0
;
i
<
ru
->
nb_rx
;
i
++
)
free_and_zero
(
ru
->
common
.
rxdataF
[
i
]);
...
...
openair1/SCHED_NR/nr_ru_procedures.c
View file @
b4764ee7
...
...
@@ -189,8 +189,8 @@ void nr_feptx_prec(RU_t *ru,int frame_tx,int tti_tx) {
if
(
nr_slot_select
(
cfg
,
frame_tx
,
slot_tx
)
==
NR_UPLINK_SLOT
)
return
;
if
(
ru
->
do_precoding
==
0
||
(
ru
->
nb_tx
==
1
&&
ru
->
nb_log_antennas
==
1
))
{
for
(
i
=
0
;
i
<
ru
->
nb_log_antennas
;
++
i
)
ru
->
common
.
txdataF_BF
[
i
]
=
&
gNB
->
common_vars
.
txdataF
[
i
][
txdataF_offset
];
for
(
i
=
0
;
i
<
ru
->
nb_log_antennas
;
++
i
)
ru
->
common
.
txdataF_BF
[
i
]
=
(
int32_t
*
)
&
gNB
->
common_vars
.
txdataF
[
i
][
txdataF_offset
];
}
else
{
for
(
i
=
0
;
i
<
ru
->
nb_log_antennas
;
++
i
)
{
...
...
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