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
alex037yang
OpenXG-RAN
Commits
1240c62a
Commit
1240c62a
authored
Apr 18, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfixes: set max UL MCS to 20, improve sched loading message
parent
798f1468
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
+2
-1
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+3
-2
No files found.
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
View file @
1240c62a
...
...
@@ -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_N
(
MAC
,
"update dl scheduler slice index %d ID %d
\n
"
,
i
,
sli
->
dl
[
i
].
id
);
LOG_N
(
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 @
1240c62a
...
...
@@ -997,7 +997,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_N
(
MAC
,
"update ul scheduler slice %d
\n
"
,
i
);
LOG_N
(
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
){
...
...
@@ -1026,7 +1027,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_N
(
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
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