[NBAP] Array hsdsch_macdflow_id_rlc_map should be 8 elements.

Bug: 12112
Change-Id: I3d3fd822b291d459613030dda122963a72c13ee6
Reviewed-on: https://code.wireshark.org/review/13901
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
AndersBroman 2016-02-11 14:26:57 +01:00 committed by Anders Broman
parent 139297f79a
commit e34f04fb01
2 changed files with 14 additions and 12 deletions

View File

@ -37,13 +37,14 @@ extern guint8 lchId_type_table[];
/* Mapping logicalchannel id to RLC_MODE */
extern guint8 lchId_rlc_map[];
/* 1 to 8*/
/* 0 to 7*/
static const guint8 hsdsch_macdflow_id_rlc_map[] = {
RLC_UM, /*1 SRB */
RLC_AM, /*2 Interactive PS*/
RLC_AM, /*3 Interatcive PS*/
RLC_UNKNOWN_MODE, /*4 ???*/
RLC_AM, /*5 Streaming PS*/
RLC_UM, /*0 SRB */
RLC_AM, /*1 Interactive PS*/
RLC_AM, /*2 Interatcive PS*/
RLC_UNKNOWN_MODE, /*3 ???*/
RLC_AM, /*4 Streaming PS*/
RLC_UNKNOWN_MODE,
RLC_UNKNOWN_MODE,
RLC_UNKNOWN_MODE
};

View File

@ -45,13 +45,14 @@ extern guint8 lchId_type_table[];
/* Mapping logicalchannel id to RLC_MODE */
extern guint8 lchId_rlc_map[];
/* 1 to 8*/
/* 0 to 7*/
static const guint8 hsdsch_macdflow_id_rlc_map[] = {
RLC_UM, /*1 SRB */
RLC_AM, /*2 Interactive PS*/
RLC_AM, /*3 Interatcive PS*/
RLC_UNKNOWN_MODE, /*4 ???*/
RLC_AM, /*5 Streaming PS*/
RLC_UM, /*0 SRB */
RLC_AM, /*1 Interactive PS*/
RLC_AM, /*2 Interatcive PS*/
RLC_UNKNOWN_MODE, /*3 ???*/
RLC_AM, /*4 Streaming PS*/
RLC_UNKNOWN_MODE,
RLC_UNKNOWN_MODE,
RLC_UNKNOWN_MODE
};