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
lizhongxiao
OpenXG-RAN
Commits
f9571606
Commit
f9571606
authored
Apr 19, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove warnings (comment concerned lines)
parent
81d03721
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
+15
-7
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
+2
-2
openair2/LAYER2/MAC/pre_processor.c
openair2/LAYER2/MAC/pre_processor.c
+13
-5
No files found.
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
View file @
f9571606
...
...
@@ -1714,7 +1714,7 @@ void dlsch_scheduler_qos_multiplexing(module_id_t Mod_id, int frameP, sub_frame_
int
UE_id
,
CC_id
,
i
;
UE_list_t
*
UE_list
=
&
RC
.
mac
[
Mod_id
]
->
UE_list
;
slice_info_t
*
sli
=
&
RC
.
mac
[
Mod_id
]
->
slice_info
;
UE_sched_ctrl
*
ue_sched_ctl
;
//
UE_sched_ctrl *ue_sched_ctl;
for
(
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
++
CC_id
)
{
for
(
i
=
0
;
i
<
sli
->
n_dl
;
++
i
)
{
...
...
@@ -1724,7 +1724,7 @@ void dlsch_scheduler_qos_multiplexing(module_id_t Mod_id, int frameP, sub_frame_
sort_UEs
(
Mod_id
,
(
uint8_t
)
i
,
frameP
,
subframeP
);
for
(
UE_id
=
UE_list
->
head
;
UE_id
>=
0
;
UE_id
=
UE_list
->
next
[
UE_id
])
{
ue_sched_ctl
=
&
UE_list
->
UE_sched_ctrl
[
UE_id
];
//
ue_sched_ctl = &UE_list->UE_sched_ctrl[UE_id];
// TODO: Do something here
// ue_sched_ctl->pre_nb_available_rbs[CC_id];
...
...
openair2/LAYER2/MAC/pre_processor.c
View file @
f9571606
...
...
@@ -652,7 +652,7 @@ void dlsch_scheduler_pre_processor_accounting(module_id_t Mod_id,
int
total_ue_count
[
MAX_NUM_CCs
];
int
ue_count_newtx
[
MAX_NUM_CCs
];
int
ue_count_retx
[
MAX_NUM_CCs
];
uint8_t
ue_retx_flag
[
MAX_NUM_CCs
][
NUMBER_OF_UE_MAX
];
//
uint8_t ue_retx_flag[MAX_NUM_CCs][NUMBER_OF_UE_MAX];
UE_list_t
*
UE_list
=
&
RC
.
mac
[
Mod_id
]
->
UE_list
;
UE_sched_ctrl
*
ue_sched_ctl
;
...
...
@@ -665,9 +665,9 @@ void dlsch_scheduler_pre_processor_accounting(module_id_t Mod_id,
ue_count_retx
[
CC_id
]
=
0
;
rbs_retx
[
CC_id
]
=
0
;
average_rbs_per_user
[
CC_id
]
=
0
;
for
(
UE_id
=
0
;
UE_id
<
NUMBER_OF_UE_MAX
;
++
UE_id
)
{
ue_retx_flag
[
CC_id
][
UE_id
]
=
0
;
}
//
for (UE_id = 0; UE_id < NUMBER_OF_UE_MAX; ++UE_id) {
//
ue_retx_flag[CC_id][UE_id] = 0;
//
}
}
// Find total UE count, and account the RBs required for retransmissions
...
...
@@ -696,7 +696,7 @@ void dlsch_scheduler_pre_processor_accounting(module_id_t Mod_id,
nb_rbs_required
[
CC_id
][
UE_id
]
=
UE_list
->
UE_template
[
CC_id
][
UE_id
].
nb_rb
[
harq_pid
];
rbs_retx
[
CC_id
]
+=
nb_rbs_required
[
CC_id
][
UE_id
];
ue_count_retx
[
CC_id
]
++
;
ue_retx_flag
[
CC_id
][
UE_id
]
=
1
;
//
ue_retx_flag[CC_id][UE_id] = 1;
}
else
{
ue_count_newtx
[
CC_id
]
++
;
}
...
...
@@ -813,7 +813,9 @@ void dlsch_scheduler_pre_processor_positioning(module_id_t Mod_id,
int
UE_id
,
CC_id
;
int
i
;
#ifdef TM5
uint8_t
transmission_mode
;
#endif
uint8_t
slice_allocation_mask
[
MAX_NUM_CCs
][
N_RBG_MAX
];
UE_list_t
*
UE_list
=
&
RC
.
mac
[
Mod_id
]
->
UE_list
;
...
...
@@ -829,7 +831,9 @@ void dlsch_scheduler_pre_processor_positioning(module_id_t Mod_id,
for
(
i
=
0
;
i
<
UE_num_active_CC
(
UE_list
,
UE_id
);
i
++
)
{
CC_id
=
UE_list
->
ordered_CCids
[
i
][
UE_id
];
nb_rbs_remaining
[
CC_id
][
UE_id
]
=
nb_rbs_accounted
[
CC_id
][
UE_id
];
#ifdef TM5
transmission_mode
=
get_tmode
(
Mod_id
,
CC_id
,
UE_id
);
#endif
if
(
nb_rbs_required
[
CC_id
][
UE_id
]
>
0
)
LOG_D
(
MAC
,
...
...
@@ -1033,7 +1037,9 @@ void dlsch_scheduler_pre_processor_intraslice_sharing(module_id_t Mod_id,
int
UE_id
,
CC_id
;
int
i
;
#ifdef TM5
uint8_t
transmission_mode
;
#endif
UE_list_t
*
UE_list
=
&
RC
.
mac
[
Mod_id
]
->
UE_list
;
slice_info_t
*
sli
=
&
RC
.
mac
[
Mod_id
]
->
slice_info
;
uint8_t
(
*
slice_allocation_mask
)[
N_RBG_MAX
]
=
sli
->
pre_processor_results
[
slice_idx
].
slice_allocation_mask
;
...
...
@@ -1053,7 +1059,9 @@ void dlsch_scheduler_pre_processor_intraslice_sharing(module_id_t Mod_id,
nb_rbs_required
[
CC_id
][
UE_id
]
-
nb_rbs_accounted
[
CC_id
][
UE_id
]
+
nb_rbs_remaining
[
CC_id
][
UE_id
];
if
(
nb_rbs_remaining
[
CC_id
][
UE_id
]
<
0
)
abort
();
#ifdef TM5
transmission_mode
=
get_tmode
(
Mod_id
,
CC_id
,
UE_id
);
#endif
if
(
nb_rbs_required
[
CC_id
][
UE_id
]
>
0
)
LOG_D
(
MAC
,
...
...
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