2013-04-11 18:14:53 +00:00
|
|
|
/* Do not modify this file. Changes will be overwritten. */
|
|
|
|
/* Generated automatically by the ASN.1 to Wireshark dissector compiler */
|
2012-07-16 13:11:20 +00:00
|
|
|
/* packet-nbap.h */
|
2016-03-09 03:17:51 +00:00
|
|
|
/* asn2wrs.py -p nbap -c ./nbap.cnf -s ./packet-nbap-template -D . -O ../.. NBAP-CommonDataTypes.asn NBAP-Constants.asn NBAP-Containers.asn NBAP-IEs.asn NBAP-PDU-Contents.asn NBAP-PDU-Descriptions.asn */
|
2012-07-16 13:11:20 +00:00
|
|
|
|
|
|
|
/* Input file: packet-nbap-template.h */
|
|
|
|
|
2017-06-10 13:14:02 +00:00
|
|
|
#line 1 "./asn1/nbap/packet-nbap-template.h"
|
2012-07-16 13:11:20 +00:00
|
|
|
/* packet-nbap-template.h
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PACKET_NBAP_H
|
|
|
|
#define PACKET_NBAP_H
|
|
|
|
|
2017-06-17 20:27:33 +00:00
|
|
|
#include "packet-umts_rlc.h"
|
2012-07-31 08:40:22 +00:00
|
|
|
#include "packet-umts_mac.h"
|
|
|
|
|
2012-07-16 13:11:20 +00:00
|
|
|
/*
|
|
|
|
* Ericsson specific mapping for various dissector settings.
|
2012-07-31 06:56:13 +00:00
|
|
|
* Must be altered for other equipment.
|
2012-07-16 13:11:20 +00:00
|
|
|
*/
|
2012-07-31 06:56:13 +00:00
|
|
|
|
2012-07-16 13:11:20 +00:00
|
|
|
/*Array are indexed on logical channel id, meaning they need to be defined for 1-15*/
|
|
|
|
/* Mapping from logical channel id to MAC content type ie. DCCH or DTCH*/
|
2012-07-31 06:56:13 +00:00
|
|
|
extern guint8 lchId_type_table[];
|
2012-07-16 13:11:20 +00:00
|
|
|
|
|
|
|
/* Mapping logicalchannel id to RLC_MODE */
|
2016-02-10 11:47:20 +00:00
|
|
|
extern guint8 lchId_rlc_map[];
|
2012-07-31 06:56:13 +00:00
|
|
|
|
2017-05-04 15:09:42 +00:00
|
|
|
/* Mapping Scrambling Codes to C-RNC Contexts */
|
2017-05-07 21:13:48 +00:00
|
|
|
extern wmem_tree_t *nbap_scrambling_code_crncc_map;
|
2017-05-04 15:09:42 +00:00
|
|
|
/* Mapping C-RNC Contexts to U-RNTIs */
|
2017-05-07 21:13:48 +00:00
|
|
|
extern wmem_tree_t *nbap_crncc_urnti_map;
|
2017-05-04 15:09:42 +00:00
|
|
|
|
2016-02-10 10:07:48 +00:00
|
|
|
#if 0
|
2012-07-16 13:11:20 +00:00
|
|
|
static const value_string lchid_name_resolve[] = {
|
2012-07-31 06:56:13 +00:00
|
|
|
{1,"DCCH"}, /* 1 to 4 SRB => DCCH*/
|
2012-07-16 13:11:20 +00:00
|
|
|
{2,"DCCH"},
|
|
|
|
{3,"DCCH"},
|
|
|
|
{4,"DCCH"},
|
|
|
|
{8,"DCCH"}, /* 8 SRB => DCCH*/
|
|
|
|
{9,"DTCH"}, /*9 maps to DTCH*/
|
|
|
|
{10,"UNKNOWN"}, /*10 Conv CS unknown*/
|
|
|
|
{11,"DTCH"}, /*11 Interactive PS => DTCH*/
|
|
|
|
{12,"DTCH"}, /*12 13 Streaming PS => DTCH*/
|
|
|
|
{13,"DTCH"},
|
|
|
|
{14,"DTCH"}, /*14 Interatictive PS => DTCH*/
|
|
|
|
{15,"MAC_CONTENT_UNKNOWN"},
|
|
|
|
{0, NULL} /* This is CCCH? */
|
|
|
|
};
|
|
|
|
#endif
|
2016-02-10 10:07:48 +00:00
|
|
|
#endif
|