MobileL3_RRM_Types.ttcn 73.8 KB
Newer Older
Elemer Lelik's avatar
Elemer Lelik committed
1
2
///////////////////////////////////////////////////////////////////////////////
//
balaskoa's avatar
balaskoa committed
3
// Copyright (c) 2000-2018 Ericsson Telecom AB
Elemer Lelik's avatar
Elemer Lelik committed
4
5
//
// All rights reserved. This program and the accompanying materials
balaskoa's avatar
balaskoa committed
6
// are made available under the terms of the Eclipse Public License v2.0
Elemer Lelik's avatar
Elemer Lelik committed
7
// which accompanies this distribution, and is available at
balaskoa's avatar
balaskoa committed
8
// https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
Elemer Lelik's avatar
Elemer Lelik committed
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
///////////////////////////////////////////////////////////////////////////////
//
//  File:               MobileL3_RRM_Types.ttcn
//  Rev:                R2A
//  Prodnr:             CNL 113 832
//  Contact:            http://ttcn.ericsson.se
//  Reference:          3GPP TS 44.018 v13.0.0


module  MobileL3_RRM_Types
{

import from General_Types all;
import from MobileL3_CommonIE_Types all;
import from MobileL3_GMM_SM_Types all;

// ***************************************************************************
// *     Radio Resource Management messages
// ***************************************************************************
// The messages below defined in 44.018 v13.0.0
// Some IEs used from 24.008 and some IEs are defined in 44.018

//============================================================================
// 44.018//10.5 Radio Resource management (RRM) information elements
//============================================================================

//****************************************************************************
// 10.5.1 Common information elements
//****************************************************************************
// see DTAP_Common.ttcn

//****************************************************************************
// 10.5.2 Radio Resource Management Information Elements
//****************************************************************************

//10.5.2.1a BA Range
//****************************************************************************
type record BARange_TLV
{
  OCT1         elementIdentifier, //'73'O
  LIN1         lengthIndicator,
  OCT1         numberOfRanges,
  OCTN         ranges
} with { variant (lengthIndicator) "LENGTHTO ( numberOfRanges,ranges)"};


//10.5.2.1b Cell Channel Description
//****************************************************************************
type record CellChannelDescription_TV
{
  OCT1         elementIdentifier, //'62'O
  OCT16        octet2_17
};

//10.5.2.1c BA List Pref
//****************************************************************************
type record BAListPref_TLV
{
  OCT1         elementIdentifier, //'75'O
  LIN1         lengthIndicator,
  OCTN         range_bafreq_info
} with { variant (lengthIndicator) "LENGTHTO ( range_bafreq_info )"};

//10.5.2.1d UTRAN Frequency List
//****************************************************************************
type record UTRANFrequencyList_TLV
{
  OCT1         elementIdentifier, //'75'O
  LIN1         lengthIndicator,
  OCTN         fdd_tdd
} with { variant (lengthIndicator) "LENGTHTO ( fdd_tdd )"};

//10.5.2.1e
//****************************************************************************
type record CellSelectionIndicatorAfterReleaseOfAll_TCH_and_SDCCH_IE
{
  OCT1         elementIdentifier,
  LIN1         lengthIndicator,
  octetstring  cellSelectionIndicatorValue
} with { variant (lengthIndicator) "LENGTHTO (cellSelectionIndicatorValue)"};

// 10.5.2.2 Cell Description
//****************************************************************************
type record CellDescription_V
{
  BIT3         bcc,                  // '001'B
  BIT3         ncc,                  // '010'B
  BIT2         BCCHArfcn_HighPart,   // '11'B
  OCT1         BCCHArfcn_LowPart    // '04'O
};

// 10.5.2.5 Channel Description
//****************************************************************************
type record ChannelDescription_V
{
  BIT3   timeslotNumber,            // '110'B
  BIT5   channelTypeandTDMAOffset,  // '00001'B send  or '00111'B rcv
  OCT1   octet3,                    //  '00'O not structured yet
  OCT1   octet4                     //  '09'O
};

type record ChannelDescription_TV
{
  OCT1   elementIdentifier,
  BIT3   timeslotNumber,            // '110'B
  BIT5   channelTypeandTDMAOffset,  // '00001'B send  or '00111'B rcv
  OCT1   octet3,                    //  '00'O not structured yet
  OCT1   octet4                     //  '09'O
};

// 10.5.2.5a Channel Description 2
//****************************************************************************
type record ChannelDescription2_V
{
  BIT3   timeslotNumber,            // '110'B
  BIT5   channelTypeandTDMAOffset,  // '00001'B send  or '00111'B rcv
  OCT1   octet3,                    //  '00'O
  OCT1   octet4                     // '09'O
};

type record ChannelDescription2_TV
{
  OCT1  elementIdentifier,
  BIT3  timeslotNumber,            // '110'B
  BIT5  channelTypeandTDMAOffset,  // '00001'B send  or '00111'B rcv
  OCT1  octet3,                    //  '00'O
  OCT1  octet4                     // '09'O
};

// 10.5.2.5c Channel Description 3
//****************************************************************************
type record ChannelDescription3_TV
{
  OCT1   elementIdentifier,
  OCT1   octet2,
  OCT1   octet3
};

// 10.5.2.6 Channel Mode
//****************************************************************************
type record ChannelMode_TV
{
  OCT1  elementIdentifier,
  OCT1  mode
};

type record ChannelMode_V
{
  OCT1  mode
};

// 10.5.2.7 Channel Mode 2
//****************************************************************************
type record ChannelMode2_TV
{
  OCT1  elementIdentifier,
  OCT1  mode
};

// 10.5.2.7a
//****************************************************************************
type record UTRAN_Classmark_LV
{
  LIN1         lengthIndicator,
  octetstring  uTRAN_ClassmarkValue  //ASN.1 definition in 25.331
} with { variant (lengthIndicator) "LENGTHTO (uTRAN_ClassmarkValue)"};

// 10.5.2.7c Classmark Enquiry Mask
//****************************************************************************
type record ClassmarkEnquiryMask_TLV
{
  OCT1  elementIdentifier,
  LIN1  lengthIndicator,
  OCT1  valuePart
} with { variant (lengthIndicator) "LENGTHTO (valuePart)"};

// 10.5.2.7d
//****************************************************************************
type record GERAN_IU_ModeClassmark_LV
{
  LIN1  lengthIndicator,
  OCT1  valuePart
} with { variant (lengthIndicator) "LENGTHTO (valuePart)"};

// 10.5.2.8 Channel Needed
//****************************************************************************
type record ChannelNeeded_TV
{
  BIT2  channel1,
  BIT2  channel2,
  BIT4  elementIdentifier
};

type record ChannelNeeded_V
{
  BIT2  channel1,
  BIT2  channel2
};

// 10.5.2.8b Channel Request Description
//****************************************************************************
type record  ChannelRequestDescription2_LV
{
  LIN1  lengthIndicator,
  octetstring  valuePart
} with { variant (lengthIndicator) "LENGTHTO (valuePart)"};

// 10.5.2.9  Cipher Mode Setting
//****************************************************************************
type record CipherModeSetting_TV
{
  BIT1  sC,
  BIT3  algorithmIdentifier,
  BIT4  elementIdentifier
};

type record CipherModeSetting_V
{
  BIT1  sC,
  BIT3  algorithmIdentifier
};

// 10.5.2.10  Cipher Mode Response
//****************************************************************************
type record CipherModeResponse_TV
{
  BIT1  cR,
  BIT3  spare,
  BIT4  elementIdentifier
};

type record CipherModeResponse_V
{
  BIT1  cR,
  BIT3  spare
};

// 10.5.2.11a
//****************************************************************************
type record DTM_InformationDetails_LV
{
  LIN1         lengthIndicator,
  octetstring  valuePart
} with { variant (lengthIndicator) "LENGTHTO (valuePart)"};


// 10.5.2.11b
//****************************************************************************
type record DynamicARFCN_Mapping_TLV
{
  OCT1         elementIdentifier,
  LIN1         lengthIndicator,
  octetstring  valuePart
} with { variant (lengthIndicator) "LENGTHTO (valuePart)"};

// 10.5.2.12  Frequency Channel Sequence before time
//****************************************************************************
type record FrequencyChannelSequence_TV
{
  OCT1  elementIdentifier,
  BIT7  lowestARFCN,
  BIT1  spare,
  BIT4  incSkipARFCN02,
  BIT4  incSkipARFCN01,
  BIT4  incSkipARFCN04,
  BIT4  incSkipARFCN03,
  BIT4  incSkipARFCN06,
  BIT4  incSkipARFCN05,
  BIT4  incSkipARFCN08,
  BIT4  incSkipARFCN07,
  BIT4  incSkipARFCN10,
  BIT4  incSkipARFCN09,
  BIT4  incSkipARFCN12,
  BIT4  incSkipARFCN11,
  BIT4  incSkipARFCN14,
  BIT4  incSkipARFCN13,
  BIT4  incSkipARFCN16,
  BIT4  incSkipARFCN15
}

//10.5.2.13 Frequency List
//****************************************************************************
type Type4_TLV FrequencyList_TLV;

//10.5.2.14 Frequency Short List
//****************************************************************************
type record FrequencyShortList_TV
{
  OCT1  elementIdentifier,
  OCT9  frequencyShortListValue
}

//10.5.2.14b GroupChannel Description
//****************************************************************************
type record GroupChannelDescription_TLV
{
  OCT1  elementIdentifier,
  LIN1  lengthIndicator,
  BIT3  tN,
  BIT5  channelType_tDMAoffset,
  OCTN  oct4_13
} with { variant (lengthIndicator) "LENGTHTO (tN,channelType_tDMAoffset,oct4_13 )"};

//10.5.2.14d GPRS Broadcast Information
//****************************************************************************
type record GPRS_BroadcastInformation_LV
{
  LIN1  lengthIndicator,
  octetstring gPRS_BroadcastInformationValue
} with { variant (lengthIndicator) "LENGTHTO (gPRS_BroadcastInformationValue )"};

//10.5.2.14e Enhanced DTM CS Release Indication
//****************************************************************************
type record Enhanced_DTM_CS_Release_Indication
{
  BIT1  iND,
  BIT3  spare,
  BIT4  elementIdentifier
}

//10.5.2.14f Group Channel Description 2
//****************************************************************************
type record Group_Channel_Description_2_TLV
{
  OCT1   elementIdentifier,
  LIN1   lengthIndicator,
  BIT3   tN,
  BIT5   channelTypeandTDMAOffset,
  BIT3   tSC,
  BIT1   spare,
  BIT6   mAIO,
  BIT6   hSN,
  OCT8   frequencyShortList
} with { variant (lengthIndicator) "LENGTHTO (tN,channelTypeandTDMAOffset,tSC,
                                   spare,mAIO,hSN,frequencyShortList)"
         variant (tSC,spare,mAIO,hSN,frequencyShortList)  "FIELDORDER(msb)";};

// 10.5.2.15
//****************************************************************************
type record HandoverReference_V
{
  OCT1   handoverReferenceValue   //'00'O
};

// 10.5.2.21 Mobile Allocation
//****************************************************************************
type Type4_TLV MobileAllocation_TLV; // see DTAP_Types.ttcn

type Type4_LV MobileAllocation_LV;

// 10.5.2.21a Mobile Time difference
//****************************************************************************
type record MobileTimeDifference_TLV
{
  OCT1    elementIdentifier, // '03'O
  LIN1    lengthIndicator,
  OCT3    mobileTimeDifferenceAndSpare //is the ordering correct????
} with { variant (lengthIndicator) "LENGTHTO (mobileTimeDifferenceAndSpare)"};

// 10.5.2.21aa MultiRate configuration
//****************************************************************************
type octetstring RRM_OCT1_5 length(1..5);

type record MultiRateConfiguration_TLV
{
  OCT1        elementIdentifier, // '03'O
  LIN1        lengthIndicator,
  BIT2        startMode,
  BIT1        spare3_1,
  BIT1        iCMI,
  BIT1        nSCB,
  BIT3        multirateSpeechVersion,
  RRM_OCT1_5  params
} with { variant (lengthIndicator) "LENGTHTO (startMode,spare3_1,
                                              iCMI,nSCB,multirateSpeechVersion,params)"};

// 10.5.2.21b Multislot Allocation
//****************************************************************************
type record MultislotAllocation_octet3_11
{
  BIT7  dA1_7, //downlink assignment
  BIT1  ext1,  //extension bit
  BIT7  uA1_7,  //uplink assignment
  BIT1  ext2,  //1 extension bit
  OCT1_8  channelset optional
} with { variant "EXTENSION_BIT (yes)"};

type record MultislotAllocation_TLV
{
  OCT1                          elementIdentifier,
  LIN1                          lengthIndicator,
  MultislotAllocation_octet3_11 octet3_11
} with { variant (lengthIndicator) "LENGTHTO (octet3_11)"};

type record MultislotAllocation_LV
{
  LIN1                          lengthIndicator,
  MultislotAllocation_octet3_11 octet3_11
} with { variant (lengthIndicator) "LENGTHTO (octet3_11)"};


// 10.5.2.21ab Mobile Time Difference on Hyperframe level
//****************************************************************************
type record MobileTimeDifferenceHyperframe_TLV
{
  OCT1                          elementIdentifier,
  LIN1                          lengthIndicator,
  OCT5                          MTDHValueAndSpare // Mobile Time Difference Hyperframe Value And Spare
} with { variant (lengthIndicator) "LENGTHTO (MTDHValueAndSpare)"};


// 10.5.2.23 P1 Rest Octets
//****************************************************************************
type octetstring P1RestOctets length(0..17);

// 10.5.2.24 P2 Rest Octets
//****************************************************************************
type octetstring P2RestOctets length(1..11);

// 10.5.2.25 P3 Rest Octets
//****************************************************************************
type OCT3 P3RestOctets;

// 10.5.2.25b
//****************************************************************************
type record DedicatedModeOrTBF_V
{
  BIT3   tMA_dL_tD,
  BIT1   spare
}

// 10.5.2.25c
//****************************************************************************
type record RR_PacketUplinkAssignment_TLV
{
  OCT1         elementIdentifier,
  LIN1         lengthIndicator,
  octetstring  rR_PacketUplinkAssignment
} with { variant (lengthIndicator) "LENGTHTO (rR_PacketUplinkAssignment)"};

// 10.5.2.25d
//****************************************************************************
type record RR_PacketDownlinkAssignment_TLV
{
  OCT1         elementIdentifier,
  LIN1         lengthIndicator,
  octetstring  rR_PacketDownlinkAssignment
} with { variant (lengthIndicator) "LENGTHTO (rR_PacketDownlinkAssignment)"};

// 10.5.2.25e - RR Packet Downlink Assignment Type 2
//****************************************************************************
type record RR_DualCarrierPacketDownlinkAssignment_TLV
{
 OCT1         elementIdentifier,
 LIN1         lengthIndicator,
 octetstring  rR_DualCarrierPacketDownlinkAssignment
} with { variant (lengthIndicator) "LENGTHTO (rR_DualCarrierPacketDownlinkAssignment)"};

// 10.5.2.26 Page Mode
//****************************************************************************
type record PageMode_TV
{
  BIT2 pM,
  BIT2 spare1_2,
  BIT4 elementIdentifier
};

type record PageMode_V
{
  BIT2 pM,
  BIT2 spare1_2
 };

// 10.5.2.28 Power Command
//****************************************************************************
type record PowerCommand_V
{
  BIT5   powerlevel,   // 00000
  BIT1   fPC_EP,       // 0
  BIT1   ePC_Mode,     // 0
  BIT1   spare_1       // 0
};

// 10.5.2.28a Power Command And Accesstype
//****************************************************************************
type record PowerCommandAndAccesstype_V
{
  BIT5   powerlevel,   // 00000
  BIT1   fPC_EP,       // 0
  BIT1   ePC_Mode,     // 0
  BIT1   aTC           // 0
};

// 10.5.2.30 Request Reference
//****************************************************************************
type record RequestReference_V
{
  BIT5    t1,
  BIT6    t3,
  BIT5    t2
} with { variant (t1,t3,t2)  "FIELDORDER(msb)"; };

// 10.5.2.31 RR Cause
//****************************************************************************
type record RR_Cause_TV
{
  OCT1  elementIdentifier,
  OCT1  valuePart
};

type record RR_Cause_V
{
  OCT1  valuePart
};

// 10.5.2.38 Starting Time
//****************************************************************************
type record StartingTime_TV
{
  OCT1  elementIdentifier,
  BIT5    t1,
  BIT6    t3,
  BIT5    t2
} with { variant (t1,t3,t2)  "FIELDORDER(msb)"; };

type record StartingTime_V
{
  BIT5    t1,
  BIT6    t3,
  BIT5    t2
} with { variant (t1,t3,t2)  "FIELDORDER(msb)"; };

// 10.5.2.39 Synchronization Indication
//****************************************************************************
type record SynchronizationIndication_TV
{
  BIT2    sI,
  BIT1    rOT,
  BIT1    nCI,
  BIT4    elementIdentifier
}

// 10.5.2.40 Timing Advance
//****************************************************************************
type record TimingAdvance_TV
{
  OCT1  elementIdentifier,
  OCT1  valuePart
};

// 10.5.2.41 Real Time Difference
//****************************************************************************
type Type4_TLV RealTimeDifference_TLV;

// 10.5.2.42 TMSIP_TMSI
//****************************************************************************
type record TMSIP_TMSI_TV
{
  OCT1  elementIdentifier,
  OCT4  octet2_5
};

type OCT4 TMSIP_TMSI_V;

// 10.5.2.42a
//****************************************************************************
type record VGCS_TargetModeIndication_TLV
{
  OCT1  elementIdentifier, //'01'O
  LIN1  lengthIndicator,
  BIT2  spare3_2,
  BIT4  groupCipherKeyNumber,
  BIT2  targetMode
} with { variant (lengthIndicator) "LENGTHTO (spare3_2,groupCipherKeyNumber,targetMode)"};

// 10.5.2.42b VGCS Ciphering Parameters
//****************************************************************************
type hexstring HEX9 length(9);

type record VGCS_Ciphering_Parameters_TLV
{
  OCT1  elementIdentifier,
  LIN1  lengthIndicator,
  BIT2  cellGlobalCount,
  BIT1  b22_Count,
  BIT1  cELL_Ind,
  BIT1  lAC_Ind,
  BIT1  rAND_Ind,
  BIT2  spare,
  OCT2  cellIdentity optional,
  OCT5  lAI optional,
  HEX9  vSTK_RAND optional,
  BIT4  spare2 optional
} with { variant (lengthIndicator) "LENGTHTO (cellGlobalCount,b22_Count,cELL_Ind,lAC_Ind,rAND_Ind,
                                              spare,cellIdentity,lAI,vSTK_RAND,spare2)"
         variant (cellIdentity)      "PRESENCE(cELL_Ind = '1'B)";
         variant (lAI)               "PRESENCE(lAC_Ind = '1'B)";
         variant (vSTK_RAND)         "PRESENCE(rAND_Ind = '1'B)";
         variant (spare2)            "PRESENCE(rAND_Ind = '1'B)";
         variant (vSTK_RAND,spare2)  "FIELDORDER(msb)";};

// 10.5.2.43 DTM Wait Indication
//****************************************************************************
type record WaitIndication_V
{
  integer  t3122_3142TimeoutValue
}

// 10.5.2.49 APDU Flags
//****************************************************************************
type record APDU_Flags_V
{
  BIT1      lastSeg,
  BIT1      firstSeg,
  BIT1      cR,
  BIT1      spare
}

// 10.5.2.50 APDU Data
//****************************************************************************
type record APDU_Data_LV
{
  LIN1         lengthIndicator,
  octetstring  aPDU_DataValue
} with { variant (lengthIndicator) "LENGTHTO (aPDU_DataValue)"};

// 10.5.2.51 Handover To UTRAN Command
//****************************************************************************
type record HandoverToUTRANCommand_LV
{
  LIN1         lengthIndicator,
  octetstring  handoverToUTRANCommandValue  // unaligned PER encoded ASN.1 value, 25.331
} with { variant (lengthIndicator) "LENGTHTO (handoverToUTRANCommandValue)"};

// 10.5.2.51 Handover To UTRAN Command
//****************************************************************************
type record HandoverToCDMA2000Command_LV
{
  LIN1         lengthIndicator,
  octetstring  handoverToCDMA2000CommandValue
 // TIA/EIA/IS-2000-4-A, TIA/EIA/IS-2000-5-A,  TIA/EIA/IS-833
} with { variant (lengthIndicator) "LENGTHTO (handoverToCDMA2000CommandValue)"};

// Handover To UTRAN Command
//****************************************************************************
type record RadioBearerReconfiguration_LV
{
  LIN1          lengthIndicator,
  octetstring   radioBearerReconfiguration44118  //  See 44.118 9.2.28
} with { variant (lengthIndicator) "LENGTHTO (radioBearerReconfiguration44118)"};

// 10.5.2.57 Service Support
//****************************************************************************
type record ServiceSupport_TV
{
  OCT1      elementIdentifier,
  BIT1      mBMS_Broadcast,
  BIT1      mBMS_Multicast,
  BIT6      spare
}

type record ServiceSupport_V
{
  BIT1      mBMS_Broadcast,
  BIT1      mBMS_Multicast,
  BIT6      spare
}

// 10.5.2.58 MBMS ptm Channel Description
//****************************************************************************
type record MBMS_ptm_ChannelDescription_TLV
{
  OCT1          elementIdentifier,
  LIN1          lengthIndicator,
  octetstring   mMS_ptm_ChannelDescriptionValue
} with { variant (lengthIndicator) "LENGTHTO (mMS_ptm_ChannelDescriptionValue)"};

// 10.5.2.58a MBMS Session Parameter List
//****************************************************************************
type record MBMS_SessionParameterList_TLV
{
  OCT1          elementIdentifier,
  LIN1          lengthIndicator,
  octetstring   mBMS_SessionParameterListValue
} with { variant (lengthIndicator) "LENGTHTO (mBMS_SessionParameterListValue)"};

// 10.5.2.59 Dedicated Service Information
//****************************************************************************
type record DedicatedServiceInformation_TV
{
  OCT1      elementIdentifier,
  BIT1      sIS,
  BIT7      spare
}

// 10.5.2.60 MPRACH Description
//****************************************************************************
type record MPRACH_Description_TLV
{
  OCT1          elementIdentifier,
  LIN1          lengthIndicator,
  octetstring   mPRACH_DescriptionValue
} with { variant (lengthIndicator) "LENGTHTO (mPRACH_DescriptionValue)"};

// 10.5.2.61 Restriction Timer
//****************************************************************************
type record RestrictionTimer_TV
{
  OCT1          elementIdentifier,
  OCT1          restrictionTimerValue
}


// 10.5.2.62 MBMS Session Identity
//****************************************************************************
type record MBMS_SessionIdentity_TV
{
  OCT1   elementIdentifier,
  OCT1   mBMS_SessionIdentityValue
}

// 10.5.2.64 Talker Priority Status
//****************************************************************************
type record TalkerPriorityStatus_TLV
{
  OCT1  elementIdentifier,
  LIN1  lengthIndicator,
  BIT3  priority,
  BIT1  uAI,
  BIT3  spare,
  BIT1  eS
} with { variant (lengthIndicator) "LENGTHTO (priority,uAI,spare,eS)"};

// 10.5.2.65 Talker Identity
//****************************************************************************
type record TalkerIdentity_TLV
{
  OCT1   elementIdentifier,
  LIN1   lengthIndicator,
  BIT3   fillerBits,
  BIT5   spare,
  OCT17  talkerIdentityField optional
} with { variant (lengthIndicator) "LENGTHTO (fillerBits,spare,talkerIdentityField)"};

// 10.5.2.66 Token
//****************************************************************************
type record Token_TV
{
  OCT1   elementIdentifier,
  OCT4   tokenValue
};

// 10.5.2.67
//****************************************************************************
type record PS_Cause_TV
{
  BIT4    causeValue,
  BIT4    elementIdentifier
}

// 10.5.2.68
//****************************************************************************
type record VGCS_AMR_Configuration_TLV
{
  OCT1   elementIdentifier,
  LIN1   lengthIndicator,
  BIT4   spare,
  BIT4   aMR_ConfigurationValue
} with { variant (lengthIndicator) "LENGTHTO (spare,aMR_ConfigurationValue)"};

// 10.5.2.69 Carrier Indication
//****************************************************************************
type record CarrierIndication_TV
{
  BIT1 cI,
  BIT3 spare1_3,
  BIT4 elementIdentifier
}

// 10.5.2.74 Uplink Access Indication
//***************************************************************************
type record UplinkAccessIndication_TV
{
  BIT1     uA_Ind,
  BIT3     spare,
  BIT4     elementIdentifier
}

// 10.5.2.75
//***************************************************************************
type record Individual_Priorities_TLV
{
  OCT1     elementIdentifier,
  LIN1     lengthIndicator,
  OCTN     individualPrioritiesValue
} with { variant (lengthIndicator) "LENGTHTO (individualPrioritiesValue)"};

// 10.5.2.76
//***************************************************************************
type record FeatureIndicator_V
{
  BIT1     pS_IR,
  BIT1     cs_IR,
  BIT1     spare,
  BIT1     pEO_BCCH_CHANGE_MARK
}

// 10.5.2.79
//***************************************************************************
type record DL_DCCH_Message_LV
{
  LIN1         lengthIndicator,
  octetstring  dL_DCCH_MessageValue
} with { variant (lengthIndicator) "LENGTHTO (dL_DCCH_MessageValue)"};

// 10.5.2.80
//***************************************************************************
type record CNToMSTransparentInformation_TLV
{
  OCT1         elementIdentifier,
  LIN1         lengthIndicator,
  octetstring  cNToMSTransparentInformationValue
} with { variant (lengthIndicator) "LENGTHTO (cNToMSTransparentInformationValue)"};

// 10.5.2.81
//***************************************************************************
type record PLMNIndex_TV
{
  BIT4         pLMNIndex,
  BIT4         elementIdentifier
};

// 10.5.2.82
//***************************************************************************
type record ExtendedTSCSet_TV
{
  OCT1 elementIdentifier,
  BIT2 cSDomainTSCSet,
  BIT1 secondPSDomainTSCAssigned,
  BIT1 primaryPSDomainTSCSet,
  BIT1 secondaryPSDomainTSCSet,
  BIT3 secondaryPSDomainTSCValue
};

//============================================================================
// 44.018//9.1 Messages for Radio Resource management (RRM)
//============================================================================

// 44.018/9.1.1 Additional assignment (NW->MS)
//****************************************************************************
type record PDU_RRM_AdditionalAssignment_NW_MS
{
  BIT8                  messageType,   //'00111011'B,
  ChannelDescription_V  channelDescription,
  MobileAllocation_TLV  mobileAllocation optional,
  StartingTime_TV       startingTime     optional,
  ExtendedTSCSet_TV     extendedTSCSet   optional

} with { variant "TAG ( mobileAllocation, elementIdentifier = '72'O;
                        startingTime,     elementIdentifier = '7C'O;
                        extendedTSCSet,   elementIdentifier = '6D'O;)"};

// 44.018/9.1.2 Assignment Command (NW->MS)
//****************************************************************************
type record PDU_RRM_AssignmentCommand_NW_MS
{
  BIT8                      messageType,  //  '00101110'B;
  ChannelDescription2_V     descrOf1stChAfterTime,
  PowerCommand_V            PowerCommand,
  FrequencyList_TLV         frequencyList_at          optional,
  CellChannelDescription_TV cellChannelDescr          optional,
  MultislotAllocation_TLV   descrMultislotAllocation  optional,
  ChannelMode_TV            modeOf1stChannel          optional,
  ChannelMode_TV            channelSet2               optional,
  ChannelMode_TV            channelSet3               optional,
  ChannelMode_TV            channelSet4               optional,
  ChannelMode_TV            channelSet5               optional,
  ChannelMode_TV            channelSet6               optional,
  ChannelMode_TV            channelSet7               optional,
  ChannelMode_TV            channelSet8               optional,
  ChannelDescription_TV     descrOf2ndChAfterTime     optional,
  ChannelMode2_TV           modeOf2ndChannel          optional,
  MobileAllocation_TLV      mobileAllocation_at       optional,
  StartingTime_TV           startingTime              optional,
  FrequencyList_TLV         frequencyList_bt          optional,
  ChannelDescription2_TV    descrOf1stCh_bt           optional,
  ChannelDescription_TV     descrOf2ndCh_bt           optional,
  FrequencyChannelSequence_TV  frequencyChannelSequence    optional,
  MobileAllocation_TLV      mobileAllocation_bt       optional,
  CipherModeSetting_TV      cipherModeSetting         optional,
  VGCS_TargetModeIndication_TLV     vGCS_TargetModeIndication optional,
  MultiRateConfiguration_TLV        multiRateConfiguration    optional,
  VGCS_Ciphering_Parameters_TLV     vGCS_Ciphering_Parameters optional,
  ExtendedTSCSet_TV     extendedTSCSet_afterTime    optional,
  ExtendedTSCSet_TV     extendedTSCSet_beforeTime   optional
} with { variant "TAG ( frequencyList_at,         elementIdentifier = '05'O;
                        cellChannelDescr,         elementIdentifier = '62'O;
                        descrMultislotAllocation, elementIdentifier = '10'O;
                        modeOf1stChannel,         elementIdentifier = '63'O;
                        channelSet2,              elementIdentifier = '11'O;
                        channelSet3,              elementIdentifier = '13'O;
                        channelSet4,              elementIdentifier = '14'O;
                        channelSet5,              elementIdentifier = '15'O;
                        channelSet6,              elementIdentifier = '16'O;
                        channelSet7,              elementIdentifier = '17'O;
                        channelSet8,              elementIdentifier = '18'O;
                        descrOf2ndChAfterTime,    elementIdentifier = '64'O;
                        modeOf2ndChannel,         elementIdentifier = '66'O;
                        mobileAllocation_at,      elementIdentifier = '72'O;
                        startingTime,             elementIdentifier = '7C'O;
                        frequencyList_bt,         elementIdentifier = '19'O;
                        descrOf1stCh_bt,          elementIdentifier = '1C'O;
                        descrOf2ndCh_bt,          elementIdentifier = '1D'O;
                        frequencyChannelSequence, elementIdentifier = '1E'O;
                        mobileAllocation_bt,      elementIdentifier = '21'O;
                        cipherModeSetting,        elementIdentifier = '1001'B;
                        vGCS_TargetModeIndication,elementIdentifier = '01'O;
                        multiRateConfiguration,   elementIdentifier = '03'O;
                        vGCS_Ciphering_Parameters,elementIdentifier = '04'O;
                        extendedTSCSet_afterTime, elementIdentifier = '6D'O;
                        extendedTSCSet_beforeTime,elementIdentifier = '6E'O;
                        )"};

// 44.018/9.1.3 Assignment complete (MS->NW)
//****************************************************************************
type record PDU_RRM_AssignmentComplete_MS_NW
{
  BIT8                  messageType,  //  '00101001'B;
  RR_Cause_V            rR_Cause
};

// 44.018/9.1.4 Assignment failure (MS->NW)
//****************************************************************************
type record PDU_RRM_AssignmentFailure_MS_NW
{
  BIT8                  messageType,  //  '00101111'B;
  RR_Cause_V            rR_Cause
};

// 44.018/9.1.5 Channel Mode Modify (NW_MS)
//****************************************************************************
type record PDU_RRM_ChannelModeModify_NW_MS
{
  BIT8                            messageType,  //  '00010000'B;
  ChannelDescription2_V           channelDescription,
  ChannelMode_V                   channelMode,
  VGCS_TargetModeIndication_TLV   vGCS_TargetModeIndication optional,
  MultiRateConfiguration_TLV      multiRateConfiguration    optional,
  VGCS_Ciphering_Parameters_TLV   vGCS_Ciphering_Parameters optional,
  ExtendedTSCSet_TV               extendedTSCSet            optional
}with {variant "TAG(  vGCS_TargetModeIndication, elementIdentifier = '01'O;
                      multiRateConfiguration,    elementIdentifier = '03'O;
                      vGCS_Ciphering_Parameters,elementIdentifier = '04'O;
                      extendedTSCSet, elementIdentifier = '6D'O; )"
                      };

// 44.018/9.1.6 Channel Mode Modify Acknowledge(MS_NW)
//****************************************************************************
type record PDU_RRM_ChannelModeModifyAck_MS_NW
{
  BIT8                            messageType,  //  '00010111'B;
  ChannelDescription2_V           channelDescription,
  ChannelMode_V                   channelMode,
  ExtendedTSCSet_TV               extendedTSCSet     optional
}with {variant "TAG(extendedTSCSet, elementIdentifier = '6D'O; )"};

// 44.018/9.1.7 Channel Release(NW_MS)
//****************************************************************************
type record PDU_RRM_ChannelRelease_NW_MS
{
  BIT8                        messageType,  //  '00001101'B;
  RR_Cause_V                  rRCause,
  BARange_TLV                 bARange                 optional,
  GroupChannelDescription_TLV groupChannelDescription optional,
  Type1_TV                    groupCipherKeyNumber    optional, // 1byte, see DTAP_Types
  Type1_TV                    gPRSResumption          optional,
  BAListPref_TLV              bAListPref              optional,
  UTRANFrequencyList_TLV      uTRANFrequencyList      optional,
  CellChannelDescription_TV   cellChannelDescr        optional,
  CellSelectionIndicatorAfterReleaseOfAll_TCH_and_SDCCH_IE cellSelectionIndicator optional,
  Enhanced_DTM_CS_Release_Indication    enhanced_DTM_CS_Release_Indication optional,
  VGCS_Ciphering_Parameters_TLV         vGCS_Ciphering_Parameters optional,
  Group_Channel_Description_2_TLV       group_Channel_Description_2 optional,
  TalkerIdentity_TLV                    talkerIdentity optional,
  TalkerPriorityStatus_TLV              talkerPriorityStatus optional,
  VGCS_AMR_Configuration_TLV            vGCS_AMR_Configuration optional,
  Individual_Priorities_TLV             individual_Priorities optional
} with {variant "TAG(bARange,                  elementIdentifier ='73'O;
                    groupChannelDescription,  elementIdentifier ='74'O;
                    groupCipherKeyNumber,     elementIdentifier ='1000'B;
                    gPRSResumption,           elementIdentifier ='1100'B;
                    bAListPref,               elementIdentifier ='75'O;
For faster browsing, not all history is shown. View entire blame