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
wangjie
OpenXG-RAN
Commits
12b353fa
Commit
12b353fa
authored
Apr 08, 2021
by
Sakthivel Velumani
Committed by
Raymond Knopp
Apr 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
thread keys for identifying functions
parent
9502bbd0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
executables/nr-gnb.c
executables/nr-gnb.c
+2
-2
executables/nr-ru.c
executables/nr-ru.c
+1
-1
openair1/PHY/defs_common.h
openair1/PHY/defs_common.h
+5
-0
No files found.
executables/nr-gnb.c
View file @
12b353fa
...
@@ -126,7 +126,7 @@ void tx_func(void *param) {
...
@@ -126,7 +126,7 @@ void tx_func(void *param) {
syncMsg
->
slot_tx
=
slot_tx
;
syncMsg
->
slot_tx
=
slot_tx
;
syncMsg
->
timestamp_tx
=
info
->
timestamp_tx
;
syncMsg
->
timestamp_tx
=
info
->
timestamp_tx
;
syncMsg
->
ru
=
gNB
->
RU_list
[
0
];
syncMsg
->
ru
=
gNB
->
RU_list
[
0
];
res
->
key
=
slot_tx
;
res
->
key
=
RU_TX_THREAD_START_ID
+
slot_tx
;
pushTpool
(
gNB
->
threadPool
,
res
);
pushTpool
(
gNB
->
threadPool
,
res
);
}
}
...
@@ -253,7 +253,7 @@ void rx_func(void *param) {
...
@@ -253,7 +253,7 @@ void rx_func(void *param) {
syncMsg
->
frame_tx
=
frame_tx
;
syncMsg
->
frame_tx
=
frame_tx
;
syncMsg
->
slot_tx
=
slot_tx
;
syncMsg
->
slot_tx
=
slot_tx
;
syncMsg
->
timestamp_tx
=
info
->
timestamp_tx
;
syncMsg
->
timestamp_tx
=
info
->
timestamp_tx
;
res
->
key
=
slot_tx
;
res
->
key
=
L1_TX_THREAD_START_ID
+
slot_tx
;
pushTpool
(
gNB
->
threadPool
,
res
);
pushTpool
(
gNB
->
threadPool
,
res
);
}
}
...
...
executables/nr-ru.c
View file @
12b353fa
...
@@ -1390,7 +1390,7 @@ void *ru_thread( void *param ) {
...
@@ -1390,7 +1390,7 @@ void *ru_thread( void *param ) {
syncMsg
->
frame_tx
=
proc
->
frame_tx
;
syncMsg
->
frame_tx
=
proc
->
frame_tx
;
syncMsg
->
slot_tx
=
proc
->
tti_tx
;
syncMsg
->
slot_tx
=
proc
->
tti_tx
;
syncMsg
->
timestamp_tx
=
proc
->
timestamp_tx
;
syncMsg
->
timestamp_tx
=
proc
->
timestamp_tx
;
res
->
key
=
proc
->
tti_rx
;
res
->
key
=
L1_RX_THREAD_START_ID
+
proc
->
tti_rx
;
pushTpool
(
gNB
->
threadPool
,
res
);
pushTpool
(
gNB
->
threadPool
,
res
);
}
}
...
...
openair1/PHY/defs_common.h
View file @
12b353fa
...
@@ -77,6 +77,11 @@
...
@@ -77,6 +77,11 @@
#define RX_NB_TH 2
#define RX_NB_TH 2
#define RX_NB_TH_DL 14
#define RX_NB_TH_DL 14
#define L1_RX_THREAD_START_ID 1000
#define L1_TX_THREAD_START_ID 2000
#define RU_TX_THREAD_START_ID 3000
#define LTE_SLOTS_PER_SUBFRAME 2
#define LTE_SLOTS_PER_SUBFRAME 2
#define LTE_NUMBER_OF_SUBFRAMES_PER_FRAME 10
#define LTE_NUMBER_OF_SUBFRAMES_PER_FRAME 10
...
...
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