Fixed compilation errors when compiling without agent enabled

This commit is contained in:
Xenofon Foukas
2017-04-11 09:28:22 +00:00
parent 1603d3674d
commit e36c5b6024
2 changed files with 8 additions and 6 deletions
+6 -5
View File
@@ -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;
+2 -1
View File
@@ -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
//-----------------------------------------------------------------------------