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
2373b021
Commit
2373b021
authored
Apr 12, 2022
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
review remarks
parent
b738f8a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
executables/nr-ue.c
executables/nr-ue.c
+1
-0
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+1
-0
No files found.
executables/nr-ue.c
View file @
2373b021
...
...
@@ -808,6 +808,7 @@ void processSlotRX(void *arg) {
void
dummyWrite
(
PHY_VARS_NR_UE
*
UE
,
openair0_timestamp
timestamp
,
int
writeBlockSize
)
{
void
*
dummy_tx
[
UE
->
frame_parms
.
nb_antennas_tx
];
int16_t
dummy_tx_data
[
UE
->
frame_parms
.
nb_antennas_tx
][
2
*
writeBlockSize
];
// 2 because the function we call use pairs of int16_t implicitly as complex numbers
memset
(
dummy_tx_data
,
0
,
sizeof
(
dummy_tx_data
));
for
(
int
i
=
0
;
i
<
UE
->
frame_parms
.
nb_antennas_tx
;
i
++
)
dummy_tx
[
i
]
=
dummy_tx_data
[
i
];
...
...
targets/RT/USER/lte-ru.c
View file @
2373b021
...
...
@@ -836,6 +836,7 @@ void tx_rf(RU_t *ru,
// we write 1 single I/Q sample to trigger Rx (rfsim will fill gaps with 0 I/Q)
void
*
dummy_tx
[
ru
->
frame_parms
->
nb_antennas_tx
];
int16_t
dummy_tx_data
[
ru
->
frame_parms
->
nb_antennas_tx
][
2
];
// 2 because the function we call use pairs of int16_t implicitly as complex numbers
memset
(
dummy_tx_data
,
0
,
sizeof
(
dummy_tx_data
));
for
(
int
i
=
0
;
i
<
ru
->
frame_parms
->
nb_antennas_tx
;
i
++
)
dummy_tx
[
i
]
=
dummy_tx_data
[
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