RSRP fix for TX-port

master
Max 2 years ago committed by Alfredo Sáez
parent 79e1230a65
commit 737c5ae712

@ -919,7 +919,7 @@ static float get_rsrp_neighbour_port(srsran_chest_dl_t* q, uint32_t port)
static float get_rsrp(srsran_chest_dl_t* q) static float get_rsrp(srsran_chest_dl_t* q)
{ {
float max = -1e9; float max = -1e9;
for (int i = 0; i < q->nof_rx_antennas; ++i) { for (int i = 0; i < q->cell.nof_ports; ++i) {
float v = get_rsrp_port(q, i); float v = get_rsrp_port(q, i);
if (v > max) { if (v > max) {
max = v; max = v;

Loading…
Cancel
Save