From 6aa384b3e9cae6361079510171f5fb651ce51815 Mon Sep 17 00:00:00 2001 From: etxrab Date: Thu, 3 Jan 2008 14:35:45 +0000 Subject: Fix up compilation errors. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24003 f5534014-38df-0310-8fa8-9805f1628bb7 --- asn1/s1ap/Makefile.common | 2 +- asn1/s1ap/packet-s1ap-template.c | 4 +--- asn1/s1ap/s1ap.cnf | 25 +++++++------------------ asn1/x2ap/X2AP-IEs.asn | 4 +++- 4 files changed, 12 insertions(+), 23 deletions(-) diff --git a/asn1/s1ap/Makefile.common b/asn1/s1ap/Makefile.common index 2d48cd3542..1aa56c9877 100644 --- a/asn1/s1ap/Makefile.common +++ b/asn1/s1ap/Makefile.common @@ -25,7 +25,7 @@ PROTOCOL_NAME = s1ap DISSECTOR_FILES = \ packet-$(PROTOCOL_NAME).c -NEED_PACKET_PROTO_H = 0 +# NEED_PACKET_PROTO_H = 1 EXT_ASN_FILE_LIST = diff --git a/asn1/s1ap/packet-s1ap-template.c b/asn1/s1ap/packet-s1ap-template.c index 89b11e43a5..9191dc4f44 100644 --- a/asn1/s1ap/packet-s1ap-template.c +++ b/asn1/s1ap/packet-s1ap-template.c @@ -1,5 +1,5 @@ /* packet-s1ap.c - * Routines for E-UTRAN) S1 Application Protocol (S1AP) packet dissection + * Routines for E-UTRAN S1 Application Protocol (S1AP) packet dissection * Copyright 2007, Anders Broman * * $Id: packet-s1ap-template.c 22778 2007-09-03 16:40:51Z etxrab $ @@ -43,8 +43,6 @@ #include "packet-ber.h" #include "packet-per.h" -#include "packet-gsm_map.h" -#include "packet-s1ap.h" #include "packet-e212.h" #include "packet-sccp.h" diff --git a/asn1/s1ap/s1ap.cnf b/asn1/s1ap/s1ap.cnf index ceb1ca8429..eabfcbd825 100644 --- a/asn1/s1ap/s1ap.cnf +++ b/asn1/s1ap/s1ap.cnf @@ -105,24 +105,13 @@ MAX_VAL = asn1_param_get_integer(%(ACTX)s,"upperBound") #RAB-IE-ContainerList { S1AP-PROTOCOL-IES : IEsSetParam } ::= ProtocolIE-ContainerList { 1, maxNrOfRABs, {IEsSetParam} } #ProtocolError-IE-ContainerList { S1AP-PROTOCOL-IES : IEsSetParam } ::= ProtocolIE-ContainerList { 1, maxNrOfRABs, {IEsSetParam} } -#.FN_BODY ProtocolError-IE-ContainerList - asn1_stack_frame_push(%(ACTX)s, "ProtocolIE-ContainerList"); - asn1_param_push_integer(%(ACTX)s, 1); - asn1_param_push_integer(%(ACTX)s, maxNrOfRABs); -%(DEFAULT_BODY)s - asn1_stack_frame_pop(%(ACTX)s, "ProtocolIE-ContainerList"); -#.END - -#.END - -#.FN_BODY NAS-PDU VAL_PTR = &nas_pdu_tvb - tvbuff_t *nas_pdu_tvb=NULL; - -%(DEFAULT_BODY)s - - if (nas_pdu_tvb) - dissector_try_port(nas_pdu_dissector_table, 0x1, nas_pdu_tvb, %(ACTX)s->pinfo, proto_tree_get_root(tree)); -#.END +# FN_BODY ProtocolError-IE-ContainerList +# asn1_stack_frame_push(%(ACTX)s, "ProtocolIE-ContainerList"); +# asn1_param_push_integer(%(ACTX)s, 1); +# asn1_param_push_integer(%(ACTX)s, maxNrOfRABs); +#%(DEFAULT_BODY)s +# asn1_stack_frame_pop(%(ACTX)s, "ProtocolIE-ContainerList"); +# END # following construction is not supported by asn2wrs # PLMNidentity ::= TBCD-STRING (SIZE (3)) diff --git a/asn1/x2ap/X2AP-IEs.asn b/asn1/x2ap/X2AP-IEs.asn index 8f7e455fb4..f9998b6a5b 100644 --- a/asn1/x2ap/X2AP-IEs.asn +++ b/asn1/x2ap/X2AP-IEs.asn @@ -294,7 +294,9 @@ RRC-Context ::= OCTET STRING -- S -SAE-Bearer-BitRate ::= INTEGER (0..210000000000) +--SAE-Bearer-BitRate ::= INTEGER (0..210000000000) +-- NOTE THIS needs changes in packet-per.c I think !!!! +SAE-Bearer-BitRate ::= INTEGER (0..4294967295) SAE-BearerLevel-QoS-Parameters ::= SEQUENCE { label INTEGER (1..256), -- cgit v1.2.3