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
328a464e
Commit
328a464e
authored
May 19, 2018
by
Robert Schmidt
Browse files
remove update_sched slice param variables
- whether a scheduler callback has to be changed is now handled by the agent
parent
766e8a5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
openair2/LAYER2/MAC/mac.h
View file @
328a464e
...
...
@@ -1172,9 +1172,6 @@ typedef struct {
/// Accounting policy (just greedy(1) or fair(0) setting for now)
int
accounting
;
/// Whether the scheduler callback should be updated
int
update_sched
;
/// name of available scheduler
char
*
sched_name
;
...
...
@@ -1205,9 +1202,6 @@ typedef struct {
/// starting RB (RB offset) of UL scheduling
int
first_rb
;
/// Slice scheduler callback update needed
int
update_sched
;
/// name of available scheduler
char
*
sched_name
;
...
...
openair2/LAYER2/MAC/main.c
View file @
328a464e
...
...
@@ -148,7 +148,6 @@ void mac_top_init_eNB(void)
sli
->
dl
[
0
].
pos_high
=
N_RBG_MAX
;
sli
->
dl
[
0
].
maxmcs
=
28
;
sli
->
dl
[
0
].
sorting
=
0x012345
;
sli
->
dl
[
0
].
update_sched
=
1
;
sli
->
dl
[
0
].
sched_name
=
"schedule_ue_spec"
;
sli
->
dl
[
0
].
sched_cb
=
dlsym
(
NULL
,
sli
->
dl
[
0
].
sched_name
);
AssertFatal
(
sli
->
dl
[
0
].
sched_cb
,
"DLSCH scheduler callback is NULL
\n
"
);
...
...
@@ -158,7 +157,6 @@ void mac_top_init_eNB(void)
sli
->
ul
[
0
].
pct
=
1
.
0
;
sli
->
ul
[
0
].
maxmcs
=
20
;
sli
->
ul
[
0
].
sorting
=
0x0123
;
sli
->
ul
[
0
].
update_sched
=
1
;
sli
->
ul
[
0
].
sched_name
=
"schedule_ulsch_rnti"
;
sli
->
ul
[
0
].
sched_cb
=
dlsym
(
NULL
,
sli
->
ul
[
0
].
sched_name
);
AssertFatal
(
sli
->
ul
[
0
].
sched_cb
,
"ULSCH scheduler callback is NULL
\n
"
);
...
...
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