mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-20 16:10:29 +00:00
bit_len / 8 + 1 overcounts by 1 when bit_len is an exact multiple of 8. Replace with (bit_len + 7) / 8 across all pack/unpack sites for PUSCH and PUCCH 2/3/4 SR/HARQ/CSI payloads, and in the utility functions (eq, copy, size calculator, dump) and unit test fill functions. Fixes UCI.indication unpack failure against cuBB when CSI-1 report is 8 bits. Signed-off-by: Gabriele Gemmi <g.gemmi@northeastern.edu>