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
Michael Black
OpenXG-RAN
Commits
863c469d
Commit
863c469d
authored
Jan 31, 2018
by
Eurecom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix for adjustable thread structure
parent
5f028730
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+2
-3
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+3
-2
No files found.
targets/RT/USER/lte-enb.c
View file @
863c469d
...
...
@@ -241,7 +241,6 @@ static void* tx_thread(void* param) {
phy_procedures_eNB_TX
(
eNB
,
proc
,
no_relay
,
NULL
,
1
);
if
(
release_thread
(
&
proc
->
mutex_rxtx
,
&
proc
->
instance_cnt_rxtx
,
thread_name
)
<
0
)
break
;
pthread_mutex_lock
(
&
eNB_proc
->
ru_proc
->
mutex_eNBs
);
++
eNB_proc
->
ru_proc
->
instance_cnt_eNBs
;
eNB_proc
->
ru_proc
->
timestamp_tx
=
proc
->
timestamp_tx
;
...
...
@@ -422,7 +421,8 @@ int wakeup_rxtx(PHY_VARS_eNB *eNB,RU_t *ru) {
RU_proc_t
*
ru_proc
=&
ru
->
proc
;
eNB_rxtx_proc_t
*
proc_rxtx
=&
proc
->
proc_rxtx
[
0
];
//*proc_rxtx=&proc->proc_rxtx[proc->frame_rx&1];
proc
->
ru_proc
=
&
ru
->
proc
;
//proc->ru_proc = &ru->proc;
LTE_DL_FRAME_PARMS
*
fp
=
&
eNB
->
frame_parms
;
...
...
@@ -839,7 +839,6 @@ void init_eNB_proc(int inst) {
//////////////////////////////////////need to modified////////////////*****
//printf("//////////////////////////////////////////////////////////////////**************************************************************** codingw = %d\n",codingw);
if
(
get_nprocs
()
>
2
&&
codingw
)
{
init_te_thread
(
eNB
);
...
...
targets/RT/USER/lte-ru.c
View file @
863c469d
...
...
@@ -1168,6 +1168,7 @@ void wakeup_eNBs(RU_t *ru) {
for
(
i
=
0
;
i
<
ru
->
num_eNB
;
i
++
)
{
eNB_list
[
i
]
->
proc
.
ru_proc
=
&
ru
->
proc
;
if
(
ru
->
wakeup_rxtx
(
eNB_list
[
i
],
ru
)
<
0
)
LOG_E
(
PHY
,
"could not wakeup eNB rxtx process for subframe %d
\n
"
,
ru
->
proc
.
subframe_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