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
lizhongxiao
OpenXG-RAN
Commits
37df6df9
Commit
37df6df9
authored
Oct 26, 2018
by
magounak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fixes after merging with L1_renaming
parent
bc2ee097
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+2
-4
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+2
-3
No files found.
targets/RT/USER/lte-enb.c
View file @
37df6df9
...
...
@@ -909,8 +909,8 @@ void init_eNB_proc(int inst) {
proc
->
first_rx
=
1
;
proc
->
first_tx
=
1
;
proc
->
RU_mask
=
0
;
//
for (int i=0;i<10;i++) proc->RU_mask[i]=0;
//
proc->RU_mask =0;
for
(
int
i
=
0
;
i
<
10
;
i
++
)
proc
->
RU_mask
[
i
]
=
0
;
proc
->
RU_mask_prach
=
0
;
pthread_mutex_init
(
&
eNB
->
UL_INFO_mutex
,
NULL
);
...
...
@@ -963,8 +963,6 @@ void init_eNB_proc(int inst) {
LOG_I
(
PHY
,
"eNB->single_thread_flag:%d
\n
"
,
eNB
->
single_thread_flag
);
LOG_I
(
PHY
,
"proc_rxtx[0]->instance_cnt_rxtx %d,proc_rxtx[1]->instance_cnt_rxtx %d
\n
"
,
proc_rxtx
[
0
].
instance_cnt_rxtx
,
proc_rxtx
[
1
].
instance_cnt_rxtx
);
if
((
get_thread_parallel_conf
()
==
PARALLEL_RU_L1_SPLIT
||
get_thread_parallel_conf
()
==
PARALLEL_RU_L1_TRX_SPLIT
)
&&
nfapi_mode
!=
2
)
{
pthread_create
(
&
L1_proc
->
pthread
,
attr0
,
L1_thread
,
proc
);
//!!!!!!!!!!!!!!!!!!!!! for us it is eNB !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
...
...
targets/RT/USER/lte-ru.c
View file @
37df6df9
...
...
@@ -1143,7 +1143,6 @@ void wakeup_L1s(RU_t *ru) {
eNB_proc_t
*
proc
=
&
eNB
->
proc
;
RU_proc_t
*
ruproc
=
&
ru
->
proc
;
struct
timespec
t
;
LOG_I
(
PHY
,
"ENTERED wakeup_eNBs
\n
"
);
LOG_D
(
PHY
,
"wakeup_eNBs (num %d) for RU %d (state %s)ru->eNB_top:%p
\n
"
,
ru
->
num_eNB
,
ru
->
idx
,
ru_states
[
ru
->
state
],
ru
->
eNB_top
);
LOG_D
(
PHY
,
"wakeup_L1s (num %d) for RU %d ru->eNB_top:%p
\n
"
,
ru
->
num_eNB
,
ru
->
idx
,
ru
->
eNB_top
);
...
...
@@ -1236,7 +1235,7 @@ LOG_I(PHY,"ENTERED wakeup_eNBs\n");
}
}
static
inline
int
wakeup_prach_ru
(
RU_t
*
ru
)
{
struct
timespec
wait
;
...
...
@@ -1752,7 +1751,7 @@ static void* ru_thread( void* param ) {
resynch_done
=
1
;
}
wakeup_
eNB
s
(
ru
);
wakeup_
L1
s
(
ru
);
}
else
{
...
...
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