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
spbro
OpenXG-RAN
Commits
7f5dc922
Commit
7f5dc922
authored
Mar 13, 2021
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing with multi-RU
parent
74a44d68
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+1
-1
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+2
-2
No files found.
targets/RT/USER/lte-enb.c
View file @
7f5dc922
...
...
@@ -585,7 +585,7 @@ int wakeup_rxtx(PHY_VARS_eNB *eNB,
L1_rxtx_proc_t
*
L1_proc
=&
proc
->
L1_proc
;
LTE_DL_FRAME_PARMS
*
fp
=
&
eNB
->
frame_parms
;
int
ret
;
LOG_
I
(
PHY
,
"ENTERED wakeup_rxtx, %d.%d
\n
"
,
ru_proc
->
frame_rx
,
ru_proc
->
tti_rx
);
LOG_
D
(
PHY
,
"ENTERED wakeup_rxtx, %d.%d
\n
"
,
ru_proc
->
frame_rx
,
ru_proc
->
tti_rx
);
// wake up TX for subframe n+sl_ahead
// lock the TX mutex and make sure the thread is ready
AssertFatal
((
ret
=
pthread_mutex_lock
(
&
L1_proc
->
mutex
))
==
0
,
"mutex_lock returns %d
\n
"
,
ret
);
...
...
targets/RT/USER/lte-ru.c
View file @
7f5dc922
...
...
@@ -1126,7 +1126,7 @@ void wakeup_L1s(RU_t *ru) {
PHY_VARS_eNB
*
eNB
=
eNB_list
[
0
];
L1_proc_t
*
proc
=
&
eNB
->
proc
;
struct
timespec
t
;
LOG_
I
(
PHY
,
"wakeup_L1s (num %d) for RU %d (%d.%d) ru->eNB_top:%p
\n
"
,
ru
->
num_eNB
,
ru
->
idx
,
ru
->
proc
.
frame_rx
,
ru
->
proc
.
tti_rx
,
ru
->
eNB_top
);
LOG_
D
(
PHY
,
"wakeup_L1s (num %d) for RU %d (%d.%d) ru->eNB_top:%p
\n
"
,
ru
->
num_eNB
,
ru
->
idx
,
ru
->
proc
.
frame_rx
,
ru
->
proc
.
tti_rx
,
ru
->
eNB_top
);
char
string
[
20
];
sprintf
(
string
,
"Incoming RU %d"
,
ru
->
idx
);
...
...
@@ -1151,7 +1151,7 @@ void wakeup_L1s(RU_t *ru) {
for
(
int
i
=
0
;
i
<
eNB
->
num_RU
;
i
++
)
{
if
(
eNB
->
RU_list
[
i
]
->
wait_cnt
==
1
&&
ru
->
proc
.
tti_rx
!=
9
)
eNB
->
RU_list
[
i
]
->
wait_cnt
=
0
;
LOG_
I
(
PHY
,
"RU %d has frame %d and subframe %d, state %s
\n
"
,
LOG_
D
(
PHY
,
"RU %d has frame %d and subframe %d, state %s
\n
"
,
eNB
->
RU_list
[
i
]
->
idx
,
eNB
->
RU_list
[
i
]
->
proc
.
frame_rx
,
eNB
->
RU_list
[
i
]
->
proc
.
tti_rx
,
ru_states
[
eNB
->
RU_list
[
i
]
->
state
]);
if
(
ru
==
eNB
->
RU_list
[
i
]
&&
eNB
->
RU_list
[
i
]
->
wait_cnt
==
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