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
f3a5720d
Commit
f3a5720d
authored
Oct 30, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FlexRAN: Apply slicing configuration if MAC CM present
parent
f0c5f571
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
openair2/ENB_APP/flexran_agent_common.c
openair2/ENB_APP/flexran_agent_common.c
+4
-4
No files found.
openair2/ENB_APP/flexran_agent_common.c
View file @
f3a5720d
...
...
@@ -763,10 +763,10 @@ int flexran_agent_handle_enb_config_reply(mid_t mod_id, const void *params, Prot
if
(
enb_config
->
n_cell_config
>
1
)
LOG_W
(
FLEXRAN_AGENT
,
"ignoring slice configs for other cell except cell 0
\n
"
);
if
(
enb_config
->
cell_config
[
0
]
->
slice_config
)
{
if
(
flexran_agent_get_mac_xface
(
mod_id
)
&&
enb_config
->
cell_config
[
0
]
->
slice_config
)
{
prepare_update_slice_config
(
mod_id
,
enb_config
->
cell_config
[
0
]
->
slice_config
);
}
else
{
initiate_soft_restart
(
mod_id
,
enb_config
->
cell_config
[
0
]);
//
} else {
//
initiate_soft_restart(mod_id, enb_config->cell_config[0]);
}
*
msg
=
NULL
;
...
...
@@ -779,7 +779,7 @@ int flexran_agent_handle_ue_config_reply(mid_t mod_id, const void *params, Proto
Protocol__FlexranMessage
*
input
=
(
Protocol__FlexranMessage
*
)
params
;
Protocol__FlexUeConfigReply
*
ue_config_reply
=
input
->
ue_config_reply_msg
;
for
(
i
=
0
;
i
<
ue_config_reply
->
n_ue_config
;
i
++
)
for
(
i
=
0
;
flexran_agent_get_mac_xface
(
mod_id
)
&&
i
<
ue_config_reply
->
n_ue_config
;
i
++
)
prepare_ue_slice_assoc_update
(
mod_id
,
ue_config_reply
->
ue_config
[
i
]);
*
msg
=
NULL
;
...
...
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