Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
4e27b33a
Commit
4e27b33a
authored
Sep 21, 2021
by
rmagueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set initial_wait=0 and opp_enabled = 0
parent
d192a4a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
executables/nr-ru.c
executables/nr-ru.c
+3
-3
No files found.
executables/nr-ru.c
View file @
4e27b33a
...
...
@@ -1244,13 +1244,13 @@ void *ru_thread( void *param ) {
int
slot
=
fp
->
slots_per_frame
-
1
;
int
frame
=
1023
;
char
threadname
[
40
];
int
initial_wait
=
1
;
int
initial_wait
=
0
;
int
opp_enabled0
=
opp_enabled
;
nfapi_nr_config_request_scf_t
*
cfg
=
&
ru
->
config
;
// set the timing measurements for startup phase, for RX fronthaul settling measurements, put it to configured value after
opp_enabled
=
1
;
opp_enabled
=
0
;
// set default return value
ru_thread_status
=
0
;
...
...
@@ -1364,7 +1364,7 @@ void *ru_thread( void *param ) {
if
(
proc
->
frame_rx
>=
300
)
{
initial_wait
=
0
;
opp_enabled
=
opp_enabled0
;
}
}
if
(
initial_wait
==
0
&&
ru
->
rx_fhaul
.
trials
>
1000
)
reset_meas
(
&
ru
->
rx_fhaul
);
proc
->
timestamp_tx
=
proc
->
timestamp_rx
+
(
sf_ahead
*
fp
->
samples_per_subframe
);
proc
->
frame_tx
=
(
proc
->
tti_rx
>
(
fp
->
slots_per_frame
-
1
-
(
fp
->
slots_per_subframe
*
sf_ahead
)))
?
(
proc
->
frame_rx
+
1
)
&
1023
:
proc
->
frame_rx
;
...
...
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