Skip to content

Commit

Permalink
fixes for 6 PRB cells
Browse files Browse the repository at this point in the history
  • Loading branch information
kuehnhammer committed Oct 23, 2023
1 parent ad17253 commit 71e7c13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/src/phy/phch/pmch.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,9 @@ int srsran_pmch_decode(srsran_pmch_t* q,
sf->cfi);

uint32_t lstart = SRSRAN_NOF_CTRL_SYMBOLS(q->cell, sf->cfi);
if (q->cell.mbms_dedicated) {
lstart = 0;
}
for (int j = 0; j < q->nof_rx_antennas; j++) {
/* extract symbols */
n = pmch_get(q, sf_symbols[j], q->symbols[j], lstart, sf->subcarrier_spacing, sf->tti % 10);
Expand Down
2 changes: 1 addition & 1 deletion lib/src/phy/phch/ra_dl.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ uint32_t ra_re_x_prb(const srsran_cell_t* cell, srsran_dl_sf_cfg_t* sf, uint32_t
}

// remove references
if (skip_refs) {
if (skip_refs && re > 0) {
if (sf->sf_type == SRSRAN_SF_NORM) {
switch (cell->nof_ports) {
case 1:
Expand Down

0 comments on commit 71e7c13

Please sign in to comment.