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
littleBu
OpenXG-RAN
Commits
c2a2e077
Commit
c2a2e077
authored
1 year ago
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/NR_UE_fix_double_sync_dora' into integration_2024_w12
parents
fd5596bf
a47fd7fc
Branches unavailable
2025.w08
2025.w07
2025.w06
2025.w05
2025.w04
2025.w03
2025.w02
2024.w51
2024.w50
2024.w49
2024.w48
2024.w47
2024.w46
2024.w45
2024.w44
2024.w43
2024.w42
2024.w41
2024.w40
2024.w39
2024.w38
2024.w36
2024.w35
2024.w34
2024.w33
2024.w32
2024.w31
2024.w30
2024.w29
2024.w28
2024.w27
2024.w26
2024.w25
2024.w24
2024.w23
2024.w22
2024.w21
2024.w18
2024.w17
2024.w16
2024.w15
2024.w14
2024.w13
2024.w12
v2.2.0
ARC_1.3
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
executables/nr-ue.c
executables/nr-ue.c
+7
-6
No files found.
executables/nr-ue.c
View file @
c2a2e077
...
...
@@ -767,7 +767,7 @@ void *UE_thread(void *arg)
void
*
rxp
[
NB_ANTENNAS_RX
];
int
start_rx_stream
=
0
;
fapi_nr_config_request_t
*
cfg
=
&
UE
->
nrUE_config
;
AssertFatal
(
0
==
openair0_device_load
(
&
(
UE
->
rfdevice
),
&
openair0_cfg
[
0
]),
"
"
);
AssertFatal
(
0
==
openair0_device_load
(
&
(
UE
->
rfdevice
),
&
openair0_cfg
[
0
]),
"Could not load the device
\n
"
);
UE
->
rfdevice
.
host_type
=
RAU_HOST
;
UE
->
is_synchronized
=
0
;
AssertFatal
(
UE
->
rfdevice
.
trx_start_func
(
&
UE
->
rfdevice
)
==
0
,
"Could not start the device
\n
"
);
...
...
@@ -784,13 +784,13 @@ void *UE_thread(void *arg)
int
timing_advance
=
UE
->
timing_advance
;
NR_UE_MAC_INST_t
*
mac
=
get_mac_inst
(
0
);
bool
syncRunning
=
false
;
bool
syncRunning
=
false
;
const
int
nb_slot_frame
=
UE
->
frame_parms
.
slots_per_frame
;
int
absolute_slot
=
0
,
decoded_frame_rx
=
INT_MAX
,
trashed_frames
=
0
;
int
absolute_slot
=
0
,
decoded_frame_rx
=
INT_MAX
,
trashed_frames
=
0
;
int
tx_wait_for_dlsch
[
NR_MAX_SLOTS_PER_FRAME
];
int
num_ind_fifo
=
nb_slot_frame
;
for
(
int
i
=
0
;
i
<
num_ind_fifo
;
i
++
)
{
for
(
int
i
=
0
;
i
<
num_ind_fifo
;
i
++
)
{
initNotifiedFIFO
(
UE
->
tx_resume_ind_fifo
+
i
);
}
int
shiftForNextFrame
=
0
;
...
...
@@ -801,8 +801,9 @@ void *UE_thread(void *arg)
notifiedFIFO_elt_t
*
res
=
tryPullTpool
(
&
nf
,
&
(
get_nrUE_params
()
->
Tpool
));
if
(
res
)
{
syncRunning
=
false
;
syncRunning
=
false
;
if
(
UE
->
is_synchronized
)
{
UE
->
synch_request
.
received_synch_request
=
0
;
decoded_frame_rx
=
mac
->
mib_frame
;
LOG_A
(
PHY
,
"UE synchronized! decoded_frame_rx=%d UE->init_sync_frame=%d trashed_frames=%d
\n
"
,
...
...
@@ -815,7 +816,7 @@ void *UE_thread(void *arg)
intialSyncOffset
=
syncMsg
->
rx_offset
;
}
delNotifiedFIFO_elt
(
res
);
start_rx_stream
=
0
;
start_rx_stream
=
0
;
}
else
{
if
(
IS_SOFTMODEM_IQPLAYER
||
IS_SOFTMODEM_IQRECORDER
)
{
// For IQ recorder-player we force synchronization to happen in 280 ms
...
...
This diff is collapsed.
Click to expand it.
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