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
e1814f53
Commit
e1814f53
authored
Jan 22, 2025
by
Bartosz Podrygajlo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure execution of processSlotTX in order in NR UE
Make sure that processSlotTX is executed in slot order.
parent
64a472ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
executables/nr-ue.c
executables/nr-ue.c
+13
-1
openair1/PHY/defs_nr_UE.h
openair1/PHY/defs_nr_UE.h
+1
-0
No files found.
executables/nr-ue.c
View file @
e1814f53
...
...
@@ -569,6 +569,7 @@ void processSlotTX(void *arg)
}
}
RU_write
(
rxtxD
,
sl_tx_action
);
dynamic_barrier_join
(
rxtxD
->
next_barrier
);
TracyCZoneEnd
(
ctx
);
}
...
...
@@ -1111,8 +1112,19 @@ void *UE_thread(void *arg)
int
slot
=
curMsgTx
->
proc
.
nr_slot_tx
;
int
slot_and_frame
=
slot
+
curMsgTx
->
proc
.
frame_tx
*
UE
->
frame_parms
.
slots_per_frame
;
int
wait_for_prev_slot
=
stream_status
==
STREAM_STATUS_SYNCED
?
1
:
0
;
int
next_duration_rx_to_tx
=
update_ntn_system_information
?
NR_UE_CAPABILITY_SLOT_RX_TO_TX
+
UE
->
ntn_config_message
->
ntn_config_params
.
cell_specific_k_offset
:
duration_rx_to_tx
;
int
next_nr_slot_tx
=
(
absolute_slot
+
next_duration_rx_to_tx
)
%
nb_slot_frame
;
int
next_frame_tx
=
((
absolute_slot
+
next_duration_rx_to_tx
)
/
nb_slot_frame
)
%
MAX_FRAME_NUMBER
;
int
next_tx_slot_and_frame
=
next_nr_slot_tx
+
next_frame_tx
*
UE
->
frame_parms
.
slots_per_frame
+
1
;
dynamic_barrier_t
*
next_barrier
=
&
UE
->
process_slot_tx_barriers
[
next_tx_slot_and_frame
%
NUM_PROCESS_SLOT_TX_BARRIERS
];
curMsgTx
->
next_barrier
=
next_barrier
;
dynamic_barrier_update
(
&
UE
->
process_slot_tx_barriers
[
slot_and_frame
%
NUM_PROCESS_SLOT_TX_BARRIERS
],
tx_wait_for_dlsch
[
slot
],
tx_wait_for_dlsch
[
slot
]
+
wait_for_prev_slot
,
start_process_slot_tx
,
newTx
);
stream_status
=
STREAM_STATUS_SYNCED
;
...
...
openair1/PHY/defs_nr_UE.h
View file @
e1814f53
...
...
@@ -627,6 +627,7 @@ typedef struct nr_rxtx_thread_data_s {
PHY_VARS_NR_UE
*
UE
;
int
writeBlockSize
;
nr_phy_data_t
phy_data
;
dynamic_barrier_t
*
next_barrier
;
}
nr_rxtx_thread_data_t
;
typedef
struct
LDPCDecode_ue_s
{
...
...
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