diff --git a/srslte/lib/ch_estimation/chest_dl.c b/srslte/lib/ch_estimation/chest_dl.c index 805e5ae41..f198344f0 100644 --- a/srslte/lib/ch_estimation/chest_dl.c +++ b/srslte/lib/ch_estimation/chest_dl.c @@ -421,7 +421,7 @@ float srslte_chest_dl_get_rsrp(srslte_chest_dl_t *q) { // return sum of power received from all tx ports float n = 0; for (int i=0;ilast_nof_antennas;i++) { - n += srslte_vec_acc_ff(q->rsrp[i], q->cell.nof_ports)/q->cell.nof_ports; + n += srslte_vec_acc_ff(q->rsrp[i], q->cell.nof_ports); } return n/q->last_nof_antennas; }