Show CRC errors for RARs.
svn path=/trunk/; revision=29548
This commit is contained in:
parent
6899bdc299
commit
5560cb61c0
|
@ -1281,12 +1281,8 @@ static void attach_mac_lte_info(packet_info *pinfo)
|
|||
p_mac_lte_info->reTxCount = outhdr_values[i++];
|
||||
}
|
||||
if (outhdr_values_found > 9) {
|
||||
/* CRC only valid for DL-SCH */
|
||||
if ((p_mac_lte_info->direction == DIRECTION_DOWNLINK) &&
|
||||
((p_mac_lte_info->rntiType == C_RNTI) ||
|
||||
(p_mac_lte_info->rntiType == SI_RNTI) ||
|
||||
(p_mac_lte_info->rntiType == P_RNTI))) {
|
||||
|
||||
/* CRC only valid for Downlink */
|
||||
if (p_mac_lte_info->direction == DIRECTION_DOWNLINK) {
|
||||
p_mac_lte_info->crcStatusValid = TRUE;
|
||||
p_mac_lte_info->crcStatus = outhdr_values[i++];
|
||||
}
|
||||
|
|
|
@ -1619,7 +1619,10 @@ void dissect_mac_lte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
if (p_mac_lte_info->crcStatus != TRUE) {
|
||||
expert_add_info_format(pinfo, ti, PI_MALFORMED, PI_ERROR,
|
||||
"Frame has CRC error");
|
||||
col_append_fstr(pinfo->cinfo, COL_INFO, "<CRC FAILURE> ");
|
||||
col_append_fstr(pinfo->cinfo, COL_INFO, "<CRC FAILURE> on %s %u ",
|
||||
val_to_str(p_mac_lte_info->rntiType, rnti_type_vals,
|
||||
"Unknown RNTI type"),
|
||||
p_mac_lte_info->rnti);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue