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
Michael Black
OpenXG UE
Commits
0394402f
Commit
0394402f
authored
Jan 15, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete unnecessary code
parent
694436f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
19 deletions
+0
-19
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+0
-17
openair2/LAYER2/MAC/proto.h
openair2/LAYER2/MAC/proto.h
+0
-2
No files found.
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
0394402f
...
@@ -1980,11 +1980,6 @@ uint8_t find_active_UEs(module_id_t module_idP,int CC_id){
...
@@ -1980,11 +1980,6 @@ uint8_t find_active_UEs(module_id_t module_idP,int CC_id){
}
}
*/
*/
int
UE_BSR
(
uint8_t
mod_id
,
uint8_t
ue_id
,
uint8_t
lcid
)
{
if
(
eNB_mac_inst
==
NULL
)
return
0
;
return
eNB_mac_inst
[
mod_id
].
UE_list
.
UE_template
[
UE_PCCID
(
mod_id
,
ue_id
)][
ue_id
].
bsr_info
[
lcid
];
}
// get aggregation (L) form phy for a give UE
// get aggregation (L) form phy for a give UE
unsigned
char
unsigned
char
...
@@ -2108,12 +2103,6 @@ int add_new_ue(module_id_t mod_idP, int cc_idP, rnti_t rntiP, int harq_pidP
...
@@ -2108,12 +2103,6 @@ int add_new_ue(module_id_t mod_idP, int cc_idP, rnti_t rntiP, int harq_pidP
return
(
-
1
);
return
(
-
1
);
}
}
int
CC_id_rnti_downlink
(
uint8_t
mod_id
,
int
CC_index
,
uint16_t
ue_rnti
)
{
return
eNB_mac_inst
[
mod_id
].
UE_list
.
ordered_CCids
[
CC_index
][
ue_rnti
];
}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
int
rrc_mac_remove_ue
(
module_id_t
mod_idP
,
rnti_t
rntiP
)
int
rrc_mac_remove_ue
(
module_id_t
mod_idP
,
rnti_t
rntiP
)
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
...
@@ -4480,14 +4469,8 @@ uint16_t flexran_nb_rbs_allowed_slice(float rb_percentage, int total_rbs)
...
@@ -4480,14 +4469,8 @@ uint16_t flexran_nb_rbs_allowed_slice(float rb_percentage, int total_rbs)
return
(
uint16_t
)
floor
(
rb_percentage
*
total_rbs
);
return
(
uint16_t
)
floor
(
rb_percentage
*
total_rbs
);
}
}
int
flexran_slice_maxmcs
(
int
slice_id
)
{
return
slice_maxmcs
[
slice_id
];
}
int
flexran_slice_member
(
int
UE_id
,
int
slice_id
)
int
flexran_slice_member
(
int
UE_id
,
int
slice_id
)
{
{
if
((
slice_id
<
0
)
||
(
slice_id
>
n_active_slices
))
if
((
slice_id
<
0
)
||
(
slice_id
>
n_active_slices
))
LOG_W
(
MAC
,
"out of range slice id %d
\n
"
,
slice_id
);
LOG_W
(
MAC
,
"out of range slice id %d
\n
"
,
slice_id
);
...
...
openair2/LAYER2/MAC/proto.h
View file @
0394402f
...
@@ -1168,7 +1168,5 @@ uint16_t flexran_nb_rbs_allowed_slice(float rb_percentage, int total_rbs);
...
@@ -1168,7 +1168,5 @@ uint16_t flexran_nb_rbs_allowed_slice(float rb_percentage, int total_rbs);
int
flexran_slice_member
(
int
UE_id
,
int
slice_id
);
int
flexran_slice_member
(
int
UE_id
,
int
slice_id
);
int
flexran_slice_maxmcs
(
int
slice_id
;)
#endif
#endif
/** @}*/
/** @}*/
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