Skip to content
Snippets Groups Projects
Commit 8a2bb45b authored by Anta Huang's avatar Anta Huang
Browse files

experimentation framework

parent 340b3e82
No related tags found
No related merge requests found
......@@ -3654,7 +3654,7 @@ void ue_measurement_report_triggering( const protocol_ctxt_t* const ctxt_pP, con
//LOG_D(RRC,"i: %d, j= %d, reportConfigId: %d:Time to trigger for eNB %d is set to %d-index: %d\n",i,j,reportConfigId,ctxt_pP->module_id,ttt_ms,UE_rrc_inst[ctxt_pP->module_id].ReportConfig[i][reportConfigId-1]->reportConfig.choice.reportConfigEUTRA.triggerType.choice.event.timeToTrigger);
// Freq specific offset of neighbor cell freq
if(!((ofn=get_ofn(ctxt_pP->module_id))>=0))
ofn=2;
ofn=5;
//LOG_D(RRC,"OFN for eNB %d is set to %d\n",ctxt_pP->module_id,ofn);
//((UE_rrc_inst[ctxt_pP->module_id].MeasObj[i][measObjId-1]->measObject.choice.measObjectEUTRA.offsetFreq != NULL) ?
......
......@@ -410,12 +410,13 @@ rrc_top_cleanup(
for (i=0;i<UE_rrc_inst[module_id].rrc_ue_x2_target_enb_list.size;i++){
x2_target_avg+=x2_target_table[i];
}
x2_target_avg/=UE_rrc_inst[module_id].rrc_ue_x2_target_enb_list.size;
LOG_I(RRC,"[DST]%lf\n",x2_target_table[i]);
}
x2_target_avg/=UE_rrc_inst[module_id].rrc_ue_x2_target_enb_list.size;
LOG_I(RRC,"[DST]%lf;%lf;%lf;%lf;%lf;%lf\n",x2_target_median,x2_target_q1,x2_target_q3,x2_target_min,x2_target_max,x2_target_avg);
}
LOG_I(RRC,"[X2]median;q1;q3;min;max;\n");
/*LOG_I(RRC,"[X2]median;q1;q3;min;max;\n");
for (module_id = 0; module_id < NB_UE_INST; module_id++) {
double x2_table[eNB_rrc_inst[module_id].rrc_enb_x2_list.size];
totable(x2_table, &eNB_rrc_inst[module_id].rrc_enb_x2_list);
......@@ -427,7 +428,7 @@ rrc_top_cleanup(
double x2_min = x2_table[0]; // MIN
double x2_max = x2_table[eNB_rrc_inst[module_id].rrc_enb_x2_list.size-1]; // mAX
LOG_I(RRC,"[X2]%lf;%lf;%lf;%d;%d;\n",x2_median,x2_q1,x2_q3,x2_min,x2_max);
}
}*/
if (NB_UE_INST > 0) {
free (UE_rrc_inst);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment