Harald Welte | a814f26 | 2017-07-24 13:21:35 +0200 | [diff] [blame^] | 1 | /////////////////////////////////////////////////////////////////////////////// |
| 2 | // // |
| 3 | // Copyright Test Competence Center (TCC) ETH 2016 // |
| 4 | // // |
| 5 | // The copyright to the computer program(s) herein is the property of TCC. // |
| 6 | // The program(s) may be used and/or copied only with the written permission // |
| 7 | // of TCC or in accordance with the terms and conditions stipulated in the // |
| 8 | // agreement/contract under which the program(s) has been supplied. // |
| 9 | // // |
| 10 | /////////////////////////////////////////////////////////////////////////////// |
| 11 | // |
| 12 | // File: MobileL3_RRM_Types.ttcn |
| 13 | // Rev: R1B |
| 14 | // Prodnr: CNL 113 832 |
| 15 | // Contact: http://ttcn.ericsson.se |
| 16 | // Reference: 3GPP TS 44.018 v13.0.0 |
| 17 | |
| 18 | |
| 19 | module MobileL3_RRM_Types |
| 20 | { |
| 21 | |
| 22 | import from General_Types all; |
| 23 | import from MobileL3_CommonIE_Types all; |
| 24 | import from MobileL3_GMM_SM_Types all; |
| 25 | |
| 26 | // *************************************************************************** |
| 27 | // * Radio Resource Management messages |
| 28 | // *************************************************************************** |
| 29 | // The messages below defined in 44.018 v13.0.0 |
| 30 | // Some IEs used from 24.008 and some IEs are defined in 44.018 |
| 31 | |
| 32 | //============================================================================ |
| 33 | // 44.018//10.5 Radio Resource management (RRM) information elements |
| 34 | //============================================================================ |
| 35 | |
| 36 | //**************************************************************************** |
| 37 | // 10.5.1 Common information elements |
| 38 | //**************************************************************************** |
| 39 | // see DTAP_Common.ttcn |
| 40 | |
| 41 | //**************************************************************************** |
| 42 | // 10.5.2 Radio Resource Management Information Elements |
| 43 | //**************************************************************************** |
| 44 | |
| 45 | //10.5.2.1a BA Range |
| 46 | //**************************************************************************** |
| 47 | type record BARange_TLV |
| 48 | { |
| 49 | OCT1 elementIdentifier, //'73'O |
| 50 | LIN1 lengthIndicator, |
| 51 | OCT1 numberOfRanges, |
| 52 | OCTN ranges |
| 53 | } with { variant (lengthIndicator) "LENGTHTO ( numberOfRanges,ranges)"}; |
| 54 | |
| 55 | |
| 56 | //10.5.2.1b Cell Channel Description |
| 57 | //**************************************************************************** |
| 58 | type record CellChannelDescription_TV |
| 59 | { |
| 60 | OCT1 elementIdentifier, //'62'O |
| 61 | OCT16 octet2_17 |
| 62 | }; |
| 63 | |
| 64 | //10.5.2.1c BA List Pref |
| 65 | //**************************************************************************** |
| 66 | type record BAListPref_TLV |
| 67 | { |
| 68 | OCT1 elementIdentifier, //'75'O |
| 69 | LIN1 lengthIndicator, |
| 70 | OCTN range_bafreq_info |
| 71 | } with { variant (lengthIndicator) "LENGTHTO ( range_bafreq_info )"}; |
| 72 | |
| 73 | //10.5.2.1d UTRAN Frequency List |
| 74 | //**************************************************************************** |
| 75 | type record UTRANFrequencyList_TLV |
| 76 | { |
| 77 | OCT1 elementIdentifier, //'75'O |
| 78 | LIN1 lengthIndicator, |
| 79 | OCTN fdd_tdd |
| 80 | } with { variant (lengthIndicator) "LENGTHTO ( fdd_tdd )"}; |
| 81 | |
| 82 | //10.5.2.1e |
| 83 | //**************************************************************************** |
| 84 | type record CellSelectionIndicatorAfterReleaseOfAll_TCH_and_SDCCH_IE |
| 85 | { |
| 86 | OCT1 elementIdentifier, |
| 87 | LIN1 lengthIndicator, |
| 88 | octetstring cellSelectionIndicatorValue |
| 89 | } with { variant (lengthIndicator) "LENGTHTO (cellSelectionIndicatorValue)"}; |
| 90 | |
| 91 | // 10.5.2.2 Cell Description |
| 92 | //**************************************************************************** |
| 93 | type record CellDescription_V |
| 94 | { |
| 95 | BIT3 bcc, // '001'B |
| 96 | BIT3 ncc, // '010'B |
| 97 | BIT2 BCCHArfcn_HighPart, // '11'B |
| 98 | OCT1 BCCHArfcn_LowPart // '04'O |
| 99 | }; |
| 100 | |
| 101 | // 10.5.2.5 Channel Description |
| 102 | //**************************************************************************** |
| 103 | type record ChannelDescription_V |
| 104 | { |
| 105 | BIT3 timeslotNumber, // '110'B |
| 106 | BIT5 channelTypeandTDMAOffset, // '00001'B send or '00111'B rcv |
| 107 | OCT1 octet3, // '00'O not structured yet |
| 108 | OCT1 octet4 // '09'O |
| 109 | }; |
| 110 | |
| 111 | type record ChannelDescription_TV |
| 112 | { |
| 113 | OCT1 elementIdentifier, |
| 114 | BIT3 timeslotNumber, // '110'B |
| 115 | BIT5 channelTypeandTDMAOffset, // '00001'B send or '00111'B rcv |
| 116 | OCT1 octet3, // '00'O not structured yet |
| 117 | OCT1 octet4 // '09'O |
| 118 | }; |
| 119 | |
| 120 | // 10.5.2.5a Channel Description 2 |
| 121 | //**************************************************************************** |
| 122 | type record ChannelDescription2_V |
| 123 | { |
| 124 | BIT3 timeslotNumber, // '110'B |
| 125 | BIT5 channelTypeandTDMAOffset, // '00001'B send or '00111'B rcv |
| 126 | OCT1 octet3, // '00'O |
| 127 | OCT1 octet4 // '09'O |
| 128 | }; |
| 129 | |
| 130 | type record ChannelDescription2_TV |
| 131 | { |
| 132 | OCT1 elementIdentifier, |
| 133 | BIT3 timeslotNumber, // '110'B |
| 134 | BIT5 channelTypeandTDMAOffset, // '00001'B send or '00111'B rcv |
| 135 | OCT1 octet3, // '00'O |
| 136 | OCT1 octet4 // '09'O |
| 137 | }; |
| 138 | |
| 139 | // 10.5.2.5c Channel Description 3 |
| 140 | //**************************************************************************** |
| 141 | type record ChannelDescription3_TV |
| 142 | { |
| 143 | OCT1 elementIdentifier, |
| 144 | OCT1 octet2, |
| 145 | OCT1 octet3 |
| 146 | }; |
| 147 | |
| 148 | // 10.5.2.6 Channel Mode |
| 149 | //**************************************************************************** |
| 150 | type record ChannelMode_TV |
| 151 | { |
| 152 | OCT1 elementIdentifier, |
| 153 | OCT1 mode |
| 154 | }; |
| 155 | |
| 156 | type record ChannelMode_V |
| 157 | { |
| 158 | OCT1 mode |
| 159 | }; |
| 160 | |
| 161 | // 10.5.2.7 Channel Mode 2 |
| 162 | //**************************************************************************** |
| 163 | type record ChannelMode2_TV |
| 164 | { |
| 165 | OCT1 elementIdentifier, |
| 166 | OCT1 mode |
| 167 | }; |
| 168 | |
| 169 | // 10.5.2.7a |
| 170 | //**************************************************************************** |
| 171 | type record UTRAN_Classmark_LV |
| 172 | { |
| 173 | LIN1 lengthIndicator, |
| 174 | octetstring uTRAN_ClassmarkValue //ASN.1 definition in 25.331 |
| 175 | } with { variant (lengthIndicator) "LENGTHTO (uTRAN_ClassmarkValue)"}; |
| 176 | |
| 177 | // 10.5.2.7c Classmark Enquiry Mask |
| 178 | //**************************************************************************** |
| 179 | type record ClassmarkEnquiryMask_TLV |
| 180 | { |
| 181 | OCT1 elementIdentifier, |
| 182 | LIN1 lengthIndicator, |
| 183 | OCT1 valuePart |
| 184 | } with { variant (lengthIndicator) "LENGTHTO (valuePart)"}; |
| 185 | |
| 186 | // 10.5.2.7d |
| 187 | //**************************************************************************** |
| 188 | type record GERAN_IU_ModeClassmark_LV |
| 189 | { |
| 190 | LIN1 lengthIndicator, |
| 191 | OCT1 valuePart |
| 192 | } with { variant (lengthIndicator) "LENGTHTO (valuePart)"}; |
| 193 | |
| 194 | // 10.5.2.8 Channel Needed |
| 195 | //**************************************************************************** |
| 196 | type record ChannelNeeded_TV |
| 197 | { |
| 198 | BIT2 channel1, |
| 199 | BIT2 channel2, |
| 200 | BIT4 elementIdentifier |
| 201 | }; |
| 202 | |
| 203 | type record ChannelNeeded_V |
| 204 | { |
| 205 | BIT2 channel1, |
| 206 | BIT2 channel2 |
| 207 | }; |
| 208 | |
| 209 | // 10.5.2.8b Channel Request Description |
| 210 | //**************************************************************************** |
| 211 | type record ChannelRequestDescription2_LV |
| 212 | { |
| 213 | LIN1 lengthIndicator, |
| 214 | octetstring valuePart |
| 215 | } with { variant (lengthIndicator) "LENGTHTO (valuePart)"}; |
| 216 | |
| 217 | // 10.5.2.9 Cipher Mode Setting |
| 218 | //**************************************************************************** |
| 219 | type record CipherModeSetting_TV |
| 220 | { |
| 221 | BIT1 sC, |
| 222 | BIT3 algorithmIdentifier, |
| 223 | BIT4 elementIdentifier |
| 224 | }; |
| 225 | |
| 226 | type record CipherModeSetting_V |
| 227 | { |
| 228 | BIT1 sC, |
| 229 | BIT3 algorithmIdentifier |
| 230 | }; |
| 231 | |
| 232 | // 10.5.2.10 Cipher Mode Response |
| 233 | //**************************************************************************** |
| 234 | type record CipherModeResponse_TV |
| 235 | { |
| 236 | BIT1 cR, |
| 237 | BIT3 spare, |
| 238 | BIT4 elementIdentifier |
| 239 | }; |
| 240 | |
| 241 | type record CipherModeResponse_V |
| 242 | { |
| 243 | BIT1 cR, |
| 244 | BIT3 spare |
| 245 | }; |
| 246 | |
| 247 | // 10.5.2.11a |
| 248 | //**************************************************************************** |
| 249 | type record DTM_InformationDetails_LV |
| 250 | { |
| 251 | LIN1 lengthIndicator, |
| 252 | octetstring valuePart |
| 253 | } with { variant (lengthIndicator) "LENGTHTO (valuePart)"}; |
| 254 | |
| 255 | |
| 256 | // 10.5.2.11b |
| 257 | //**************************************************************************** |
| 258 | type record DynamicARFCN_Mapping_TLV |
| 259 | { |
| 260 | OCT1 elementIdentifier, |
| 261 | LIN1 lengthIndicator, |
| 262 | octetstring valuePart |
| 263 | } with { variant (lengthIndicator) "LENGTHTO (valuePart)"}; |
| 264 | |
| 265 | // 10.5.2.12 Frequency Channel Sequence before time |
| 266 | //**************************************************************************** |
| 267 | type record FrequencyChannelSequence_TV |
| 268 | { |
| 269 | OCT1 elementIdentifier, |
| 270 | BIT7 lowestARFCN, |
| 271 | BIT1 spare, |
| 272 | BIT4 incSkipARFCN02, |
| 273 | BIT4 incSkipARFCN01, |
| 274 | BIT4 incSkipARFCN04, |
| 275 | BIT4 incSkipARFCN03, |
| 276 | BIT4 incSkipARFCN06, |
| 277 | BIT4 incSkipARFCN05, |
| 278 | BIT4 incSkipARFCN08, |
| 279 | BIT4 incSkipARFCN07, |
| 280 | BIT4 incSkipARFCN10, |
| 281 | BIT4 incSkipARFCN09, |
| 282 | BIT4 incSkipARFCN12, |
| 283 | BIT4 incSkipARFCN11, |
| 284 | BIT4 incSkipARFCN14, |
| 285 | BIT4 incSkipARFCN13, |
| 286 | BIT4 incSkipARFCN16, |
| 287 | BIT4 incSkipARFCN15 |
| 288 | } |
| 289 | |
| 290 | //10.5.2.13 Frequency List |
| 291 | //**************************************************************************** |
| 292 | type Type4_TLV FrequencyList_TLV; |
| 293 | |
| 294 | //10.5.2.14 Frequency Short List |
| 295 | //**************************************************************************** |
| 296 | type record FrequencyShortList_TV |
| 297 | { |
| 298 | OCT1 elementIdentifier, |
| 299 | OCT9 frequencyShortListValue |
| 300 | } |
| 301 | |
| 302 | //10.5.2.14b GroupChannel Description |
| 303 | //**************************************************************************** |
| 304 | type record GroupChannelDescription_TLV |
| 305 | { |
| 306 | OCT1 elementIdentifier, |
| 307 | LIN1 lengthIndicator, |
| 308 | BIT3 tN, |
| 309 | BIT5 channelType_tDMAoffset, |
| 310 | OCTN oct4_13 |
| 311 | } with { variant (lengthIndicator) "LENGTHTO (tN,channelType_tDMAoffset,oct4_13 )"}; |
| 312 | |
| 313 | //10.5.2.14d GPRS Broadcast Information |
| 314 | //**************************************************************************** |
| 315 | type record GPRS_BroadcastInformation_LV |
| 316 | { |
| 317 | LIN1 lengthIndicator, |
| 318 | octetstring gPRS_BroadcastInformationValue |
| 319 | } with { variant (lengthIndicator) "LENGTHTO (gPRS_BroadcastInformationValue )"}; |
| 320 | |
| 321 | //10.5.2.14e Enhanced DTM CS Release Indication |
| 322 | //**************************************************************************** |
| 323 | type record Enhanced_DTM_CS_Release_Indication |
| 324 | { |
| 325 | BIT1 iND, |
| 326 | BIT3 spare, |
| 327 | BIT4 elementIdentifier |
| 328 | } |
| 329 | |
| 330 | //10.5.2.14f Group Channel Description 2 |
| 331 | //**************************************************************************** |
| 332 | type record Group_Channel_Description_2_TLV |
| 333 | { |
| 334 | OCT1 elementIdentifier, |
| 335 | LIN1 lengthIndicator, |
| 336 | BIT3 tN, |
| 337 | BIT5 channelTypeandTDMAOffset, |
| 338 | BIT3 tSC, |
| 339 | BIT1 spare, |
| 340 | BIT6 mAIO, |
| 341 | BIT6 hSN, |
| 342 | OCT8 frequencyShortList |
| 343 | } with { variant (lengthIndicator) "LENGTHTO (tN,channelTypeandTDMAOffset,tSC, |
| 344 | spare,mAIO,hSN,frequencyShortList)" |
| 345 | variant (tSC,spare,mAIO,hSN,frequencyShortList) "FIELDORDER(msb)";}; |
| 346 | |
| 347 | // 10.5.2.15 |
| 348 | //**************************************************************************** |
| 349 | type record HandoverReference_V |
| 350 | { |
| 351 | OCT1 handoverReferenceValue //'00'O |
| 352 | }; |
| 353 | |
| 354 | // 10.5.2.21 Mobile Allocation |
| 355 | //**************************************************************************** |
| 356 | type Type4_TLV MobileAllocation_TLV; // see DTAP_Types.ttcn |
| 357 | |
| 358 | type Type4_LV MobileAllocation_LV; |
| 359 | |
| 360 | // 10.5.2.21a Mobile Time difference |
| 361 | //**************************************************************************** |
| 362 | type record MobileTimeDifference_TLV |
| 363 | { |
| 364 | OCT1 elementIdentifier, // '03'O |
| 365 | LIN1 lengthIndicator, |
| 366 | OCT3 mobileTimeDifferenceAndSpare //is the ordering correct???? |
| 367 | } with { variant (lengthIndicator) "LENGTHTO (mobileTimeDifferenceAndSpare)"}; |
| 368 | |
| 369 | // 10.5.2.21aa MultiRate configuration |
| 370 | //**************************************************************************** |
| 371 | type octetstring RRM_OCT1_5 length(1..5); |
| 372 | |
| 373 | type record MultiRateConfiguration_TLV |
| 374 | { |
| 375 | OCT1 elementIdentifier, // '03'O |
| 376 | LIN1 lengthIndicator, |
| 377 | BIT2 startMode, |
| 378 | BIT1 spare3_1, |
| 379 | BIT1 iCMI, |
| 380 | BIT1 nSCB, |
| 381 | BIT3 multirateSpeechVersion, |
| 382 | RRM_OCT1_5 params |
| 383 | } with { variant (lengthIndicator) "LENGTHTO (startMode,spare3_1, |
| 384 | iCMI,nSCB,multirateSpeechVersion,params)"}; |
| 385 | |
| 386 | // 10.5.2.21b Multislot Allocation |
| 387 | //**************************************************************************** |
| 388 | type record MultislotAllocation_octet3_11 |
| 389 | { |
| 390 | BIT7 dA1_7, //downlink assignment |
| 391 | BIT1 ext1, //extension bit |
| 392 | BIT7 uA1_7, //uplink assignment |
| 393 | BIT1 ext2, //1 extension bit |
| 394 | OCT1_8 channelset optional |
| 395 | } with { variant "EXTENSION_BIT (yes)"}; |
| 396 | |
| 397 | type record MultislotAllocation_TLV |
| 398 | { |
| 399 | OCT1 elementIdentifier, |
| 400 | LIN1 lengthIndicator, |
| 401 | MultislotAllocation_octet3_11 octet3_11 |
| 402 | } with { variant (lengthIndicator) "LENGTHTO (octet3_11)"}; |
| 403 | |
| 404 | type record MultislotAllocation_LV |
| 405 | { |
| 406 | LIN1 lengthIndicator, |
| 407 | MultislotAllocation_octet3_11 octet3_11 |
| 408 | } with { variant (lengthIndicator) "LENGTHTO (octet3_11)"}; |
| 409 | |
| 410 | |
| 411 | // 10.5.2.21ab Mobile Time Difference on Hyperframe level |
| 412 | //**************************************************************************** |
| 413 | type record MobileTimeDifferenceHyperframe_TLV |
| 414 | { |
| 415 | OCT1 elementIdentifier, |
| 416 | LIN1 lengthIndicator, |
| 417 | OCT5 MTDHValueAndSpare // Mobile Time Difference Hyperframe Value And Spare |
| 418 | } with { variant (lengthIndicator) "LENGTHTO (MTDHValueAndSpare)"}; |
| 419 | |
| 420 | |
| 421 | // 10.5.2.23 P1 Rest Octets |
| 422 | //**************************************************************************** |
| 423 | type octetstring P1RestOctets length(0..17); |
| 424 | |
| 425 | // 10.5.2.24 P2 Rest Octets |
| 426 | //**************************************************************************** |
| 427 | type octetstring P2RestOctets length(1..11); |
| 428 | |
| 429 | // 10.5.2.25 P3 Rest Octets |
| 430 | //**************************************************************************** |
| 431 | type OCT3 P3RestOctets; |
| 432 | |
| 433 | // 10.5.2.25b |
| 434 | //**************************************************************************** |
| 435 | type record DedicatedModeOrTBF_V |
| 436 | { |
| 437 | BIT3 tMA_dL_tD, |
| 438 | BIT1 spare |
| 439 | } |
| 440 | |
| 441 | // 10.5.2.25c |
| 442 | //**************************************************************************** |
| 443 | type record RR_PacketUplinkAssignment_TLV |
| 444 | { |
| 445 | OCT1 elementIdentifier, |
| 446 | LIN1 lengthIndicator, |
| 447 | octetstring rR_PacketUplinkAssignment |
| 448 | } with { variant (lengthIndicator) "LENGTHTO (rR_PacketUplinkAssignment)"}; |
| 449 | |
| 450 | // 10.5.2.25d |
| 451 | //**************************************************************************** |
| 452 | type record RR_PacketDownlinkAssignment_TLV |
| 453 | { |
| 454 | OCT1 elementIdentifier, |
| 455 | LIN1 lengthIndicator, |
| 456 | octetstring rR_PacketDownlinkAssignment |
| 457 | } with { variant (lengthIndicator) "LENGTHTO (rR_PacketDownlinkAssignment)"}; |
| 458 | |
| 459 | // 10.5.2.25e - RR Packet Downlink Assignment Type 2 |
| 460 | //**************************************************************************** |
| 461 | type record RR_DualCarrierPacketDownlinkAssignment_TLV |
| 462 | { |
| 463 | OCT1 elementIdentifier, |
| 464 | LIN1 lengthIndicator, |
| 465 | octetstring rR_DualCarrierPacketDownlinkAssignment |
| 466 | } with { variant (lengthIndicator) "LENGTHTO (rR_DualCarrierPacketDownlinkAssignment)"}; |
| 467 | |
| 468 | // 10.5.2.26 Page Mode |
| 469 | //**************************************************************************** |
| 470 | type record PageMode_TV |
| 471 | { |
| 472 | BIT2 pM, |
| 473 | BIT2 spare1_2, |
| 474 | BIT4 elementIdentifier |
| 475 | }; |
| 476 | |
| 477 | type record PageMode_V |
| 478 | { |
| 479 | BIT2 pM, |
| 480 | BIT2 spare1_2 |
| 481 | }; |
| 482 | |
| 483 | // 10.5.2.28 Power Command |
| 484 | //**************************************************************************** |
| 485 | type record PowerCommand_V |
| 486 | { |
| 487 | BIT5 powerlevel, // 00000 |
| 488 | BIT1 fPC_EP, // 0 |
| 489 | BIT1 ePC_Mode, // 0 |
| 490 | BIT1 spare_1 // 0 |
| 491 | }; |
| 492 | |
| 493 | // 10.5.2.28a Power Command And Accesstype |
| 494 | //**************************************************************************** |
| 495 | type record PowerCommandAndAccesstype_V |
| 496 | { |
| 497 | BIT5 powerlevel, // 00000 |
| 498 | BIT1 fPC_EP, // 0 |
| 499 | BIT1 ePC_Mode, // 0 |
| 500 | BIT1 aTC // 0 |
| 501 | }; |
| 502 | |
| 503 | // 10.5.2.30 Request Reference |
| 504 | //**************************************************************************** |
| 505 | type record RequestReference_V |
| 506 | { |
| 507 | BIT5 t1, |
| 508 | BIT6 t3, |
| 509 | BIT5 t2 |
| 510 | } with { variant (t1,t3,t2) "FIELDORDER(msb)"; }; |
| 511 | |
| 512 | // 10.5.2.31 RR Cause |
| 513 | //**************************************************************************** |
| 514 | type record RR_Cause_TV |
| 515 | { |
| 516 | OCT1 elementIdentifier, |
| 517 | OCT1 valuePart |
| 518 | }; |
| 519 | |
| 520 | type record RR_Cause_V |
| 521 | { |
| 522 | OCT1 valuePart |
| 523 | }; |
| 524 | |
| 525 | // 10.5.2.38 Starting Time |
| 526 | //**************************************************************************** |
| 527 | type record StartingTime_TV |
| 528 | { |
| 529 | OCT1 elementIdentifier, |
| 530 | BIT5 t1, |
| 531 | BIT6 t3, |
| 532 | BIT5 t2 |
| 533 | } with { variant (t1,t3,t2) "FIELDORDER(msb)"; }; |
| 534 | |
| 535 | type record StartingTime_V |
| 536 | { |
| 537 | BIT5 t1, |
| 538 | BIT6 t3, |
| 539 | BIT5 t2 |
| 540 | } with { variant (t1,t3,t2) "FIELDORDER(msb)"; }; |
| 541 | |
| 542 | // 10.5.2.39 Synchronization Indication |
| 543 | //**************************************************************************** |
| 544 | type record SynchronizationIndication_TV |
| 545 | { |
| 546 | BIT2 sI, |
| 547 | BIT1 rOT, |
| 548 | BIT1 nCI, |
| 549 | BIT4 elementIdentifier |
| 550 | } |
| 551 | |
| 552 | // 10.5.2.40 Timing Advance |
| 553 | //**************************************************************************** |
| 554 | type record TimingAdvance_TV |
| 555 | { |
| 556 | OCT1 elementIdentifier, |
| 557 | OCT1 valuePart |
| 558 | }; |
| 559 | |
| 560 | // 10.5.2.41 Real Time Difference |
| 561 | //**************************************************************************** |
| 562 | type Type4_TLV RealTimeDifference_TLV; |
| 563 | |
| 564 | // 10.5.2.42 TMSIP_TMSI |
| 565 | //**************************************************************************** |
| 566 | type record TMSIP_TMSI_TV |
| 567 | { |
| 568 | OCT1 elementIdentifier, |
| 569 | OCT4 octet2_5 |
| 570 | }; |
| 571 | |
| 572 | type OCT4 TMSIP_TMSI_V; |
| 573 | |
| 574 | // 10.5.2.42a |
| 575 | //**************************************************************************** |
| 576 | type record VGCS_TargetModeIndication_TLV |
| 577 | { |
| 578 | OCT1 elementIdentifier, //'01'O |
| 579 | LIN1 lengthIndicator, |
| 580 | BIT2 spare3_2, |
| 581 | BIT4 groupCipherKeyNumber, |
| 582 | BIT2 targetMode |
| 583 | } with { variant (lengthIndicator) "LENGTHTO (spare3_2,groupCipherKeyNumber,targetMode)"}; |
| 584 | |
| 585 | // 10.5.2.42b VGCS Ciphering Parameters |
| 586 | //**************************************************************************** |
| 587 | type hexstring HEX9 length(9); |
| 588 | |
| 589 | type record VGCS_Ciphering_Parameters_TLV |
| 590 | { |
| 591 | OCT1 elementIdentifier, |
| 592 | LIN1 lengthIndicator, |
| 593 | BIT2 cellGlobalCount, |
| 594 | BIT1 b22_Count, |
| 595 | BIT1 cELL_Ind, |
| 596 | BIT1 lAC_Ind, |
| 597 | BIT1 rAND_Ind, |
| 598 | BIT2 spare, |
| 599 | OCT2 cellIdentity optional, |
| 600 | OCT5 lAI optional, |
| 601 | HEX9 vSTK_RAND optional, |
| 602 | BIT4 spare2 optional |
| 603 | } with { variant (lengthIndicator) "LENGTHTO (cellGlobalCount,b22_Count,cELL_Ind,lAC_Ind,rAND_Ind, |
| 604 | spare,cellIdentity,lAI,vSTK_RAND,spare2)" |
| 605 | variant (cellIdentity) "PRESENCE(cELL_Ind = '1'B)"; |
| 606 | variant (lAI) "PRESENCE(lAC_Ind = '1'B)"; |
| 607 | variant (vSTK_RAND) "PRESENCE(rAND_Ind = '1'B)"; |
| 608 | variant (spare2) "PRESENCE(rAND_Ind = '1'B)"; |
| 609 | variant (vSTK_RAND,spare2) "FIELDORDER(msb)";}; |
| 610 | |
| 611 | // 10.5.2.43 DTM Wait Indication |
| 612 | //**************************************************************************** |
| 613 | type record WaitIndication_V |
| 614 | { |
| 615 | integer t3122_3142TimeoutValue |
| 616 | } |
| 617 | |
| 618 | // 10.5.2.49 APDU Flags |
| 619 | //**************************************************************************** |
| 620 | type record APDU_Flags_V |
| 621 | { |
| 622 | BIT1 lastSeg, |
| 623 | BIT1 firstSeg, |
| 624 | BIT1 cR, |
| 625 | BIT1 spare |
| 626 | } |
| 627 | |
| 628 | // 10.5.2.50 APDU Data |
| 629 | //**************************************************************************** |
| 630 | type record APDU_Data_LV |
| 631 | { |
| 632 | LIN1 lengthIndicator, |
| 633 | octetstring aPDU_DataValue |
| 634 | } with { variant (lengthIndicator) "LENGTHTO (aPDU_DataValue)"}; |
| 635 | |
| 636 | // 10.5.2.51 Handover To UTRAN Command |
| 637 | //**************************************************************************** |
| 638 | type record HandoverToUTRANCommand_LV |
| 639 | { |
| 640 | LIN1 lengthIndicator, |
| 641 | octetstring handoverToUTRANCommandValue // unaligned PER encoded ASN.1 value, 25.331 |
| 642 | } with { variant (lengthIndicator) "LENGTHTO (handoverToUTRANCommandValue)"}; |
| 643 | |
| 644 | // 10.5.2.51 Handover To UTRAN Command |
| 645 | //**************************************************************************** |
| 646 | type record HandoverToCDMA2000Command_LV |
| 647 | { |
| 648 | LIN1 lengthIndicator, |
| 649 | octetstring handoverToCDMA2000CommandValue |
| 650 | // TIA/EIA/IS-2000-4-A, TIA/EIA/IS-2000-5-A, TIA/EIA/IS-833 |
| 651 | } with { variant (lengthIndicator) "LENGTHTO (handoverToCDMA2000CommandValue)"}; |
| 652 | |
| 653 | // Handover To UTRAN Command |
| 654 | //**************************************************************************** |
| 655 | type record RadioBearerReconfiguration_LV |
| 656 | { |
| 657 | LIN1 lengthIndicator, |
| 658 | octetstring radioBearerReconfiguration44118 // See 44.118 9.2.28 |
| 659 | } with { variant (lengthIndicator) "LENGTHTO (radioBearerReconfiguration44118)"}; |
| 660 | |
| 661 | // 10.5.2.57 Service Support |
| 662 | //**************************************************************************** |
| 663 | type record ServiceSupport_TV |
| 664 | { |
| 665 | OCT1 elementIdentifier, |
| 666 | BIT1 mBMS_Broadcast, |
| 667 | BIT1 mBMS_Multicast, |
| 668 | BIT6 spare |
| 669 | } |
| 670 | |
| 671 | type record ServiceSupport_V |
| 672 | { |
| 673 | BIT1 mBMS_Broadcast, |
| 674 | BIT1 mBMS_Multicast, |
| 675 | BIT6 spare |
| 676 | } |
| 677 | |
| 678 | // 10.5.2.58 MBMS ptm Channel Description |
| 679 | //**************************************************************************** |
| 680 | type record MBMS_ptm_ChannelDescription_TLV |
| 681 | { |
| 682 | OCT1 elementIdentifier, |
| 683 | LIN1 lengthIndicator, |
| 684 | octetstring mMS_ptm_ChannelDescriptionValue |
| 685 | } with { variant (lengthIndicator) "LENGTHTO (mMS_ptm_ChannelDescriptionValue)"}; |
| 686 | |
| 687 | // 10.5.2.58a MBMS Session Parameter List |
| 688 | //**************************************************************************** |
| 689 | type record MBMS_SessionParameterList_TLV |
| 690 | { |
| 691 | OCT1 elementIdentifier, |
| 692 | LIN1 lengthIndicator, |
| 693 | octetstring mBMS_SessionParameterListValue |
| 694 | } with { variant (lengthIndicator) "LENGTHTO (mBMS_SessionParameterListValue)"}; |
| 695 | |
| 696 | // 10.5.2.59 Dedicated Service Information |
| 697 | //**************************************************************************** |
| 698 | type record DedicatedServiceInformation_TV |
| 699 | { |
| 700 | OCT1 elementIdentifier, |
| 701 | BIT1 sIS, |
| 702 | BIT7 spare |
| 703 | } |
| 704 | |
| 705 | // 10.5.2.60 MPRACH Description |
| 706 | //**************************************************************************** |
| 707 | type record MPRACH_Description_TLV |
| 708 | { |
| 709 | OCT1 elementIdentifier, |
| 710 | LIN1 lengthIndicator, |
| 711 | octetstring mPRACH_DescriptionValue |
| 712 | } with { variant (lengthIndicator) "LENGTHTO (mPRACH_DescriptionValue)"}; |
| 713 | |
| 714 | // 10.5.2.61 Restriction Timer |
| 715 | //**************************************************************************** |
| 716 | type record RestrictionTimer_TV |
| 717 | { |
| 718 | OCT1 elementIdentifier, |
| 719 | OCT1 restrictionTimerValue |
| 720 | } |
| 721 | |
| 722 | |
| 723 | // 10.5.2.62 MBMS Session Identity |
| 724 | //**************************************************************************** |
| 725 | type record MBMS_SessionIdentity_TV |
| 726 | { |
| 727 | OCT1 elementIdentifier, |
| 728 | OCT1 mBMS_SessionIdentityValue |
| 729 | } |
| 730 | |
| 731 | // 10.5.2.64 Talker Priority Status |
| 732 | //**************************************************************************** |
| 733 | type record TalkerPriorityStatus_TLV |
| 734 | { |
| 735 | OCT1 elementIdentifier, |
| 736 | LIN1 lengthIndicator, |
| 737 | BIT3 priority, |
| 738 | BIT1 uAI, |
| 739 | BIT3 spare, |
| 740 | BIT1 eS |
| 741 | } with { variant (lengthIndicator) "LENGTHTO (priority,uAI,spare,eS)"}; |
| 742 | |
| 743 | // 10.5.2.65 Talker Identity |
| 744 | //**************************************************************************** |
| 745 | type record TalkerIdentity_TLV |
| 746 | { |
| 747 | OCT1 elementIdentifier, |
| 748 | LIN1 lengthIndicator, |
| 749 | BIT3 fillerBits, |
| 750 | BIT5 spare, |
| 751 | OCT17 talkerIdentityField optional |
| 752 | } with { variant (lengthIndicator) "LENGTHTO (fillerBits,spare,talkerIdentityField)"}; |
| 753 | |
| 754 | // 10.5.2.66 Token |
| 755 | //**************************************************************************** |
| 756 | type record Token_TV |
| 757 | { |
| 758 | OCT1 elementIdentifier, |
| 759 | OCT4 tokenValue |
| 760 | }; |
| 761 | |
| 762 | // 10.5.2.67 |
| 763 | //**************************************************************************** |
| 764 | type record PS_Cause_TV |
| 765 | { |
| 766 | BIT4 causeValue, |
| 767 | BIT4 elementIdentifier |
| 768 | } |
| 769 | |
| 770 | // 10.5.2.68 |
| 771 | //**************************************************************************** |
| 772 | type record VGCS_AMR_Configuration_TLV |
| 773 | { |
| 774 | OCT1 elementIdentifier, |
| 775 | LIN1 lengthIndicator, |
| 776 | BIT4 spare, |
| 777 | BIT4 aMR_ConfigurationValue |
| 778 | } with { variant (lengthIndicator) "LENGTHTO (spare,aMR_ConfigurationValue)"}; |
| 779 | |
| 780 | // 10.5.2.69 Carrier Indication |
| 781 | //**************************************************************************** |
| 782 | type record CarrierIndication_TV |
| 783 | { |
| 784 | BIT1 cI, |
| 785 | BIT3 spare1_3, |
| 786 | BIT4 elementIdentifier |
| 787 | } |
| 788 | |
| 789 | // 10.5.2.74 Uplink Access Indication |
| 790 | //*************************************************************************** |
| 791 | type record UplinkAccessIndication_TV |
| 792 | { |
| 793 | BIT1 uA_Ind, |
| 794 | BIT3 spare, |
| 795 | BIT4 elementIdentifier |
| 796 | } |
| 797 | |
| 798 | // 10.5.2.75 |
| 799 | //*************************************************************************** |
| 800 | type record Individual_Priorities_TLV |
| 801 | { |
| 802 | OCT1 elementIdentifier, |
| 803 | LIN1 lengthIndicator, |
| 804 | OCTN individualPrioritiesValue |
| 805 | } with { variant (lengthIndicator) "LENGTHTO (individualPrioritiesValue)"}; |
| 806 | |
| 807 | // 10.5.2.76 |
| 808 | //*************************************************************************** |
| 809 | type record FeatureIndicator_V |
| 810 | { |
| 811 | BIT1 pS_IR, |
| 812 | BIT1 cs_IR, |
| 813 | BIT1 spare, |
| 814 | BIT1 pEO_BCCH_CHANGE_MARK |
| 815 | } |
| 816 | |
| 817 | // 10.5.2.79 |
| 818 | //*************************************************************************** |
| 819 | type record DL_DCCH_Message_LV |
| 820 | { |
| 821 | LIN1 lengthIndicator, |
| 822 | octetstring dL_DCCH_MessageValue |
| 823 | } with { variant (lengthIndicator) "LENGTHTO (dL_DCCH_MessageValue)"}; |
| 824 | |
| 825 | // 10.5.2.80 |
| 826 | //*************************************************************************** |
| 827 | type record CNToMSTransparentInformation_TLV |
| 828 | { |
| 829 | OCT1 elementIdentifier, |
| 830 | LIN1 lengthIndicator, |
| 831 | octetstring cNToMSTransparentInformationValue |
| 832 | } with { variant (lengthIndicator) "LENGTHTO (cNToMSTransparentInformationValue)"}; |
| 833 | |
| 834 | // 10.5.2.81 |
| 835 | //*************************************************************************** |
| 836 | type record PLMNIndex_TV |
| 837 | { |
| 838 | BIT4 pLMNIndex, |
| 839 | BIT4 elementIdentifier |
| 840 | }; |
| 841 | |
| 842 | // 10.5.2.82 |
| 843 | //*************************************************************************** |
| 844 | type record ExtendedTSCSet_TV |
| 845 | { |
| 846 | OCT1 elementIdentifier, |
| 847 | BIT2 cSDomainTSCSet, |
| 848 | BIT1 secondPSDomainTSCAssigned, |
| 849 | BIT1 primaryPSDomainTSCSet, |
| 850 | BIT1 secondaryPSDomainTSCSet, |
| 851 | BIT3 secondaryPSDomainTSCValue |
| 852 | }; |
| 853 | |
| 854 | //============================================================================ |
| 855 | // 44.018//9.1 Messages for Radio Resource management (RRM) |
| 856 | //============================================================================ |
| 857 | |
| 858 | // 44.018/9.1.1 Additional assignment (NW->MS) |
| 859 | //**************************************************************************** |
| 860 | type record PDU_RRM_AdditionalAssignment_NW_MS |
| 861 | { |
| 862 | BIT8 messageType, //'00111011'B, |
| 863 | ChannelDescription_V channelDescription, |
| 864 | MobileAllocation_TLV mobileAllocation optional, |
| 865 | StartingTime_TV startingTime optional, |
| 866 | ExtendedTSCSet_TV extendedTSCSet optional |
| 867 | |
| 868 | } with { variant "TAG ( mobileAllocation, elementIdentifier = '72'O; |
| 869 | startingTime, elementIdentifier = '7C'O; |
| 870 | extendedTSCSet, elementIdentifier = '6D'O;)"}; |
| 871 | |
| 872 | // 44.018/9.1.2 Assignment Command (NW->MS) |
| 873 | //**************************************************************************** |
| 874 | type record PDU_RRM_AssignmentCommand_NW_MS |
| 875 | { |
| 876 | BIT8 messageType, // '00101110'B; |
| 877 | ChannelDescription2_V descrOf1stChAfterTime, |
| 878 | PowerCommand_V PowerCommand, |
| 879 | FrequencyList_TLV frequencyList_at optional, |
| 880 | CellChannelDescription_TV cellChannelDescr optional, |
| 881 | MultislotAllocation_TLV descrMultislotAllocation optional, |
| 882 | ChannelMode_TV modeOf1stChannel optional, |
| 883 | ChannelMode_TV channelSet2 optional, |
| 884 | ChannelMode_TV channelSet3 optional, |
| 885 | ChannelMode_TV channelSet4 optional, |
| 886 | ChannelMode_TV channelSet5 optional, |
| 887 | ChannelMode_TV channelSet6 optional, |
| 888 | ChannelMode_TV channelSet7 optional, |
| 889 | ChannelMode_TV channelSet8 optional, |
| 890 | ChannelDescription_TV descrOf2ndChAfterTime optional, |
| 891 | ChannelMode2_TV modeOf2ndChannel optional, |
| 892 | MobileAllocation_TLV mobileAllocation_at optional, |
| 893 | StartingTime_TV startingTime optional, |
| 894 | FrequencyList_TLV frequencyList_bt optional, |
| 895 | ChannelDescription2_TV descrOf1stCh_bt optional, |
| 896 | ChannelDescription_TV descrOf2ndCh_bt optional, |
| 897 | FrequencyChannelSequence_TV frequencyChannelSequence optional, |
| 898 | MobileAllocation_TLV mobileAllocation_bt optional, |
| 899 | CipherModeSetting_TV cipherModeSetting optional, |
| 900 | VGCS_TargetModeIndication_TLV vGCS_TargetModeIndication optional, |
| 901 | MultiRateConfiguration_TLV multiRateConfiguration optional, |
| 902 | VGCS_Ciphering_Parameters_TLV vGCS_Ciphering_Parameters optional, |
| 903 | ExtendedTSCSet_TV extendedTSCSet_afterTime optional, |
| 904 | ExtendedTSCSet_TV extendedTSCSet_beforeTime optional |
| 905 | } with { variant "TAG ( frequencyList_at, elementIdentifier = '05'O; |
| 906 | cellChannelDescr, elementIdentifier = '62'O; |
| 907 | descrMultislotAllocation, elementIdentifier = '10'O; |
| 908 | modeOf1stChannel, elementIdentifier = '63'O; |
| 909 | channelSet2, elementIdentifier = '11'O; |
| 910 | channelSet3, elementIdentifier = '13'O; |
| 911 | channelSet4, elementIdentifier = '14'O; |
| 912 | channelSet5, elementIdentifier = '15'O; |
| 913 | channelSet6, elementIdentifier = '16'O; |
| 914 | channelSet7, elementIdentifier = '17'O; |
| 915 | channelSet8, elementIdentifier = '18'O; |
| 916 | descrOf2ndChAfterTime, elementIdentifier = '64'O; |
| 917 | modeOf2ndChannel, elementIdentifier = '66'O; |
| 918 | mobileAllocation_at, elementIdentifier = '72'O; |
| 919 | startingTime, elementIdentifier = '7C'O; |
| 920 | frequencyList_bt, elementIdentifier = '19'O; |
| 921 | descrOf1stCh_bt, elementIdentifier = '1C'O; |
| 922 | descrOf2ndCh_bt, elementIdentifier = '1D'O; |
| 923 | frequencyChannelSequence, elementIdentifier = '1E'O; |
| 924 | mobileAllocation_bt, elementIdentifier = '21'O; |
| 925 | cipherModeSetting, elementIdentifier = '1001'B; |
| 926 | vGCS_TargetModeIndication,elementIdentifier = '01'O; |
| 927 | multiRateConfiguration, elementIdentifier = '03'O; |
| 928 | vGCS_Ciphering_Parameters,elementIdentifier = '04'O; |
| 929 | extendedTSCSet_afterTime, elementIdentifier = '6D'O; |
| 930 | extendedTSCSet_beforeTime,elementIdentifier = '6E'O; |
| 931 | )"}; |
| 932 | |
| 933 | // 44.018/9.1.3 Assignment complete (MS->NW) |
| 934 | //**************************************************************************** |
| 935 | type record PDU_RRM_AssignmentComplete_MS_NW |
| 936 | { |
| 937 | BIT8 messageType, // '00101001'B; |
| 938 | RR_Cause_V rR_Cause |
| 939 | }; |
| 940 | |
| 941 | // 44.018/9.1.4 Assignment failure (MS->NW) |
| 942 | //**************************************************************************** |
| 943 | type record PDU_RRM_AssignmentFailure_MS_NW |
| 944 | { |
| 945 | BIT8 messageType, // '00101111'B; |
| 946 | RR_Cause_V rR_Cause |
| 947 | }; |
| 948 | |
| 949 | // 44.018/9.1.5 Channel Mode Modify (NW_MS) |
| 950 | //**************************************************************************** |
| 951 | type record PDU_RRM_ChannelModeModify_NW_MS |
| 952 | { |
| 953 | BIT8 messageType, // '00010000'B; |
| 954 | ChannelDescription2_V channelDescription, |
| 955 | ChannelMode_V channelMode, |
| 956 | VGCS_TargetModeIndication_TLV vGCS_TargetModeIndication optional, |
| 957 | MultiRateConfiguration_TLV multiRateConfiguration optional, |
| 958 | VGCS_Ciphering_Parameters_TLV vGCS_Ciphering_Parameters optional, |
| 959 | ExtendedTSCSet_TV extendedTSCSet optional |
| 960 | }with {variant "TAG( vGCS_TargetModeIndication, elementIdentifier = '01'O; |
| 961 | multiRateConfiguration, elementIdentifier = '03'O; |
| 962 | vGCS_Ciphering_Parameters,elementIdentifier = '04'O; |
| 963 | extendedTSCSet, elementIdentifier = '6D'O; )" |
| 964 | }; |
| 965 | |
| 966 | // 44.018/9.1.6 Channel Mode Modify Acknowledge(MS_NW) |
| 967 | //**************************************************************************** |
| 968 | type record PDU_RRM_ChannelModeModifyAck_MS_NW |
| 969 | { |
| 970 | BIT8 messageType, // '00010111'B; |
| 971 | ChannelDescription2_V channelDescription, |
| 972 | ChannelMode_V channelMode, |
| 973 | ExtendedTSCSet_TV extendedTSCSet optional |
| 974 | }with {variant "TAG(extendedTSCSet, elementIdentifier = '6D'O; )"}; |
| 975 | |
| 976 | // 44.018/9.1.7 Channel Release(NW_MS) |
| 977 | //**************************************************************************** |
| 978 | type record PDU_RRM_ChannelRelease_NW_MS |
| 979 | { |
| 980 | BIT8 messageType, // '00001101'B; |
| 981 | RR_Cause_V rRCause, |
| 982 | BARange_TLV bARange optional, |
| 983 | GroupChannelDescription_TLV groupChannelDescription optional, |
| 984 | Type1_TV groupCipherKeyNumber optional, // 1byte, see DTAP_Types |
| 985 | Type1_TV gPRSResumption optional, |
| 986 | BAListPref_TLV bAListPref optional, |
| 987 | UTRANFrequencyList_TLV uTRANFrequencyList optional, |
| 988 | CellChannelDescription_TV cellChannelDescr optional, |
| 989 | CellSelectionIndicatorAfterReleaseOfAll_TCH_and_SDCCH_IE cellSelectionIndicator optional, |
| 990 | Enhanced_DTM_CS_Release_Indication enhanced_DTM_CS_Release_Indication optional, |
| 991 | VGCS_Ciphering_Parameters_TLV vGCS_Ciphering_Parameters optional, |
| 992 | Group_Channel_Description_2_TLV group_Channel_Description_2 optional, |
| 993 | TalkerIdentity_TLV talkerIdentity optional, |
| 994 | TalkerPriorityStatus_TLV talkerPriorityStatus optional, |
| 995 | VGCS_AMR_Configuration_TLV vGCS_AMR_Configuration optional, |
| 996 | Individual_Priorities_TLV individual_Priorities optional |
| 997 | } with {variant "TAG(bARange, elementIdentifier ='73'O; |
| 998 | groupChannelDescription, elementIdentifier ='74'O; |
| 999 | groupCipherKeyNumber, elementIdentifier ='1000'B; |
| 1000 | gPRSResumption, elementIdentifier ='1100'B; |
| 1001 | bAListPref, elementIdentifier ='75'O; |
| 1002 | uTRANFrequencyList, elementIdentifier ='76'O; |
| 1003 | cellChannelDescr, elementIdentifier ='62'O; |
| 1004 | cellSelectionIndicator, elementIdentifier ='77'O; |
| 1005 | enhanced_DTM_CS_Release_Indication, elementIdentifier ='1010'B; |
| 1006 | vGCS_Ciphering_Parameters, elementIdentifier = '04'O; |
| 1007 | group_Channel_Description_2, elementIdentifier = '78'O; |
| 1008 | talkerIdentity, elementIdentifier = '79'O; |
| 1009 | talkerPriorityStatus, elementIdentifier = '7A'O; |
| 1010 | vGCS_AMR_Configuration, elementIdentifier = '7B'O; |
| 1011 | individual_Priorities, elementIdentifier = '7C'O; |
| 1012 | )"}; |
| 1013 | |
| 1014 | // 44.018/9.1.8 ChannelRequest |
| 1015 | //**************************************************************************** |
| 1016 | // Not implemented, 1 byte long msg on RACH |
| 1017 | |
| 1018 | |
| 1019 | // 44.018/9.1.9 Ciphering mode command |
| 1020 | //**************************************************************************** |
| 1021 | type record PDU_RRM_CipheringModeCommand_NW_MS |
| 1022 | { |
| 1023 | BIT8 messageType, // '00110101'B; |
| 1024 | CipherModeSetting_V cipherModeSetting, |
| 1025 | CipherModeResponse_V cipherModeResponse |
| 1026 | }; |
| 1027 | |
| 1028 | // 44.018/9.1.10 Ciphering mode complete |
| 1029 | //**************************************************************************** |
| 1030 | type record PDU_RRM_CipheringModeComplete_MS_NW |
| 1031 | { |
| 1032 | BIT8 messageType, // '00110010'B; |
| 1033 | MobileIdentityTLV mobileEquipmentIdentity optional |
| 1034 | } with {variant "TAG(mobileEquipmentIdentity, elementIdentifier='0010111'B)"}; //'17'O |
| 1035 | |
| 1036 | // 44.018/9.1.11 Classmark Change |
| 1037 | //**************************************************************************** |
| 1038 | type record PDU_RRM_ClassmarkChange_MS_NW |
| 1039 | { |
| 1040 | BIT8 messageType, // '00010110'B; |
| 1041 | MobileStationClassmark2_LV mobileStationClassmark2, |
| 1042 | MobileStationClassmark3_TLV mobileStationClassmark3 optional |
| 1043 | } with {variant "TAG(mobileStationClassmark3, elementIdentifier = '20'O)"}; |
| 1044 | |
| 1045 | // 44.018/9.1.11a UTRAN Classmark Change |
| 1046 | //**************************************************************************** |
| 1047 | type record PDU_RRM_UTRAN_ClassmarkChange_MS_NW |
| 1048 | { |
| 1049 | BIT8 messageType, |
| 1050 | UTRAN_Classmark_LV uTRAN_Classmark |
| 1051 | } |
| 1052 | |
| 1053 | // 44.018/9.1.11b |
| 1054 | //**************************************************************************** |
| 1055 | type record PDU_RRM_CDMA2000_ClassmarkChange_MS_NW |
| 1056 | { |
| 1057 | BIT8 messageType, |
| 1058 | Type4_LV terminalInformation, |
| 1059 | Type4_LV securityStatus, |
| 1060 | Type4_LV bandClassInformation, |
| 1061 | Type4_LV powerClassInformation, |
| 1062 | Type4_LV operatingModeInformation, |
| 1063 | Type4_LV serviceOptionInformation, |
| 1064 | Type4_LV multiplexOptionInformation, |
| 1065 | Type4_LV powerControlInformation, |
| 1066 | Type4_LV capabilityInformation, |
| 1067 | Type4_LV channelConfigurationCapabilityInformation, |
| 1068 | Type4_LV extMultiplexOptionInformation, |
| 1069 | Type4_LV bandSubclassInformation, |
| 1070 | Type4_LV encryptionCapability |
| 1071 | } |
| 1072 | |
| 1073 | // 44.018/9.1.11d |
| 1074 | //**************************************************************************** |
| 1075 | type record PDU_RRM_GERAN_IU_ModeClassmarkChange_MS_NW |
| 1076 | { |
| 1077 | BIT8 messageType, |
| 1078 | GERAN_IU_ModeClassmark_LV gERAN_IU_ModeClassmark |
| 1079 | } |
| 1080 | |
| 1081 | // 44.018/9.1.12 Classmark Enquiry |
| 1082 | //**************************************************************************** |
| 1083 | type record PDU_RRM_ClassmarkEnquiry_NW_MS |
| 1084 | { |
| 1085 | BIT8 messageType, // '00010011'B; |
| 1086 | ClassmarkEnquiryMask_TLV classmarkEnquiryMask optional |
| 1087 | } with {variant "TAG(classmarkEnquiryMask, elementIdentifier = '10'O)"}; |
| 1088 | |
| 1089 | // 44.018/9.1.12b Configuration change command (NW->MS) |
| 1090 | //**************************************************************************** |
| 1091 | type record PDU_RRM_ConfigurationChangeCommand_NW_MS |
| 1092 | { |
| 1093 | BIT8 messageType, // '00110000'B; |
| 1094 | MultislotAllocation_LV multislotAllocation, |
| 1095 | ChannelMode_TV modeOfChannelSet1 optional, |
| 1096 | ChannelMode_TV modeOfChannelSet2 optional, |
| 1097 | ChannelMode_TV modeOfChannelSet3 optional, |
| 1098 | ChannelMode_TV modeOfChannelSet4 optional, |
| 1099 | ChannelMode_TV modeOfChannelSet5 optional, |
| 1100 | ChannelMode_TV modeOfChannelSet6 optional, |
| 1101 | ChannelMode_TV modeOfChannelSet7 optional, |
| 1102 | ChannelMode_TV modeOfChannelSet8 optional |
| 1103 | } with {variant "TAG( modeOfChannelSet1, elementIdentifier='63'O; |
| 1104 | modeOfChannelSet2, elementIdentifier='11'O; |
| 1105 | modeOfChannelSet3, elementIdentifier='13'O; |
| 1106 | modeOfChannelSet4, elementIdentifier='14'O; |
| 1107 | modeOfChannelSet5, elementIdentifier='15'O; |
| 1108 | modeOfChannelSet6, elementIdentifier='16'O; |
| 1109 | modeOfChannelSet7, elementIdentifier='17'O; |
| 1110 | modeOfChannelSet8, elementIdentifier='18'O;)"}; |
| 1111 | |
| 1112 | // 44.018/9.1.12c Configuration change acknowledge (MS->NW) |
| 1113 | //**************************************************************************** |
| 1114 | type record PDU_RRM_ConfigurationChangeAck_MS_NW |
| 1115 | { |
| 1116 | BIT8 messageType // '00110001'B; |
| 1117 | }; |
| 1118 | |
| 1119 | // 44.018/9.1.12d Configuration change reject (MS->NW) |
| 1120 | //**************************************************************************** |
| 1121 | type record PDU_RRM_ConfigurationChangeRej_MS_NW |
| 1122 | { |
| 1123 | BIT8 messageType, // '00110011'B; |
| 1124 | RR_Cause_V rR_Cause |
| 1125 | }; |
| 1126 | |
| 1127 | // 44.018/9.1.12e DTM Assignment Command |
| 1128 | //**************************************************************************** |
| 1129 | type record PDU_RRM_DTM_AssignmentCommand_NW_MS |
| 1130 | { |
| 1131 | BIT8 messageType, |
| 1132 | PowerCommand_V cS_PowerCommand, |
| 1133 | ChannelDescription_V description_CS_Channel, |
| 1134 | GPRS_BroadcastInformation_LV gPRS_BroadcastInformation, |
| 1135 | CellChannelDescription_TV cellChannelDescr optional, |
| 1136 | ChannelMode_TV channelMode optional, |
| 1137 | FrequencyList_TLV frequencyList optional, |
| 1138 | MobileAllocation_TLV mobileAllocation optional, |
| 1139 | RR_PacketUplinkAssignment_TLV descrUplinkPacketChannelAssignment optional, |
| 1140 | RR_PacketDownlinkAssignment_TLV descrDownlinkPacketChannelAssignment optional, |
| 1141 | MultiRateConfiguration_TLV multiRateConfiguration optional, |
| 1142 | CipherModeSetting_TV cipherModeSetting optional, |
| 1143 | MobileAllocation_TLV mobileAllocationC2 optional, |
| 1144 | FrequencyList_TLV frequencyListC2 optional, |
| 1145 | RR_DualCarrierPacketDownlinkAssignment_TLV descriptionDualCarrierPacketDownlinkAssignment optional, |
| 1146 | ChannelDescription3_TV channelDescriptionC2 optional, |
| 1147 | ExtendedTSCSet_TV extendedTSCSet optional |
| 1148 | } with {variant "TAG(cellChannelDescr, elementIdentifier = '10'O; |
| 1149 | channelMode, elementIdentifier = '11'O; |
| 1150 | frequencyList, elementIdentifier = '12'O; |
| 1151 | mobileAllocation, elementIdentifier = '13'O; |
| 1152 | descrUplinkPacketChannelAssignment, elementIdentifier = '15'O; |
| 1153 | descrDownlinkPacketChannelAssignment, elementIdentifier = '16'O; |
| 1154 | multiRateConfiguration, elementIdentifier = '17'O; |
| 1155 | cipherModeSetting, elementIdentifier = '1001'B; |
| 1156 | mobileAllocationC2, elementIdentifier = '18'O; |
| 1157 | frequencyListC2, elementIdentifier = '19'O; |
| 1158 | descriptionDualCarrierPacketDownlinkAssignment, elementIdentifier = '20'O; |
| 1159 | channelDescriptionC2, elementIdentifier = '21'O; |
| 1160 | extendedTSCSet, elementIdentifier = '6D'O;)"}; |
| 1161 | |
| 1162 | // 44.018/9.1.12f DTM Assignment Failure |
| 1163 | //**************************************************************************** |
| 1164 | type record PDU_RRM_DTM_AssignmentFailure_MS_NW |
| 1165 | { |
| 1166 | BIT8 messageType, |
| 1167 | RR_Cause_V rR_Cause |
| 1168 | } |
| 1169 | |
| 1170 | // 44.018/9.1.12g DTM Information |
| 1171 | //**************************************************************************** |
| 1172 | type record PDU_RRM_DTM_Information_NW_MS |
| 1173 | { |
| 1174 | BIT8 messageType, |
| 1175 | RoutingAreaIdentificationV routingAreaIdentification,//24.008 10.5.5.15 |
| 1176 | DTM_InformationDetails_LV dTM_InformationDetails |
| 1177 | } |
| 1178 | |
| 1179 | // 44.018/9.1.12h DTM Reject |
| 1180 | //**************************************************************************** |
| 1181 | type record PDU_RRM_DTM_Reject_NW_MS |
| 1182 | { |
| 1183 | BIT8 messageType, |
| 1184 | WaitIndication_V waitIndication |
| 1185 | } |
| 1186 | |
| 1187 | // 44.018/9.1.12i DTM Request |
| 1188 | //**************************************************************************** |
| 1189 | type record PDU_RRM_DTM_Request_MS_NW |
| 1190 | { |
| 1191 | BIT8 messageType, |
| 1192 | OCT4 tLLI, |
| 1193 | ChannelRequestDescription2_LV channelRequestDescription2 |
| 1194 | } |
| 1195 | |
| 1196 | // 44.018/9.1.13 Frequency Redefinition |
| 1197 | //**************************************************************************** |
| 1198 | type record PDU_RRM_Frequency_Redefinition_NW_MS |
| 1199 | { |
| 1200 | BIT8 messageType, |
| 1201 | ChannelDescription_V channelDescription, |
| 1202 | MobileAllocation_LV mobileAllocation, |
| 1203 | StartingTime_V startingTime, |
| 1204 | CellChannelDescription_TV cellChannelDescr optional, |
| 1205 | CarrierIndication_TV carrierIndication optional, |
| 1206 | MobileAllocation_TLV mobileAllocationC2 optional, |
| 1207 | ChannelDescription3_TV channelDescriptionC2 optional, |
| 1208 | ExtendedTSCSet_TV extendedTSCSet optional |
| 1209 | } with {variant "TAG(cellChannelDescr, elementIdentifier = '62'O; |
| 1210 | carrierIndication, elementIdentifier = '1001'B; |
| 1211 | mobileAllocationC2, elementIdentifier = '11'O; |
| 1212 | channelDescriptionC2, elementIdentifier = '12'O; |
| 1213 | extendedTSCSet, elementIdentifier = '6D'O;)"}; |
| 1214 | |
| 1215 | // 44.018/9.1.13b GPRS Suspension Request |
| 1216 | //**************************************************************************** |
| 1217 | type record PDU_RRM_GPRS_SuspensionRequest_MS_NW |
| 1218 | { |
| 1219 | BIT8 messageType, |
| 1220 | OCT4 tLLI, |
| 1221 | RoutingAreaIdentificationV routingAreaIdentification,//24.008 10.5.5.15 |
| 1222 | OCT1 suspensionCause, |
| 1223 | ServiceSupport_TV service_Support optional |
| 1224 | } with {variant "TAG(service_Support, elementIdentifier = '01'O;)"}; |
| 1225 | |
| 1226 | // 44.018/9.1.14 Handover Access |
| 1227 | //**************************************************************************** |
| 1228 | // short=> it doesn't included in PDU_RRM ! |
| 1229 | type record PDU_RRM_HandoverAccess_NW_MS |
| 1230 | { |
| 1231 | BIT8 handoverReference |
| 1232 | }; |
| 1233 | |
| 1234 | // 44.018/9.1.15 Handover_Command |
| 1235 | //**************************************************************************** |
| 1236 | type record PDU_RRM_HandoverCommand_NW_MS |
| 1237 | { |
| 1238 | BIT8 messageType, //'00101011'B, |
| 1239 | CellDescription_V cellDescription, |
| 1240 | ChannelDescription2_V channelDescription2, |
| 1241 | HandoverReference_V handoverReference, |
| 1242 | PowerCommandAndAccesstype_V powerCommandAndAccesstype, |
| 1243 | SynchronizationIndication_TV synchronizationIndication optional, |
| 1244 | FrequencyShortList_TV frequencyShortListAfterTime optional, |
| 1245 | FrequencyList_TLV frequencyListAfterTime optional, |
| 1246 | CellChannelDescription_TV cellChannelDescription optional, |
| 1247 | MultislotAllocation_TLV multislotAllocation optional, |
| 1248 | ChannelMode_TV modeOfChannelSet1 optional, |
| 1249 | ChannelMode_TV modeOfChannelSet2 optional, |
| 1250 | ChannelMode_TV modeOfChannelSet3 optional, |
| 1251 | ChannelMode_TV modeOfChannelSet4 optional, |
| 1252 | ChannelMode_TV modeOfChannelSet5 optional, |
| 1253 | ChannelMode_TV modeOfChannelSet6 optional, |
| 1254 | ChannelMode_TV modeOfChannelSet7 optional, |
| 1255 | ChannelMode_TV modeOfChannelSet8 optional, |
| 1256 | ChannelDescription_TV descrOf2ndCh_at optional, |
| 1257 | ChannelMode2_TV modeOf2ndChannel optional, |
| 1258 | FrequencyChannelSequence_TV frequencyChannelSequence_at optional, |
| 1259 | MobileAllocation_TLV mobileAllocation_at optional, |
| 1260 | StartingTime_TV startingTime optional, |
| 1261 | RealTimeDifference_TLV timeDifference optional, |
| 1262 | TimingAdvance_TV timingAdvance optional, |
| 1263 | FrequencyShortList_TV frequencyShortListBeforeTime optional, |
| 1264 | FrequencyList_TLV frequencyListBeforeTime optional, |
| 1265 | ChannelDescription2_TV descrOf1stCh_bt optional, |
| 1266 | ChannelDescription_TV descrOf2ndCh_bt optional, |
| 1267 | FrequencyChannelSequence_TV frequencyChannelSequence_bt optional, |
| 1268 | MobileAllocation_TLV mobileAllocation_bt optional, |
| 1269 | CipherModeSetting_TV cipherModeSetting optional, |
| 1270 | VGCS_TargetModeIndication_TLV vGCS_TargetModeIndication optional, |
| 1271 | MultiRateConfiguration_TLV multiRateConfiguration optional, |
| 1272 | DynamicARFCN_Mapping_TLV dynamicARFCN_Mapping optional, |
| 1273 | VGCS_Ciphering_Parameters_TLV vGCS_Ciphering_Parameters optional, |
| 1274 | DedicatedServiceInformation_TV dedicatedServiceInformation optional, |
| 1275 | PLMNIndex_TV pLMNIndex optional, |
| 1276 | ExtendedTSCSet_TV extendedTSCSet_afterTime optional, |
| 1277 | ExtendedTSCSet_TV extendedTSCSet_beforeTime optional |
| 1278 | } with {variant "TAG(synchronizationIndication, elementIdentifier = '1101'B; |
| 1279 | frequencyShortListAfterTime, elementIdentifier = '02'O; |
| 1280 | frequencyListAfterTime, elementIdentifier = '05'O; |
| 1281 | cellChannelDescription, elementIdentifier = '62'O; |
| 1282 | multislotAllocation, elementIdentifier = '10'O; |
| 1283 | modeOfChannelSet1, elementIdentifier = '63'O; |
| 1284 | modeOfChannelSet2, elementIdentifier = '11'O; |
| 1285 | modeOfChannelSet3, elementIdentifier = '13'O; |
| 1286 | modeOfChannelSet4, elementIdentifier = '14'O; |
| 1287 | modeOfChannelSet5, elementIdentifier = '15'O; |
| 1288 | modeOfChannelSet6, elementIdentifier = '16'O; |
| 1289 | modeOfChannelSet7, elementIdentifier = '17'O; |
| 1290 | modeOfChannelSet8, elementIdentifier = '18'O; |
| 1291 | descrOf2ndCh_at, elementIdentifier = '64'O; |
| 1292 | modeOf2ndChannel, elementIdentifier = '66'O; |
| 1293 | frequencyChannelSequence_at, elementIdentifier = '69'O; |
| 1294 | mobileAllocation_at, elementIdentifier = '72'O; |
| 1295 | startingTime, elementIdentifier = '7C'O; |
| 1296 | timeDifference, elementIdentifier = '7B'O; |
| 1297 | timingAdvance, elementIdentifier = '7D'O; |
| 1298 | frequencyShortListBeforeTime, elementIdentifier = '12'O; |
| 1299 | frequencyListBeforeTime, elementIdentifier = '19'O; |
| 1300 | descrOf2ndCh_bt, elementIdentifier = '1C'O; |
| 1301 | descrOf1stCh_bt, elementIdentifier = '1D'O; |
| 1302 | frequencyChannelSequence_bt, elementIdentifier = '1E'O; |
| 1303 | mobileAllocation_bt, elementIdentifier = '21'O; |
| 1304 | cipherModeSetting, elementIdentifier = '1001'B; |
| 1305 | vGCS_TargetModeIndication, elementIdentifier = '01'O; |
| 1306 | multiRateConfiguration, elementIdentifier = '03'O; |
| 1307 | dynamicARFCN_Mapping, elementIdentifier = '76'O; |
| 1308 | vGCS_Ciphering_Parameters, elementIdentifier = '04'O; |
| 1309 | dedicatedServiceInformation, elementIdentifier = '51'O; |
| 1310 | pLMNIndex, elementIdentifier = '1010'B; |
| 1311 | extendedTSCSet_afterTime, elementIdentifier = '6D'O; |
| 1312 | extendedTSCSet_beforeTime, elementIdentifier = '6E'O;)"}; |
| 1313 | |
| 1314 | // 44.018/9.1.15a Inter System to UTRAN Handover Command |
| 1315 | //**************************************************************************** |
| 1316 | type record PDU_RRM_InterSystemToUTRAN_HandoverCommand_NW_MS |
| 1317 | { |
| 1318 | BIT8 messageType, |
| 1319 | HandoverToUTRANCommand_LV handoverToUTRANCommand, |
| 1320 | CNToMSTransparentInformation_TLV cNToMSTransparentInformation optional |
| 1321 | } |
| 1322 | |
| 1323 | // 44.018/9.1.15b Inter System to CDMA 2000 Handover Command |
| 1324 | //**************************************************************************** |
| 1325 | type record PDU_RRM_InterSystemToCDMA2000HandoverCommand_NW_MS |
| 1326 | { |
| 1327 | BIT8 messageType, |
| 1328 | HandoverToCDMA2000Command_LV handoverToCDMA2000Command |
| 1329 | } |
| 1330 | |
| 1331 | // 44.018/9.1.15c Handover To GERAN Iu Mode Command |
| 1332 | //**************************************************************************** |
| 1333 | // Note : Message Type is not defined in section 10.4, this message can not be encoded/decoded |
| 1334 | type record PDU_RRM_HandoverToGERAN_IuModeCommand_NW_MS |
| 1335 | { |
| 1336 | BIT8 messageType, |
| 1337 | RadioBearerReconfiguration_LV radioBearerReconfiguration |
| 1338 | } |
| 1339 | |
| 1340 | // 44.018/9.1.15d Inter System to E-UTRAN Handover Command |
| 1341 | //**************************************************************************** |
| 1342 | type record PDU_RRM_InterSystemToEUTRAN_HandoverCommand_NW_MS |
| 1343 | { |
| 1344 | BIT8 messageType, |
| 1345 | DL_DCCH_Message_LV dL_DCCH_Message, |
| 1346 | CNToMSTransparentInformation_TLV cNToMSTransparentInformation |
| 1347 | } |
| 1348 | |
| 1349 | // 44.018/9.1.16 Handover Complete |
| 1350 | //**************************************************************************** |
| 1351 | type record PDU_RRM_HandoverComplete_MS_NW |
| 1352 | { |
| 1353 | BIT8 messageType, //'00101100'B; |
| 1354 | RR_Cause_V rRCause, |
| 1355 | MobileTimeDifference_TLV mobileObsservedTimeDiff optional, |
| 1356 | MobileTimeDifferenceHyperframe_TLV mobileTimeDifferenceHyperframe optional |
| 1357 | } with {variant "TAG(mobileObsservedTimeDiff, elementIdentifier = '77'O; |
| 1358 | mobileTimeDifferenceHyperframe,elementIdentifier = '67'O;)"}; |
| 1359 | |
| 1360 | // 44.018/9.1.17 Handover Failure |
| 1361 | //**************************************************************************** |
| 1362 | type record PDU_RRM_HandoverFailure_MS_NW |
| 1363 | { |
| 1364 | BIT8 messageType, //'00101000'B; |
| 1365 | RR_Cause_V rRCause, |
| 1366 | PS_Cause_TV pSCause optional |
| 1367 | } with {variant "TAG(pSCause,elementIdentifier = '1001'B )"}; |
| 1368 | |
| 1369 | // 44.018/9.1.18 Immediate Assignment |
| 1370 | //**************************************************************************** |
| 1371 | type record PDU_RRM_ImmediateAssignment_NW_MS |
| 1372 | { |
| 1373 | // L2 pseudo length is handled automatically by encoder/decoder |
| 1374 | BIT8 messageType, |
| 1375 | PageMode_V pageMode, |
| 1376 | DedicatedModeOrTBF_V dedicatedModeOrTBF, |
| 1377 | ChannelDescription_V channelDescription optional, |
| 1378 | OCT3 packetChannelDescription optional, |
| 1379 | RequestReference_V requestReference, |
| 1380 | OCT1 timingAdvance, |
| 1381 | MobileAllocation_LV mobileAllocation, |
| 1382 | StartingTime_TV startingTime optional, |
| 1383 | octetstring iA_RestOctets length (0..11) optional, |
| 1384 | ExtendedTSCSet_TV extendedTSCSet optional |
| 1385 | } with {variant (channelDescription) "PRESENCE(dedicatedModeOrTBF.tMA_dL_tD = '000'B)"; |
| 1386 | variant (packetChannelDescription) "PRESENCE(dedicatedModeOrTBF.tMA_dL_tD = '001'B, |
| 1387 | dedicatedModeOrTBF.tMA_dL_tD = '011'B, |
| 1388 | dedicatedModeOrTBF.tMA_dL_tD = '101'B, //??? |
| 1389 | dedicatedModeOrTBF.tMA_dL_tD = '111'B)"; //??? |
| 1390 | variant "TAG(startingTime, elementIdentifier = '7C'O; |
| 1391 | extendedTSCSet, elementIdentifier = '6D'O;)";}; |
| 1392 | |
| 1393 | // 44.018/9.1.18b Immediate Packet Assignment |
| 1394 | //**************************************************************************** |
| 1395 | type record PDU_RRM_ImmediatePacketAssignment_NW_MS |
| 1396 | { |
| 1397 | BIT8 messageType, |
| 1398 | PageMode_V pageMode, |
| 1399 | FeatureIndicator_V featureIndicator, |
| 1400 | octetstring iPA_RestOctets length (19) |
| 1401 | }; |
| 1402 | |
| 1403 | // 44.018/9.1.19 Immediate Assignment Extended |
| 1404 | //**************************************************************************** |
| 1405 | type record PDU_RRM_ImmediateAssignmentExtended_NW_MS |
| 1406 | { |
| 1407 | // L2 pseudo length is handled automatically by encoder/decoder |
| 1408 | BIT8 messageType, |
| 1409 | PageMode_V pageMode, |
| 1410 | FeatureIndicator_V featureIndicator, |
| 1411 | ChannelDescription_V channelDescription1, |
| 1412 | RequestReference_V requestReference1, |
| 1413 | OCT1 timingAdvance1, |
| 1414 | ChannelDescription_V channelDescription2, |
| 1415 | RequestReference_V requestReference2, |
| 1416 | OCT1 timingAdvance2, |
| 1417 | MobileAllocation_LV mobileAllocation, |
| 1418 | StartingTime_TV startingTime optional, |
| 1419 | octetstring iAX_RestOctets length (0..4) optional |
| 1420 | } with { variant "TAG(startingTime,elementIdentifier = '7C'O )";} |
| 1421 | |
| 1422 | // 44.018/9.1.20 Immediate Assignment Reject |
| 1423 | //**************************************************************************** |
| 1424 | type record PDU_RRM_ImmediateAssignmentReject_NW_MS |
| 1425 | { |
| 1426 | // L2 pseudo length is handled automatically by encoder/decoder |
| 1427 | BIT8 messageType, |
| 1428 | PageMode_V pageMode, |
| 1429 | FeatureIndicator_V featureIndicator, |
| 1430 | RequestReference_V requestReference1, |
| 1431 | WaitIndication_V waitIndication1, |
| 1432 | RequestReference_V requestReference2, |
| 1433 | WaitIndication_V waitIndication2, |
| 1434 | RequestReference_V requestReference3, |
| 1435 | WaitIndication_V waitIndication3, |
| 1436 | RequestReference_V requestReference4, |
| 1437 | WaitIndication_V waitIndication4, |
| 1438 | octetstring iAR_RestOctets length (3) |
| 1439 | } |
| 1440 | |
| 1441 | // 44.018/9.1.21 Measurement Report |
| 1442 | //**************************************************************************** |
| 1443 | // SACCH message, not implemented |
| 1444 | |
| 1445 | // 44.018/9.1.21a Notification/FACCH |
| 1446 | //**************************************************************************** |
| 1447 | // No table definition, not implemented |
| 1448 | |
| 1449 | // 44.018/9.1.21b Notification/NCH |
| 1450 | //**************************************************************************** |
| 1451 | // NCH message, not implemented |
| 1452 | |
| 1453 | // 44.018/9.1.21d Notification Response |
| 1454 | //**************************************************************************** |
| 1455 | type record PDU_RRM_NotificationResponse_MS_NW |
| 1456 | { |
| 1457 | BIT8 messageType, |
| 1458 | MobileStationClassmark2_LV mobileStationClassmark, |
| 1459 | MobileIdentityLV mobileIdentity, |
| 1460 | DescriptiveGroupOrBroadcastCallReference_V groupOrBroadcastCallReference |
| 1461 | } |
| 1462 | |
| 1463 | // 44.018/9.1.21f Packet Assignment |
| 1464 | //**************************************************************************** |
| 1465 | // FACCH message, not implemented |
| 1466 | |
| 1467 | // 44.018/9.1.21g Packet Notification |
| 1468 | //**************************************************************************** |
| 1469 | type record PDU_RRM_PacketNotification_NW_MS |
| 1470 | { |
| 1471 | BIT8 messageType, |
| 1472 | TMSIP_TMSI_TV p_TMSI optional, |
| 1473 | MobileIdentityTLV mobileIdentity optional |
| 1474 | } with { variant "TAG ( p_TMSI, elementIdentifier = '10'O; |
| 1475 | mobileIdentity, elementIdentifier = '0010001'B;)"}; |
| 1476 | |
| 1477 | // 44.018/9.1.21h VBS/VGCS Reconfigure |
| 1478 | //**************************************************************************** |
| 1479 | // No table definition, not implemented |
| 1480 | |
| 1481 | // 44.018/9.1.21i VBS/VGCS Reconfigure2 |
| 1482 | //**************************************************************************** |
| 1483 | // No table definition, not implemented |
| 1484 | |
| 1485 | // 44.018/9.1.21j MBMS Announcement |
| 1486 | //**************************************************************************** |
| 1487 | type record MBMS_Announcement_NW_MS |
| 1488 | { |
| 1489 | BIT8 messageType, |
| 1490 | TemporaryMobileGroupIDLV tMGI, |
| 1491 | MBMS_SessionIdentity_TV mBMS_SessionIdentity optional, |
| 1492 | MPRACH_Description_TLV mBMS_CountingChannelDescription optional, |
| 1493 | MBMS_ptm_ChannelDescription_TLV mBMS_ptm_ChannelDescription optional, |
| 1494 | MBMS_SessionParameterList_TLV mBMS_SessionParameterList optional, |
| 1495 | RestrictionTimer_TV restrictionTimer optional |
| 1496 | } with { variant "TAG ( mBMS_SessionIdentity, elementIdentifier = '01'O; |
| 1497 | mBMS_CountingChannelDescription, elementIdentifier = '02'O; |
| 1498 | mBMS_ptm_ChannelDescription, elementIdentifier = '03'O; |
| 1499 | mBMS_SessionParameterList, elementIdentifier = '04'O; |
| 1500 | restrictionTimer, elementIdentifier = '05'O;)"}; |
| 1501 | |
| 1502 | // 44.018/9.1.22 Paging Request type 1 |
| 1503 | //**************************************************************************** |
| 1504 | type record PDU_RRM_PagingReq_Type1_NW_MS |
| 1505 | { |
| 1506 | // L2 pseudo length is handled automatically by encoder/decoder |
| 1507 | BIT8 messageType, // '00100001'B; |
| 1508 | PageMode_V pageMode, |
| 1509 | ChannelNeeded_V channelNeeded, |
| 1510 | MobileIdentityLV mobileIdentity1, |
| 1511 | MobileIdentityTLV mobileIdentity2 optional, |
| 1512 | P1RestOctets p1RestOctets |
| 1513 | } with { variant "TAG ( mobileIdentity2, elementIdentifier = '0010111'B )" }; //'17'O |
| 1514 | |
| 1515 | // 44.018/9.1.23 Paging Request type 2 |
| 1516 | //**************************************************************************** |
| 1517 | type record PDU_RRM_PagingReq_Type2_NW_MS |
| 1518 | { |
| 1519 | // L2 pseudo length is handled automatically by encoder/decoder |
| 1520 | BIT8 messageType, // '00100010'B |
| 1521 | PageMode_V pageMode, |
| 1522 | ChannelNeeded_V channelNeeded, |
| 1523 | TMSIP_TMSI_V mobileIdentity1, |
| 1524 | TMSIP_TMSI_V mobileIdentity2, |
| 1525 | MobileIdentityTLV mobileIdentity3 optional, |
| 1526 | P2RestOctets p2RestOctets |
| 1527 | } with { variant "TAG ( mobileIdentity3, elementIdentifier = '0010111'B )" }; //'17'O |
| 1528 | |
| 1529 | // 44.018/9.1.24 Paging Request type 3 |
| 1530 | //**************************************************************************** |
| 1531 | type record PDU_RRM_PagingReq_Type3_NW_MS |
| 1532 | { |
| 1533 | // L2 pseudo length is handled automatically by encoder/decoder |
| 1534 | BIT8 messageType, // '00100100'B; |
| 1535 | PageMode_V pageMode, |
| 1536 | ChannelNeeded_V channelNeeded, |
| 1537 | TMSIP_TMSI_V mobileIdentity1, |
| 1538 | TMSIP_TMSI_V mobileIdentity2, |
| 1539 | TMSIP_TMSI_V mobileIdentity3, |
| 1540 | TMSIP_TMSI_V mobileIdentity4, |
| 1541 | P3RestOctets p3RestOctets |
| 1542 | } with { variant " " }; |
| 1543 | |
| 1544 | // 44.018/9.1.25 Paging Response |
| 1545 | //**************************************************************************** |
| 1546 | type record PDU_RRM_PagingResponse_MS_NW |
| 1547 | { |
| 1548 | BIT8 messageType, // '00100111'B = '27'O Response Paging |
| 1549 | CipheringKeySequenceNumberV cipheringKeySequenceNumber, |
| 1550 | BIT4 spare1_4, // '0000'B |
| 1551 | MobileStationClassmark2_LV mobileStationClassmark, |
| 1552 | MobileIdentityLV mobileIdentity, |
| 1553 | AdditionalUpdateParameterTV additionalUpdateParameters optional |
| 1554 | }; |
| 1555 | |
| 1556 | // 44.018/9.1.26 Partial Release |
| 1557 | //**************************************************************************** |
| 1558 | type record PDU_RRM_PartialRelease_NW_MS |
| 1559 | { |
| 1560 | BIT8 messageType, //'00001010'B; |
| 1561 | ChannelDescription_V channelDescription |
| 1562 | }; |
| 1563 | |
| 1564 | // 44.018/9.1.27 Partial Release Complete |
| 1565 | //**************************************************************************** |
| 1566 | type record PDU_RRM_PartialReleaseComplete_MS_NW |
| 1567 | { |
| 1568 | BIT8 messageType // '00001111'B; |
| 1569 | }; |
| 1570 | |
| 1571 | // 44.018/9.1.28 Physical Information |
| 1572 | //**************************************************************************** |
| 1573 | type record PDU_RRM_PhysicalInformation_NW_MS |
| 1574 | { |
| 1575 | BIT8 messageType, //'00101101'B; |
| 1576 | OCT1 timingAdvance |
| 1577 | }; |
| 1578 | |
| 1579 | // 44.018/9.1.29 RR Status |
| 1580 | //**************************************************************************** |
| 1581 | type record PDU_RRM_RR_Status |
| 1582 | { |
| 1583 | BIT8 messageType, // |
| 1584 | RR_Cause_V rR_Cause |
| 1585 | }; |
| 1586 | |
| 1587 | // 44.018/9.1.30a Synchronization Channel Information |
| 1588 | //**************************************************************************** |
| 1589 | // SCH message, not implemented |
| 1590 | |
| 1591 | |
| 1592 | // 44.018/9.1.31 - 9.1.43o System Information messages |
| 1593 | //**************************************************************************** |
| 1594 | //BCCH and SACCH messages, not implemented |
| 1595 | |
| 1596 | // 44.018/9.1.44 Talker Indication |
| 1597 | //**************************************************************************** |
| 1598 | type record PDU_RRM_TalkerIndication_MS_NW |
| 1599 | { |
| 1600 | BIT8 messageType, |
| 1601 | MobileStationClassmark2_LV mobileStationClassmark, |
| 1602 | MobileIdentityLV mobileIdentity, |
| 1603 | CipheringKeySequenceNumberTV cipheringKeySequenceNumber optional |
| 1604 | } with { variant "TAG (cipheringKeySequenceNumber, elementIdentifier = '1011'B )" }; //B |
| 1605 | |
| 1606 | // 44.018/9.1.45 Uplink Access |
| 1607 | //**************************************************************************** |
| 1608 | // No table definition, not implemented |
| 1609 | |
| 1610 | // 44.018/9.1.46 Uplink Busy |
| 1611 | //**************************************************************************** |
| 1612 | type record PDU_RRM_UplinkBusy_NW_MS |
| 1613 | { |
| 1614 | BIT8 messageType, |
| 1615 | TalkerPriorityStatus_TLV talkerPriorityStatus optional, |
| 1616 | Token_TV token optional, |
| 1617 | TalkerIdentity_TLV talkerIdentity optional, |
| 1618 | UplinkAccessIndication_TV uplinkAccessIndication optional |
| 1619 | } with { variant "TAG ( talkerPriorityStatus, elementIdentifier = '31'O; |
| 1620 | token, elementIdentifier = '32'O; |
| 1621 | talkerIdentity, elementIdentifier = '33'O; |
| 1622 | uplinkAccessIndication, elementIdentifier = '1000'B;)"}; // '8-'O |
| 1623 | |
| 1624 | // 44.018/9.1.47 Uplink Free |
| 1625 | //**************************************************************************** |
| 1626 | // No table definition, not implemented |
| 1627 | |
| 1628 | // 44.018/9.1.48 Uplink Release |
| 1629 | //**************************************************************************** |
| 1630 | type record PDU_RRM_UplinkRelease |
| 1631 | { |
| 1632 | BIT8 messageType, |
| 1633 | RR_Cause_V rR_Cause |
| 1634 | } |
| 1635 | |
| 1636 | // 44.018/9.1.49 VGCS Uplink Grant |
| 1637 | //**************************************************************************** |
| 1638 | type record PDU_RRM_VGCS_UplinkGrant_NW_MS |
| 1639 | { |
| 1640 | BIT8 messageType, |
| 1641 | RequestReference_V requestReference, |
| 1642 | OCT1 timingAdvance |
| 1643 | } |
| 1644 | |
| 1645 | // 44.018/9.1.49a VGCS Additional Information |
| 1646 | //**************************************************************************** |
| 1647 | // No table definition, not implemented |
| 1648 | |
| 1649 | // 44.018/9.1.49b VGCS SMS Information |
| 1650 | //**************************************************************************** |
| 1651 | // No table definition,SACCH message, not implemented |
| 1652 | |
| 1653 | // 44.018/9.1.50 System Information |
| 1654 | //**************************************************************************** |
| 1655 | // No table definition, SACCH message, not implemented |
| 1656 | |
| 1657 | // 44.018/9.1.51 Extended Measurement Order |
| 1658 | //**************************************************************************** |
| 1659 | // SACCH message, not implemented |
| 1660 | |
| 1661 | // 44.018/9.1.52 Extended Measurement Order |
| 1662 | //**************************************************************************** |
| 1663 | // SACCH message, not implemented |
| 1664 | |
| 1665 | // 44.018/9.1.53 Application Information |
| 1666 | //**************************************************************************** |
| 1667 | type record PDU_RRM_ApplicationInformation |
| 1668 | { |
| 1669 | BIT8 messageType, |
| 1670 | BIT4 aPDU_ID, |
| 1671 | APDU_Flags_V aPDU_Flags, |
| 1672 | APDU_Data_LV aPDU_Data |
| 1673 | } |
| 1674 | |
| 1675 | // 44.018/9.1.54 Measurement Information |
| 1676 | //**************************************************************************** |
| 1677 | // No table definition, SACCH message, not implemented |
| 1678 | |
| 1679 | // 44.018/9.1.55 Enhanced Measurement Report |
| 1680 | //**************************************************************************** |
| 1681 | // No table definition, SACCH message, not implemented |
| 1682 | |
| 1683 | // 44.018/9.1.56 |
| 1684 | //**************************************************************************** |
| 1685 | type record PDU_RRM_ServiceInformationMessage_MS_NW |
| 1686 | { |
| 1687 | BIT8 messageType, |
| 1688 | OCT4 tLLI, |
| 1689 | RoutingAreaIdentificationV routingAreaIdentification,//24.008 10.5.5.15 |
| 1690 | ServiceSupport_V serviceSupport |
| 1691 | } |
| 1692 | |
| 1693 | //**************************************************************************** |
| 1694 | // 9.1 Messages for Radio Resources management |
| 1695 | // Table 9.1.1 Organized by Table 10.4.1 |
| 1696 | //**************************************************************************** |
| 1697 | type union PDU_RRM_MS_NW |
| 1698 | { |
| 1699 | //Ciphering |
| 1700 | PDU_RRM_CipheringModeComplete_MS_NW cipheringModeComplete, |
| 1701 | //Config change |
| 1702 | PDU_RRM_ConfigurationChangeAck_MS_NW configurationChangeAck, |
| 1703 | PDU_RRM_ConfigurationChangeRej_MS_NW configurationChangeRej, |
| 1704 | //Handover |
| 1705 | PDU_RRM_AssignmentComplete_MS_NW assignmentComplete, |
| 1706 | PDU_RRM_AssignmentFailure_MS_NW assignmentFailure, |
| 1707 | PDU_RRM_HandoverComplete_MS_NW handoverComplete, |
| 1708 | PDU_RRM_HandoverFailure_MS_NW handoverFailure, |
| 1709 | //rel: |
| 1710 | PDU_RRM_PartialReleaseComplete_MS_NW partialReleaseComplete, |
| 1711 | //Paging |
| 1712 | PDU_RRM_PagingResponse_MS_NW pagingResponse, |
| 1713 | PDU_RRM_NotificationResponse_MS_NW notificationResponse, |
| 1714 | //Misc |
| 1715 | PDU_RRM_RR_Status rR_Status, |
| 1716 | PDU_RRM_ChannelModeModifyAck_MS_NW channelModeModifyAck, |
| 1717 | PDU_RRM_ClassmarkChange_MS_NW classmarkChange, |
| 1718 | PDU_RRM_GPRS_SuspensionRequest_MS_NW gPRS_suspensionRequest, |
| 1719 | PDU_RRM_ServiceInformationMessage_MS_NW serviceInformationMessage, |
| 1720 | //VGCS |
| 1721 | PDU_RRM_UplinkRelease uplinkRelease, |
| 1722 | PDU_RRM_TalkerIndication_MS_NW talkerIndication, |
| 1723 | //Application |
| 1724 | PDU_RRM_ApplicationInformation applicationInformation, |
| 1725 | //DTM |
| 1726 | PDU_RRM_DTM_AssignmentFailure_MS_NW dTM_AssignmentFailure, |
| 1727 | PDU_RRM_DTM_Request_MS_NW dTM_Request, |
| 1728 | //Inter RAT |
| 1729 | PDU_RRM_UTRAN_ClassmarkChange_MS_NW uTRAN_ClassmarkChange, |
| 1730 | PDU_RRM_CDMA2000_ClassmarkChange_MS_NW cDMA2000_ClassmarkChange, |
| 1731 | PDU_RRM_GERAN_IU_ModeClassmarkChange_MS_NW gERAN_IU_ModeClassmarkChange |
| 1732 | } with { variant "TAG ( |
| 1733 | cipheringModeComplete, messageType = '00110010'B; |
| 1734 | configurationChangeAck, messageType = '00110001'B; |
| 1735 | configurationChangeRej, messageType = '00110011'B; |
| 1736 | assignmentComplete, messageType = '00101001'B; |
| 1737 | assignmentFailure, messageType = '00101111'B; |
| 1738 | handoverComplete, messageType = '00101100'B; |
| 1739 | handoverFailure, messageType = '00101000'B; |
| 1740 | partialReleaseComplete, messageType = '00001111'B; |
| 1741 | pagingResponse, messageType = '00100111'B; |
| 1742 | notificationResponse, messageType = '00100110'B; |
| 1743 | rR_Status, messageType = '00010010'B; |
| 1744 | channelModeModifyAck, messageType = '00010111'B; |
| 1745 | classmarkChange, messageType = '00010110'B; |
| 1746 | gPRS_suspensionRequest, messageType = '00110100'B; |
| 1747 | serviceInformationMessage, messageType = '00110110'B; |
| 1748 | uplinkRelease, messageType = '00001110'B; |
| 1749 | talkerIndication, messageType = '00010001'B; |
| 1750 | applicationInformation, messageType = '00111000'B; |
| 1751 | dTM_AssignmentFailure, messageType = '01001000'B; |
| 1752 | dTM_Request, messageType = '01001010'B; |
| 1753 | uTRAN_ClassmarkChange, messageType = '01100000'B; |
| 1754 | cDMA2000_ClassmarkChange, messageType = '01100010'B; |
| 1755 | gERAN_IU_ModeClassmarkChange, messageType = '01100101'B;)"}; |
| 1756 | |
| 1757 | type union PDU_RRM_NW_MS |
| 1758 | { |
| 1759 | //Channel establishment |
| 1760 | PDU_RRM_AdditionalAssignment_NW_MS additionalAssignment, |
| 1761 | PDU_RRM_ImmediatePacketAssignment_NW_MS immediatePacketAssignment, |
| 1762 | //Ciphering |
| 1763 | PDU_RRM_CipheringModeCommand_NW_MS cipheringModeCommand, |
| 1764 | //Config change |
| 1765 | PDU_RRM_ConfigurationChangeCommand_NW_MS configurationChangeCommand, |
| 1766 | //Handover |
| 1767 | PDU_RRM_AssignmentCommand_NW_MS assignmentCommand, |
| 1768 | PDU_RRM_HandoverCommand_NW_MS handoverCommand, |
| 1769 | PDU_RRM_PhysicalInformation_NW_MS physicalInformation, |
| 1770 | //Channel release |
| 1771 | PDU_RRM_ChannelRelease_NW_MS channelRelease, |
| 1772 | PDU_RRM_PartialRelease_NW_MS partialRelease, |
| 1773 | //Paging |
| 1774 | PDU_RRM_PagingReq_Type1_NW_MS pagingReq_Type1, |
| 1775 | PDU_RRM_PagingReq_Type2_NW_MS pagingReq_Type2, |
| 1776 | PDU_RRM_PagingReq_Type3_NW_MS pagingReq_Type3, |
| 1777 | //Misc |
| 1778 | PDU_RRM_ChannelModeModify_NW_MS channelModeModify, |
| 1779 | PDU_RRM_RR_Status rR_Status, |
| 1780 | PDU_RRM_Frequency_Redefinition_NW_MS frequency_Redefinition, |
| 1781 | PDU_RRM_ClassmarkEnquiry_NW_MS classmarkEnquiry, |
| 1782 | MBMS_Announcement_NW_MS mBMS_Announcement, |
| 1783 | //VGCS |
| 1784 | PDU_RRM_VGCS_UplinkGrant_NW_MS vGCS_UplinkGrant, |
| 1785 | PDU_RRM_UplinkRelease uplinkRelease, |
| 1786 | PDU_RRM_UplinkBusy_NW_MS uplinkBusy, |
| 1787 | //Application |
| 1788 | PDU_RRM_ApplicationInformation applicationInformation, |
| 1789 | //DTM |
| 1790 | PDU_RRM_DTM_AssignmentCommand_NW_MS dTM_AssignmentCommand, |
| 1791 | PDU_RRM_DTM_Information_NW_MS dTM_Information, |
| 1792 | PDU_RRM_DTM_Reject_NW_MS dTM_Reject, |
| 1793 | PDU_RRM_PacketNotification_NW_MS packetNotification, |
| 1794 | //Inter RAT |
| 1795 | PDU_RRM_InterSystemToUTRAN_HandoverCommand_NW_MS interSystemToUTRAN_HandoverCommand, |
| 1796 | PDU_RRM_InterSystemToCDMA2000HandoverCommand_NW_MS interSystemToCDMA2000HandoverCommand, |
| 1797 | PDU_RRM_InterSystemToEUTRAN_HandoverCommand_NW_MS interSystemToEUTRAN_HandoverCommand |
| 1798 | } with { variant "TAG ( |
| 1799 | additionalAssignment, messageType = '00111011'B; |
| 1800 | immediatePacketAssignment, messageType = '01101001'B; |
| 1801 | cipheringModeCommand, messageType = '00110101'B; |
| 1802 | configurationChangeCommand, messageType = '00110000'B; |
| 1803 | assignmentCommand, messageType = '00101110'B; |
| 1804 | handoverCommand, messageType = '00101011'B; |
| 1805 | physicalInformation, messageType = '00101101'B; |
| 1806 | channelRelease, messageType = '00001101'B; |
| 1807 | partialRelease, messageType = '00001010'B; |
| 1808 | pagingReq_Type1, messageType = '00100001'B; |
| 1809 | pagingReq_Type2, messageType = '00100010'B; |
| 1810 | pagingReq_Type3, messageType = '00100100'B; |
| 1811 | channelModeModify, messageType = '00010000'B; |
| 1812 | rR_Status, messageType = '00010010'B; |
| 1813 | frequency_Redefinition, messageType = '00010100'B; |
| 1814 | classmarkEnquiry, messageType = '00010011'B; |
| 1815 | mBMS_Announcement, messageType = '00010110'B; |
| 1816 | vGCS_UplinkGrant, messageType = '00001001'B; |
| 1817 | uplinkRelease, messageType = '00001110'B; |
| 1818 | uplinkBusy, messageType = '00101010'B; |
| 1819 | applicationInformation, messageType = '00111000'B; |
| 1820 | dTM_AssignmentCommand, messageType = '01001100'B; |
| 1821 | dTM_Information, messageType = '01001101'B; |
| 1822 | dTM_Reject, messageType = '01001001'B; |
| 1823 | packetNotification, messageType = '01001110'B; |
| 1824 | interSystemToUTRAN_HandoverCommand, messageType = '01100011'B; |
| 1825 | interSystemToCDMA2000HandoverCommand, messageType = '01100100'B; |
| 1826 | interSystemToUTRAN_HandoverCommand, messageType = '01100110'B; |
| 1827 | )"}; |
| 1828 | |
| 1829 | }//end of module |
| 1830 | with { |
| 1831 | extension "version R1B" |
| 1832 | encode "RAW" |
| 1833 | } |
| 1834 | |