Skip to content

Commit

Permalink
Reset PBCH decoder after each candidate frame. Inputting MBSFN frames…
Browse files Browse the repository at this point in the history
…, which is unavoidable for MBMS-dedicated cells, trips it up badly.
  • Loading branch information
kuehnhammer committed Oct 6, 2023
1 parent 8323741 commit 4bf734b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/src/phy/ue/ue_mib.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@ int srsran_ue_mib_sync_decode_prb(srsran_ue_mib_sync_t* q,

if (srsran_ue_sync_get_sfidx(&q->ue_sync) == 0 ) {
if (ret == 1) {
// We don't know at this point if the cell is MBMS dedicated, and don't have a way
// to limit the decoded frames to sfn%4==0 - so reset the decoder every time
srsran_ue_mib_reset(&q->ue_mib);
mib_ret = srsran_ue_mib_decode(&q->ue_mib, bch_payload, nof_tx_ports, sfn_offset);
} else {
DEBUG("Resetting PBCH decoder after %d frames", q->ue_mib.frame_cnt);
Expand Down

0 comments on commit 4bf734b

Please sign in to comment.