The following init with the fixed ports of "2" is troublesome in the case of when you use the WIENER filter already in the cell search. That means your srsran_cell_t is configured with the max ports of 4 and 6 RB and you call chest_estimate it will crash.
The following init with the fixed ports of "2" is troublesome in the case of when you use the WIENER filter already in the cell search. That means your srsran_cell_t is configured with the max ports of 4 and 6 RB and you call chest_estimate it will crash.
https://github.com/srsran/srsRAN/blob/c950209902e28b7a3eb8724943ed5e3167f05d29/lib/src/phy/ch_estimation/chest_dl.c#L146
Maybe changing "2" to SRSRAN_MAXPORTS helps.
br