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
766e8a5b
Commit
766e8a5b
authored
May 19, 2018
by
Robert Schmidt
Browse files
link to scheduler function in mac init fct
parent
0778481f
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair2/LAYER2/MAC/main.c
View file @
766e8a5b
...
...
@@ -29,6 +29,7 @@
*/
#include
<dlfcn.h>
#include
"mac.h"
#include
"mac_proto.h"
#include
"mac_extern.h"
...
...
@@ -149,6 +150,8 @@ void mac_top_init_eNB(void)
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
"
);
sli
->
n_ul
=
1
;
memset
(
sli
->
ul
,
0
,
sizeof
(
slice_sched_conf_ul_t
)
*
MAX_NUM_SLICES
);
...
...
@@ -157,6 +160,8 @@ void mac_top_init_eNB(void)
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