Commit 17090f22 authored by cig's avatar cig

Fixed sdu initialization: this was causing assertion failure at UE side

parent 9f0be015
...@@ -389,8 +389,8 @@ void nr_schedule_uss_dlsch_phytest(module_id_t module_idP, ...@@ -389,8 +389,8 @@ void nr_schedule_uss_dlsch_phytest(module_id_t module_idP,
//Sending SDUs with size 1 //Sending SDUs with size 1
//Initialize elements of sdu_lcids and sdu_lengths //Initialize elements of sdu_lcids and sdu_lengths
sdu_lcids[0] = 0x05; // DRB sdu_lcids[0] = 0x05; // DRB
sdu_lengths[0] = TBS_bytes-3; sdu_lengths[0] = TBS_bytes - ta_len - 3;
header_length_total += 2; header_length_total += 2 + (sdu_lengths[0] >= 128);
sdu_length_total += sdu_lengths[0]; sdu_length_total += sdu_lengths[0];
num_sdus +=1; num_sdus +=1;
} // else IS_SOFTMODEM_NOS1 } // else IS_SOFTMODEM_NOS1
......
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