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
alex037yang
OpenXG-RAN
Commits
c1b024d3
Commit
c1b024d3
authored
Aug 16, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stop_L1L2(): Do not turn of RF, is done in ru_thread
parent
d3afce4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+0
-19
No files found.
targets/RT/USER/lte-softmodem.c
View file @
c1b024d3
...
...
@@ -771,25 +771,6 @@ int stop_L1L2(module_id_t enb_id)
return
-
1
;
}
/* stop trx devices, multiple carrier currently not supported by RU */
if
(
RC
.
ru
[
enb_id
])
{
if
(
RC
.
ru
[
enb_id
]
->
rfdevice
.
trx_stop_func
)
{
RC
.
ru
[
enb_id
]
->
rfdevice
.
trx_stop_func
(
&
RC
.
ru
[
enb_id
]
->
rfdevice
);
LOG_I
(
ENB_APP
,
"turned off RU rfdevice
\n
"
);
}
else
{
LOG_W
(
ENB_APP
,
"can not turn off rfdevice due to missing trx_stop_func callback, proceding anyway!
\n
"
);
}
if
(
RC
.
ru
[
enb_id
]
->
ifdevice
.
trx_stop_func
)
{
RC
.
ru
[
enb_id
]
->
ifdevice
.
trx_stop_func
(
&
RC
.
ru
[
enb_id
]
->
ifdevice
);
LOG_I
(
ENB_APP
,
"turned off RU ifdevice
\n
"
);
}
else
{
LOG_W
(
ENB_APP
,
"can not turn off ifdevice due to missing trx_stop_func callback, proceding anyway!
\n
"
);
}
}
else
{
LOG_W
(
ENB_APP
,
"no RU found for index %d
\n
"
,
enb_id
);
return
-
1
;
}
/* these tasks need to pick up new configuration */
terminate_task
(
enb_id
,
TASK_ENB_APP
,
TASK_RRC_ENB
);
terminate_task
(
enb_id
,
TASK_ENB_APP
,
TASK_L2L1
);
...
...
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