Commit 93b7cf05 authored by Xenofon Foukas's avatar Xenofon Foukas

Fixed linking error with creation of empty dl_mac_config

parent 06b55e3f
...@@ -70,7 +70,7 @@ void schedule_ue_spec_remote(mid_t mod_id, uint32_t frame, uint32_t subframe, ...@@ -70,7 +70,7 @@ void schedule_ue_spec_remote(mid_t mod_id, uint32_t frame, uint32_t subframe,
enb_agent_mac_destroy_dl_config(dl_config_elem->dl_info); enb_agent_mac_destroy_dl_config(dl_config_elem->dl_info);
free(dl_config_elem); free(dl_config_elem);
} else { // next subframe, nothing to do now } else { // next subframe, nothing to do now
enb_agent_create_empty_dl_config(mod_id, dl_info); enb_agent_mac_create_empty_dl_config(mod_id, dl_info);
return; return;
} }
} }
...@@ -87,7 +87,7 @@ void schedule_ue_spec_remote(mid_t mod_id, uint32_t frame, uint32_t subframe, ...@@ -87,7 +87,7 @@ void schedule_ue_spec_remote(mid_t mod_id, uint32_t frame, uint32_t subframe,
} else { // Intended for future subframe. Store it in local cache } else { // Intended for future subframe. Store it in local cache
dl_mac_config_element_t *e = malloc(sizeof(dl_mac_config_element_t)); dl_mac_config_element_t *e = malloc(sizeof(dl_mac_config_element_t));
TAILQ_INSERT_TAIL(&queue_head, e, configs); TAILQ_INSERT_TAIL(&queue_head, e, configs);
enb_agent_create_empty_dl_config(mod_id, dl_info); enb_agent_mac_create_empty_dl_config(mod_id, dl_info);
// No need to look for another. Messages arrive ordered // No need to look for another. Messages arrive ordered
return; return;
} }
...@@ -95,7 +95,7 @@ void schedule_ue_spec_remote(mid_t mod_id, uint32_t frame, uint32_t subframe, ...@@ -95,7 +95,7 @@ void schedule_ue_spec_remote(mid_t mod_id, uint32_t frame, uint32_t subframe,
} }
// We found no pending command, so we will simply pass an empty one // We found no pending command, so we will simply pass an empty one
enb_agent_create_empty_dl_config(mod_id, dl_info); enb_agent_mac_create_empty_dl_config(mod_id, dl_info);
} }
int get_sf_difference(mid_t mod_id, uint16_t sfn_sf) { int get_sf_difference(mid_t mod_id, uint16_t sfn_sf) {
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
#include "ENB_APP/enb_agent_defs.h" #include "ENB_APP/enb_agent_defs.h"
#include "enb_agent_mac.h" #include "enb_agent_mac.h"
#include "LAYER2/MAC/enb_agent_mac_proto.h"
#include <sys/queue.h> #include <sys/queue.h>
......
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