Commit 328a464e authored by Robert Schmidt's avatar Robert Schmidt

remove update_sched slice param variables

- whether a scheduler callback has to be changed is now handled by the agent
parent 766e8a5b
...@@ -1172,9 +1172,6 @@ typedef struct { ...@@ -1172,9 +1172,6 @@ typedef struct {
/// Accounting policy (just greedy(1) or fair(0) setting for now) /// Accounting policy (just greedy(1) or fair(0) setting for now)
int accounting; int accounting;
/// Whether the scheduler callback should be updated
int update_sched;
/// name of available scheduler /// name of available scheduler
char *sched_name; char *sched_name;
...@@ -1205,9 +1202,6 @@ typedef struct { ...@@ -1205,9 +1202,6 @@ typedef struct {
/// starting RB (RB offset) of UL scheduling /// starting RB (RB offset) of UL scheduling
int first_rb; int first_rb;
/// Slice scheduler callback update needed
int update_sched;
/// name of available scheduler /// name of available scheduler
char *sched_name; char *sched_name;
......
...@@ -148,7 +148,6 @@ void mac_top_init_eNB(void) ...@@ -148,7 +148,6 @@ void mac_top_init_eNB(void)
sli->dl[0].pos_high = N_RBG_MAX; sli->dl[0].pos_high = N_RBG_MAX;
sli->dl[0].maxmcs = 28; sli->dl[0].maxmcs = 28;
sli->dl[0].sorting = 0x012345; sli->dl[0].sorting = 0x012345;
sli->dl[0].update_sched = 1;
sli->dl[0].sched_name = "schedule_ue_spec"; sli->dl[0].sched_name = "schedule_ue_spec";
sli->dl[0].sched_cb = dlsym(NULL, sli->dl[0].sched_name); sli->dl[0].sched_cb = dlsym(NULL, sli->dl[0].sched_name);
AssertFatal(sli->dl[0].sched_cb, "DLSCH scheduler callback is NULL\n"); AssertFatal(sli->dl[0].sched_cb, "DLSCH scheduler callback is NULL\n");
...@@ -158,7 +157,6 @@ void mac_top_init_eNB(void) ...@@ -158,7 +157,6 @@ void mac_top_init_eNB(void)
sli->ul[0].pct = 1.0; sli->ul[0].pct = 1.0;
sli->ul[0].maxmcs = 20; sli->ul[0].maxmcs = 20;
sli->ul[0].sorting = 0x0123; sli->ul[0].sorting = 0x0123;
sli->ul[0].update_sched = 1;
sli->ul[0].sched_name = "schedule_ulsch_rnti"; sli->ul[0].sched_name = "schedule_ulsch_rnti";
sli->ul[0].sched_cb = dlsym(NULL, sli->ul[0].sched_name); sli->ul[0].sched_cb = dlsym(NULL, sli->ul[0].sched_name);
AssertFatal(sli->ul[0].sched_cb, "ULSCH scheduler callback is NULL\n"); AssertFatal(sli->ul[0].sched_cb, "ULSCH scheduler callback is NULL\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment