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
6198a673
Commit
6198a673
authored
Jan 11, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correctly instantiate flexran agent
parent
ab3f9dad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+9
-6
No files found.
targets/RT/USER/lte-softmodem.c
View file @
6198a673
...
...
@@ -1268,7 +1268,9 @@ int main( int argc, char **argv )
pthread_mutex_init
(
&
mutex_node_ctrl
,
NULL
);
pthread_cond_init
(
&
cond_node_ctrl
,
NULL
);
for
(
i
=
0
;
i
<
NB_eNB_INST
;
i
++
)
{
/* create RC.flexran data structure */
RCconfig_flexran
();
for
(
i
=
0
;
i
<
RC
.
nb_L1_inst
;
i
++
)
{
flexran_agent_start
(
i
);
}
...
...
@@ -1279,11 +1281,12 @@ int main( int argc, char **argv )
pthread_mutex_unlock
(
&
mutex_node_ctrl
);
/* reconfigure eNB in case FlexRAN controller applied changes */
for
(
i
=
0
;
i
<
NB_eNB_INST
;
i
++
){
LOG_I
(
ENB_APP
,
"Reconfigure eNB module %d and FlexRAN eNB variables
\n
"
,
i
);
reconfigure_enb_params
(
i
);
flexran_set_enb_vars
(
i
,
RAN_LTE_OAI
);
}
/* TODO needs to be done? */
//for (i=0; i < NB_eNB_INST; i++){
// LOG_I(ENB_APP, "Reconfigure eNB module %d and FlexRAN eNB variables\n", i);
// reconfigure_enb_params(i);
// flexran_set_enb_vars(i, RAN_LTE_OAI);
//}
#endif
if
(
UE_flag
==
1
)
{
...
...
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