1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
|
# upl.cnf
# upl conformation file
# Copyright 2006-2010 Anders Broman
# Copyright 2014-2019 Pascal Quantin
#.OPT
PER
UNALIGNED
#.END
#.PDU
ULP-PDU
#.END
#.TYPE_RENAME
FrequencyInfo/modeSpecificInfo FrequencySpecificInfo
#.END
#.FIELD_RENAME
FrequencyInfo/modeSpecificInfo modeSpecificFrequencyInfo
FrequencyInfo/modeSpecificInfo/fdd fdd_fr
FrequencyInfo/modeSpecificInfo/tdd tdd_fr
SlpSessionID/sessionID sessionSlpID
SETId/min minsi
Coordinate/latitude coordinateLatitude
Coordinate/longitude coordinateLongitude
#.END
#.FN_HDR ULP-PDU
proto_item *it;
proto_tree *ulp_tree;
it = proto_tree_add_item(tree, proto_ulp, tvb, 0, -1, ENC_NA);
ulp_tree = proto_item_add_subtree(it, ett_ulp);
col_set_str(actx->pinfo->cinfo, COL_PROTOCOL, PSNAME);
col_clear(actx->pinfo->cinfo, COL_INFO);
#.END
#.FN_BODY ULP-PDU TREE=ulp_tree
%(DEFAULT_BODY)s
#.END
#.FN_BODY UlpMessage VAL_PTR = &UlpMessage
uint32_t UlpMessage;
%(DEFAULT_BODY)s
col_prepend_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "%%s ", val_to_str_const(UlpMessage,ulp_UlpMessage_vals,"Unknown"));
#.END
#.FN_BODY Notification
ulp_private_data_t *ulp_priv = ulp_get_private_data(actx);
ulp_priv->notif_enc_type = -1;
%(DEFAULT_BODY)s
#.FN_BODY EncodingType VAL_PTR=&val
uint32_t val;
ulp_private_data_t *ulp_priv = ulp_get_private_data(actx);
%(DEFAULT_BODY)s
ulp_priv->notif_enc_type = (uint8_t) val;
#.FN_BODY Notification/requestorId VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
ulp_private_data_t *ulp_priv = ulp_get_private_data(actx);
switch(ulp_priv->notif_enc_type) {
case 0: /* UCS-2 */
actx->created_item = proto_tree_add_item(tree, hf_index, val_tvb, 0,
tvb_reported_length(val_tvb),
ENC_UCS_2|ENC_BIG_ENDIAN);
break;
case 1: /* GSM 7bits */
actx->created_item = proto_tree_add_item(tree, hf_index, val_tvb, 0,
tvb_reported_length(val_tvb), ENC_3GPP_TS_23_038_7BITS|ENC_NA);
break;
case 2: /* UTF-8 */
actx->created_item = proto_tree_add_item(tree, hf_index, val_tvb, 0,
tvb_reported_length(val_tvb), ENC_UTF_8|ENC_NA);
break;
default:
actx->created_item = proto_tree_add_string(tree, hf_index, val_tvb, 0,
tvb_reported_length(val_tvb),
tvb_bytes_to_str(actx->pinfo->pool, val_tvb, 0,
tvb_reported_length(val_tvb)));
break;
}
}
#.TYPE_ATTR
Notification/requestorId TYPE=FT_STRING DISPLAY=BASE_NONE
#.FN_BODY Notification/clientName VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
ulp_private_data_t *ulp_priv = ulp_get_private_data(actx);
switch(ulp_priv->notif_enc_type) {
case 0: /* UCS-2 */
actx->created_item = proto_tree_add_item(tree, hf_index, val_tvb, 0,
tvb_reported_length(val_tvb),
ENC_UCS_2|ENC_BIG_ENDIAN);
break;
case 1: /* GSM 7bits */
actx->created_item = proto_tree_add_item(tree, hf_index, val_tvb, 0,
tvb_reported_length(val_tvb), ENC_3GPP_TS_23_038_7BITS|ENC_NA);
break;
case 2: /* UTF-8 */
actx->created_item = proto_tree_add_item(tree, hf_index, val_tvb, 0,
tvb_reported_length(val_tvb), ENC_UTF_8|ENC_NA);
break;
default:
actx->created_item = proto_tree_add_string(tree, hf_index, val_tvb, 0,
tvb_reported_length(val_tvb),
tvb_bytes_to_str(actx->pinfo->pool, val_tvb, 0,
tvb_reported_length(val_tvb)));
break;
}
}
#.TYPE_ATTR
Notification/clientName TYPE=FT_STRING DISPLAY=BASE_NONE
#.TYPE_ATTR
NavigationModel/gpsToe DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_hours)
#.TYPE_ATTR
NavigationModel/toeLimit DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_hours)
#.FN_BODY PosPayLoad/rrlpPayload VAL_PTR = &rrlp_tvb
tvbuff_t *rrlp_tvb;
%(DEFAULT_BODY)s
if (rrlp_tvb && rrlp_handle) {
call_dissector(rrlp_handle, rrlp_tvb, %(ACTX)s->pinfo, tree);
}
#.TYPE_ATTR
PeriodicParams/intervalBetweenFixes DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_seconds)
#.TYPE_ATTR
PeriodicParams/startTime DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_seconds)
#.TYPE_ATTR
AreaEventParams/startTime DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_seconds)
#.TYPE_ATTR
AreaEventParams/stopTime DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_seconds)
#.TYPE_ATTR
RepeatedReportingParams/minimumIntervalTime DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_seconds)
#.FN_BODY WLANAreaId/apMACAddress VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
proto_tree_add_item(tree, hf_index, val_tvb, 0, 6, ENC_NA);
}
#.TYPE_ATTR
WLANAreaId/apMACAddress TYPE=FT_ETHER
#.TYPE_ATTR
GANSSSignalsDescription/ganssId STRINGS=VALS(ulp_ganss_id_vals)
#.TYPE_ATTR
TimeStamp/relativeTime DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_seconds)
#.TYPE_ATTR
ReportingCriteria/minTimeInterval DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_seconds)
#.TYPE_ATTR
TimeWindow/startTime DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_minutes)
#.TYPE_ATTR
TimeWindow/stopTime DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_minutes)
#.TYPE_ATTR
GANSSPositionMethod/ganssId STRINGS=VALS(ulp_ganss_id_vals)
#.FN_BODY GANSSPositionMethod/ganssSBASid VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
proto_tree_add_bits_item(tree, hf_index, val_tvb, 0, 3, ENC_NA);
}
#.TYPE_ATTR
GANSSPositionMethod/ganssSBASid TYPE=FT_UINT8 DISPLAY=BASE_DEC STRINGS=VALS(ulp_ganss_sbas_id_vals)
#.FN_BODY GanssReqGenericData/ganssId VAL_PTR=&val
uint32_t val;
ulp_private_data_t *ulp_priv = ulp_get_private_data(actx);
%(DEFAULT_BODY)s
ulp_priv->ganss_req_gen_data_ganss_id = (uint8_t) val;
#.TYPE_ATTR
GanssReqGenericData/ganssId STRINGS=VALS(ulp_ganss_id_vals)
#.FN_BODY GanssReqGenericData/ganssSBASid VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
proto_tree_add_bits_item(tree, hf_index, val_tvb, 0, 3, ENC_NA);
}
#.TYPE_ATTR
GanssReqGenericData/ganssSBASid TYPE=FT_UINT8 DISPLAY=BASE_DEC STRINGS=VALS(ulp_ganss_sbas_id_vals)
#.FN_BODY GanssReqGenericData/ganssTimeModels VAL_PTR=&val_tvb
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_ulp_ganssTimeModels);
proto_tree_add_item(subtree, hf_ulp_ganssTimeModels_bit0, val_tvb, 0, 2, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ulp_ganssTimeModels_bit1, val_tvb, 0, 2, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ulp_ganssTimeModels_bit2, val_tvb, 0, 2, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ulp_ganssTimeModels_bit3, val_tvb, 0, 2, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ulp_ganssTimeModels_bit4, val_tvb, 0, 2, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_ulp_ganssTimeModels_spare, val_tvb, 0, 2, ENC_BIG_ENDIAN);
}
#.FN_BODY GanssNavigationModelData/ganssWeek
ulp_private_data_t *ulp_priv = ulp_get_private_data(actx);
%(DEFAULT_BODY)s
if (ulp_priv->ganss_req_gen_data_ganss_id != 4) {
/* Not GLONASS */
proto_item_append_text(actx->created_item, "wk");
} else {
proto_item_append_text(actx->created_item, "d");
}
#.FN_BODY GanssNavigationModelData/ganssToe VAL_PTR=&val
uint32_t val;
ulp_private_data_t *ulp_priv = ulp_get_private_data(actx);
%(DEFAULT_BODY)s
#.FN_FTR GanssNavigationModelData/ganssToe
if (ulp_priv->ganss_req_gen_data_ganss_id != 4) {
/* Not GLONASS */
proto_item_append_text(actx->created_item, "h");
} else {
proto_item_set_text(actx->created_item, "%umin (%u)", 15*val, val);
}
#.FN_BODY GanssNavigationModelData/t-toeLimit VAL_PTR=&val
uint32_t val;
ulp_private_data_t *ulp_priv = ulp_get_private_data(actx);
%(DEFAULT_BODY)s
#.FN_FTR GanssNavigationModelData/t-toeLimit
if (ulp_priv->ganss_req_gen_data_ganss_id != 4) {
/* Not GLONASS */
proto_item_append_text(actx->created_item, "h");
} else {
proto_item_set_text(actx->created_item, "%umin (%u)", 30*val, val);
}
#.TYPE_ATTR
GanssDataBits/ganssTODmin DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_seconds)
#.TYPE_ATTR
ReqDataBitAssistanceList/ganssDataBitInterval DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_ganssDataBitInterval_fmt)
#.TYPE_ATTR
ExtendedEphemeris/validity DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_ExtendedEphemeris_validity_fmt)
#.FN_BODY Ver2-PosPayLoad-extension/lPPPayload/_item VAL_PTR = &lpp_tvb
tvbuff_t *lpp_tvb;
%(DEFAULT_BODY)s
if (lpp_tvb && lpp_handle) {
call_dissector(lpp_handle, lpp_tvb, %(ACTX)s->pinfo, tree);
}
#.FN_BODY SETId/msisdn VAL_PTR=&msisdn_tvb
tvbuff_t *msisdn_tvb;
%(DEFAULT_BODY)s
if (msisdn_tvb) {
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_ulp_setid);
dissect_e164_msisdn(msisdn_tvb, subtree, 0, 8, E164_ENC_BCD);
}
#.FN_BODY SETId/mdn VAL_PTR=&mdn_tvb
tvbuff_t *mdn_tvb;
%(DEFAULT_BODY)s
if (mdn_tvb) {
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_ulp_setid);
proto_tree_add_item(subtree, hf_ulp_mobile_directory_number, mdn_tvb, 0, 8, ENC_BCD_DIGITS_0_9|ENC_LITTLE_ENDIAN);
}
#.FN_BODY SETId/imsi VAL_PTR=&imsi_tvb
tvbuff_t *imsi_tvb;
%(DEFAULT_BODY)s
if (imsi_tvb) {
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_ulp_setid);
dissect_e212_imsi(imsi_tvb, actx->pinfo, subtree, 0, 8, false);
}
#.TYPE_ATTR
IPAddress/ipv4Address TYPE = FT_IPv4 DISPLAY = BASE_NONE STRINGS = NULL
IPAddress/ipv6Address TYPE = FT_IPv6 DISPLAY = BASE_NONE STRINGS = NULL
#.TYPE_ATTR
PositionEstimate/latitude DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_PositionEstimate_latitude_fmt)
#.TYPE_ATTR
PositionEstimate/longitude DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_PositionEstimate_longitude_fmt)
#.TYPE_ATTR
PositionEstimate/uncertainty/uncertaintySemiMajor DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_QoP_horacc_fmt)
#.TYPE_ATTR
PositionEstimate/uncertainty/uncertaintySemiMinor DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_QoP_horacc_fmt)
#.TYPE_ATTR
PositionEstimate/uncertainty/orientationMajorAxis DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_degree_degrees)
#.TYPE_ATTR
PositionEstimate/confidence DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_percent)
#.TYPE_ATTR
AltitudeInfo/altitude DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_meters)
#.TYPE_ATTR
AltitudeInfo/altUncertainty DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_QoP_veracc_fmt)
#.TYPE_ATTR
NMRelement/rxLev DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_NMRelement_rxLev_fmt)
#.TYPE_ATTR
UTRA-CarrierRSSI DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_UTRA_CarrierRSSI_fmt)
#.TYPE_ATTR
PrimaryCCPCH-RSCP DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_PrimaryCCPCH_RSCP_fmt)
#.TYPE_ATTR
CPICH-Ec-N0 DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_CPICH_Ec_N0_fmt)
#.TYPE_ATTR
CPICH-RSCP DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_CPICH_RSCP_fmt)
#.TYPE_ATTR
QoP/horacc DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_QoP_horacc_fmt)
#.TYPE_ATTR
QoP/veracc DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_QoP_veracc_fmt)
#.TYPE_ATTR
QoP/maxLocAge DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_seconds)
#.TYPE_ATTR
QoP/delay DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_QoP_delay_fmt)
#.TYPE_ATTR
QoP/ver2-responseTime DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_seconds)
#.FN_BODY Horvel/bearing VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
actx->created_item = proto_tree_add_bits_item(tree, hf_index, val_tvb, 0, 9, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
Horvel/bearing TYPE=FT_UINT16 DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_degree_degrees)
#.FN_BODY Horvel/horspeed VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, val_tvb, 0, 2, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
Horvel/horspeed TYPE=FT_UINT16 DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_kmh)
#.FN_BODY Horandvervel/verdirect VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
actx->created_item = proto_tree_add_bits_item(tree, hf_index, val_tvb, 0, 1, ENC_NA);
}
#.TYPE_ATTR
Horandvervel/verdirect TYPE=FT_BOOLEAN STRINGS=TFS(&ulp_vertical_dir_val)
#.FN_BODY Horandvervel/bearing VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
actx->created_item = proto_tree_add_bits_item(tree, hf_index, val_tvb, 0, 9, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
Horandvervel/bearing TYPE=FT_UINT16 DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_degree_degrees)
#.FN_BODY Horandvervel/horspeed VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, val_tvb, 0, 2, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
Horandvervel/horspeed TYPE=FT_UINT16 DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_kmh)
#.FN_BODY Horandvervel/verspeed VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, val_tvb, 0, 1, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
Horandvervel/verspeed TYPE=FT_UINT8 DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_kmh)
#.FN_BODY Horveluncert/bearing VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
actx->created_item = proto_tree_add_bits_item(tree, hf_index, val_tvb, 0, 9, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
Horveluncert/bearing TYPE=FT_UINT16 DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_degree_degrees)
#.FN_BODY Horveluncert/horspeed VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, val_tvb, 0, 2, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
Horveluncert/horspeed TYPE=FT_UINT16 DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_kmh)
#.FN_BODY Horveluncert/uncertspeed VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, val_tvb, 0, 1, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
Horveluncert/uncertspeed TYPE=FT_UINT8 DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_kmh)
#.FN_BODY Horandveruncert/verdirect VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
actx->created_item = proto_tree_add_bits_item(tree, hf_index, val_tvb, 0, 1, ENC_NA);
}
#.TYPE_ATTR
Horandveruncert/verdirect TYPE=FT_BOOLEAN STRINGS=TFS(&ulp_vertical_dir_val)
#.FN_BODY Horandveruncert/bearing VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
actx->created_item = proto_tree_add_bits_item(tree, hf_index, val_tvb, 0, 9, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
Horandveruncert/bearing TYPE=FT_UINT16 DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_degree_degrees)
#.FN_BODY Horandveruncert/horspeed VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, val_tvb, 0, 2, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
Horandveruncert/horspeed TYPE=FT_UINT16 DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_kmh)
#.FN_BODY Horandveruncert/verspeed VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, val_tvb, 0, 1, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
Horandveruncert/verspeed TYPE=FT_UINT8 DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_kmh)
#.FN_BODY Horandveruncert/horuncertspeed VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, val_tvb, 0, 1, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
Horandveruncert/horuncertspeed TYPE=FT_UINT8 DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_kmh)
#.FN_BODY Horandveruncert/veruncertspeed VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, val_tvb, 0, 1, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
Horandveruncert/veruncertspeed TYPE=FT_UINT8 DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_kmh)
#.TYPE_ATTR
RelativeTime DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_RelativeTime_fmt)
#.FN_BODY SupportedWLANApData/apMACAddress VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
proto_tree_add_item(tree, hf_index, val_tvb, 0, 6, ENC_NA);
}
#.TYPE_ATTR
SupportedWLANApData/apMACAddress TYPE=FT_ETHER
#.TYPE_ATTR
RSRP-Range DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_RSRP_Range_fmt)
#.TYPE_ATTR
RSRQ-Range DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_RSRQ_Range_fmt)
#.FN_BODY WlanAPInformation/apMACAddress VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
proto_tree_add_item(tree, hf_index, val_tvb, 0, 6, ENC_NA);
}
#.TYPE_ATTR
WlanAPInformation/apMACAddress TYPE=FT_ETHER
#.TYPE_ATTR
WlanAPInformation/apTransmitPower DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_dbm)
#.TYPE_ATTR
WlanAPInformation/apAntennaGain DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_dbi)
#.TYPE_ATTR
WlanAPInformation/apSignaltoNoise DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_decibels)
#.TYPE_ATTR
WlanAPInformation/apSignalStrength DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_dbm)
#.TYPE_ATTR
WlanAPInformation/setTransmitPower DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_dbm)
#.TYPE_ATTR
WlanAPInformation/setAntennaGain DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_dbi)
#.TYPE_ATTR
WlanAPInformation/setSignaltoNoise DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_decibels)
#.TYPE_ATTR
WlanAPInformation/setSignalStrength DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_dbm)
#.TYPE_ATTR
WlanAPInformation/apSignalStrengthDelta DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_SignalDelta_fmt)
#.TYPE_ATTR
WlanAPInformation/apSignaltoNoiseDelta DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_SignalDelta_fmt)
#.TYPE_ATTR
WlanAPInformation/setSignalStrengthDelta DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_SignalDelta_fmt)
#.TYPE_ATTR
WlanAPInformation/setSignaltoNoiseDelta DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_SignalDelta_fmt)
#.FN_BODY WlanAPInformation/apSSID VAL_PTR=&ssid_tvb HF_INDEX=-1
tvbuff_t *ssid_tvb;
%(DEFAULT_BODY)s
if (ssid_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, ssid_tvb, 0, -1, ENC_ASCII|ENC_NA);
}
#.TYPE_ATTR
WlanAPInformation/apSSID TYPE=FT_STRING DISPLAY=BASE_NONE
#.FN_BODY WlanAPInformation/setMACAddress VAL_PTR=&val_tvb HF_INDEX=-1
tvbuff_t *val_tvb;
%(DEFAULT_BODY)s
if (val_tvb) {
proto_tree_add_item(tree, hf_index, val_tvb, 0, 6, ENC_NA);
}
#.TYPE_ATTR
WlanAPInformation/setMACAddress TYPE=FT_ETHER
#.TYPE_ATTR
LocationData/locationAccuracy DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_locationAccuracy_fmt)
#.TYPE_ATTR
WimaxRTD/rtd DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_WimaxRTD_fmt)
#.TYPE_ATTR
WimaxRTD/rTDstd DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_WimaxRTD_fmt)
#.TYPE_ATTR
WimaxNMR/relDelay DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_WimaxRTD_fmt)
#.TYPE_ATTR
WimaxNMR/relDelaystd DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_WimaxRTD_fmt)
#.TYPE_ATTR
WimaxNMR/rssi DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_WimaxNMR_rssi_fmt)
#.TYPE_ATTR
WimaxNMR/rSSIstd DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_decibels)
#.TYPE_ATTR
WimaxNMR/bSTxPower DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_WimaxNMR_rssi_fmt)
#.TYPE_ATTR
WimaxNMR/cinr DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_decibels)
#.TYPE_ATTR
WimaxNMR/cINRstd DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_decibels)
#.TYPE_ATTR
UTRAN-GPSReferenceTimeAssistance/gpsReferenceTimeUncertainty DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_UTRAN_gpsReferenceTimeUncertainty_fmt)
#.TYPE_ATTR
UTRAN-GPSReferenceTimeResult/gpsReferenceTimeUncertainty DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_UTRAN_gpsReferenceTimeUncertainty_fmt)
#.TYPE_ATTR
UTRAN-GANSSReferenceTimeAssistance/ganssTimeID STRINGS=VALS(ulp_ganss_time_id_vals)
#.TYPE_ATTR
UTRAN-GANSSReferenceTime/ganssTOD DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_seconds)
#.TYPE_ATTR
UTRAN-GANSSReferenceTime/utran-GANSSTimingOfCell DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_utran_GANSSTimingOfCell_fmt)
#.TYPE_ATTR
UTRAN-GANSSReferenceTime/ganss-TODUncertainty DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_UTRAN_gpsReferenceTimeUncertainty_fmt)
#.TYPE_ATTR
UTRAN-GANSSReferenceTimeResult/ganssTimeID STRINGS=VALS(ulp_ganss_time_id_vals)
#.TYPE_ATTR
SET-GANSSReferenceTime/ganss-TODUncertainty ulp_UTRAN_gpsReferenceTimeUncertainty_fmtulp_UTRAN_gpsReferenceTimeUncertainty_fmt)
#.FN_BODY ThirdPartyID/msisdn VAL_PTR=&msisdn_tvb
tvbuff_t *msisdn_tvb;
%(DEFAULT_BODY)s
if (msisdn_tvb) {
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_ulp_thirdPartyId);
dissect_e164_msisdn(msisdn_tvb, subtree, 0, 8, E164_ENC_BCD);
}
#.FN_BODY ThirdPartyID/sip-uri
# asn2wrs does not handle '%' in the restricted string ( Has to be there twice)
offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index,
1, 255, false, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789:./-_~%%#@?", 72,
NULL);
#.FN_BODY ThirdPartyID/ims-public-identity
# asn2wrs does not handle '%' in the restricted string ( Has to be there twice)
offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index,
1, 255, false, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789:./-_~%%#@?", 72,
NULL);
#.FN_BODY ThirdPartyID/mdn VAL_PTR=&mdn_tvb
tvbuff_t *mdn_tvb;
%(DEFAULT_BODY)s
if (mdn_tvb) {
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_ulp_thirdPartyId);
proto_tree_add_string(subtree, hf_ulp_mobile_directory_number, mdn_tvb, 0, 8, tvb_bcd_dig_to_str(actx->pinfo->pool, mdn_tvb, 0, 8, NULL, false));
}
#.FN_BODY ThirdPartyID/uri
# asn2wrs does not handle '%' in the restricted string ( Has to be there twice)
offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index,
1, 255, false, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./-_~%%#", 69,
NULL);
#.TYPE_ATTR
ReportingCap/minInt DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_seconds)
#.TYPE_ATTR
ReportingCap/maxInt DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_minutes)
#.TYPE_ATTR
Coordinate/latitude DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_Coordinate_latitude_fmt)
#.TYPE_ATTR
Coordinate/longitude DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(ulp_Coordinate_longitude_fmt)
#.TYPE_ATTR
CircularArea/radius DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_meters)
#.TYPE_ATTR
EllipticalArea/semiMajor DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_meters)
#.TYPE_ATTR
EllipticalArea/semiMinor DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_meters)
#.TYPE_ATTR
EllipticalArea/angle DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_degree_degrees)
#.TYPE_ATTR
PolygonArea/polygonHysteresis DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_meters)
#.END
|