diff --git a/openair2/LAYER2/NR_MAC_COMMON/nr_compute_tbs_common.c b/openair2/LAYER2/NR_MAC_COMMON/nr_compute_tbs_common.c index 910d2272b738ef4d8c011f14400b31ec20a03f5b..1acf23197c73509102f5450adffefe45ccc5eece 100644 --- a/openair2/LAYER2/NR_MAC_COMMON/nr_compute_tbs_common.c +++ b/openair2/LAYER2/NR_MAC_COMMON/nr_compute_tbs_common.c @@ -72,7 +72,7 @@ uint32_t nr_compute_tbs(uint16_t Qm, n = log2(Ninfo-24)-5; Np_info = max(3840, (ROUNDIDIV((Ninfo-24),(1<<n)))<<n); - if (R <= 256) { + if (R <= 2560) { C = CEILIDIV((Np_info+24),3816); nr_tbs = (C<<3)*CEILIDIV((Np_info+24),(C<<3)) - 24; } else {