Skip invalid MAC CCCH messages for being processed at UE
This commit is contained in:
@@ -1827,6 +1827,12 @@ void nr_ue_process_mac_pdu(nr_downlink_indication_t *dl_info,
|
|||||||
mac_subheader_len = 2;
|
mac_subheader_len = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if it is a valid CCCH message, we get all 00's messages very often
|
||||||
|
if ( pdu_len != (mac_subheader_len+mac_sdu_len) ) {
|
||||||
|
LOG_D(NR_MAC, "%s() Invalid CCCH message!, pdu_len: %d\n", __func__, pdu_len);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if ( mac_sdu_len > 0 ) {
|
if ( mac_sdu_len > 0 ) {
|
||||||
|
|
||||||
LOG_D(NR_MAC,"DL_SCH_LCID_CCCH with payload len %d: bits\n", mac_sdu_len);
|
LOG_D(NR_MAC,"DL_SCH_LCID_CCCH with payload len %d: bits\n", mac_sdu_len);
|
||||||
|
|||||||
Reference in New Issue
Block a user