forked from osmocom/wireshark
Assert was firing while working out sequence length for user plane frames.
Treat signalling plane case separately. svn path=/trunk/; revision=34893
This commit is contained in:
parent
3c98cf2ebc
commit
43bfcfc32a
|
@ -514,14 +514,15 @@ static void show_AM_PDU_in_tree(packet_info *pinfo, proto_tree *tree, tvbuff_t *
|
||||||
p_pdcp_lte_info->channelType = Channel_DCCH;
|
p_pdcp_lte_info->channelType = Channel_DCCH;
|
||||||
p_pdcp_lte_info->channelId = rlc_info->channelId;
|
p_pdcp_lte_info->channelId = rlc_info->channelId;
|
||||||
p_pdcp_lte_info->direction = rlc_info->direction;
|
p_pdcp_lte_info->direction = rlc_info->direction;
|
||||||
|
|
||||||
|
/* Set plane and sequnce number length */
|
||||||
p_pdcp_lte_info->no_header_pdu = FALSE;
|
p_pdcp_lte_info->no_header_pdu = FALSE;
|
||||||
if (rlc_info->channelType == CHANNEL_TYPE_SRB) {
|
if (rlc_info->channelType == CHANNEL_TYPE_SRB) {
|
||||||
p_pdcp_lte_info->plane = SIGNALING_PLANE;
|
p_pdcp_lte_info->plane = SIGNALING_PLANE;
|
||||||
|
p_pdcp_lte_info->seqnum_length = 5;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
p_pdcp_lte_info->plane = USER_PLANE;
|
p_pdcp_lte_info->plane = USER_PLANE;
|
||||||
}
|
|
||||||
/* Set sequence number field length */
|
|
||||||
switch (global_rlc_lte_call_pdcp_for_drb) {
|
switch (global_rlc_lte_call_pdcp_for_drb) {
|
||||||
case PDCP_drb_SN_7:
|
case PDCP_drb_SN_7:
|
||||||
p_pdcp_lte_info->seqnum_length = 7;
|
p_pdcp_lte_info->seqnum_length = 7;
|
||||||
|
@ -533,6 +534,7 @@ static void show_AM_PDU_in_tree(packet_info *pinfo, proto_tree *tree, tvbuff_t *
|
||||||
DISSECTOR_ASSERT(FALSE);
|
DISSECTOR_ASSERT(FALSE);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
p_pdcp_lte_info->rohc_compression = FALSE;
|
p_pdcp_lte_info->rohc_compression = FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue