aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-umts_rrc.c
blob: 14789ecbeb830859bb253ef748a6acd710c9d9dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
/* Do not modify this file.                                                   */
/* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
/* .\packet-umts_rrc.c                                                        */
/* ../../tools/asn2wrs.py -u -e -p umts_rrc -c umts_rrc.cnf -s packet-umts_rrc-template umts_rrc_Class-definitions.asn */

/* Input file: packet-umts_rrc-template.c */

#line 1 "packet-umts_rrc-template.c"
/* packet-umts_rrc.c
 * Routines for Universal Mobile Telecommunications System (UMTS);
 * Radio Resource Control (RRC) protocol specification
 * (3GPP TS 25.331 version 6.7.0 Release 6) packet dissection
 * Copyright 2006, Anders Broman <anders.broman@ericsson.com>
 *
 * $Id$
 *
 * 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., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 * Ref: 3GPP TS 25.423 version 6.7.0 Release 6
 */

#ifdef HAVE_CONFIG_H
# include "config.h"
#endif

#include <glib.h>
#include <epan/packet.h>
#include <epan/conversation.h>
#include <epan/asn1.h>

#include <stdio.h>
#include <string.h>

#include "packet-ber.h"
#include "packet-per.h"
#include "packet-umts_rrc.h"
#include "packet-umts_rrc_ies.h"
#include "packet-umts_rrc_pdu_def.h"

#define PNAME  "Universal Mobile Telecommunications System (UMTS) Radio Resource Control (RRC) protocol"
#define PSNAME "UMTS_RRC"
#define PFNAME "umts_rrc"

static dissector_handle_t umts_rrc_handle=NULL;

/* Include constants */
/*#include "packet-umts_rrc-val.h"*/

/* Initialize the protocol and registered fields */
static int proto_umts_rrc = -1;



/*--- Included file: packet-umts_rrc-hf.c ---*/
#line 1 "packet-umts_rrc-hf.c"
static int hf_umts_rrc_DL_DCCH_Message_PDU = -1;  /* DL_DCCH_Message */
static int hf_umts_rrc_integrityCheckInfo = -1;   /* IntegrityCheckInfo */
static int hf_umts_rrc_message = -1;              /* DL_DCCH_MessageType */
static int hf_umts_rrc_activeSetUpdate = -1;      /* ActiveSetUpdate */
static int hf_umts_rrc_assistanceDataDelivery = -1;  /* AssistanceDataDelivery */
static int hf_umts_rrc_cellChangeOrderFromUTRAN = -1;  /* CellChangeOrderFromUTRAN */
static int hf_umts_rrc_cellUpdateConfirm = -1;    /* CellUpdateConfirm */
static int hf_umts_rrc_counterCheck = -1;         /* CounterCheck */
static int hf_umts_rrc_downlinkDirectTransfer = -1;  /* DownlinkDirectTransfer */
static int hf_umts_rrc_handoverFromUTRANCommand_GSM = -1;  /* HandoverFromUTRANCommand_GSM */
static int hf_umts_rrc_handoverFromUTRANCommand_CDMA2000 = -1;  /* HandoverFromUTRANCommand_CDMA2000 */
static int hf_umts_rrc_measurementControl = -1;   /* MeasurementControl */
static int hf_umts_rrc_pagingType2 = -1;          /* PagingType2 */
static int hf_umts_rrc_physicalChannelReconfiguration = -1;  /* PhysicalChannelReconfiguration */
static int hf_umts_rrc_physicalSharedChannelAllocation = -1;  /* PhysicalSharedChannelAllocation */
static int hf_umts_rrc_radioBearerReconfiguration = -1;  /* RadioBearerReconfiguration */
static int hf_umts_rrc_radioBearerRelease = -1;   /* RadioBearerRelease */
static int hf_umts_rrc_radioBearerSetup = -1;     /* RadioBearerSetup */
static int hf_umts_rrc_rrcConnectionRelease = -1;  /* RRCConnectionRelease */
static int hf_umts_rrc_securityModeCommand = -1;  /* SecurityModeCommand */
static int hf_umts_rrc_signallingConnectionRelease = -1;  /* SignallingConnectionRelease */
static int hf_umts_rrc_transportChannelReconfiguration = -1;  /* TransportChannelReconfiguration */
static int hf_umts_rrc_transportFormatCombinationControl = -1;  /* TransportFormatCombinationControl */
static int hf_umts_rrc_ueCapabilityEnquiry = -1;  /* UECapabilityEnquiry */
static int hf_umts_rrc_ueCapabilityInformationConfirm = -1;  /* UECapabilityInformationConfirm */
static int hf_umts_rrc_uplinkPhysicalChannelControl = -1;  /* UplinkPhysicalChannelControl */
static int hf_umts_rrc_uraUpdateConfirm = -1;     /* URAUpdateConfirm */
static int hf_umts_rrc_utranMobilityInformation = -1;  /* UTRANMobilityInformation */
static int hf_umts_rrc_handoverFromUTRANCommand_GERANIu = -1;  /* HandoverFromUTRANCommand_GERANIu */
static int hf_umts_rrc_mbmsModifiedServicesInformation = -1;  /* MBMSModifiedServicesInformation */
static int hf_umts_rrc_spare5 = -1;               /* NULL */
static int hf_umts_rrc_spare4 = -1;               /* NULL */
static int hf_umts_rrc_spare3 = -1;               /* NULL */
static int hf_umts_rrc_spare2 = -1;               /* NULL */
static int hf_umts_rrc_spare1 = -1;               /* NULL */
static int hf_umts_rrc_message1 = -1;             /* UL_DCCH_MessageType */
static int hf_umts_rrc_activeSetUpdateComplete = -1;  /* ActiveSetUpdateComplete */
static int hf_umts_rrc_activeSetUpdateFailure = -1;  /* ActiveSetUpdateFailure */
static int hf_umts_rrc_cellChangeOrderFromUTRANFailure = -1;  /* CellChangeOrderFromUTRANFailure */
static int hf_umts_rrc_counterCheckResponse = -1;  /* CounterCheckResponse */
static int hf_umts_rrc_handoverToUTRANComplete = -1;  /* HandoverToUTRANComplete */
static int hf_umts_rrc_initialDirectTransfer = -1;  /* InitialDirectTransfer */
static int hf_umts_rrc_handoverFromUTRANFailure = -1;  /* HandoverFromUTRANFailure */
static int hf_umts_rrc_measurementControlFailure = -1;  /* MeasurementControlFailure */
static int hf_umts_rrc_measurementReport = -1;    /* MeasurementReport */
static int hf_umts_rrc_physicalChannelReconfigurationComplete = -1;  /* PhysicalChannelReconfigurationComplete */
static int hf_umts_rrc_physicalChannelReconfigurationFailure = -1;  /* PhysicalChannelReconfigurationFailure */
static int hf_umts_rrc_radioBearerReconfigurationComplete = -1;  /* RadioBearerReconfigurationComplete */
static int hf_umts_rrc_radioBearerReconfigurationFailure = -1;  /* RadioBearerReconfigurationFailure */
static int hf_umts_rrc_radioBearerReleaseComplete = -1;  /* RadioBearerReleaseComplete */
static int hf_umts_rrc_radioBearerReleaseFailure = -1;  /* RadioBearerReleaseFailure */
static int hf_umts_rrc_radioBearerSetupComplete = -1;  /* RadioBearerSetupComplete */
static int hf_umts_rrc_radioBearerSetupFailure = -1;  /* RadioBearerSetupFailure */
static int hf_umts_rrc_rrcConnectionReleaseComplete = -1;  /* RRCConnectionReleaseComplete */
static int hf_umts_rrc_rrcConnectionSetupComplete = -1;  /* RRCConnectionSetupComplete */
static int hf_umts_rrc_rrcStatus = -1;            /* RRCStatus */
static int hf_umts_rrc_securityModeComplete = -1;  /* SecurityModeComplete */
static int hf_umts_rrc_securityModeFailure = -1;  /* SecurityModeFailure */
static int hf_umts_rrc_signallingConnectionReleaseIndication = -1;  /* SignallingConnectionReleaseIndication */
static int hf_umts_rrc_transportChannelReconfigurationComplete = -1;  /* TransportChannelReconfigurationComplete */
static int hf_umts_rrc_transportChannelReconfigurationFailure = -1;  /* TransportChannelReconfigurationFailure */
static int hf_umts_rrc_transportFormatCombinationControlFailure = -1;  /* TransportFormatCombinationControlFailure */
static int hf_umts_rrc_ueCapabilityInformation = -1;  /* UECapabilityInformation */
static int hf_umts_rrc_uplinkDirectTransfer = -1;  /* UplinkDirectTransfer */
static int hf_umts_rrc_utranMobilityInformationConfirm = -1;  /* UTRANMobilityInformationConfirm */
static int hf_umts_rrc_utranMobilityInformationFailure = -1;  /* UTRANMobilityInformationFailure */
static int hf_umts_rrc_mbmsModificationRequest = -1;  /* MBMSModificationRequest */
static int hf_umts_rrc_message2 = -1;             /* DL_CCCH_MessageType */
static int hf_umts_rrc_cellUpdateConfirm1 = -1;   /* CellUpdateConfirm_CCCH */
static int hf_umts_rrc_rrcConnectionReject = -1;  /* RRCConnectionReject */
static int hf_umts_rrc_rrcConnectionRelease1 = -1;  /* RRCConnectionRelease_CCCH */
static int hf_umts_rrc_rrcConnectionSetup = -1;   /* RRCConnectionSetup */
static int hf_umts_rrc_uraUpdateConfirm1 = -1;    /* URAUpdateConfirm_CCCH */
static int hf_umts_rrc_message3 = -1;             /* UL_CCCH_MessageType */
static int hf_umts_rrc_cellUpdate = -1;           /* CellUpdate */
static int hf_umts_rrc_rrcConnectionRequest = -1;  /* RRCConnectionRequest */
static int hf_umts_rrc_uraUpdate = -1;            /* URAUpdate */
static int hf_umts_rrc_spare = -1;                /* NULL */
static int hf_umts_rrc_message4 = -1;             /* PCCH_MessageType */
static int hf_umts_rrc_pagingType1 = -1;          /* PagingType1 */
static int hf_umts_rrc_message5 = -1;             /* DL_SHCCH_MessageType */
static int hf_umts_rrc_message6 = -1;             /* UL_SHCCH_MessageType */
static int hf_umts_rrc_puschCapacityRequest = -1;  /* PUSCHCapacityRequest */
static int hf_umts_rrc_message7 = -1;             /* BCCH_FACH_MessageType */
static int hf_umts_rrc_systemInformation = -1;    /* SystemInformation_FACH */
static int hf_umts_rrc_systemInformationChangeIndication = -1;  /* SystemInformationChangeIndication */
static int hf_umts_rrc_message8 = -1;             /* SystemInformation_BCH */
static int hf_umts_rrc_message9 = -1;             /* MCCH_MessageType */
static int hf_umts_rrc_mbmsAccessInformation = -1;  /* MBMSAccessInformation */
static int hf_umts_rrc_mbmsCommonPTMRBInformation = -1;  /* MBMSCommonPTMRBInformation */
static int hf_umts_rrc_mbmsCurrentCellPTMRBInformation = -1;  /* MBMSCurrentCellPTMRBInformation */
static int hf_umts_rrc_mbmsGeneralInformation = -1;  /* MBMSGeneralInformation */
static int hf_umts_rrc_mbmsNeighbouringCellPTMRBInformation = -1;  /* MBMSNeighbouringCellPTMRBInformation */
static int hf_umts_rrc_mbmsUnmodifiedServicesInformation = -1;  /* MBMSUnmodifiedServicesInformation */
static int hf_umts_rrc_spare9 = -1;               /* NULL */
static int hf_umts_rrc_spare8 = -1;               /* NULL */
static int hf_umts_rrc_spare7 = -1;               /* NULL */
static int hf_umts_rrc_spare6 = -1;               /* NULL */
static int hf_umts_rrc_message10 = -1;            /* MSCH_MessageType */
static int hf_umts_rrc_mbmsSchedulingInformation = -1;  /* MBMSSchedulingInformation */

/*--- End of included file: packet-umts_rrc-hf.c ---*/
#line 62 "packet-umts_rrc-template.c"

/* Initialize the subtree pointers */
static int ett_umts_rrc = -1;


/*--- Included file: packet-umts_rrc-ett.c ---*/
#line 1 "packet-umts_rrc-ett.c"
static gint ett_umts_rrc_DL_DCCH_Message = -1;
static gint ett_umts_rrc_DL_DCCH_MessageType = -1;
static gint ett_umts_rrc_UL_DCCH_Message = -1;
static gint ett_umts_rrc_UL_DCCH_MessageType = -1;
static gint ett_umts_rrc_DL_CCCH_Message = -1;
static gint ett_umts_rrc_DL_CCCH_MessageType = -1;
static gint ett_umts_rrc_UL_CCCH_Message = -1;
static gint ett_umts_rrc_UL_CCCH_MessageType = -1;
static gint ett_umts_rrc_PCCH_Message = -1;
static gint ett_umts_rrc_PCCH_MessageType = -1;
static gint ett_umts_rrc_DL_SHCCH_Message = -1;
static gint ett_umts_rrc_DL_SHCCH_MessageType = -1;
static gint ett_umts_rrc_UL_SHCCH_Message = -1;
static gint ett_umts_rrc_UL_SHCCH_MessageType = -1;
static gint ett_umts_rrc_BCCH_FACH_Message = -1;
static gint ett_umts_rrc_BCCH_FACH_MessageType = -1;
static gint ett_umts_rrc_BCCH_BCH_Message = -1;
static gint ett_umts_rrc_MCCH_Message = -1;
static gint ett_umts_rrc_MCCH_MessageType = -1;
static gint ett_umts_rrc_MSCH_Message = -1;
static gint ett_umts_rrc_MSCH_MessageType = -1;

/*--- End of included file: packet-umts_rrc-ett.c ---*/
#line 67 "packet-umts_rrc-template.c"

/* Global variables */
static proto_tree *top_tree;


/*--- Included file: packet-umts_rrc-fn.c ---*/
#line 1 "packet-umts_rrc-fn.c"


static int
dissect_umts_rrc_NULL(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_null(tvb, offset, actx, tree, hf_index);

  return offset;
}


static const value_string umts_rrc_DL_DCCH_MessageType_vals[] = {
  {   0, "activeSetUpdate" },
  {   1, "assistanceDataDelivery" },
  {   2, "cellChangeOrderFromUTRAN" },
  {   3, "cellUpdateConfirm" },
  {   4, "counterCheck" },
  {   5, "downlinkDirectTransfer" },
  {   6, "handoverFromUTRANCommand-GSM" },
  {   7, "handoverFromUTRANCommand-CDMA2000" },
  {   8, "measurementControl" },
  {   9, "pagingType2" },
  {  10, "physicalChannelReconfiguration" },
  {  11, "physicalSharedChannelAllocation" },
  {  12, "radioBearerReconfiguration" },
  {  13, "radioBearerRelease" },
  {  14, "radioBearerSetup" },
  {  15, "rrcConnectionRelease" },
  {  16, "securityModeCommand" },
  {  17, "signallingConnectionRelease" },
  {  18, "transportChannelReconfiguration" },
  {  19, "transportFormatCombinationControl" },
  {  20, "ueCapabilityEnquiry" },
  {  21, "ueCapabilityInformationConfirm" },
  {  22, "uplinkPhysicalChannelControl" },
  {  23, "uraUpdateConfirm" },
  {  24, "utranMobilityInformation" },
  {  25, "handoverFromUTRANCommand-GERANIu" },
  {  26, "mbmsModifiedServicesInformation" },
  {  27, "spare5" },
  {  28, "spare4" },
  {  29, "spare3" },
  {  30, "spare2" },
  {  31, "spare1" },
  { 0, NULL }
};

static const per_choice_t DL_DCCH_MessageType_choice[] = {
  {   0, &hf_umts_rrc_activeSetUpdate, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_ActiveSetUpdate },
  {   1, &hf_umts_rrc_assistanceDataDelivery, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_AssistanceDataDelivery },
  {   2, &hf_umts_rrc_cellChangeOrderFromUTRAN, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_CellChangeOrderFromUTRAN },
  {   3, &hf_umts_rrc_cellUpdateConfirm, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_CellUpdateConfirm },
  {   4, &hf_umts_rrc_counterCheck, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_CounterCheck },
  {   5, &hf_umts_rrc_downlinkDirectTransfer, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_DownlinkDirectTransfer },
  {   6, &hf_umts_rrc_handoverFromUTRANCommand_GSM, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_HandoverFromUTRANCommand_GSM },
  {   7, &hf_umts_rrc_handoverFromUTRANCommand_CDMA2000, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_HandoverFromUTRANCommand_CDMA2000 },
  {   8, &hf_umts_rrc_measurementControl, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_MeasurementControl },
  {   9, &hf_umts_rrc_pagingType2, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_PagingType2 },
  {  10, &hf_umts_rrc_physicalChannelReconfiguration, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_PhysicalChannelReconfiguration },
  {  11, &hf_umts_rrc_physicalSharedChannelAllocation, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_PhysicalSharedChannelAllocation },
  {  12, &hf_umts_rrc_radioBearerReconfiguration, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RadioBearerReconfiguration },
  {  13, &hf_umts_rrc_radioBearerRelease, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RadioBearerRelease },
  {  14, &hf_umts_rrc_radioBearerSetup, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RadioBearerSetup },
  {  15, &hf_umts_rrc_rrcConnectionRelease, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RRCConnectionRelease },
  {  16, &hf_umts_rrc_securityModeCommand, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_SecurityModeCommand },
  {  17, &hf_umts_rrc_signallingConnectionRelease, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_SignallingConnectionRelease },
  {  18, &hf_umts_rrc_transportChannelReconfiguration, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_TransportChannelReconfiguration },
  {  19, &hf_umts_rrc_transportFormatCombinationControl, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_TransportFormatCombinationControl },
  {  20, &hf_umts_rrc_ueCapabilityEnquiry, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_UECapabilityEnquiry },
  {  21, &hf_umts_rrc_ueCapabilityInformationConfirm, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_UECapabilityInformationConfirm },
  {  22, &hf_umts_rrc_uplinkPhysicalChannelControl, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_UplinkPhysicalChannelControl },
  {  23, &hf_umts_rrc_uraUpdateConfirm, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_URAUpdateConfirm },
  {  24, &hf_umts_rrc_utranMobilityInformation, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_UTRANMobilityInformation },
  {  25, &hf_umts_rrc_handoverFromUTRANCommand_GERANIu, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_HandoverFromUTRANCommand_GERANIu },
  {  26, &hf_umts_rrc_mbmsModifiedServicesInformation, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_MBMSModifiedServicesInformation },
  {  27, &hf_umts_rrc_spare5     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {  28, &hf_umts_rrc_spare4     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {  29, &hf_umts_rrc_spare3     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {  30, &hf_umts_rrc_spare2     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {  31, &hf_umts_rrc_spare1     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  { 0, NULL, 0, NULL }
};

static int
dissect_umts_rrc_DL_DCCH_MessageType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
                                 ett_umts_rrc_DL_DCCH_MessageType, DL_DCCH_MessageType_choice,
                                 NULL);

  return offset;
}


static const per_sequence_t DL_DCCH_Message_sequence[] = {
  { &hf_umts_rrc_integrityCheckInfo, ASN1_NO_EXTENSIONS     , ASN1_OPTIONAL    , dissect_umts_rrc_ies_IntegrityCheckInfo },
  { &hf_umts_rrc_message    , ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_umts_rrc_DL_DCCH_MessageType },
  { NULL, 0, 0, NULL }
};

int
dissect_umts_rrc_DL_DCCH_Message(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
                                   ett_umts_rrc_DL_DCCH_Message, DL_DCCH_Message_sequence);

  return offset;
}


static const value_string umts_rrc_UL_DCCH_MessageType_vals[] = {
  {   0, "activeSetUpdateComplete" },
  {   1, "activeSetUpdateFailure" },
  {   2, "cellChangeOrderFromUTRANFailure" },
  {   3, "counterCheckResponse" },
  {   4, "handoverToUTRANComplete" },
  {   5, "initialDirectTransfer" },
  {   6, "handoverFromUTRANFailure" },
  {   7, "measurementControlFailure" },
  {   8, "measurementReport" },
  {   9, "physicalChannelReconfigurationComplete" },
  {  10, "physicalChannelReconfigurationFailure" },
  {  11, "radioBearerReconfigurationComplete" },
  {  12, "radioBearerReconfigurationFailure" },
  {  13, "radioBearerReleaseComplete" },
  {  14, "radioBearerReleaseFailure" },
  {  15, "radioBearerSetupComplete" },
  {  16, "radioBearerSetupFailure" },
  {  17, "rrcConnectionReleaseComplete" },
  {  18, "rrcConnectionSetupComplete" },
  {  19, "rrcStatus" },
  {  20, "securityModeComplete" },
  {  21, "securityModeFailure" },
  {  22, "signallingConnectionReleaseIndication" },
  {  23, "transportChannelReconfigurationComplete" },
  {  24, "transportChannelReconfigurationFailure" },
  {  25, "transportFormatCombinationControlFailure" },
  {  26, "ueCapabilityInformation" },
  {  27, "uplinkDirectTransfer" },
  {  28, "utranMobilityInformationConfirm" },
  {  29, "utranMobilityInformationFailure" },
  {  30, "mbmsModificationRequest" },
  {  31, "spare1" },
  { 0, NULL }
};

static const per_choice_t UL_DCCH_MessageType_choice[] = {
  {   0, &hf_umts_rrc_activeSetUpdateComplete, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_ActiveSetUpdateComplete },
  {   1, &hf_umts_rrc_activeSetUpdateFailure, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_ActiveSetUpdateFailure },
  {   2, &hf_umts_rrc_cellChangeOrderFromUTRANFailure, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_CellChangeOrderFromUTRANFailure },
  {   3, &hf_umts_rrc_counterCheckResponse, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_CounterCheckResponse },
  {   4, &hf_umts_rrc_handoverToUTRANComplete, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_HandoverToUTRANComplete },
  {   5, &hf_umts_rrc_initialDirectTransfer, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_InitialDirectTransfer },
  {   6, &hf_umts_rrc_handoverFromUTRANFailure, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_HandoverFromUTRANFailure },
  {   7, &hf_umts_rrc_measurementControlFailure, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_MeasurementControlFailure },
  {   8, &hf_umts_rrc_measurementReport, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_MeasurementReport },
  {   9, &hf_umts_rrc_physicalChannelReconfigurationComplete, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_PhysicalChannelReconfigurationComplete },
  {  10, &hf_umts_rrc_physicalChannelReconfigurationFailure, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_PhysicalChannelReconfigurationFailure },
  {  11, &hf_umts_rrc_radioBearerReconfigurationComplete, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RadioBearerReconfigurationComplete },
  {  12, &hf_umts_rrc_radioBearerReconfigurationFailure, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RadioBearerReconfigurationFailure },
  {  13, &hf_umts_rrc_radioBearerReleaseComplete, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RadioBearerReleaseComplete },
  {  14, &hf_umts_rrc_radioBearerReleaseFailure, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RadioBearerReleaseFailure },
  {  15, &hf_umts_rrc_radioBearerSetupComplete, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RadioBearerSetupComplete },
  {  16, &hf_umts_rrc_radioBearerSetupFailure, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RadioBearerSetupFailure },
  {  17, &hf_umts_rrc_rrcConnectionReleaseComplete, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RRCConnectionReleaseComplete },
  {  18, &hf_umts_rrc_rrcConnectionSetupComplete, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RRCConnectionSetupComplete },
  {  19, &hf_umts_rrc_rrcStatus  , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RRCStatus },
  {  20, &hf_umts_rrc_securityModeComplete, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_SecurityModeComplete },
  {  21, &hf_umts_rrc_securityModeFailure, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_SecurityModeFailure },
  {  22, &hf_umts_rrc_signallingConnectionReleaseIndication, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_SignallingConnectionReleaseIndication },
  {  23, &hf_umts_rrc_transportChannelReconfigurationComplete, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_TransportChannelReconfigurationComplete },
  {  24, &hf_umts_rrc_transportChannelReconfigurationFailure, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_TransportChannelReconfigurationFailure },
  {  25, &hf_umts_rrc_transportFormatCombinationControlFailure, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_TransportFormatCombinationControlFailure },
  {  26, &hf_umts_rrc_ueCapabilityInformation, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_UECapabilityInformation },
  {  27, &hf_umts_rrc_uplinkDirectTransfer, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_UplinkDirectTransfer },
  {  28, &hf_umts_rrc_utranMobilityInformationConfirm, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_UTRANMobilityInformationConfirm },
  {  29, &hf_umts_rrc_utranMobilityInformationFailure, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_UTRANMobilityInformationFailure },
  {  30, &hf_umts_rrc_mbmsModificationRequest, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_MBMSModificationRequest },
  {  31, &hf_umts_rrc_spare1     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  { 0, NULL, 0, NULL }
};

static int
dissect_umts_rrc_UL_DCCH_MessageType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
                                 ett_umts_rrc_UL_DCCH_MessageType, UL_DCCH_MessageType_choice,
                                 NULL);

  return offset;
}


static const per_sequence_t UL_DCCH_Message_sequence[] = {
  { &hf_umts_rrc_integrityCheckInfo, ASN1_NO_EXTENSIONS     , ASN1_OPTIONAL    , dissect_umts_rrc_ies_IntegrityCheckInfo },
  { &hf_umts_rrc_message1   , ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_umts_rrc_UL_DCCH_MessageType },
  { NULL, 0, 0, NULL }
};

int
dissect_umts_rrc_UL_DCCH_Message(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
                                   ett_umts_rrc_UL_DCCH_Message, UL_DCCH_Message_sequence);

  return offset;
}


static const value_string umts_rrc_DL_CCCH_MessageType_vals[] = {
  {   0, "cellUpdateConfirm" },
  {   1, "rrcConnectionReject" },
  {   2, "rrcConnectionRelease" },
  {   3, "rrcConnectionSetup" },
  {   4, "uraUpdateConfirm" },
  {   5, "spare3" },
  {   6, "spare2" },
  {   7, "spare1" },
  { 0, NULL }
};

static const per_choice_t DL_CCCH_MessageType_choice[] = {
  {   0, &hf_umts_rrc_cellUpdateConfirm1, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_CellUpdateConfirm_CCCH },
  {   1, &hf_umts_rrc_rrcConnectionReject, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RRCConnectionReject },
  {   2, &hf_umts_rrc_rrcConnectionRelease1, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RRCConnectionRelease_CCCH },
  {   3, &hf_umts_rrc_rrcConnectionSetup, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RRCConnectionSetup },
  {   4, &hf_umts_rrc_uraUpdateConfirm1, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_URAUpdateConfirm_CCCH },
  {   5, &hf_umts_rrc_spare3     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {   6, &hf_umts_rrc_spare2     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {   7, &hf_umts_rrc_spare1     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  { 0, NULL, 0, NULL }
};

static int
dissect_umts_rrc_DL_CCCH_MessageType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
                                 ett_umts_rrc_DL_CCCH_MessageType, DL_CCCH_MessageType_choice,
                                 NULL);

  return offset;
}


static const per_sequence_t DL_CCCH_Message_sequence[] = {
  { &hf_umts_rrc_integrityCheckInfo, ASN1_NO_EXTENSIONS     , ASN1_OPTIONAL    , dissect_umts_rrc_ies_IntegrityCheckInfo },
  { &hf_umts_rrc_message2   , ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_umts_rrc_DL_CCCH_MessageType },
  { NULL, 0, 0, NULL }
};

int
dissect_umts_rrc_DL_CCCH_Message(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
                                   ett_umts_rrc_DL_CCCH_Message, DL_CCCH_Message_sequence);

  return offset;
}


static const value_string umts_rrc_UL_CCCH_MessageType_vals[] = {
  {   0, "cellUpdate" },
  {   1, "rrcConnectionRequest" },
  {   2, "uraUpdate" },
  {   3, "spare" },
  { 0, NULL }
};

static const per_choice_t UL_CCCH_MessageType_choice[] = {
  {   0, &hf_umts_rrc_cellUpdate , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_CellUpdate },
  {   1, &hf_umts_rrc_rrcConnectionRequest, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_RRCConnectionRequest },
  {   2, &hf_umts_rrc_uraUpdate  , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_URAUpdate },
  {   3, &hf_umts_rrc_spare      , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  { 0, NULL, 0, NULL }
};

static int
dissect_umts_rrc_UL_CCCH_MessageType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
                                 ett_umts_rrc_UL_CCCH_MessageType, UL_CCCH_MessageType_choice,
                                 NULL);

  return offset;
}


static const per_sequence_t UL_CCCH_Message_sequence[] = {
  { &hf_umts_rrc_integrityCheckInfo, ASN1_NO_EXTENSIONS     , ASN1_OPTIONAL    , dissect_umts_rrc_ies_IntegrityCheckInfo },
  { &hf_umts_rrc_message3   , ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_umts_rrc_UL_CCCH_MessageType },
  { NULL, 0, 0, NULL }
};

int
dissect_umts_rrc_UL_CCCH_Message(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
                                   ett_umts_rrc_UL_CCCH_Message, UL_CCCH_Message_sequence);

  return offset;
}


static const value_string umts_rrc_PCCH_MessageType_vals[] = {
  {   0, "pagingType1" },
  {   1, "spare" },
  { 0, NULL }
};

static const per_choice_t PCCH_MessageType_choice[] = {
  {   0, &hf_umts_rrc_pagingType1, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_PagingType1 },
  {   1, &hf_umts_rrc_spare      , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  { 0, NULL, 0, NULL }
};

static int
dissect_umts_rrc_PCCH_MessageType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
                                 ett_umts_rrc_PCCH_MessageType, PCCH_MessageType_choice,
                                 NULL);

  return offset;
}


static const per_sequence_t PCCH_Message_sequence[] = {
  { &hf_umts_rrc_message4   , ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_umts_rrc_PCCH_MessageType },
  { NULL, 0, 0, NULL }
};

int
dissect_umts_rrc_PCCH_Message(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
                                   ett_umts_rrc_PCCH_Message, PCCH_Message_sequence);

  return offset;
}


static const value_string umts_rrc_DL_SHCCH_MessageType_vals[] = {
  {   0, "physicalSharedChannelAllocation" },
  {   1, "spare" },
  { 0, NULL }
};

static const per_choice_t DL_SHCCH_MessageType_choice[] = {
  {   0, &hf_umts_rrc_physicalSharedChannelAllocation, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_PhysicalSharedChannelAllocation },
  {   1, &hf_umts_rrc_spare      , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  { 0, NULL, 0, NULL }
};

static int
dissect_umts_rrc_DL_SHCCH_MessageType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
                                 ett_umts_rrc_DL_SHCCH_MessageType, DL_SHCCH_MessageType_choice,
                                 NULL);

  return offset;
}


static const per_sequence_t DL_SHCCH_Message_sequence[] = {
  { &hf_umts_rrc_message5   , ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_umts_rrc_DL_SHCCH_MessageType },
  { NULL, 0, 0, NULL }
};

int
dissect_umts_rrc_DL_SHCCH_Message(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
                                   ett_umts_rrc_DL_SHCCH_Message, DL_SHCCH_Message_sequence);

  return offset;
}


static const value_string umts_rrc_UL_SHCCH_MessageType_vals[] = {
  {   0, "puschCapacityRequest" },
  {   1, "spare" },
  { 0, NULL }
};

static const per_choice_t UL_SHCCH_MessageType_choice[] = {
  {   0, &hf_umts_rrc_puschCapacityRequest, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_PUSCHCapacityRequest },
  {   1, &hf_umts_rrc_spare      , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  { 0, NULL, 0, NULL }
};

static int
dissect_umts_rrc_UL_SHCCH_MessageType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
                                 ett_umts_rrc_UL_SHCCH_MessageType, UL_SHCCH_MessageType_choice,
                                 NULL);

  return offset;
}


static const per_sequence_t UL_SHCCH_Message_sequence[] = {
  { &hf_umts_rrc_message6   , ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_umts_rrc_UL_SHCCH_MessageType },
  { NULL, 0, 0, NULL }
};

int
dissect_umts_rrc_UL_SHCCH_Message(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
                                   ett_umts_rrc_UL_SHCCH_Message, UL_SHCCH_Message_sequence);

  return offset;
}


static const value_string umts_rrc_BCCH_FACH_MessageType_vals[] = {
  {   0, "systemInformation" },
  {   1, "systemInformationChangeIndication" },
  {   2, "spare2" },
  {   3, "spare1" },
  { 0, NULL }
};

static const per_choice_t BCCH_FACH_MessageType_choice[] = {
  {   0, &hf_umts_rrc_systemInformation, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_SystemInformation_FACH },
  {   1, &hf_umts_rrc_systemInformationChangeIndication, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_SystemInformationChangeIndication },
  {   2, &hf_umts_rrc_spare2     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {   3, &hf_umts_rrc_spare1     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  { 0, NULL, 0, NULL }
};

static int
dissect_umts_rrc_BCCH_FACH_MessageType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
                                 ett_umts_rrc_BCCH_FACH_MessageType, BCCH_FACH_MessageType_choice,
                                 NULL);

  return offset;
}


static const per_sequence_t BCCH_FACH_Message_sequence[] = {
  { &hf_umts_rrc_message7   , ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_umts_rrc_BCCH_FACH_MessageType },
  { NULL, 0, 0, NULL }
};

int
dissect_umts_rrc_BCCH_FACH_Message(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
                                   ett_umts_rrc_BCCH_FACH_Message, BCCH_FACH_Message_sequence);

  return offset;
}


static const per_sequence_t BCCH_BCH_Message_sequence[] = {
  { &hf_umts_rrc_message8   , ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_umts_rrc_pdu_def_SystemInformation_BCH },
  { NULL, 0, 0, NULL }
};

int
dissect_umts_rrc_BCCH_BCH_Message(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
                                   ett_umts_rrc_BCCH_BCH_Message, BCCH_BCH_Message_sequence);

  return offset;
}


static const value_string umts_rrc_MCCH_MessageType_vals[] = {
  {   0, "mbmsAccessInformation" },
  {   1, "mbmsCommonPTMRBInformation" },
  {   2, "mbmsCurrentCellPTMRBInformation" },
  {   3, "mbmsGeneralInformation" },
  {   4, "mbmsModifiedServicesInformation" },
  {   5, "mbmsNeighbouringCellPTMRBInformation" },
  {   6, "mbmsUnmodifiedServicesInformation" },
  {   7, "spare9" },
  {   8, "spare8" },
  {   9, "spare7" },
  {  10, "spare6" },
  {  11, "spare5" },
  {  12, "spare4" },
  {  13, "spare3" },
  {  14, "spare2" },
  {  15, "spare1" },
  { 0, NULL }
};

static const per_choice_t MCCH_MessageType_choice[] = {
  {   0, &hf_umts_rrc_mbmsAccessInformation, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_MBMSAccessInformation },
  {   1, &hf_umts_rrc_mbmsCommonPTMRBInformation, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_MBMSCommonPTMRBInformation },
  {   2, &hf_umts_rrc_mbmsCurrentCellPTMRBInformation, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_MBMSCurrentCellPTMRBInformation },
  {   3, &hf_umts_rrc_mbmsGeneralInformation, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_MBMSGeneralInformation },
  {   4, &hf_umts_rrc_mbmsModifiedServicesInformation, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_MBMSModifiedServicesInformation },
  {   5, &hf_umts_rrc_mbmsNeighbouringCellPTMRBInformation, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_MBMSNeighbouringCellPTMRBInformation },
  {   6, &hf_umts_rrc_mbmsUnmodifiedServicesInformation, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_MBMSUnmodifiedServicesInformation },
  {   7, &hf_umts_rrc_spare9     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {   8, &hf_umts_rrc_spare8     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {   9, &hf_umts_rrc_spare7     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {  10, &hf_umts_rrc_spare6     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {  11, &hf_umts_rrc_spare5     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {  12, &hf_umts_rrc_spare4     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {  13, &hf_umts_rrc_spare3     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {  14, &hf_umts_rrc_spare2     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {  15, &hf_umts_rrc_spare1     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  { 0, NULL, 0, NULL }
};

static int
dissect_umts_rrc_MCCH_MessageType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
                                 ett_umts_rrc_MCCH_MessageType, MCCH_MessageType_choice,
                                 NULL);

  return offset;
}


static const per_sequence_t MCCH_Message_sequence[] = {
  { &hf_umts_rrc_message9   , ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_umts_rrc_MCCH_MessageType },
  { NULL, 0, 0, NULL }
};

int
dissect_umts_rrc_MCCH_Message(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
                                   ett_umts_rrc_MCCH_Message, MCCH_Message_sequence);

  return offset;
}


static const value_string umts_rrc_MSCH_MessageType_vals[] = {
  {   0, "mbmsSchedulingInformation" },
  {   1, "spare3" },
  {   2, "spare2" },
  {   3, "spare1" },
  { 0, NULL }
};

static const per_choice_t MSCH_MessageType_choice[] = {
  {   0, &hf_umts_rrc_mbmsSchedulingInformation, ASN1_NO_EXTENSIONS     , dissect_umts_rrc_pdu_def_MBMSSchedulingInformation },
  {   1, &hf_umts_rrc_spare3     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {   2, &hf_umts_rrc_spare2     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  {   3, &hf_umts_rrc_spare1     , ASN1_NO_EXTENSIONS     , dissect_umts_rrc_NULL },
  { 0, NULL, 0, NULL }
};

static int
dissect_umts_rrc_MSCH_MessageType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
                                 ett_umts_rrc_MSCH_MessageType, MSCH_MessageType_choice,
                                 NULL);

  return offset;
}


static const per_sequence_t MSCH_Message_sequence[] = {
  { &hf_umts_rrc_message10  , ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_umts_rrc_MSCH_MessageType },
  { NULL, 0, 0, NULL }
};

int
dissect_umts_rrc_MSCH_Message(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
  offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
                                   ett_umts_rrc_MSCH_Message, MSCH_Message_sequence);

  return offset;
}

/*--- PDUs ---*/

static void dissect_DL_DCCH_Message_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
  asn1_ctx_t asn1_ctx;
  asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, FALSE, pinfo);
  dissect_umts_rrc_DL_DCCH_Message(tvb, 0, &asn1_ctx, tree, hf_umts_rrc_DL_DCCH_Message_PDU);
}


/*--- End of included file: packet-umts_rrc-fn.c ---*/
#line 72 "packet-umts_rrc-template.c"


static void
dissect_umts_rrc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
	/* FIX ME Currently don't know the 'starting point' of this protocol
	 * exported DL-DCCH-Message is the entry point.
	 */
	proto_item	*umts_rrc_item = NULL;
	proto_tree	*umts_rrc_tree = NULL;
	int			offset = 0;

	top_tree = tree;

	/* make entry in the Protocol column on summary display */
	if (check_col(pinfo->cinfo, COL_PROTOCOL))
		col_set_str(pinfo->cinfo, COL_PROTOCOL, "UMTS_RRC");

    /* create the umts_rrc protocol tree */
    umts_rrc_item = proto_tree_add_item(tree, proto_umts_rrc, tvb, 0, -1, FALSE);
    umts_rrc_tree = proto_item_add_subtree(umts_rrc_item, ett_umts_rrc);

}
/*--- proto_register_umts_rrc -------------------------------------------*/
void proto_register_umts_rrc(void) {

  /* List of fields */
  static hf_register_info hf[] = {


/*--- Included file: packet-umts_rrc-hfarr.c ---*/
#line 1 "packet-umts_rrc-hfarr.c"
    { &hf_umts_rrc_DL_DCCH_Message_PDU,
      { "DL-DCCH-Message", "umts_rrc.DL_DCCH_Message",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc.DL_DCCH_Message", HFILL }},
    { &hf_umts_rrc_integrityCheckInfo,
      { "integrityCheckInfo", "umts_rrc.integrityCheckInfo",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_ies.IntegrityCheckInfo", HFILL }},
    { &hf_umts_rrc_message,
      { "message", "umts_rrc.message",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_DL_DCCH_MessageType_vals), 0,
        "umts_rrc.DL_DCCH_MessageType", HFILL }},
    { &hf_umts_rrc_activeSetUpdate,
      { "activeSetUpdate", "umts_rrc.activeSetUpdate",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_ActiveSetUpdate_vals), 0,
        "umts_rrc_pdu_def.ActiveSetUpdate", HFILL }},
    { &hf_umts_rrc_assistanceDataDelivery,
      { "assistanceDataDelivery", "umts_rrc.assistanceDataDelivery",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_AssistanceDataDelivery_vals), 0,
        "umts_rrc_pdu_def.AssistanceDataDelivery", HFILL }},
    { &hf_umts_rrc_cellChangeOrderFromUTRAN,
      { "cellChangeOrderFromUTRAN", "umts_rrc.cellChangeOrderFromUTRAN",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_CellChangeOrderFromUTRAN_vals), 0,
        "umts_rrc_pdu_def.CellChangeOrderFromUTRAN", HFILL }},
    { &hf_umts_rrc_cellUpdateConfirm,
      { "cellUpdateConfirm", "umts_rrc.cellUpdateConfirm",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_CellUpdateConfirm_vals), 0,
        "umts_rrc_pdu_def.CellUpdateConfirm", HFILL }},
    { &hf_umts_rrc_counterCheck,
      { "counterCheck", "umts_rrc.counterCheck",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_CounterCheck_vals), 0,
        "umts_rrc_pdu_def.CounterCheck", HFILL }},
    { &hf_umts_rrc_downlinkDirectTransfer,
      { "downlinkDirectTransfer", "umts_rrc.downlinkDirectTransfer",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_DownlinkDirectTransfer_vals), 0,
        "umts_rrc_pdu_def.DownlinkDirectTransfer", HFILL }},
    { &hf_umts_rrc_handoverFromUTRANCommand_GSM,
      { "handoverFromUTRANCommand-GSM", "umts_rrc.handoverFromUTRANCommand_GSM",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_HandoverFromUTRANCommand_GSM_vals), 0,
        "umts_rrc_pdu_def.HandoverFromUTRANCommand_GSM", HFILL }},
    { &hf_umts_rrc_handoverFromUTRANCommand_CDMA2000,
      { "handoverFromUTRANCommand-CDMA2000", "umts_rrc.handoverFromUTRANCommand_CDMA2000",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_HandoverFromUTRANCommand_CDMA2000_vals), 0,
        "umts_rrc_pdu_def.HandoverFromUTRANCommand_CDMA2000", HFILL }},
    { &hf_umts_rrc_measurementControl,
      { "measurementControl", "umts_rrc.measurementControl",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_MeasurementControl_vals), 0,
        "umts_rrc_pdu_def.MeasurementControl", HFILL }},
    { &hf_umts_rrc_pagingType2,
      { "pagingType2", "umts_rrc.pagingType2",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.PagingType2", HFILL }},
    { &hf_umts_rrc_physicalChannelReconfiguration,
      { "physicalChannelReconfiguration", "umts_rrc.physicalChannelReconfiguration",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_PhysicalChannelReconfiguration_vals), 0,
        "umts_rrc_pdu_def.PhysicalChannelReconfiguration", HFILL }},
    { &hf_umts_rrc_physicalSharedChannelAllocation,
      { "physicalSharedChannelAllocation", "umts_rrc.physicalSharedChannelAllocation",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_PhysicalSharedChannelAllocation_vals), 0,
        "umts_rrc_pdu_def.PhysicalSharedChannelAllocation", HFILL }},
    { &hf_umts_rrc_radioBearerReconfiguration,
      { "radioBearerReconfiguration", "umts_rrc.radioBearerReconfiguration",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_RadioBearerReconfiguration_vals), 0,
        "umts_rrc_pdu_def.RadioBearerReconfiguration", HFILL }},
    { &hf_umts_rrc_radioBearerRelease,
      { "radioBearerRelease", "umts_rrc.radioBearerRelease",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_RadioBearerRelease_vals), 0,
        "umts_rrc_pdu_def.RadioBearerRelease", HFILL }},
    { &hf_umts_rrc_radioBearerSetup,
      { "radioBearerSetup", "umts_rrc.radioBearerSetup",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_RadioBearerSetup_vals), 0,
        "umts_rrc_pdu_def.RadioBearerSetup", HFILL }},
    { &hf_umts_rrc_rrcConnectionRelease,
      { "rrcConnectionRelease", "umts_rrc.rrcConnectionRelease",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_RRCConnectionRelease_vals), 0,
        "umts_rrc_pdu_def.RRCConnectionRelease", HFILL }},
    { &hf_umts_rrc_securityModeCommand,
      { "securityModeCommand", "umts_rrc.securityModeCommand",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_SecurityModeCommand_vals), 0,
        "umts_rrc_pdu_def.SecurityModeCommand", HFILL }},
    { &hf_umts_rrc_signallingConnectionRelease,
      { "signallingConnectionRelease", "umts_rrc.signallingConnectionRelease",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_SignallingConnectionRelease_vals), 0,
        "umts_rrc_pdu_def.SignallingConnectionRelease", HFILL }},
    { &hf_umts_rrc_transportChannelReconfiguration,
      { "transportChannelReconfiguration", "umts_rrc.transportChannelReconfiguration",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_TransportChannelReconfiguration_vals), 0,
        "umts_rrc_pdu_def.TransportChannelReconfiguration", HFILL }},
    { &hf_umts_rrc_transportFormatCombinationControl,
      { "transportFormatCombinationControl", "umts_rrc.transportFormatCombinationControl",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.TransportFormatCombinationControl", HFILL }},
    { &hf_umts_rrc_ueCapabilityEnquiry,
      { "ueCapabilityEnquiry", "umts_rrc.ueCapabilityEnquiry",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_UECapabilityEnquiry_vals), 0,
        "umts_rrc_pdu_def.UECapabilityEnquiry", HFILL }},
    { &hf_umts_rrc_ueCapabilityInformationConfirm,
      { "ueCapabilityInformationConfirm", "umts_rrc.ueCapabilityInformationConfirm",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_UECapabilityInformationConfirm_vals), 0,
        "umts_rrc_pdu_def.UECapabilityInformationConfirm", HFILL }},
    { &hf_umts_rrc_uplinkPhysicalChannelControl,
      { "uplinkPhysicalChannelControl", "umts_rrc.uplinkPhysicalChannelControl",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_UplinkPhysicalChannelControl_vals), 0,
        "umts_rrc_pdu_def.UplinkPhysicalChannelControl", HFILL }},
    { &hf_umts_rrc_uraUpdateConfirm,
      { "uraUpdateConfirm", "umts_rrc.uraUpdateConfirm",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_URAUpdateConfirm_vals), 0,
        "umts_rrc_pdu_def.URAUpdateConfirm", HFILL }},
    { &hf_umts_rrc_utranMobilityInformation,
      { "utranMobilityInformation", "umts_rrc.utranMobilityInformation",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_UTRANMobilityInformation_vals), 0,
        "umts_rrc_pdu_def.UTRANMobilityInformation", HFILL }},
    { &hf_umts_rrc_handoverFromUTRANCommand_GERANIu,
      { "handoverFromUTRANCommand-GERANIu", "umts_rrc.handoverFromUTRANCommand_GERANIu",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.HandoverFromUTRANCommand_GERANIu", HFILL }},
    { &hf_umts_rrc_mbmsModifiedServicesInformation,
      { "mbmsModifiedServicesInformation", "umts_rrc.mbmsModifiedServicesInformation",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.MBMSModifiedServicesInformation", HFILL }},
    { &hf_umts_rrc_spare5,
      { "spare5", "umts_rrc.spare5",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc.NULL", HFILL }},
    { &hf_umts_rrc_spare4,
      { "spare4", "umts_rrc.spare4",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc.NULL", HFILL }},
    { &hf_umts_rrc_spare3,
      { "spare3", "umts_rrc.spare3",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc.NULL", HFILL }},
    { &hf_umts_rrc_spare2,
      { "spare2", "umts_rrc.spare2",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc.NULL", HFILL }},
    { &hf_umts_rrc_spare1,
      { "spare1", "umts_rrc.spare1",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc.NULL", HFILL }},
    { &hf_umts_rrc_message1,
      { "message", "umts_rrc.message",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_UL_DCCH_MessageType_vals), 0,
        "umts_rrc.UL_DCCH_MessageType", HFILL }},
    { &hf_umts_rrc_activeSetUpdateComplete,
      { "activeSetUpdateComplete", "umts_rrc.activeSetUpdateComplete",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.ActiveSetUpdateComplete", HFILL }},
    { &hf_umts_rrc_activeSetUpdateFailure,
      { "activeSetUpdateFailure", "umts_rrc.activeSetUpdateFailure",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.ActiveSetUpdateFailure", HFILL }},
    { &hf_umts_rrc_cellChangeOrderFromUTRANFailure,
      { "cellChangeOrderFromUTRANFailure", "umts_rrc.cellChangeOrderFromUTRANFailure",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_CellChangeOrderFromUTRANFailure_vals), 0,
        "umts_rrc_pdu_def.CellChangeOrderFromUTRANFailure", HFILL }},
    { &hf_umts_rrc_counterCheckResponse,
      { "counterCheckResponse", "umts_rrc.counterCheckResponse",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.CounterCheckResponse", HFILL }},
    { &hf_umts_rrc_handoverToUTRANComplete,
      { "handoverToUTRANComplete", "umts_rrc.handoverToUTRANComplete",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.HandoverToUTRANComplete", HFILL }},
    { &hf_umts_rrc_initialDirectTransfer,
      { "initialDirectTransfer", "umts_rrc.initialDirectTransfer",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.InitialDirectTransfer", HFILL }},
    { &hf_umts_rrc_handoverFromUTRANFailure,
      { "handoverFromUTRANFailure", "umts_rrc.handoverFromUTRANFailure",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.HandoverFromUTRANFailure", HFILL }},
    { &hf_umts_rrc_measurementControlFailure,
      { "measurementControlFailure", "umts_rrc.measurementControlFailure",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.MeasurementControlFailure", HFILL }},
    { &hf_umts_rrc_measurementReport,
      { "measurementReport", "umts_rrc.measurementReport",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.MeasurementReport", HFILL }},
    { &hf_umts_rrc_physicalChannelReconfigurationComplete,
      { "physicalChannelReconfigurationComplete", "umts_rrc.physicalChannelReconfigurationComplete",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.PhysicalChannelReconfigurationComplete", HFILL }},
    { &hf_umts_rrc_physicalChannelReconfigurationFailure,
      { "physicalChannelReconfigurationFailure", "umts_rrc.physicalChannelReconfigurationFailure",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.PhysicalChannelReconfigurationFailure", HFILL }},
    { &hf_umts_rrc_radioBearerReconfigurationComplete,
      { "radioBearerReconfigurationComplete", "umts_rrc.radioBearerReconfigurationComplete",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.RadioBearerReconfigurationComplete", HFILL }},
    { &hf_umts_rrc_radioBearerReconfigurationFailure,
      { "radioBearerReconfigurationFailure", "umts_rrc.radioBearerReconfigurationFailure",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.RadioBearerReconfigurationFailure", HFILL }},
    { &hf_umts_rrc_radioBearerReleaseComplete,
      { "radioBearerReleaseComplete", "umts_rrc.radioBearerReleaseComplete",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.RadioBearerReleaseComplete", HFILL }},
    { &hf_umts_rrc_radioBearerReleaseFailure,
      { "radioBearerReleaseFailure", "umts_rrc.radioBearerReleaseFailure",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.RadioBearerReleaseFailure", HFILL }},
    { &hf_umts_rrc_radioBearerSetupComplete,
      { "radioBearerSetupComplete", "umts_rrc.radioBearerSetupComplete",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.RadioBearerSetupComplete", HFILL }},
    { &hf_umts_rrc_radioBearerSetupFailure,
      { "radioBearerSetupFailure", "umts_rrc.radioBearerSetupFailure",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.RadioBearerSetupFailure", HFILL }},
    { &hf_umts_rrc_rrcConnectionReleaseComplete,
      { "rrcConnectionReleaseComplete", "umts_rrc.rrcConnectionReleaseComplete",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.RRCConnectionReleaseComplete", HFILL }},
    { &hf_umts_rrc_rrcConnectionSetupComplete,
      { "rrcConnectionSetupComplete", "umts_rrc.rrcConnectionSetupComplete",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.RRCConnectionSetupComplete", HFILL }},
    { &hf_umts_rrc_rrcStatus,
      { "rrcStatus", "umts_rrc.rrcStatus",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.RRCStatus", HFILL }},
    { &hf_umts_rrc_securityModeComplete,
      { "securityModeComplete", "umts_rrc.securityModeComplete",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.SecurityModeComplete", HFILL }},
    { &hf_umts_rrc_securityModeFailure,
      { "securityModeFailure", "umts_rrc.securityModeFailure",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.SecurityModeFailure", HFILL }},
    { &hf_umts_rrc_signallingConnectionReleaseIndication,
      { "signallingConnectionReleaseIndication", "umts_rrc.signallingConnectionReleaseIndication",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.SignallingConnectionReleaseIndication", HFILL }},
    { &hf_umts_rrc_transportChannelReconfigurationComplete,
      { "transportChannelReconfigurationComplete", "umts_rrc.transportChannelReconfigurationComplete",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.TransportChannelReconfigurationComplete", HFILL }},
    { &hf_umts_rrc_transportChannelReconfigurationFailure,
      { "transportChannelReconfigurationFailure", "umts_rrc.transportChannelReconfigurationFailure",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.TransportChannelReconfigurationFailure", HFILL }},
    { &hf_umts_rrc_transportFormatCombinationControlFailure,
      { "transportFormatCombinationControlFailure", "umts_rrc.transportFormatCombinationControlFailure",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.TransportFormatCombinationControlFailure", HFILL }},
    { &hf_umts_rrc_ueCapabilityInformation,
      { "ueCapabilityInformation", "umts_rrc.ueCapabilityInformation",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.UECapabilityInformation", HFILL }},
    { &hf_umts_rrc_uplinkDirectTransfer,
      { "uplinkDirectTransfer", "umts_rrc.uplinkDirectTransfer",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.UplinkDirectTransfer", HFILL }},
    { &hf_umts_rrc_utranMobilityInformationConfirm,
      { "utranMobilityInformationConfirm", "umts_rrc.utranMobilityInformationConfirm",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.UTRANMobilityInformationConfirm", HFILL }},
    { &hf_umts_rrc_utranMobilityInformationFailure,
      { "utranMobilityInformationFailure", "umts_rrc.utranMobilityInformationFailure",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.UTRANMobilityInformationFailure", HFILL }},
    { &hf_umts_rrc_mbmsModificationRequest,
      { "mbmsModificationRequest", "umts_rrc.mbmsModificationRequest",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.MBMSModificationRequest", HFILL }},
    { &hf_umts_rrc_message2,
      { "message", "umts_rrc.message",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_DL_CCCH_MessageType_vals), 0,
        "umts_rrc.DL_CCCH_MessageType", HFILL }},
    { &hf_umts_rrc_cellUpdateConfirm1,
      { "cellUpdateConfirm", "umts_rrc.cellUpdateConfirm",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_CellUpdateConfirm_CCCH_vals), 0,
        "umts_rrc_pdu_def.CellUpdateConfirm_CCCH", HFILL }},
    { &hf_umts_rrc_rrcConnectionReject,
      { "rrcConnectionReject", "umts_rrc.rrcConnectionReject",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_RRCConnectionReject_vals), 0,
        "umts_rrc_pdu_def.RRCConnectionReject", HFILL }},
    { &hf_umts_rrc_rrcConnectionRelease1,
      { "rrcConnectionRelease", "umts_rrc.rrcConnectionRelease",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_RRCConnectionRelease_CCCH_vals), 0,
        "umts_rrc_pdu_def.RRCConnectionRelease_CCCH", HFILL }},
    { &hf_umts_rrc_rrcConnectionSetup,
      { "rrcConnectionSetup", "umts_rrc.rrcConnectionSetup",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_RRCConnectionSetup_vals), 0,
        "umts_rrc_pdu_def.RRCConnectionSetup", HFILL }},
    { &hf_umts_rrc_uraUpdateConfirm1,
      { "uraUpdateConfirm", "umts_rrc.uraUpdateConfirm",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_pdu_def_URAUpdateConfirm_CCCH_vals), 0,
        "umts_rrc_pdu_def.URAUpdateConfirm_CCCH", HFILL }},
    { &hf_umts_rrc_message3,
      { "message", "umts_rrc.message",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_UL_CCCH_MessageType_vals), 0,
        "umts_rrc.UL_CCCH_MessageType", HFILL }},
    { &hf_umts_rrc_cellUpdate,
      { "cellUpdate", "umts_rrc.cellUpdate",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.CellUpdate", HFILL }},
    { &hf_umts_rrc_rrcConnectionRequest,
      { "rrcConnectionRequest", "umts_rrc.rrcConnectionRequest",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.RRCConnectionRequest", HFILL }},
    { &hf_umts_rrc_uraUpdate,
      { "uraUpdate", "umts_rrc.uraUpdate",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.URAUpdate", HFILL }},
    { &hf_umts_rrc_spare,
      { "spare", "umts_rrc.spare",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc.NULL", HFILL }},
    { &hf_umts_rrc_message4,
      { "message", "umts_rrc.message",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_PCCH_MessageType_vals), 0,
        "umts_rrc.PCCH_MessageType", HFILL }},
    { &hf_umts_rrc_pagingType1,
      { "pagingType1", "umts_rrc.pagingType1",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.PagingType1", HFILL }},
    { &hf_umts_rrc_message5,
      { "message", "umts_rrc.message",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_DL_SHCCH_MessageType_vals), 0,
        "umts_rrc.DL_SHCCH_MessageType", HFILL }},
    { &hf_umts_rrc_message6,
      { "message", "umts_rrc.message",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_UL_SHCCH_MessageType_vals), 0,
        "umts_rrc.UL_SHCCH_MessageType", HFILL }},
    { &hf_umts_rrc_puschCapacityRequest,
      { "puschCapacityRequest", "umts_rrc.puschCapacityRequest",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.PUSCHCapacityRequest", HFILL }},
    { &hf_umts_rrc_message7,
      { "message", "umts_rrc.message",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_BCCH_FACH_MessageType_vals), 0,
        "umts_rrc.BCCH_FACH_MessageType", HFILL }},
    { &hf_umts_rrc_systemInformation,
      { "systemInformation", "umts_rrc.systemInformation",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.SystemInformation_FACH", HFILL }},
    { &hf_umts_rrc_systemInformationChangeIndication,
      { "systemInformationChangeIndication", "umts_rrc.systemInformationChangeIndication",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.SystemInformationChangeIndication", HFILL }},
    { &hf_umts_rrc_message8,
      { "message", "umts_rrc.message",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.SystemInformation_BCH", HFILL }},
    { &hf_umts_rrc_message9,
      { "message", "umts_rrc.message",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_MCCH_MessageType_vals), 0,
        "umts_rrc.MCCH_MessageType", HFILL }},
    { &hf_umts_rrc_mbmsAccessInformation,
      { "mbmsAccessInformation", "umts_rrc.mbmsAccessInformation",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.MBMSAccessInformation", HFILL }},
    { &hf_umts_rrc_mbmsCommonPTMRBInformation,
      { "mbmsCommonPTMRBInformation", "umts_rrc.mbmsCommonPTMRBInformation",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.MBMSCommonPTMRBInformation", HFILL }},
    { &hf_umts_rrc_mbmsCurrentCellPTMRBInformation,
      { "mbmsCurrentCellPTMRBInformation", "umts_rrc.mbmsCurrentCellPTMRBInformation",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.MBMSCurrentCellPTMRBInformation", HFILL }},
    { &hf_umts_rrc_mbmsGeneralInformation,
      { "mbmsGeneralInformation", "umts_rrc.mbmsGeneralInformation",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.MBMSGeneralInformation", HFILL }},
    { &hf_umts_rrc_mbmsNeighbouringCellPTMRBInformation,
      { "mbmsNeighbouringCellPTMRBInformation", "umts_rrc.mbmsNeighbouringCellPTMRBInformation",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.MBMSNeighbouringCellPTMRBInformation", HFILL }},
    { &hf_umts_rrc_mbmsUnmodifiedServicesInformation,
      { "mbmsUnmodifiedServicesInformation", "umts_rrc.mbmsUnmodifiedServicesInformation",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.MBMSUnmodifiedServicesInformation", HFILL }},
    { &hf_umts_rrc_spare9,
      { "spare9", "umts_rrc.spare9",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc.NULL", HFILL }},
    { &hf_umts_rrc_spare8,
      { "spare8", "umts_rrc.spare8",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc.NULL", HFILL }},
    { &hf_umts_rrc_spare7,
      { "spare7", "umts_rrc.spare7",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc.NULL", HFILL }},
    { &hf_umts_rrc_spare6,
      { "spare6", "umts_rrc.spare6",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc.NULL", HFILL }},
    { &hf_umts_rrc_message10,
      { "message", "umts_rrc.message",
        FT_UINT32, BASE_DEC, VALS(umts_rrc_MSCH_MessageType_vals), 0,
        "umts_rrc.MSCH_MessageType", HFILL }},
    { &hf_umts_rrc_mbmsSchedulingInformation,
      { "mbmsSchedulingInformation", "umts_rrc.mbmsSchedulingInformation",
        FT_NONE, BASE_NONE, NULL, 0,
        "umts_rrc_pdu_def.MBMSSchedulingInformation", HFILL }},

/*--- End of included file: packet-umts_rrc-hfarr.c ---*/
#line 102 "packet-umts_rrc-template.c"
  };

  /* List of subtrees */
  static gint *ett[] = {
		  &ett_umts_rrc,

/*--- Included file: packet-umts_rrc-ettarr.c ---*/
#line 1 "packet-umts_rrc-ettarr.c"
    &ett_umts_rrc_DL_DCCH_Message,
    &ett_umts_rrc_DL_DCCH_MessageType,
    &ett_umts_rrc_UL_DCCH_Message,
    &ett_umts_rrc_UL_DCCH_MessageType,
    &ett_umts_rrc_DL_CCCH_Message,
    &ett_umts_rrc_DL_CCCH_MessageType,
    &ett_umts_rrc_UL_CCCH_Message,
    &ett_umts_rrc_UL_CCCH_MessageType,
    &ett_umts_rrc_PCCH_Message,
    &ett_umts_rrc_PCCH_MessageType,
    &ett_umts_rrc_DL_SHCCH_Message,
    &ett_umts_rrc_DL_SHCCH_MessageType,
    &ett_umts_rrc_UL_SHCCH_Message,
    &ett_umts_rrc_UL_SHCCH_MessageType,
    &ett_umts_rrc_BCCH_FACH_Message,
    &ett_umts_rrc_BCCH_FACH_MessageType,
    &ett_umts_rrc_BCCH_BCH_Message,
    &ett_umts_rrc_MCCH_Message,
    &ett_umts_rrc_MCCH_MessageType,
    &ett_umts_rrc_MSCH_Message,
    &ett_umts_rrc_MSCH_MessageType,

/*--- End of included file: packet-umts_rrc-ettarr.c ---*/
#line 108 "packet-umts_rrc-template.c"
  };


  /* Register protocol */
  proto_umts_rrc = proto_register_protocol(PNAME, PSNAME, PFNAME);
  /* Register fields and subtrees */
  proto_register_field_array(proto_umts_rrc, hf, array_length(hf));
  proto_register_subtree_array(ett, array_length(ett));

 
  register_dissector("umts_rrc", dissect_umts_rrc, proto_umts_rrc);


}


/*--- proto_reg_handoff_umts_rrc ---------------------------------------*/
void
proto_reg_handoff_umts_rrc(void)
{

	umts_rrc_handle = find_dissector("umts_rrc");

}