Skip to content

Commit

Permalink
RSRP fix for TX-port
Browse files Browse the repository at this point in the history
  • Loading branch information
maxholli authored and asaezper committed Jun 19, 2023
1 parent 79e1230 commit 737c5ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/phy/ch_estimation/chest_dl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
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);
if (v > max) {
max = v;
Expand Down

0 comments on commit 737c5ae

Please sign in to comment.