Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
OpenXG
OpenXG UE
Commits
0fce01bf
Commit
0fce01bf
authored
May 20, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FlexRAN: set deleted slice configuration to zero
parent
8dc7b1f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
+2
-0
No files found.
openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
View file @
0fce01bf
...
...
@@ -1421,6 +1421,7 @@ void flexran_check_and_remove_slices(mid_t mod_id)
/* don't update slice_config, it will be read in below */
/* we need to memcpy the higher slice to the position we just deleted */
memcpy
(
dl
[
i
],
dl
[
n_dl
-
1
],
sizeof
(
*
dl
[
n_dl
-
1
]));
memset
(
dl
[
n_dl
-
1
],
0
,
sizeof
(
*
dl
[
n_dl
-
1
]));
--
sc_update
[
mod_id
]
->
n_dl
;
}
Protocol__FlexUlSlice
**
ul
=
sc_update
[
mod_id
]
->
ul
;
...
...
@@ -1436,6 +1437,7 @@ void flexran_check_and_remove_slices(mid_t mod_id)
mod_id
,
i
,
ul
[
i
]
->
id
);
/* see DL remarks */
memcpy
(
ul
[
i
],
ul
[
n_ul
-
1
],
sizeof
(
*
ul
[
n_ul
-
1
]));
memset
(
ul
[
n_ul
-
1
],
0
,
sizeof
(
*
ul
[
n_ul
-
1
]));
--
sc_update
[
mod_id
]
->
n_ul
;
}
}
...
...
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