Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
59fc7832
Commit
59fc7832
authored
Apr 18, 2018
by
Robert Schmidt
Browse files
bugfixes: set max UL MCS to 20, improve sched loading message
parent
1d23a64c
Changes
2
Hide whitespace changes
Inline
Side-by-side
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
View file @
59fc7832
...
...
@@ -465,7 +465,8 @@ schedule_dlsch(module_id_t module_idP, frame_t frameP, sub_frame_t subframeP, in
sli
->
dl
[
i
].
sched_cb
=
dlsym
(
NULL
,
sli
->
dl
[
i
].
sched_name
);
sli
->
dl
[
i
].
update_sched
=
0
;
sli
->
dl
[
i
].
update_sched_current
=
0
;
LOG_I
(
MAC
,
"update dl scheduler slice index %d ID %d
\n
"
,
i
,
sli
->
dl
[
i
].
id
);
LOG_I
(
MAC
,
"update dl scheduler (%s) slice index %d ID %d
\n
"
,
sli
->
dl
[
i
].
sched_name
,
i
,
sli
->
dl
[
i
].
id
);
}
if
(
sli
->
tot_pct_dl
<=
1
.
0
)
{
// the new total RB share is within the range
...
...
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
59fc7832
...
...
@@ -1068,7 +1068,8 @@ schedule_ulsch(module_id_t module_idP, frame_t frameP,
//sli->tot_pct_ul_current += sli->ul[i].pct;
//if (sli->tot_pct_ul_current > 1)
//sli->tot_pct_ul_current = 1;
LOG_I
(
MAC
,
"update ul scheduler slice %d
\n
"
,
i
);
LOG_I
(
MAC
,
"update ul scheduler (%s) slice index %d ID %d
\n
"
,
sli
->
ul
[
i
].
sched_name
,
i
,
sli
->
ul
[
i
].
id
);
}
// the new total RB share is within the range
if
(
sli
->
tot_pct_ul
<=
1
.
0
){
...
...
@@ -1097,7 +1098,7 @@ schedule_ulsch(module_id_t module_idP, frame_t frameP,
// check if the slice max MCS, and log the console
if
(
sli
->
ul
[
i
].
maxmcs_current
!=
sli
->
ul
[
i
].
maxmcs
){
if
((
sli
->
ul
[
i
].
maxmcs
>=
0
)
&&
(
sli
->
ul
[
i
].
maxmcs
<=
16
)){
if
((
sli
->
ul
[
i
].
maxmcs
>=
0
)
&&
(
sli
->
ul
[
i
].
maxmcs
<=
20
)){
LOG_I
(
MAC
,
"[eNB %d][SLICE %d][UL] frame %d subframe %d: slice MAX MCS has changed: %d-->%d
\n
"
,
module_idP
,
sli
->
ul
[
i
].
id
,
frameP
,
subframeP
,
sli
->
ul
[
i
].
maxmcs_current
,
sli
->
ul
[
i
].
maxmcs
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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