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 ismagom committed Jun 6, 2023
1 parent 921f174 commit af4b958
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 @@ -928,7 +928,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 af4b958

Please sign in to comment.