Commit cee5067b authored by jperaldi's avatar jperaldi

Disable Hack on UE for managing RLC segmented PDUs

This reverts commit a43dc82299e909760baec20eb0d1c7eaee737b20.
parent 17480380
......@@ -3099,9 +3099,6 @@ uint8_t nr_ue_get_sdu(module_id_t module_idP,
buflen_remain);
while (buflen_remain > 0){
//// TODO: temporary hack to support TTCN TC_7_1_2_2_1_NR5GC test
static int tbs_tmp = 0; if (lcid == 5) { if (tbs_tmp == 1) buflen_remain = 26; if (tbs_tmp > 1) buflen_remain = 28; } //TODO: tmp
// Pointer used to build the MAC sub-PDU headers in the ULSCH buffer for each SDU
NR_MAC_SUBHEADER_LONG *header = (NR_MAC_SUBHEADER_LONG *) pdu;
......@@ -3118,7 +3115,6 @@ uint8_t nr_ue_get_sdu(module_id_t module_idP,
(char *)pdu,
0,
0);
if (lcid == 5 && sdu_length != 0) tbs_tmp++; //TODO: TMP
AssertFatal(buflen_remain >= sdu_length, "In %s: LCID = 0x%02x RLC has segmented %d bytes but MAC has max %d remaining bytes\n",
__FUNCTION__,
......
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