Skip to content

Commit af4b958

Browse files
maxholliismagom
authored andcommitted
RSRP fix for TX-port
1 parent 921f174 commit af4b958

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
@@ -928,7 +928,7 @@ static float get_rsrp_neighbour_port(srsran_chest_dl_t* q, uint32_t port)
928928
static float get_rsrp(srsran_chest_dl_t* q)
929929
{
930930
float max = -1e9;
931-
for (int i = 0; i < q->nof_rx_antennas; ++i) {
931+
for (int i = 0; i < q->cell.nof_ports; ++i) {
932932
float v = get_rsrp_port(q, i);
933933
if (v > max) {
934934
max = v;

0 commit comments

Comments
 (0)