• Jaroslava Fiedlerova's avatar
    Merge remote-tracking branch 'origin/fix_t2_harq_combined_offset' into integration_2025_w04 (!3214) · 706aecf2
    Jaroslava Fiedlerova authored
    fix(nrLDPC_coding_t2): Miscellaneous fixes related to T2
    
    1. HARQ combined offset:
    The offset provided for each code block in the HARQ combined input and output
    buffer shall not be above 512. A modulus was performed on the offset of the TB
    in the buffer to avoid this situation. But the offset of the code block was
    added afterward so that the total offset was sometimes going above 512.This
    commit performs the modulus after adding the code block offset. Usually this
    issue was triggering a segfault after less than 2 minutes of an iperf test on
    some setup using T2. The same iperf test was successfully performed during 10
    minutes on the same setup with this change.
    
    2. Properly stop LDPC coding in gNB and UE:
    LDPC coding was yet not properly stopped by using free_nrLDPC_coding_interface
    in gNB and UE. This was not causing major issue until now. It was especially not
    causing any issue with T2 LDPC coding using the PF. But using T2 VFs, if the
    coding library is not properly stopped then the VF cannot be used anymore unless
    the admin app is restarted. So this MR adds the missing free_nrLDPC_coding_interface.
    706aecf2
nr-uesoftmodem.c 20 KB