Skip to content

Commit 737c5ae

Browse files
maxholliasaezper
authored andcommitted
RSRP fix for TX-port
1 parent 79e1230 commit 737c5ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/phy/ch_estimation/chest_dl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ static float get_rsrp_neighbour_port(srsran_chest_dl_t* q, uint32_t port)
919919
static float get_rsrp(srsran_chest_dl_t* q)
920920
{
921921
float max = -1e9;
922-
for (int i = 0; i < q->nof_rx_antennas; ++i) {
922+
for (int i = 0; i < q->cell.nof_ports; ++i) {
923923
float v = get_rsrp_port(q, i);
924924
if (v > max) {
925925
max = v;

0 commit comments

Comments
 (0)