summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/lppa/lppa.cnf
blob: a0a4381c75ceae3b7c63fd0d793ed1b45ab45112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
# lppa.cnf
# llpa conformation file
# Copyright 2011-2020 Pascal Quantin

#.OPT
PER
ALIGNED
#.END

#.MAKE_ENUM
ProcedureCode
ProtocolIE-ID

#.OMIT_ASSIGNMENT
Presence
ProtocolIE-ContainerList
ProtocolIE-ContainerPairList
ProtocolIE-ContainerPair
ProtocolIE-FieldPair

#.PDU
LPPA-PDU

#.TYPE_RENAME
InitiatingMessage/value InitiatingMessage_value
SuccessfulOutcome/value SuccessfulOutcome_value
UnsuccessfulOutcome/value UnsuccessfulOutcome_value

#.FIELD_RENAME
InitiatingMessage/value initiatingMessagevalue
UnsuccessfulOutcome/value unsuccessfulOutcome_value
SuccessfulOutcome/value successfulOutcome_value
ProtocolIE-Field/value ie_field_value
ProtocolExtensionField/id ext_id

#.FN_BODY ProtocolIE-ID VAL_PTR=&lppa_data->protocol_ie_id
  struct lppa_private_data *lppa_data = lppa_get_private_data(actx->pinfo);
%(DEFAULT_BODY)s

#.FN_FTR ProtocolIE-ID
  if (tree) {
    proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s", val_to_str(lppa_data->protocol_ie_id, VALS(lppa_ProtocolIE_ID_vals), "unknown (%d)"));
  }
#.END

#.FN_BODY ProcedureCode  VAL_PTR = &lppa_data->procedure_code
  struct lppa_private_data *lppa_data = lppa_get_private_data(actx->pinfo);

%(DEFAULT_BODY)s

  col_add_fstr(actx->pinfo->cinfo, COL_INFO, "%%s ",
                 val_to_str(lppa_data->procedure_code, lppa_ProcedureCode_vals,
                            "unknown message"));
#.END

#.FN_PARS ProtocolIE-Field/value  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_ProtocolIEFieldValue

#.FN_PARS ProtocolExtensionField/extensionValue  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_ProtocolExtensionFieldExtensionValue

#.FN_PARS InitiatingMessage/value  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_InitiatingMessageValue
#.FN_HDR InitiatingMessage/value
  struct lppa_private_data *lppa_data = lppa_get_private_data(actx->pinfo);
  lppa_data->message_type = INITIATING_MESSAGE;
#.FN_PARS SuccessfulOutcome/value  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_SuccessfulOutcomeValue
#.FN_HDR SuccessfulOutcome/value
  struct lppa_private_data *lppa_data = lppa_get_private_data(actx->pinfo);
  lppa_data->message_type = SUCCESSFUL_OUTCOME;
#.FN_PARS UnsuccessfulOutcome/value  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_UnsuccessfulOutcomeValue
#.FN_HDR UnsuccessfulOutcome/value
  struct lppa_private_data *lppa_data = lppa_get_private_data(actx->pinfo);
  lppa_data->message_type = UNSUCCESSFUL_OUTCOME;

#.FN_HDR LPPA-PDU

  proto_tree_add_item(tree, proto_lppa, tvb, 0, -1, ENC_NA);

  col_append_sep_str(actx->pinfo->cinfo, COL_PROTOCOL, "/", "LPPa");
#.END

#.TYPE_ATTR
BSSID TYPE=FT_ETHER

#.TYPE_ATTR
HESSID TYPE=FT_ETHER

#.TYPE_ATTR
# ProcedureCode
id-errorIndication                   ProcedureCode
id-privateMessage                    ProcedureCode
id-e-CIDMeasurementInitiation        ProcedureCode
id-e-CIDMeasurementFailureIndication ProcedureCode
id-e-CIDMeasurementReport            ProcedureCode
id-e-CIDMeasurementTermination       ProcedureCode
id-oTDOAInformationExchange          ProcedureCode
id-uTDOAInformationExchange          ProcedureCode
id-uTDOAInformationUpdate            ProcedureCode
id-assistanceInformationControl      ProcedureCode
id-assistanceInformationFeedback     ProcedureCode

# ProtocolIE-ID
id-Cause                                   ProtocolIE-ID
id-CriticalityDiagnostics                  ProtocolIE-ID
id-E-SMLC-UE-Measurement-ID                ProtocolIE-ID
id-ReportCharacteristics                   ProtocolIE-ID
id-MeasurementPeriodicity                  ProtocolIE-ID
id-MeasurementQuantities                   ProtocolIE-ID
id-eNB-UE-Measurement-ID                   ProtocolIE-ID
id-E-CID-MeasurementResult                 ProtocolIE-ID
id-OTDOACells                              ProtocolIE-ID
id-OTDOA-Information-Type-Group            ProtocolIE-ID
id-OTDOA-Information-Type-Item             ProtocolIE-ID
id-MeasurementQuantities-Item              ProtocolIE-ID
id-RequestedSRSTransmissionCharacteristics ProtocolIE-ID
id-ULConfiguration                         ProtocolIE-ID
id-Cell-Portion-ID                         ProtocolIE-ID
id-InterRATMeasurementQuantities           ProtocolIE-ID
id-InterRATMeasurementQuantities-Item      ProtocolIE-ID
id-InterRATMeasurementResult               ProtocolIE-ID
id-AddOTDOACells                           ProtocolIE-ID
id-WLANMeasurementQuantities               ProtocolIE-ID
id-WLANMeasurementQuantities-Item          ProtocolIE-ID
id-WLANMeasurementResult                   ProtocolIE-ID
id-Assistance-Information                  ProtocolIE-ID
id-Broadcast                               ProtocolIE-ID
id-AssistanceInformationFailureList        ProtocolIE-ID
id-ResultsPerSSB-Index-List                ProtocolIE-ID
id-ResultsPerSSB-Index-Item                ProtocolIE-ID
id-NR-CGI                                  ProtocolIE-ID

#.REGISTER
#LPPA-PROTOCOL-IES
MeasurementQuantities-Item              N lppa.ies id-MeasurementQuantities-Item
ReportCharacteristics                   N lppa.ies id-ReportCharacteristics
MeasurementPeriodicity                  N lppa.ies id-MeasurementPeriodicity
MeasurementQuantities                   N lppa.ies id-MeasurementQuantities
E-CID-MeasurementResult                 N lppa.ies id-E-CID-MeasurementResult
OTDOA-Information-Type                  N lppa.ies id-OTDOA-Information-Type-Group
OTDOA-Information-Type-Item             N lppa.ies id-OTDOA-Information-Type-Item
OTDOACells                              N lppa.ies id-OTDOACells
Cause                                   N lppa.ies id-Cause
CriticalityDiagnostics                  N lppa.ies id-CriticalityDiagnostics
Measurement-ID                          N lppa.ies id-E-SMLC-UE-Measurement-ID
Measurement-ID                          N lppa.ies id-eNB-UE-Measurement-ID
RequestedSRSTransmissionCharacteristics N lppa.ies id-RequestedSRSTransmissionCharacteristics
ULConfiguration                         N lppa.ies id-ULConfiguration
InterRATMeasurementQuantities           N lppa.ies id-InterRATMeasurementQuantities
Cell-Portion-ID                         N lppa.ies id-Cell-Portion-ID
InterRATMeasurementResult               N lppa.ies id-InterRATMeasurementResult
InterRATMeasurementQuantities-Item      N lppa.ies id-InterRATMeasurementQuantities-Item
WLANMeasurementQuantities               N lppa.ies id-WLANMeasurementQuantities
WLANMeasurementResult                   N lppa.ies id-WLANMeasurementResult
Add-OTDOACells                          N lppa.ies id-AddOTDOACells
WLANMeasurementQuantities-Item          N lppa.ies id-WLANMeasurementQuantities-Item
Assistance-Information                  N lppa.ies id-Assistance-Information
Broadcast                               N lppa.ies id-Broadcast
AssistanceInformationFailureList        N lppa.ies id-AssistanceInformationFailureList

#LPPA-PROTOCOL-EXTENSION
ResultsPerSSB-Index-List                N lppa.extension id-ResultsPerSSB-Index-List
NR-CGI                                  N lppa.extension id-NR-CGI

#LPPA-ELEMENTARY-PROCEDURE
E-CIDMeasurementInitiationRequest  N lppa.proc.imsg id-e-CIDMeasurementInitiation
E-CIDMeasurementInitiationResponse N lppa.proc.sout id-e-CIDMeasurementInitiation
E-CIDMeasurementInitiationFailure  N lppa.proc.uout id-e-CIDMeasurementInitiation
E-CIDMeasurementFailureIndication  N lppa.proc.imsg id-e-CIDMeasurementFailureIndication
E-CIDMeasurementReport             N lppa.proc.imsg id-e-CIDMeasurementReport
E-CIDMeasurementTerminationCommand N lppa.proc.imsg id-e-CIDMeasurementTermination
OTDOAInformationRequest            N lppa.proc.imsg id-oTDOAInformationExchange
OTDOAInformationResponse           N lppa.proc.sout id-oTDOAInformationExchange
OTDOAInformationFailure            N lppa.proc.uout id-oTDOAInformationExchange
ErrorIndication                    N lppa.proc.imsg id-errorIndication
PrivateMessage                     N lppa.proc.imsg id-privateMessage
UTDOAInformationRequest            N lppa.proc.imsg id-uTDOAInformationExchange
UTDOAInformationResponse           N lppa.proc.sout id-uTDOAInformationExchange
UTDOAInformationFailure            N lppa.proc.uout id-uTDOAInformationExchange
UTDOAInformationUpdate             N lppa.proc.imsg id-uTDOAInformationUpdate
AssistanceInformationControl       N lppa.proc.imsg id-assistanceInformationControl
AssistanceInformationFeedback      N lppa.proc.imsg id-assistanceInformationFeedback