Fix PSS correlation peak value and average value on the OAI UE logs

These metrics are very helpful to properly adjust the USRP gains on the OAI UE.
There was a regression in the code, this commit just gets it showing properly again

Signed-off-by: Luis Pereira <lpereira@allbesmart.pt>
This commit is contained in:
Luis Pereira
2026-07-06 16:54:14 +01:00
parent 0dab3bb6a1
commit fcea45b215

View File

@@ -332,6 +332,8 @@ static void nr_scan_ssb(void *arg)
continue;
}
ssbInfo->pssCorrAvgPower = search_params.pss_res.avg;
ssbInfo->pssCorrPeakPower = search_params.pss_res.peak;
ssbInfo->ssbOffset = search_params.pss_res.pos - search_params.nb_prefix_samples;
ssbInfo->nidCell = search_params.sss_res.nid_cell;