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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
6bd50d6e
Commit
6bd50d6e
authored
Oct 07, 2024
by
Bartosz Podrygajlo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use DL actor for UE_dl_processing instead of thread pool
parent
3b7c29f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
executables/nr-ue.c
executables/nr-ue.c
+1
-1
executables/nr-uesoftmodem.c
executables/nr-uesoftmodem.c
+3
-0
openair1/PHY/defs_nr_UE.h
openair1/PHY/defs_nr_UE.h
+2
-0
No files found.
executables/nr-ue.c
View file @
6bd50d6e
...
...
@@ -1000,7 +1000,7 @@ void *UE_thread(void *arg)
int
ret
=
UE_dl_preprocessing
(
UE
,
&
curMsgRx
->
proc
,
tx_wait_for_dlsch
,
&
curMsgRx
->
phy_data
,
&
stats_printed
);
if
(
ret
!=
INT_MAX
)
shiftForNextFrame
=
ret
;
push
Tpool
(
&
(
get_nrUE_params
()
->
Tpool
)
,
newRx
);
push
NotifiedFIFO
(
&
UE
->
dl_actors
[
curMsg
.
proc
.
nr_slot_rx
%
NUM_DL_ACTORS
].
fifo
,
newRx
);
// Start TX slot processing here. It runs in parallel with RX slot processing
// in current code, DURATION_RX_TO_TX constant is the limit to get UL data to encode from a RX slot
...
...
executables/nr-uesoftmodem.c
View file @
6bd50d6e
...
...
@@ -497,6 +497,9 @@ int main(int argc, char **argv)
UE
[
CC_id
]
->
sl_mode
=
get_softmodem_params
()
->
sl_mode
;
init_actor
(
&
UE
[
CC_id
]
->
sync_actor
,
"SYNC_"
,
-
1
);
for
(
int
i
=
0
;
i
<
NUM_DL_ACTORS
;
i
++
)
{
init_actor
(
&
UE
[
CC_id
]
->
dl_actors
[
i
],
"DL_"
,
-
1
);
}
init_nr_ue_vars
(
UE
[
CC_id
],
inst
);
if
(
UE
[
CC_id
]
->
sl_mode
)
{
...
...
openair1/PHY/defs_nr_UE.h
View file @
6bd50d6e
...
...
@@ -83,6 +83,7 @@
#define bzero(s,n) (memset((s),0,(n)))
/// suppress compiler warning for unused arguments
#define UNUSED(x) (void)x;
#define NUM_DL_ACTORS 2
#include "impl_defs_top.h"
#include "impl_defs_nr.h"
...
...
@@ -531,6 +532,7 @@ typedef struct PHY_VARS_NR_UE_s {
sl_nr_sidelink_mode_t
sl_mode
;
sl_nr_ue_phy_params_t
SL_UE_PHY_PARAMS
;
Actor_t
sync_actor
;
Actor_t
dl_actors
[
NUM_DL_ACTORS
];
}
PHY_VARS_NR_UE
;
typedef
struct
{
...
...
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