IPV4_STR_ADDR_TO_INT_NWBO (address, enb_properties.properties[enb_properties_index]->enb_agent_ipv4_address, "BAD IP ADDRESS FORMAT FOR eNB Agent !\n" );
IPV4_STR_ADDR_TO_INT_NWBO (address, enb_properties.properties[enb_properties_index]->flexran_agent_ipv4_address, "BAD IP ADDRESS FORMAT FOR eNB Agent !\n" );
@@ -660,7 +660,7 @@ int get_tpc(mid_t mod_id, mid_t ue_id) {
...
@@ -660,7 +660,7 @@ int get_tpc(mid_t mod_id, mid_t ue_id) {
returntpc;
returntpc;
}
}
intget_harq(constmid_tmod_id,constuint8_tCC_id,constmid_tue_id,constintframe,constuint8_tsubframe,int*id,int*status){//flag_id_status = 0 then id, else status
intflexran_get_harq(constmid_tmod_id,constuint8_tCC_id,constmid_tue_id,constintframe,constuint8_tsubframe,int*id,int*status){//flag_id_status = 0 then id, else status
/*TODO: Add int TB in function parameters to get the status of the second TB. This can be done to by editing in
/*TODO: Add int TB in function parameters to get the status of the second TB. This can be done to by editing in
* get_ue_active_harq_pid function in line 272 file: phy_procedures_lte_eNB.c to add
* get_ue_active_harq_pid function in line 272 file: phy_procedures_lte_eNB.c to add
// TODO: Fill in the actual MAC CE buffer status report
// TODO: Fill in the actual MAC CE buffer status report
ue_report[i]->pending_mac_ces=(get_MAC_CE_bitmap_TA(enb_id,i,0)|(0<<1)|(0<<2)|(0<<3))&15;/* Use as bitmap. Set one or more of the; /* Use as bitmap. Set one or more of the
ue_report[i]->pending_mac_ces=(flexran_get_MAC_CE_bitmap_TA(enb_id,i,0)|(0<<1)|(0<<2)|(0<<3))&15;/* Use as bitmap. Set one or more of the; /* Use as bitmap. Set one or more of the
PROTOCOL__FLEX_CE_TYPE__FLPCET_ values
PROTOCOL__FLEX_CE_TYPE__FLPCET_ values
found in stats_common.pb-c.h. See
found in stats_common.pb-c.h. See
flex_ce_type in FlexRAN specification */
flex_ce_type in FlexRAN specification */
...
@@ -496,10 +496,10 @@ int enb_agent_mac_stats_reply(mid_t mod_id,
...
@@ -496,10 +496,10 @@ int enb_agent_mac_stats_reply(mid_t mod_id,
gotoerror;
gotoerror;
protocol__flex_dl_cqi_report__init(dl_report);
protocol__flex_dl_cqi_report__init(dl_report);
dl_report->sfn_sn=get_sfn_sf(enb_id);
dl_report->sfn_sn=flexran_get_sfn_sf(enb_id);
dl_report->has_sfn_sn=1;
dl_report->has_sfn_sn=1;
//Set the number of DL CQI reports for this UE. One for each CC
//Set the number of DL CQI reports for this UE. One for each CC