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
wangjie
OpenXG-RAN
Commits
7dfac059
Commit
7dfac059
authored
Jan 15, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Review Navid: UL Scheduler: make slice aware
parent
024904db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+3
-0
openair2/LAYER2/MAC/pre_processor.c
openair2/LAYER2/MAC/pre_processor.c
+5
-0
No files found.
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
7dfac059
...
@@ -1233,6 +1233,9 @@ schedule_ulsch_rnti(module_id_t module_idP,
...
@@ -1233,6 +1233,9 @@ schedule_ulsch_rnti(module_id_t module_idP,
for
(
UE_id
=
UE_list
->
head_ul
;
UE_id
>=
0
;
for
(
UE_id
=
UE_list
->
head_ul
;
UE_id
>=
0
;
UE_id
=
UE_list
->
next_ul
[
UE_id
])
{
UE_id
=
UE_list
->
next_ul
[
UE_id
])
{
if
(
flexran_slice_member
(
UE_id
,
slice_id
)
==
0
)
continue
;
// don't schedule if Msg4 is not received yet
// don't schedule if Msg4 is not received yet
if
(
UE_list
->
UE_template
[
UE_PCCID
(
module_idP
,
UE_id
)][
UE_id
].
if
(
UE_list
->
UE_template
[
UE_PCCID
(
module_idP
,
UE_id
)][
UE_id
].
configured
==
FALSE
)
{
configured
==
FALSE
)
{
...
...
openair2/LAYER2/MAC/pre_processor.c
View file @
7dfac059
...
@@ -614,6 +614,9 @@ dlsch_scheduler_pre_processor(module_id_t Mod_id,
...
@@ -614,6 +614,9 @@ dlsch_scheduler_pre_processor(module_id_t Mod_id,
if
(
UE_list
->
active
[
i
]
!=
TRUE
)
if
(
UE_list
->
active
[
i
]
!=
TRUE
)
continue
;
continue
;
if
(
!
flexran_slice_member
(
UE_id
,
slice_id
))
continue
;
UE_id
=
i
;
UE_id
=
i
;
// Initialize scheduling information for all active UEs
// Initialize scheduling information for all active UEs
...
@@ -820,6 +823,8 @@ dlsch_scheduler_pre_processor(module_id_t Mod_id,
...
@@ -820,6 +823,8 @@ dlsch_scheduler_pre_processor(module_id_t Mod_id,
continue
;
continue
;
if
(
UE_list
->
UE_sched_ctrl
[
UE_id
].
ul_out_of_sync
==
1
)
if
(
UE_list
->
UE_sched_ctrl
[
UE_id
].
ul_out_of_sync
==
1
)
continue
;
continue
;
if
(
flexran_slice_member
(
i
,
slice_id
)
==
0
)
continue
;
transmission_mode
=
get_tmode
(
Mod_id
,
CC_id
,
UE_id
);
transmission_mode
=
get_tmode
(
Mod_id
,
CC_id
,
UE_id
);
// mac_xface->get_ue_active_harq_pid(Mod_id,CC_id,rnti,frameP,subframeP,&harq_pid,&round,0);
// mac_xface->get_ue_active_harq_pid(Mod_id,CC_id,rnti,frameP,subframeP,&harq_pid,&round,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