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
e6d11113
Commit
e6d11113
authored
Aug 04, 2017
by
shahab SHARIATBAGHERI
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge to 68
parent
6197ec38
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue.c
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue.c
+4
-4
openair2/LAYER2/MAC/flexran_agent_scheduler_ulsch_ue.c
openair2/LAYER2/MAC/flexran_agent_scheduler_ulsch_ue.c
+6
-6
No files found.
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue.c
View file @
e6d11113
...
@@ -88,16 +88,16 @@ typedef enum {
...
@@ -88,16 +88,16 @@ typedef enum {
// number of active slices for past and current time
// number of active slices for past and current time
int
n_active_slices
=
2
;
int
n_active_slices
=
1
;
int
n_active_slices_current
=
2
;
int
n_active_slices_current
=
1
;
// ue to slice mapping
// ue to slice mapping
int
slicing_strategy
=
UEID_TO_SLICEID
;
int
slicing_strategy
=
UEID_TO_SLICEID
;
int
slicing_strategy_current
=
UEID_TO_SLICEID
;
int
slicing_strategy_current
=
UEID_TO_SLICEID
;
// RB share for each slice for past and current time
// RB share for each slice for past and current time
float
slice_percentage
[
MAX_NUM_SLICES
]
=
{
0
.
5
,
0
.
5
,
0
.
0
,
0
.
0
};
float
slice_percentage
[
MAX_NUM_SLICES
]
=
{
1
.
0
,
1
.
0
,
0
.
0
,
0
.
0
};
float
slice_percentage_current
[
MAX_NUM_SLICES
]
=
{
0
.
5
,
0
.
5
,
0
.
0
,
0
.
0
};
float
slice_percentage_current
[
MAX_NUM_SLICES
]
=
{
1
.
0
,
1
.
0
,
0
.
0
,
0
.
0
};
float
total_slice_percentage
=
0
;
float
total_slice_percentage
=
0
;
// MAX MCS for each slice for past and current time
// MAX MCS for each slice for past and current time
...
...
openair2/LAYER2/MAC/flexran_agent_scheduler_ulsch_ue.c
View file @
e6d11113
...
@@ -58,12 +58,12 @@
...
@@ -58,12 +58,12 @@
#include "T.h"
#include "T.h"
/* number of active slices for past and current time*/
/* number of active slices for past and current time*/
int
n_active_slices_uplink
=
2
;
int
n_active_slices_uplink
=
1
;
int
n_active_slices_uplink_current
=
2
;
int
n_active_slices_uplink_current
=
1
;
/* RB share for each slice for past and current time*/
/* RB share for each slice for past and current time*/
float
slice_percentage_uplink
[
MAX_NUM_SLICES
]
=
{
0
.
5
,
0
.
5
,
0
.
0
,
0
.
0
};
float
slice_percentage_uplink
[
MAX_NUM_SLICES
]
=
{
1
.
0
,
1
.
0
,
0
.
0
,
0
.
0
};
float
slice_percentage_current_uplink
[
MAX_NUM_SLICES
]
=
{
0
.
5
,
0
.
5
,
0
.
0
,
0
.
0
};
float
slice_percentage_current_uplink
[
MAX_NUM_SLICES
]
=
{
1
.
0
,
1
.
0
,
0
.
0
,
0
.
0
};
float
total_slice_percentage_uplink
=
0
;
float
total_slice_percentage_uplink
=
0
;
// MAX MCS for each slice for past and current time
// MAX MCS for each slice for past and current time
...
@@ -477,11 +477,11 @@ flexran_schedule_ue_ul_spec_default(mid_t mod_id,
...
@@ -477,11 +477,11 @@ flexran_schedule_ue_ul_spec_default(mid_t mod_id,
//LOG_N(MAC,"[eNB %d]frame %d subframe %d slice %d: calling the scheduler\n", mod_id, frame, subframe,i);
//LOG_N(MAC,"[eNB %d]frame %d subframe %d slice %d: calling the scheduler\n", mod_id, frame, subframe,i);
slice_sched_ul
[
i
](
mod_id
,
frame
,
cooperation_flag
,
subframe
,
sched_subframe
,
ul_info
);
}
}
slice_sched_ul
[
0
](
mod_id
,
frame
,
cooperation_flag
,
subframe
,
sched_subframe
,
ul_info
);
}
}
...
...
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