Commit 5de045b8 authored by shahab SHARIATBAGHERI's avatar shahab SHARIATBAGHERI

Uplink slices

parent eee0c1b8
...@@ -1248,8 +1248,8 @@ int flexran_agent_register_mac_xface(mid_t mod_id, AGENT_MAC_xface *xface) { ...@@ -1248,8 +1248,8 @@ int flexran_agent_register_mac_xface(mid_t mod_id, AGENT_MAC_xface *xface) {
xface->flexran_agent_send_sr_info = flexran_agent_send_sr_info; xface->flexran_agent_send_sr_info = flexran_agent_send_sr_info;
xface->flexran_agent_send_sf_trigger = flexran_agent_send_sf_trigger; xface->flexran_agent_send_sf_trigger = flexran_agent_send_sf_trigger;
//xface->flexran_agent_send_update_mac_stats = flexran_agent_send_update_mac_stats; //xface->flexran_agent_send_update_mac_stats = flexran_agent_send_update_mac_stats;
xface->flexran_agent_schedule_ue_spec = flexran_schedule_ue_spec_default; xface->flexran_agent_schedule_ue_spec = flexran_schedule_ue_dl_spec_default;
xface->flexran_agent_schedule_ul_spec = flexran_agent_schedule_ulsch_ue_spec; xface->flexran_agent_schedule_ul_spec = flexran_schedule_ue_ul_spec_default;
//xface->flexran_agent_schedule_ue_spec = flexran_schedule_ue_spec_remote; //xface->flexran_agent_schedule_ue_spec = flexran_schedule_ue_spec_remote;
xface->flexran_agent_get_pending_dl_mac_config = flexran_agent_get_pending_dl_mac_config; xface->flexran_agent_get_pending_dl_mac_config = flexran_agent_get_pending_dl_mac_config;
......
...@@ -51,7 +51,7 @@ typedef void (*slice_scheduler)(module_id_t mod_id, ...@@ -51,7 +51,7 @@ typedef void (*slice_scheduler)(module_id_t mod_id,
/* /*
* top level flexran scheduler used by the eNB scheduler * top level flexran scheduler used by the eNB scheduler
*/ */
void flexran_schedule_ue_spec_default(mid_t mod_id, void flexran_schedule_ue_dl_spec_default(mid_t mod_id,
uint32_t frame, uint32_t frame,
uint32_t subframe, uint32_t subframe,
int *mbsfn_flag, int *mbsfn_flag,
...@@ -102,7 +102,7 @@ flexran_schedule_ue_spec_be(mid_t mod_id, ...@@ -102,7 +102,7 @@ flexran_schedule_ue_spec_be(mid_t mod_id,
* common flexran scheduler function * common flexran scheduler function
*/ */
void void
flexran_schedule_ue_spec_common(mid_t mod_id, flexran_schedule_ue_dl_spec_common(mid_t mod_id,
int slice_id, int slice_id,
uint32_t frame, uint32_t frame,
uint32_t subframe, uint32_t subframe,
...@@ -182,7 +182,7 @@ void _dlsch_scheduler_pre_processor_allocate (module_id_t Mod_id, ...@@ -182,7 +182,7 @@ void _dlsch_scheduler_pre_processor_allocate (module_id_t Mod_id,
/* /*
* Default scheduler used by the eNB agent * Default scheduler used by the eNB agent
*/ */
void flexran_schedule_ue_spec_default(mid_t mod_id, uint32_t frame, uint32_t subframe, void flexran_schedule_ue_dl_spec_default(mid_t mod_id, uint32_t frame, uint32_t subframe,
int *mbsfn_flag, Protocol__FlexranMessage **dl_info); int *mbsfn_flag, Protocol__FlexranMessage **dl_info);
/* /*
......
...@@ -709,12 +709,12 @@ void _dlsch_scheduler_pre_processor (module_id_t Mod_id, ...@@ -709,12 +709,12 @@ void _dlsch_scheduler_pre_processor (module_id_t Mod_id,
#define SF05_LIMIT 1 #define SF05_LIMIT 1
/* /*
* Main scheduling functions to support slicing * Main Downlink Slicing
* *
*/ */
void void
flexran_schedule_ue_spec_default(mid_t mod_id, flexran_schedule_ue_dl_spec_default(mid_t mod_id,
uint32_t frame, uint32_t frame,
uint32_t subframe, uint32_t subframe,
int *mbsfn_flag, int *mbsfn_flag,
...@@ -876,7 +876,7 @@ flexran_schedule_ue_spec_embb(mid_t mod_id, ...@@ -876,7 +876,7 @@ flexran_schedule_ue_spec_embb(mid_t mod_id,
Protocol__FlexranMessage **dl_info) Protocol__FlexranMessage **dl_info)
{ {
flexran_schedule_ue_spec_common(mod_id, flexran_schedule_ue_dl_spec_common(mod_id,
slice_id, slice_id,
frame, frame,
subframe, subframe,
...@@ -894,7 +894,7 @@ flexran_schedule_ue_spec_urllc(mid_t mod_id, ...@@ -894,7 +894,7 @@ flexran_schedule_ue_spec_urllc(mid_t mod_id,
Protocol__FlexranMessage **dl_info) Protocol__FlexranMessage **dl_info)
{ {
flexran_schedule_ue_spec_common(mod_id, flexran_schedule_ue_spec_dl_common(mod_id,
slice_id, slice_id,
frame, frame,
subframe, subframe,
...@@ -913,7 +913,7 @@ flexran_schedule_ue_spec_mmtc(mid_t mod_id, ...@@ -913,7 +913,7 @@ flexran_schedule_ue_spec_mmtc(mid_t mod_id,
{ {
flexran_schedule_ue_spec_common(mod_id, flexran_schedule_ue_dl_spec_common(mod_id,
slice_id, slice_id,
frame, frame,
subframe, subframe,
...@@ -932,7 +932,7 @@ flexran_schedule_ue_spec_be(mid_t mod_id, ...@@ -932,7 +932,7 @@ flexran_schedule_ue_spec_be(mid_t mod_id,
{ {
flexran_schedule_ue_spec_common(mod_id, flexran_schedule_ue_dl_spec_common(mod_id,
slice_id, slice_id,
frame, frame,
subframe, subframe,
...@@ -943,7 +943,7 @@ flexran_schedule_ue_spec_be(mid_t mod_id, ...@@ -943,7 +943,7 @@ flexran_schedule_ue_spec_be(mid_t mod_id,
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
void void
flexran_schedule_ue_spec_common(mid_t mod_id, flexran_schedule_ue_dl_spec_common(mid_t mod_id,
int slice_id, int slice_id,
uint32_t frame, uint32_t frame,
uint32_t subframe, uint32_t subframe,
......
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