Skip to content
Snippets Groups Projects
Commit 9228f12d authored by Francesco Mani's avatar Francesco Mani
Browse files

bugfix

parent 36a02913
No related branches found
No related tags found
2 merge requests!1757Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c,!1564integration_2022_wk21
...@@ -72,7 +72,7 @@ uint32_t nr_compute_tbs(uint16_t Qm, ...@@ -72,7 +72,7 @@ uint32_t nr_compute_tbs(uint16_t Qm,
n = log2(Ninfo-24)-5; n = log2(Ninfo-24)-5;
Np_info = max(3840, (ROUNDIDIV((Ninfo-24),(1<<n)))<<n); Np_info = max(3840, (ROUNDIDIV((Ninfo-24),(1<<n)))<<n);
if (R <= 256) { if (R <= 2560) {
C = CEILIDIV((Np_info+24),3816); C = CEILIDIV((Np_info+24),3816);
nr_tbs = (C<<3)*CEILIDIV((Np_info+24),(C<<3)) - 24; nr_tbs = (C<<3)*CEILIDIV((Np_info+24),(C<<3)) - 24;
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment