Commit e36c5b60 authored by Xenofon Foukas's avatar Xenofon Foukas
Browse files

Fixed compilation errors when compiling without agent enabled

parent 1603d367
......@@ -1082,15 +1082,16 @@ void eNB_dlsch_ulsch_scheduler(module_id_t module_idP,uint8_t cooperation_flag,
for (CC_id=0;CC_id<MAX_NUM_CCs;CC_id++)
allocate_CCEs(module_idP,CC_id,subframeP,0);
// #if defined(FLEXRAN_AGENT_SB_IF)
// #ifndef DISABLE_CONT_STATS
#if defined(FLEXRAN_AGENT_SB_IF)
#ifndef DISABLE_CONT_STATS
flexran_agent_send_update_stats(module_idP);
//Send subframe trigger to the controller
// if (mac_agent_registered[module_idP]) {
// agent_mac_xface[module_idP]->flexran_agent_send_update_mac_stats(module_idP);
// }
// #endif
// #endif
flexran_agent_send_update_stats(module_idP);
#endif
#endif
/*
int dummy=0;
for (i=0;
......
......@@ -2158,6 +2158,7 @@ rrc_eNB_generate_defaultRRCConnectionReconfiguration(const protocol_ctxt_t* cons
PDCP_TRANSMISSION_MODE_CONTROL);
}
#if defined(FLEXRAN_AGENT_SB_IF)
//-----------------------------------------------------------------------------
void
......@@ -2749,7 +2750,7 @@ flexran_rrc_eNB_generate_defaultRRCConnectionReconfiguration(const protocol_ctxt
PDCP_TRANSMISSION_MODE_CONTROL);
}
#endif
//-----------------------------------------------------------------------------
......
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