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
canghaiwuhen
OpenXG-RAN
Commits
730ffc76
Commit
730ffc76
authored
Dec 12, 2017
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stop_L1L2(): no sleep, better oai_exit handling
parent
eb2dfa1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+2
-4
No files found.
targets/RT/USER/lte-softmodem.c
View file @
730ffc76
...
...
@@ -1504,6 +1504,7 @@ int stop_L1L2(int enb_id)
int
CC_id
;
LOG_W
(
ENB_APP
,
"stopping lte-softmodem
\n
"
);
oai_exit
=
1
;
/* stop trx devices */
for
(
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
...
...
@@ -1520,11 +1521,9 @@ int stop_L1L2(int enb_id)
/* these tasks need to pick up new configuration */
terminate_task
(
TASK_RRC_ENB
,
enb_id
);
terminate_task
(
TASK_L2L1
,
enb_id
);
oai_exit
=
1
;
LOG_W
(
ENB_APP
,
"calling kill_eNB_proc() for instance %d
\n
"
,
enb_id
);
kill_eNB_proc
(
enb_id
);
/* give some time for all threads */
sleep
(
1
);
oai_exit
=
0
;
return
0
;
}
...
...
@@ -1546,7 +1545,6 @@ int restart_L1L2(int enb_id)
/* block threads */
sync_var
=
-
1
;
oai_exit
=
0
;
reconfigure_enb_params
(
enb_id
);
/* set frame parameters from configuration */
...
...
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