fix for UE MAC PDU LCID handling

This commit is contained in:
francescomani
2024-01-26 16:48:11 +01:00
parent da5ce90dcf
commit aabe8f7cc1
+2 -5
View File
@@ -3734,11 +3734,8 @@ void nr_ue_process_mac_pdu(nr_downlink_indication_t *dl_info,
// end of MAC PDU, can ignore the rest. // end of MAC PDU, can ignore the rest.
break; break;
// MAC SDU // MAC SDU
case DL_SCH_LCID_DCCH: // From values 1 to 32 it equals to the identity of the logical channel
// check if LCID is valid at current time. case 1 ... 32:
case DL_SCH_LCID_DCCH1:
// check if LCID is valid at current time.
case DL_SCH_LCID_DTCH ... (DL_SCH_LCID_DTCH + 28):
if (!get_mac_len(pduP, pdu_len, &mac_len, &mac_subheader_len)) if (!get_mac_len(pduP, pdu_len, &mac_len, &mac_subheader_len))
return; return;
LOG_D(NR_MAC, "%4d.%2d : DLSCH -> LCID %d %d bytes\n", frameP, slot, rx_lcid, mac_len); LOG_D(NR_MAC, "%4d.%2d : DLSCH -> LCID %d %d bytes\n", frameP, slot, rx_lcid, mac_len);