Clarify interface/test for DL HARQ id, and remove a trailing comma from

an enum.

svn path=/trunk/; revision=49961
This commit is contained in:
Martin Mathieson 2013-06-16 15:11:21 +00:00
parent 562a126ddc
commit f4b3cb0917
2 changed files with 3 additions and 3 deletions

View File

@ -1991,7 +1991,7 @@ static void TrackReportedDLHARQResend(packet_info *pinfo, tvbuff_t *tvb, volatil
guint8 transport_block = p_mac_lte_info->detailed_phy_info.dl_info.transport_block;
/* Check harq-id bounds, give up if invalid */
if ((harq_id >= 15) || (transport_block+1 > 2)) {
if ((harq_id >= 15) || (transport_block > 1)) {
return;
}

View File

@ -94,7 +94,7 @@ typedef enum mac_lte_carrier_id {
carrier_id_secondary_1,
carrier_id_secondary_2,
carrier_id_secondary_3,
carrier_id_secondary_4,
carrier_id_secondary_4
} mac_lte_carrier_id;
/* Context info attached to each LTE MAC frame */
@ -164,7 +164,7 @@ typedef struct mac_lte_info
mac_lte_crc_status crc_status;
guint8 harq_id;
gboolean ndi;
guint8 transport_block; /* 1..2 */
guint8 transport_block; /* 0..1 */
} dl_info;
} detailed_phy_info;