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
1c8c839f
Commit
1c8c839f
authored
Dec 19, 2019
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FlexRAN: Reformat code for X2 HO NetControl activation
parent
e33be3cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
openair2/ENB_APP/flexran_agent_common.c
openair2/ENB_APP/flexran_agent_common.c
+7
-5
No files found.
openair2/ENB_APP/flexran_agent_common.c
View file @
1c8c839f
...
@@ -910,13 +910,15 @@ int flexran_agent_handle_enb_config_reply(mid_t mod_id, const void *params, Prot
...
@@ -910,13 +910,15 @@ int flexran_agent_handle_enb_config_reply(mid_t mod_id, const void *params, Prot
&&
enb_config
->
cell_config
[
0
]
->
has_ul_freq
&&
enb_config
->
cell_config
[
0
]
->
has_ul_freq
&&
enb_config
->
cell_config
[
0
]
->
has_dl_bandwidth
)
{
&&
enb_config
->
cell_config
[
0
]
->
has_dl_bandwidth
)
{
initiate_soft_restart
(
mod_id
,
enb_config
->
cell_config
[
0
]);
initiate_soft_restart
(
mod_id
,
enb_config
->
cell_config
[
0
]);
}
}
else
if
(
flexran_agent_get_rrc_xface
(
mod_id
)
&&
enb_config
->
cell_config
[
0
]
->
has_x2_ho_net_control
)
{
if
(
flexran_agent_get_rrc_xface
(
mod_id
)
&&
enb_config
->
cell_config
[
0
]
->
has_x2_ho_net_control
)
{
LOG_I
(
FLEXRAN_AGENT
,
if
(
flexran_set_x2_ho_net_control
(
mod_id
,
enb_config
->
cell_config
[
0
]
->
x2_ho_net_control
)
<
0
)
{
"setting X2 HO NetControl to %d
\n
"
,
enb_config
->
cell_config
[
0
]
->
x2_ho_net_control
);
const
int
rc
=
flexran_set_x2_ho_net_control
(
mod_id
,
enb_config
->
cell_config
[
0
]
->
x2_ho_net_control
);
if
(
rc
<
0
)
LOG_E
(
FLEXRAN_AGENT
,
"Error in configuring X2 handover controlled by network"
);
LOG_E
(
FLEXRAN_AGENT
,
"Error in configuring X2 handover controlled by network"
);
}
}
}
*
msg
=
NULL
;
*
msg
=
NULL
;
return
0
;
return
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