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
spbro
OpenXG-RAN
Commits
102ada7d
Commit
102ada7d
authored
Oct 08, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
memcpy
parent
b8fe386a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
19 deletions
+11
-19
openair1/SCHED_NR/nr_ru_procedures.c
openair1/SCHED_NR/nr_ru_procedures.c
+11
-19
No files found.
openair1/SCHED_NR/nr_ru_procedures.c
View file @
102ada7d
...
...
@@ -188,27 +188,19 @@ 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
;
for
(
i
=
0
;
i
<
ru
->
nb_log_antennas
;
++
i
)
{
memcpy
((
void
*
)
ru
->
common
.
txdataF
[
i
],
(
void
*
)
&
gNB
->
common_vars
.
txdataF
[
i
][
txdataF_offset
],
fp
->
samples_per_slot_wCP
*
sizeof
(
int32_t
));
if
(
ru
->
do_precoding
==
1
)
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
];
}
else
{
for
(
i
=
0
;
i
<
ru
->
nb_log_antennas
;
++
i
)
{
memcpy
((
void
*
)
ru
->
common
.
txdataF
[
i
],
(
void
*
)
&
gNB
->
common_vars
.
txdataF
[
i
][
txdataF_offset
],
fp
->
samples_per_slot_wCP
*
sizeof
(
int32_t
));
memcpy
((
void
*
)
&
ru
->
common
.
beam_id
[
i
][
slot_tx
*
fp
->
symbols_per_slot
],
(
void
*
)
&
gNB
->
common_vars
.
beam_id
[
i
][
slot_tx
*
fp
->
symbols_per_slot
],
fp
->
symbols_per_slot
*
sizeof
(
uint8_t
));
}
if
(
ru
->
nb_tx
==
1
&&
ru
->
nb_log_antennas
==
1
)
{
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_PREC
,
1
);
memcpy
((
void
*
)
ru
->
common
.
txdataF_BF
[
0
],
(
void
*
)
ru
->
common
.
txdataF
[
0
],
fp
->
samples_per_slot_wCP
*
sizeof
(
int32_t
));
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_PREC
,
0
);
}
// if (ru->nb_tx == 1)
else
{
}
bw
=
ru
->
beam_weights
[
0
];
for
(
l
=
0
;
l
<
fp
->
symbols_per_slot
;
l
++
)
{
for
(
aa
=
0
;
aa
<
ru
->
nb_tx
;
aa
++
)
{
...
...
@@ -223,7 +215,7 @@ void nr_feptx_prec(RU_t *ru,int frame_tx,int tti_tx) {
0
);
}
// for (aa=0;aa<ru->nb_tx;aa++)
}
// for (l=0;l<fp->symbols_per_slot;l++)
}
//
if (ru->nb_tx == 1)
}
//
ru->do_precoding
}
// if (ru->num_gNB == 1)
stop_meas
(
&
ru
->
precoding_stats
);
}
...
...
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