Skip to content

fix(NR_UE): gate half-frame PBCH mirror on caller-provided ssb_period#220

Merged
1 commit merged into
duranta-project:developfrom
ChrisAB:pbch_decoding_slot_five_before_phy_config
Jul 4, 2026
Merged

fix(NR_UE): gate half-frame PBCH mirror on caller-provided ssb_period#220
1 commit merged into
duranta-project:developfrom
ChrisAB:pbch_decoding_slot_five_before_phy_config

Conversation

@ChrisAB

@ChrisAB ChrisAB commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

is_ssb_in_symbol() read cfg->ssb_table.ssb_period directly, but before the FAPI PHY config request arrives (received_config_request == false) that field is still 0, which it interprets as a 5ms period and enables the half-frame PBCH mirror. get_ssb_index_in_symbol() already assumes the 20ms default period for its frame-periodicity test, so the two disagree and the UE attempts a spurious PBCH decode in the second half-frame (slot 5 for mu=0) before being configured.

Closes: #219

is_ssb_in_symbol() read cfg->ssb_table.ssb_period directly, but before the FAPI PHY config request arrives (received_config_request == false) that field is still 0, which it interprets as a 5ms period and enables the half-frame PBCH mirror. get_ssb_index_in_symbol() already assumes the 20ms default period for its frame-periodicity test, so the two disagree and the UE attempts a spurious PBCH decode in the second half-frame (slot 5 for mu=0) before being configured.

Closes: duranta-project#219
Signed-off-by: ChrisAB <cristianbatrin@gmail.com>
@durantabot

Copy link
Copy Markdown
Collaborator

CI Build: #416 | Not performing CI due to the absence of one of the following mandatory labels:

  • documentation Documentation-related changes or updates. (don't perform any stages)
  • BUILD-ONLY Execute build stages only for code improvements with no impact on 4G/5G functionality. (execute only build stages)
  • 4G-LTE Perform 4G Tests (perform 4G tests)
  • 5G-NR Perform 5G Tests (perform 5G tests)
  • nrUE Run only 5G UE tests (physims included, LDPC tests excluded). (perform only 5G-UE related tests including physims excluding LDPC tests)
  • CI Perform both 4G and 5G tests (perform both 4G and 5G tests)

@francescomani francescomani self-requested a review June 23, 2026 08:03
@francescomani francescomani added the nrUE Run only 5G UE tests (physims included, LDPC tests excluded). label Jun 23, 2026
@rorsc rorsc added the retrigger-ci Re-run CI label Jun 23, 2026
@github-actions github-actions Bot removed the retrigger-ci Re-run CI label Jun 23, 2026
@ChrisAB

ChrisAB commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

Hello @francescomani , thanks for the approve. I see though CI is still failing on label step, is there anything more that needs to be done from my side?

@rorsc rorsc added the retrigger-ci Re-run CI label Jun 25, 2026
@github-actions github-actions Bot removed the retrigger-ci Re-run CI label Jun 25, 2026
@durantabot

Copy link
Copy Markdown
Collaborator

@rorsc

rorsc commented Jul 2, 2026

Copy link
Copy Markdown
Member

CI Build: #448 | Failed on the following stages:

replays:

rorsc added a commit that referenced this pull request Jul 2, 2026
…phy_config' into integration_2026_w27

fix(NR_UE): gate half-frame PBCH mirror on caller-provided ssb_period (#220)

is_ssb_in_symbol() read cfg->ssb_table.ssb_period directly, but before
the FAPI PHY config request arrives (received_config_request == false)
that field is still 0, which it interprets as a 5ms period and enables
the half-frame PBCH mirror. get_ssb_index_in_symbol() already assumes
the 20ms default period for its frame-periodicity test, so the two
disagree and the UE attempts a spurious PBCH decode in the second
half-frame (slot 5 for mu=0) before being configured.

Closes: #219
Reviewed-by: Francesco Mani <email@francescomani.it>
@rorsc rorsc closed this pull request by merging all changes into duranta-project:develop in 0dab3bb Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

nrUE Run only 5G UE tests (physims included, LDPC tests excluded).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Problem] NR UE attempts PBCH decoding in slot 5 before PHY config request

4 participants