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
wangwenhui
OpenXG-RAN
Commits
85b6f018
Commit
85b6f018
authored
Oct 31, 2018
by
magounak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes at wakeup_L1s() for RU_mask
parent
470c664f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+6
-5
No files found.
targets/RT/USER/lte-ru.c
View file @
85b6f018
...
...
@@ -1185,7 +1185,7 @@ void wakeup_L1s(RU_t *ru) {
//clock_gettime(CLOCK_MONOTONIC,&t);
//LOG_I(PHY,"RU mask is now %x, time is %lu\n",proc->RU_mask[ru->proc.subframe_rx], t.tv_nsec - proc->t[ru->proc.subframe_rx].tv_nsec);
if
(
proc
->
RU_mask
[
ru
->
proc
.
subframe_rx
]
==
(
1
<<
eNB
->
num_RU
)
-
1
)
{
if
(
proc
->
RU_mask
[
ru
->
proc
.
subframe_rx
]
==
(
1
<<
eNB
->
num_RU
)
-
1
)
{
// all RUs have provided their information so continue on and wakeup eNB top
LOG_D
(
PHY
,
"ru_mask is %d
\n
"
,
proc
->
RU_mask
[
ru
->
proc
.
subframe_rx
]);
LOG_D
(
PHY
,
"the number of RU is %d, the current ru is RU %d
\n
"
,
(
1
<<
eNB
->
num_RU
)
-
1
,
ru
->
idx
);
LOG_D
(
PHY
,
"ru->proc.subframe_rx is %d
\n
"
,
ru
->
proc
.
subframe_rx
);
...
...
@@ -1201,7 +1201,7 @@ void wakeup_L1s(RU_t *ru) {
AssertFatal
(
0
==
pthread_mutex_unlock
(
&
proc
->
mutex_RU
),
""
);
// unlock RUs that are waiting for eNB processing to be completed
LOG_D
(
PHY
,
"RU %d wakeup eNB top for
for
subframe %d
\n
"
,
ru
->
idx
,
ru
->
proc
.
subframe_rx
);
LOG_D
(
PHY
,
"RU %d wakeup eNB top for subframe %d
\n
"
,
ru
->
idx
,
ru
->
proc
.
subframe_rx
);
if
(
ru
->
wait_cnt
==
0
)
{
if
(
ru
->
num_eNB
==
1
&&
ru
->
eNB_top
!=
0
&&
get_thread_parallel_conf
()
==
PARALLEL_SINGLE_THREAD
)
ru
->
eNB_top
(
eNB_list
[
0
],
proc
->
frame_rx
,
proc
->
subframe_rx
,
string
,
ru
);
...
...
@@ -1223,12 +1223,13 @@ void wakeup_L1s(RU_t *ru) {
*/
}
/*else
else
{
// not all RUs have provided their information
AssertFatal
(
0
==
pthread_mutex_unlock
(
&
proc
->
mutex_RU
),
""
);
}
// pthread_mutex_unlock(&proc->mutex_RU);
// LOG_D(PHY,"wakeup eNB top for for subframe %d\n", ru->proc.subframe_rx);
// ru->eNB_top(eNB_list[0],ru->proc.frame_rx,ru->proc.subframe_rx,string);
*/
ru
->
proc
.
emulate_rf_busy
=
0
;
}
...
...
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