Commit 12374511 authored by Cedric Roux's avatar Cedric Roux

rlc v2: hotfix: remove some AssertFatal

Not sure if the problem is in the MAC layer or in the RLC v2 layer.
Maybe the buffer status reporting in RLC v2 is not good. Let's remove
two AssertFatal in the MAC for the time being.
parent 4b6f5cea
...@@ -1972,6 +1972,10 @@ ue_get_sdu(module_id_t module_idP, int CC_id, frame_t frameP, ...@@ -1972,6 +1972,10 @@ ue_get_sdu(module_id_t module_idP, int CC_id, frame_t frameP,
subframe, ENB_FLAG_NO, subframe, ENB_FLAG_NO,
lcid); lcid);
lcid_buffer_occupancy_new = lcid_buffer_occupancy_old; lcid_buffer_occupancy_new = lcid_buffer_occupancy_old;
#if 0
/* TODO: those assert crash the L2 simulator with the new RLC.
* Are they necessary?
*/
AssertFatal(lcid_buffer_occupancy_new == AssertFatal(lcid_buffer_occupancy_new ==
UE_mac_inst[module_idP]. UE_mac_inst[module_idP].
scheduling_info.LCID_buffer_remain[lcid], scheduling_info.LCID_buffer_remain[lcid],
...@@ -1990,6 +1994,7 @@ ue_get_sdu(module_id_t module_idP, int CC_id, frame_t frameP, ...@@ -1990,6 +1994,7 @@ ue_get_sdu(module_id_t module_idP, int CC_id, frame_t frameP,
scheduling_info.BSR_bytes[UE_mac_inst[module_idP]. scheduling_info.BSR_bytes[UE_mac_inst[module_idP].
scheduling_info.LCGID scheduling_info.LCGID
[lcid]]); [lcid]]);
#endif
//Multiplex all available DCCH RLC PDUs considering to multiplex the last PDU each time for maximize the data //Multiplex all available DCCH RLC PDUs considering to multiplex the last PDU each time for maximize the data
//Adjust at the end of the loop //Adjust at the end of the loop
......
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