@@ -651,36 +678,38 @@ int flexran_get_tpc(mid_t mod_id, mid_t ue_id) {
}
if(normalized_rx_power>(target_rx_power+1)){
tpc=0;//-1
tpc=0;//-1
}elseif(normalized_rx_power<(target_rx_power-1)){
tpc=2;//+1
tpc=2;//+1
}else{
tpc=1;//0
tpc=1;//0
}
returntpc;
}
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
intflexran_get_harq(constmid_tmod_id,constuint8_tCC_id,constmid_tue_id,constintframe,constuint8_tsubframe,int*id,int*round){//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
* get_ue_active_harq_pid function in line 272 file: phy_procedures_lte_eNB.c to add