Commit 4e1b874a authored by Francesco Mani's avatar Francesco Mani

fix on table definition in dlschsim

parent 668de031
......@@ -110,7 +110,7 @@ int main(int argc, char **argv)
uint16_t nb_symb_sch = 12;
uint16_t nb_rb = 50;
uint8_t Imcs = 9;
uint8_t mcs_table = 1;
uint8_t mcs_table = 0;
cpuf = get_cpu_freq_GHz();
......@@ -442,7 +442,7 @@ int main(int argc, char **argv)
mod_order = nr_get_Qm_dl(Imcs, mcs_table);
rate = nr_get_code_rate_dl(Imcs, mcs_table);
available_bits = nr_get_G(nb_rb, nb_symb_sch, nb_re_dmrs, length_dmrs, mod_order, 1);
scale = ((mcs_table==2)&&((Imcs==20)||(Imcs==26)))?11:10;
scale = ((mcs_table==1)&&((Imcs==20)||(Imcs==26)))?11:10;
TBS = nr_compute_tbs(mod_order,rate, nb_rb, nb_symb_sch, nb_re_dmrs*length_dmrs, 0, Nl);
printf("available bits %u TBS %u mod_order %d\n", available_bits, TBS, mod_order);
//dlsch->harq_ids[subframe]= 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment