language
stringlengths 0
24
| filename
stringlengths 9
214
| code
stringlengths 99
9.93M
|
---|---|---|
ASN.1 | wireshark/epan/dissectors/asn1/sabp/SABP-Constants.asn | -- SABP-Constants.asn
--
-- Taken from 3GPP TS 25.419 V11.1.0 (2013-03)
-- http://www.3gpp.org/ftp/Specs/archive/25_series/25.419/25419-700.zip/25419-700.DOC
--
-- 9.3.6 Constant Definitions
--
-- **************************************************************
--
-- Constant definitions
--
-- **************************************************************
SABP-Constants {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
umts-Access (20) modules (3) sabp (3) version1 (1) sabp-Constants (4) }
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
-- **************************************************************
--
-- Elementary Procedures
--
-- **************************************************************
id-Write-Replace INTEGER ::= 0
id-Kill INTEGER ::= 1
id-Load-Status-Enquiry INTEGER ::= 2
id-Message-Status-Query INTEGER ::= 3
id-Restart-Indication INTEGER ::= 4
id-Reset INTEGER ::= 5
id-Failure-Indication INTEGER ::= 6
id-Error-Indication INTEGER ::= 7
-- **************************************************************
--
-- IEs
--
-- **************************************************************
id-Broadcast-Message-Content INTEGER ::= 0
id-Category INTEGER ::= 1
id-Cause INTEGER ::= 2
id-Criticality-Diagnostics INTEGER ::=3
id-Data-Coding-Scheme INTEGER ::= 4
id-Failure-List INTEGER ::= 5
id-Message-Identifier INTEGER ::= 6
id-New-Serial-Number INTEGER ::= 7
id-Number-of-Broadcasts-Completed-List INTEGER ::= 8
id-Number-of-Broadcasts-Requested INTEGER ::= 9
id-Old-Serial-Number INTEGER ::= 10
id-Radio-Resource-Loading-List INTEGER ::= 11
id-Recovery-Indication INTEGER ::= 12
id-Repetition-Period INTEGER ::= 13
id-Serial-Number INTEGER ::= 14
id-Service-Areas-List INTEGER ::= 15
id-MessageStructure INTEGER ::= 16
id-TypeOfError INTEGER ::= 17
id-Paging-ETWS-Indicator INTEGER ::= 18
id-Warning-Type INTEGER ::= 19
id-WarningSecurityInfo INTEGER ::= 20
id-Broadcast-Message-Content-Validity-Indicator INTEGER ::= 21
-- **************************************************************
--
-- Extension constants
--
-- **************************************************************
-- **************************************************************
--
-- Lists
--
-- **************************************************************
maxNrOfErrors INTEGER ::= 256
maxnoofSAI INTEGER ::= 65535
maxProtocolExtensions INTEGER ::= 65535
maxProtocolIEs INTEGER ::= 65535
maxNrOfLevels INTEGER ::= 256
END |
ASN.1 | wireshark/epan/dissectors/asn1/sabp/SABP-Containers.asn | -- SABP-Containers.asn
--
-- Taken from 3GPP TS 25.419 V11.1.0 (2013-03)
-- http://www.3gpp.org/ftp/Specs/archive/25_series/25.419/25419-700.zip/25419-700.DOC
--
-- 9.3.7 Container Definitions
--
-- **************************************************************
--
-- Container definitions
--
-- **************************************************************
SABP-Containers {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
umts-Access (20) modules (3) sabp (3) version1 (1) sabp-Containers (5) }
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
-- **************************************************************
--
-- IE parameter types from other modules.
--
-- **************************************************************
IMPORTS
Criticality,
Presence,
ProtocolExtensionID,
ProtocolIE-ID
FROM SABP-CommonDataTypes
maxProtocolExtensions,
maxProtocolIEs
FROM SABP-Constants;
-- **************************************************************
--
-- Class Definition for Protocol IEs
--
-- **************************************************************
SABP-PROTOCOL-IES ::= CLASS {
&id ProtocolIE-ID UNIQUE,
&criticality Criticality DEFAULT ignore,
&Value,
&presence Presence
}
WITH SYNTAX {
ID &id
CRITICALITY &criticality
TYPE &Value
PRESENCE &presence
}
-- **************************************************************
--
-- Class Definition for Protocol Extensions
--
-- **************************************************************
SABP-PROTOCOL-EXTENSION ::= CLASS {
&id ProtocolExtensionID UNIQUE,
&criticality Criticality DEFAULT ignore,
&Extension,
&presence Presence
}
WITH SYNTAX {
ID &id
CRITICALITY &criticality
EXTENSION &Extension
PRESENCE &presence
}
-- **************************************************************
--
-- Container for Protocol IEs
--
-- **************************************************************
ProtocolIE-Container {SABP-PROTOCOL-IES : IEsSetParam} ::=
SEQUENCE (SIZE (0..maxProtocolIEs)) OF
ProtocolIE-Field {{IEsSetParam}}
ProtocolIE-Field {SABP-PROTOCOL-IES : IEsSetParam} ::= SEQUENCE {
id SABP-PROTOCOL-IES.&id ({IEsSetParam}),
criticality SABP-PROTOCOL-IES.&criticality ({IEsSetParam}{@id}),
value SABP-PROTOCOL-IES.&Value ({IEsSetParam}{@id})
}
-- **************************************************************
--
-- Container Lists for Protocol IE Containers
--
-- **************************************************************
ProtocolIE-ContainerList {INTEGER : lowerBound, INTEGER : upperBound, SABP-PROTOCOL-IES : IEsSetParam} ::=
SEQUENCE (SIZE (lowerBound..upperBound)) OF
ProtocolIE-Container {{IEsSetParam}}
-- **************************************************************
--
-- Container for Protocol Extensions
--
-- **************************************************************
ProtocolExtensionContainer {SABP-PROTOCOL-EXTENSION : ExtensionSetParam} ::=
SEQUENCE (SIZE (1..maxProtocolExtensions)) OF
ProtocolExtensionField {{ExtensionSetParam}}
ProtocolExtensionField {SABP-PROTOCOL-EXTENSION : ExtensionSetParam} ::= SEQUENCE {
id SABP-PROTOCOL-EXTENSION.&id ({ExtensionSetParam}),
criticality SABP-PROTOCOL-EXTENSION.&criticality ({ExtensionSetParam}{@id}),
extensionValue SABP-PROTOCOL-EXTENSION.&Extension ({ExtensionSetParam}{@id})
}
END |
ASN.1 | wireshark/epan/dissectors/asn1/sabp/SABP-IEs.asn | -- SABP-IEs.asn
--
-- Taken from 3GPP TS 25.419 V11.1.0 (2013-03)
-- http://www.3gpp.org/ftp/Specs/archive/25_series/25.419/25419-700.zip/25419-700.DOC
--
-- 9.3.4 Information Element Definitions
--
-- **************************************************************
--
-- Information Element Definitions
--
-- **************************************************************
SABP-IEs {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
umts-Access (20) modules (3) sabp (3) version1 (1) sabp-IEs (2) }
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
IMPORTS
maxNrOfErrors,
maxnoofSAI,
maxNrOfLevels,
id-MessageStructure,
id-TypeOfError
FROM SABP-Constants
Criticality,
ProcedureCode,
TriggeringMessage,
ProtocolIE-ID
FROM SABP-CommonDataTypes
ProtocolExtensionContainer{},
SABP-PROTOCOL-EXTENSION
FROM SABP-Containers;
-- A
Available-Bandwidth ::= INTEGER (0..20480)
-- bits/sec
-- B
Broadcast-Message-Content ::= BIT STRING (SIZE (1..9968))-- This IE is sent from the CN to the RNC containing user information i.e.
-- the message.
Broadcast-Message-Content-Validity-Indicator ::= ENUMERATED {
broadcast-Message-Content-not-valid,
...
}
-- C
Category ::= ENUMERATED {
high-priority,
background-priority,
normal-priority,
default-priority,
...
}
Cause ::= INTEGER {
parameter-not-recognised (0),
parameter-value-invalid (1),
valid-CN-message-not-identified (2),
service-area-identity-not-valid (3),
unrecognised-message (4),
missing-mandatory-element (5),
rNC-capacity-exceeded (6),
rNC-memory-exceeded (7),
service-area-broadcast-not-supported (8),
service-area-broadcast-not-operational (9),
message-reference-already-used (10),
unspecifed-error (11),
transfer-syntax-error (12),
semantic-error (13),
message-not-compatible-with-receiver-state (14),
abstract-syntax-error-reject (15),
abstract-syntax-error-ignore-and-notify (16),
abstract-syntax-error-falsely-constructed-message (17)
} (0..255)
Criticality-Diagnostics ::= SEQUENCE {
procedureCode ProcedureCode OPTIONAL,
triggeringMessage TriggeringMessage OPTIONAL,
procedureCriticality Criticality OPTIONAL,
iEsCriticalityDiagnostics CriticalityDiagnostics-IE-List OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {CriticalityDiagnostics-ExtIEs} } OPTIONAL,
...
}
CriticalityDiagnostics-ExtIEs SABP-PROTOCOL-EXTENSION ::= {
...
}
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF
SEQUENCE {
iECriticality Criticality,
iE-ID ProtocolIE-ID,
repetitionNumber RepetitionNumber0 OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {CriticalityDiagnostics-IE-List-ExtIEs} } OPTIONAL,
...
}
CriticalityDiagnostics-IE-List-ExtIEs SABP-PROTOCOL-EXTENSION ::= {
{ ID id-MessageStructure CRITICALITY ignore EXTENSION MessageStructure PRESENCE optional }|
{ ID id-TypeOfError CRITICALITY ignore EXTENSION TypeOfError PRESENCE mandatory },
...
}
MessageStructure ::= SEQUENCE (SIZE (1..maxNrOfLevels)) OF
SEQUENCE {
iE-ID ProtocolIE-ID,
repetitionNumber RepetitionNumber1 OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {MessageStructure-ExtIEs} } OPTIONAL,
...
}
MessageStructure-ExtIEs SABP-PROTOCOL-EXTENSION ::= {
...
}
-- D
Data-Coding-Scheme ::= BIT STRING (SIZE (8))
-- E
-- F
Failure-List ::= SEQUENCE (SIZE (1..maxnoofSAI)) OF Failure-List-Item
Failure-List-Item ::= SEQUENCE {
service-area-identifier Service-Area-Identifier,
cause Cause,
iE-Extensions ProtocolExtensionContainer { {FailureListItemIE-ExtIEs} } OPTIONAL,
...
}
FailureListItemIE-ExtIEs SABP-PROTOCOL-EXTENSION ::= {
...
}
-- G
-- H
-- I
-- J
-- K
-- L
-- M
Message-Identifier ::= BIT STRING (SIZE (16))
-- N
New-Serial-Number ::= Serial-Number
Number-of-Broadcasts-Completed-List ::= SEQUENCE (SIZE (1..maxnoofSAI)) OF
Number-of-Broadcasts-Completed-List-Item
Number-of-Broadcasts-Completed-List-Item ::= SEQUENCE {
service-area-identifier Service-Area-Identifier,
number-of-broadcasts-completed INTEGER (0..65535),
number-of-broadcasts-completed-info Number-Of-Broadcasts-Completed-Info OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {NoOfBroadcastsCompletedListItemIE-ExtIEs} } OPTIONAL,
...
}
NoOfBroadcastsCompletedListItemIE-ExtIEs SABP-PROTOCOL-EXTENSION ::= {
...
}
Number-Of-Broadcasts-Completed-Info ::= ENUMERATED {
overflow,
unknown,
...
}
Number-of-Broadcasts-Requested ::= INTEGER {
broadcast-indefinitely (0)
} (0..65535)
-- O
Old-Serial-Number ::= Serial-Number
-- P
Paging-ETWS-Indicator ::= ENUMERATED {
paging,
...
}
-- Q
-- R
Radio-Resource-Loading-List ::= SEQUENCE (SIZE (1..maxnoofSAI)) OF
Radio-Resource-Loading-List-Item
Radio-Resource-Loading-List-Item ::= SEQUENCE {
service-area-identifier Service-Area-Identifier,
available-bandwidth Available-Bandwidth,
iE-Extensions ProtocolExtensionContainer { {RadioResourceLoadingListItemIE-ExtIEs} } OPTIONAL,
...
}
RadioResourceLoadingListItemIE-ExtIEs SABP-PROTOCOL-EXTENSION ::= {
...
}
Recovery-Indication ::= ENUMERATED {
data-lost,
data-available
}
RepetitionNumber0 ::= INTEGER(0..255)
RepetitionNumber1 ::= INTEGER(1..256)
Repetition-Period ::= INTEGER (1..4096)
-- Each unit represents a repetition of one second to a maximum of
-- once per 4096 seconds (~1 hour).
-- S
Serial-Number ::= BIT STRING (SIZE (16))
Service-Area-Identifier ::= SEQUENCE {
pLMNidentity OCTET STRING (SIZE (3))
-- Digits 0 to 9, two digits per octet. --
-- Each octet encoded 0000 to 1001. --
-- 1111 used as filler --
-- Bit 4 to 1 of octet n encoding digit 2n-1. --
-- Bit 8 to 5 of octet n encoding digit 2n. --
-- The PLMN identity consists of 3 digits from MCC --
-- followed by either a filler plus 2 digits --
-- from MNC (in case of 2 digit MNC) or 3 digits --
-- from MNC (in case of 3 digit MNC). -- ,
lac OCTET STRING (SIZE (2))
-- 0000 and FFFE not allowed -- ,
sac OCTET STRING (SIZE (2))
}
-- **TODO** The IE type for these parameters is not known as yet
Service-Areas-List ::= SEQUENCE (SIZE (1..maxnoofSAI)) OF Service-Area-Identifier
-- T
TypeOfError ::= ENUMERATED {
not-understood,
missing,
...
}
-- U
-- V
-- W
WarningSecurityInfo ::= OCTET STRING (SIZE (50))
Warning-Type ::= OCTET STRING (SIZE(2))
-- X
-- Y
END |
ASN.1 | wireshark/epan/dissectors/asn1/sabp/SABP-PDU-Contents.asn | -- SABP-PDU-Contents.asn
--
-- Taken from 3GPP TS 25.419 V11.1.0 (2013-03)
-- http://www.3gpp.org/ftp/Specs/archive/25_series/25.419/25419-700.zip/25419-700.DOC
--
-- 9.3.3 PDU Definitions
--
-- **************************************************************
--
-- PDU definitions for SABP.
--
-- **************************************************************
SABP-PDU-Contents {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
umts-Access (20) modules (3) sabp (3) version1 (1) sabp-PDU-Contents (1) }
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
-- **************************************************************
--
-- IE parameter types from other modules.
--
-- **************************************************************
IMPORTS
Broadcast-Message-Content,
Category,
Cause,
Criticality-Diagnostics,
Data-Coding-Scheme,
Failure-List,
Message-Identifier,
New-Serial-Number,
Number-of-Broadcasts-Completed-List,
Number-of-Broadcasts-Requested,
Old-Serial-Number,
Paging-ETWS-Indicator,
Radio-Resource-Loading-List,
Recovery-Indication,
Repetition-Period,
Serial-Number,
Service-Areas-List,
WarningSecurityInfo,
Warning-Type,
Broadcast-Message-Content-Validity-Indicator
FROM SABP-IEs
ProtocolExtensionContainer{},
ProtocolIE-Container{},
SABP-PROTOCOL-EXTENSION,
SABP-PROTOCOL-IES
FROM SABP-Containers
id-Broadcast-Message-Content,
id-Category,
id-Criticality-Diagnostics,
id-Cause,
id-Data-Coding-Scheme,
id-Failure-List,
id-Message-Identifier,
id-New-Serial-Number,
id-Number-of-Broadcasts-Completed-List,
id-Number-of-Broadcasts-Requested,
id-Old-Serial-Number,
id-Paging-ETWS-Indicator,
id-Radio-Resource-Loading-List,
id-Recovery-Indication,
id-Repetition-Period,
id-Serial-Number,
id-Service-Areas-List,
id-WarningSecurityInfo,
id-Warning-Type,
id-Broadcast-Message-Content-Validity-Indicator
FROM SABP-Constants;
-- **************************************************************
--
-- Write-Replace
--
-- **************************************************************
Write-Replace ::= SEQUENCE {
protocolIEs ProtocolIE-Container { {Write-Replace-IEs} },
protocolExtensions ProtocolExtensionContainer { {Write-Replace-Extensions} } OPTIONAL,
...
}
Write-Replace-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Message-Identifier CRITICALITY reject TYPE Message-Identifier PRESENCE mandatory } |
{ ID id-New-Serial-Number CRITICALITY reject TYPE New-Serial-Number PRESENCE mandatory } |
{ ID id-Old-Serial-Number CRITICALITY ignore TYPE Old-Serial-Number PRESENCE optional } |
{ ID id-Service-Areas-List CRITICALITY reject TYPE Service-Areas-List PRESENCE mandatory } |
{ ID id-Category CRITICALITY ignore TYPE Category PRESENCE optional } |
{ ID id-Repetition-Period CRITICALITY reject TYPE Repetition-Period PRESENCE mandatory } |
{ ID id-Number-of-Broadcasts-Requested
CRITICALITY reject TYPE Number-of-Broadcasts-Requested PRESENCE mandatory } |
{ ID id-Data-Coding-Scheme CRITICALITY reject TYPE Data-Coding-Scheme PRESENCE mandatory } |
{ ID id-Broadcast-Message-Content
CRITICALITY reject TYPE Broadcast-Message-Content PRESENCE mandatory },
...
}
Write-Replace-Extensions SABP-PROTOCOL-EXTENSION ::= {
{ ID id-WarningSecurityInfo CRITICALITY ignore EXTENSION WarningSecurityInfo PRESENCE optional } |
{ ID id-Paging-ETWS-Indicator CRITICALITY ignore EXTENSION Paging-ETWS-Indicator PRESENCE optional } |
{ ID id-Warning-Type CRITICALITY ignore EXTENSION Warning-Type PRESENCE optional } |
{ ID id-Broadcast-Message-Content-Validity-Indicator CRITICALITY ignore EXTENSION Broadcast-Message-Content-Validity-Indicator PRESENCE optional },
...
}
-- **************************************************************
--
-- Write-Replace-Complete
--
-- **************************************************************
Write-Replace-Complete ::= SEQUENCE {
protocolIEs ProtocolIE-Container { {Write-Replace-Complete-IEs} },
protocolExtensions ProtocolExtensionContainer { {Write-Replace-Complete-Extensions} } OPTIONAL,
...
}
Write-Replace-Complete-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Message-Identifier CRITICALITY reject TYPE Message-Identifier PRESENCE mandatory } |
{ ID id-New-Serial-Number CRITICALITY reject TYPE New-Serial-Number PRESENCE mandatory } |
{ ID id-Number-of-Broadcasts-Completed-List
CRITICALITY reject TYPE Number-of-Broadcasts-Completed-List
PRESENCE mandatory }|
{ ID id-Criticality-Diagnostics
CRITICALITY ignore TYPE Criticality-Diagnostics PRESENCE optional },
...
}
Write-Replace-Complete-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- Write-Replace-Failure
--
-- **************************************************************
Write-Replace-Failure ::= SEQUENCE {
protocolIEs ProtocolIE-Container { {Write-Replace-Failure-IEs} },
protocolExtensions ProtocolExtensionContainer { {Write-Replace-Failure-Extensions} } OPTIONAL,
...
}
Write-Replace-Failure-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Message-Identifier CRITICALITY reject TYPE Message-Identifier PRESENCE mandatory } |
{ ID id-New-Serial-Number CRITICALITY reject TYPE New-Serial-Number PRESENCE mandatory } |
{ ID id-Failure-List CRITICALITY reject TYPE Failure-List PRESENCE mandatory } |
{ ID id-Number-of-Broadcasts-Completed-List
CRITICALITY ignore TYPE Number-of-Broadcasts-Completed-List
PRESENCE optional } |
{ ID id-Criticality-Diagnostics
CRITICALITY ignore TYPE Criticality-Diagnostics PRESENCE optional },
...
}
Write-Replace-Failure-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- Kill
--
-- **************************************************************
Kill ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{Kill-IEs}},
protocolExtensions ProtocolExtensionContainer {{Kill-Extensions}} OPTIONAL,
...
}
Kill-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Message-Identifier CRITICALITY reject TYPE Message-Identifier PRESENCE mandatory } |
{ ID id-Old-Serial-Number CRITICALITY reject TYPE Old-Serial-Number PRESENCE mandatory } |
{ ID id-Service-Areas-List CRITICALITY reject TYPE Service-Areas-List PRESENCE mandatory } ,
...
}
Kill-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- Kill-Complete
--
-- **************************************************************
Kill-Complete ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{Kill-Complete-IEs}},
protocolExtensions ProtocolExtensionContainer {{Kill-Complete-Extensions}} OPTIONAL,
...
}
Kill-Complete-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Message-Identifier CRITICALITY reject TYPE Message-Identifier PRESENCE mandatory } |
{ ID id-Old-Serial-Number CRITICALITY reject TYPE Old-Serial-Number PRESENCE mandatory } |
{ ID id-Number-of-Broadcasts-Completed-List
CRITICALITY reject TYPE Number-of-Broadcasts-Completed-List
PRESENCE mandatory }|
{ ID id-Criticality-Diagnostics
CRITICALITY ignore TYPE Criticality-Diagnostics PRESENCE optional },
...
}
Kill-Complete-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- Kill-Failure
--
-- **************************************************************
Kill-Failure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{Kill-Failure-IEs}},
protocolExtensions ProtocolExtensionContainer {{Kill-Failure-Extensions}} OPTIONAL,
...
}
Kill-Failure-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Message-Identifier CRITICALITY reject TYPE Message-Identifier PRESENCE mandatory } |
{ ID id-Old-Serial-Number CRITICALITY reject TYPE Old-Serial-Number PRESENCE mandatory } |
{ ID id-Failure-List CRITICALITY reject TYPE Failure-List PRESENCE mandatory } |
{ ID id-Number-of-Broadcasts-Completed-List
CRITICALITY ignore TYPE Number-of-Broadcasts-Completed-List
PRESENCE optional } |
{ ID id-Criticality-Diagnostics
CRITICALITY ignore TYPE Criticality-Diagnostics PRESENCE optional },
...
}
Kill-Failure-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- Load-Query
--
-- **************************************************************
Load-Query ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{Load-Query-IEs}},
protocolExtensions ProtocolExtensionContainer {{Load-Query-Extensions}} OPTIONAL,
...
}
Load-Query-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Service-Areas-List CRITICALITY reject TYPE Service-Areas-List PRESENCE mandatory } ,
...
}
Load-Query-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- Load-Query-Complete
--
-- **************************************************************
Load-Query-Complete ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{Load-Query-Complete-IEs}},
protocolExtensions ProtocolExtensionContainer {{Load-Query-Complete-Extensions}} OPTIONAL,
...
}
Load-Query-Complete-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Radio-Resource-Loading-List
CRITICALITY reject TYPE Radio-Resource-Loading-List
PRESENCE mandatory } |
{ ID id-Criticality-Diagnostics
CRITICALITY ignore TYPE Criticality-Diagnostics PRESENCE optional },
...
}
Load-Query-Complete-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- Load-Query-Failure
--
-- **************************************************************
Load-Query-Failure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{Load-Query-Failure-IEs}},
protocolExtensions ProtocolExtensionContainer {{Load-Query-Failure-Extensions}} OPTIONAL,
...
}
Load-Query-Failure-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Failure-List CRITICALITY reject TYPE Failure-List PRESENCE mandatory } |
{ ID id-Radio-Resource-Loading-List
CRITICALITY ignore TYPE Radio-Resource-Loading-List
PRESENCE optional } |
{ ID id-Criticality-Diagnostics
CRITICALITY ignore TYPE Criticality-Diagnostics PRESENCE optional },
...
}
Load-Query-Failure-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- Message-Status-Query
--
-- **************************************************************
Message-Status-Query ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{Message-Status-Query-IEs}},
protocolExtensions ProtocolExtensionContainer {{Message-Status-Query-Extensions}} OPTIONAL,
...
}
Message-Status-Query-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Message-Identifier CRITICALITY reject TYPE Message-Identifier PRESENCE mandatory } |
{ ID id-Old-Serial-Number CRITICALITY reject TYPE Old-Serial-Number PRESENCE mandatory } |
{ ID id-Service-Areas-List CRITICALITY reject TYPE Service-Areas-List PRESENCE mandatory } ,
...
}
Message-Status-Query-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- Message-Status-Query-Complete
--
-- **************************************************************
Message-Status-Query-Complete ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{Message-Status-Query-Complete-IEs}},
protocolExtensions ProtocolExtensionContainer {{Message-Status-Query-Complete-Extensions}} OPTIONAL,
...
}
Message-Status-Query-Complete-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Message-Identifier CRITICALITY reject TYPE Message-Identifier PRESENCE mandatory } |
{ ID id-Old-Serial-Number CRITICALITY reject TYPE Old-Serial-Number PRESENCE mandatory } |
{ ID id-Number-of-Broadcasts-Completed-List
CRITICALITY reject TYPE Number-of-Broadcasts-Completed-List
PRESENCE mandatory } |
{ ID id-Criticality-Diagnostics
CRITICALITY ignore TYPE Criticality-Diagnostics PRESENCE optional },
...
}
Message-Status-Query-Complete-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- Message-Status-Query-Failure
--
-- **************************************************************
Message-Status-Query-Failure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{Message-Status-Query-Failure-IEs}},
protocolExtensions ProtocolExtensionContainer {{Message-Status-Query-Failure-Extensions}} OPTIONAL,
...
}
Message-Status-Query-Failure-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Message-Identifier CRITICALITY reject TYPE Message-Identifier PRESENCE mandatory } |
{ ID id-Failure-List CRITICALITY reject TYPE Failure-List PRESENCE mandatory } |
{ ID id-Old-Serial-Number CRITICALITY reject TYPE Old-Serial-Number PRESENCE mandatory } |
{ ID id-Number-of-Broadcasts-Completed-List
CRITICALITY ignore TYPE Number-of-Broadcasts-Completed-List
PRESENCE optional } |
{ ID id-Criticality-Diagnostics
CRITICALITY ignore TYPE Criticality-Diagnostics PRESENCE optional },
...
}
Message-Status-Query-Failure-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- Reset
--
-- **************************************************************
Reset ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{Reset-IEs}},
protocolExtensions ProtocolExtensionContainer {{Reset-Extensions}} OPTIONAL,
...
}
Reset-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Service-Areas-List CRITICALITY reject TYPE Service-Areas-List PRESENCE mandatory } ,
...
}
Reset-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- Reset-Complete
--
-- **************************************************************
Reset-Complete ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{Reset-Complete-IEs}},
protocolExtensions ProtocolExtensionContainer {{Reset-Complete-Extensions}} OPTIONAL,
...
}
Reset-Complete-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Service-Areas-List CRITICALITY reject TYPE Service-Areas-List PRESENCE mandatory } |
{ ID id-Criticality-Diagnostics
CRITICALITY ignore TYPE Criticality-Diagnostics PRESENCE optional },
...
}
Reset-Complete-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- Reset-Failure
--
-- **************************************************************
Reset-Failure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{Reset-Failure-IEs}},
protocolExtensions ProtocolExtensionContainer {{Reset-Failure-Extensions}} OPTIONAL,
...
}
Reset-Failure-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Failure-List CRITICALITY reject TYPE Failure-List PRESENCE mandatory } |
{ ID id-Service-Areas-List CRITICALITY reject TYPE Service-Areas-List PRESENCE optional } |
{ ID id-Criticality-Diagnostics
CRITICALITY ignore TYPE Criticality-Diagnostics PRESENCE optional } ,
...
}
Reset-Failure-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- Restart
--
-- **************************************************************
Restart ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{Restart-IEs}},
protocolExtensions ProtocolExtensionContainer {{Restart-Extensions}} OPTIONAL,
...
}
Restart-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Service-Areas-List CRITICALITY ignore TYPE Service-Areas-List PRESENCE mandatory } |
{ ID id-Recovery-Indication CRITICALITY ignore TYPE Recovery-Indication PRESENCE optional } ,
...
}
Restart-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- Failure
--
-- **************************************************************
Failure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{Failure-IEs}},
protocolExtensions ProtocolExtensionContainer {{Failure-Extensions}} OPTIONAL,
...
}
Failure-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Service-Areas-List CRITICALITY ignore TYPE Service-Areas-List PRESENCE mandatory } ,
...
}
Failure-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- Error-Indication
--
-- **************************************************************
Error-Indication ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{Error-Indication-IEs}},
protocolExtensions ProtocolExtensionContainer {{Error-Indication-Extensions}} OPTIONAL,
...
}
Error-Indication-IEs SABP-PROTOCOL-IES ::= {
{ ID id-Message-Identifier CRITICALITY ignore TYPE Message-Identifier PRESENCE optional } |
{ ID id-Serial-Number CRITICALITY ignore TYPE Serial-Number PRESENCE optional } |
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE optional } |
{ ID id-Criticality-Diagnostics
CRITICALITY ignore TYPE Criticality-Diagnostics PRESENCE optional },
...
}
Error-Indication-Extensions SABP-PROTOCOL-EXTENSION ::= {
...
}
END |
ASN.1 | wireshark/epan/dissectors/asn1/sabp/SABP-PDU-Descriptions.asn | -- SABP-PDU-Descriptions.asn
--
-- Taken from 3GPP TS 25.419 V11.1.0 (2013-03)
-- http://www.3gpp.org/ftp/Specs/archive/25_series/25.419/25419-700.zip/25419-700.DOC
--
-- 9.3.2 Elementary Procedure Definitions
--
-- **************************************************************
--
-- Elementary Procedure definitions
--
-- **************************************************************
SABP-PDU-Descriptions {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
umts-Access (20) modules (3) sabp (3) version1 (1) sabp-PDU-Descriptions (0)}
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
-- **************************************************************
--
-- IE parameter types from other modules.
--
-- **************************************************************
IMPORTS
Criticality,
ProcedureCode
FROM SABP-CommonDataTypes
Error-Indication,
Failure,
Kill,
Kill-Complete,
Kill-Failure,
Load-Query,
Load-Query-Complete,
Load-Query-Failure,
Reset,
Reset-Complete,
Reset-Failure,
Restart,
Message-Status-Query,
Message-Status-Query-Complete,
Message-Status-Query-Failure,
Write-Replace,
Write-Replace-Complete,
Write-Replace-Failure
FROM SABP-PDU-Contents
id-Error-Indication,
id-Failure-Indication,
id-Kill,
id-Reset,
id-Restart-Indication,
id-Load-Status-Enquiry,
id-Message-Status-Query,
id-Write-Replace
FROM SABP-Constants;
-- **************************************************************
--
-- Interface Elementary Procedure Class
--
-- **************************************************************
SABP-ELEMENTARY-PROCEDURE ::= CLASS {
&InitiatingMessage ,
&SuccessfulOutcome OPTIONAL,
&UnsuccessfulOutcome OPTIONAL,
&procedureCode ProcedureCode UNIQUE,
&criticality Criticality DEFAULT ignore
}
WITH SYNTAX {
INITIATING MESSAGE &InitiatingMessage
[SUCCESSFUL OUTCOME &SuccessfulOutcome]
[UNSUCCESSFUL OUTCOME &UnsuccessfulOutcome]
PROCEDURE CODE &procedureCode
[CRITICALITY &criticality]
}
-- **************************************************************
--
-- Interface PDU Definition
--
-- **************************************************************
SABP-PDU ::= CHOICE {
initiatingMessage InitiatingMessage,
successfulOutcome SuccessfulOutcome,
unsuccessfulOutcome UnsuccessfulOutcome,
...
}
InitiatingMessage ::= SEQUENCE {
procedureCode SABP-ELEMENTARY-PROCEDURE.&procedureCode ({SABP-ELEMENTARY-PROCEDURES}),
criticality SABP-ELEMENTARY-PROCEDURE.&criticality ({SABP-ELEMENTARY-PROCEDURES}{@procedureCode}),
value SABP-ELEMENTARY-PROCEDURE.&InitiatingMessage ({SABP-ELEMENTARY-PROCEDURES}{@procedureCode})
}
SuccessfulOutcome ::= SEQUENCE {
procedureCode SABP-ELEMENTARY-PROCEDURE.&procedureCode ({SABP-ELEMENTARY-PROCEDURES}),
criticality SABP-ELEMENTARY-PROCEDURE.&criticality ({SABP-ELEMENTARY-PROCEDURES}{@procedureCode}),
value SABP-ELEMENTARY-PROCEDURE.&SuccessfulOutcome ({SABP-ELEMENTARY-PROCEDURES}{@procedureCode})
}
UnsuccessfulOutcome ::= SEQUENCE {
procedureCode SABP-ELEMENTARY-PROCEDURE.&procedureCode ({SABP-ELEMENTARY-PROCEDURES}),
criticality SABP-ELEMENTARY-PROCEDURE.&criticality ({SABP-ELEMENTARY-PROCEDURES}{@procedureCode}),
value SABP-ELEMENTARY-PROCEDURE.&UnsuccessfulOutcome ({SABP-ELEMENTARY-PROCEDURES}{@procedureCode})
}
-- **************************************************************
--
-- Interface Elementary Procedure List
--
-- **************************************************************
SABP-ELEMENTARY-PROCEDURES SABP-ELEMENTARY-PROCEDURE ::= {
SABP-ELEMENTARY-PROCEDURES-CLASS-1 |
SABP-ELEMENTARY-PROCEDURES-CLASS-2 ,
...
}
SABP-ELEMENTARY-PROCEDURES-CLASS-1 SABP-ELEMENTARY-PROCEDURE ::= {
write-Replace |
kill |
load-Status-Enquiry |
message-Status-Query |
reset ,
...
}
SABP-ELEMENTARY-PROCEDURES-CLASS-2 SABP-ELEMENTARY-PROCEDURE ::= {
restart-Indication |
failure-Indication |
error-Indication ,
...
}
write-Replace SABP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE Write-Replace
SUCCESSFUL OUTCOME Write-Replace-Complete
UNSUCCESSFUL OUTCOME Write-Replace-Failure
PROCEDURE CODE id-Write-Replace
CRITICALITY reject
}
kill SABP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE Kill
SUCCESSFUL OUTCOME Kill-Complete
UNSUCCESSFUL OUTCOME Kill-Failure
PROCEDURE CODE id-Kill
CRITICALITY reject
}
load-Status-Enquiry SABP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE Load-Query
SUCCESSFUL OUTCOME Load-Query-Complete
UNSUCCESSFUL OUTCOME Load-Query-Failure
PROCEDURE CODE id-Load-Status-Enquiry
CRITICALITY reject
}
message-Status-Query SABP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE Message-Status-Query
SUCCESSFUL OUTCOME Message-Status-Query-Complete
UNSUCCESSFUL OUTCOME Message-Status-Query-Failure
PROCEDURE CODE id-Message-Status-Query
CRITICALITY reject
}
reset SABP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE Reset
SUCCESSFUL OUTCOME Reset-Complete
UNSUCCESSFUL OUTCOME Reset-Failure
PROCEDURE CODE id-Reset
CRITICALITY reject
}
restart-Indication SABP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE Restart
PROCEDURE CODE id-Restart-Indication
CRITICALITY ignore
}
failure-Indication SABP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE Failure
PROCEDURE CODE id-Failure-Indication
CRITICALITY ignore
}
error-Indication SABP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE Error-Indication
PROCEDURE CODE id-Error-Indication
CRITICALITY ignore
}
END |
Configuration | wireshark/epan/dissectors/asn1/sabp/sabp.cnf | # sabp.cnf
# sabp conformation file
# Copyright 2007 Tomas Kukosa
#.OPT
PER
ALIGNED
#.END
#.NO_EMIT
#.PDU
SABP-PDU
#.MAKE_ENUM
ProcedureCode
ProtocolIE-ID
#.USE_VALS_EXT
ProcedureCode
ProtocolIE-ID
Cause
#.OMIT_ASSIGNMENT
Presence
ProtocolIE-ContainerList
#.END
#.TF_RENAME
ProtocolIE-Field/value ProtocolIE_Field_value
InitiatingMessage/value InitiatingMessage_value
SuccessfulOutcome/value SuccessfulOutcome_value
UnsuccessfulOutcome/value UnsuccessfulOutcome_value
#.END
#.FIELD_RENAME
ProtocolExtensionField/id ext_id
MessageStructure/_item/repetitionNumber repetitionNumber1
#.END
#.FN_PARS ProtocolIE-ID VAL_PTR=&ProtocolIE_ID
#.FN_FTR ProtocolIE-ID
if (tree) {
proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s", val_to_str_ext(ProtocolIE_ID, &sabp_ProtocolIE_ID_vals_ext, "unknown (%d)"));
}
#.END
#.FN_PARS ProtocolIE-Field/value FN_VARIANT=_pdu_new TYPE_REF_FN=dissect_ProtocolIEFieldValue
#.FN_PARS ProtocolExtensionID VAL_PTR=&ProtocolExtensionID
#.FN_PARS ProtocolExtensionField/extensionValue FN_VARIANT=_pdu_new TYPE_REF_FN=dissect_ProtocolExtensionFieldExtensionValue
#.FN_PARS ProcedureCode VAL_PTR = &ProcedureCode
#.FN_FTR ProcedureCode
col_add_fstr(actx->pinfo->cinfo, COL_INFO, "%s ",
val_to_str_ext(ProcedureCode, &sabp_ProcedureCode_vals_ext,
"unknown message"));
#.END
#.FN_PARS InitiatingMessage/value FN_VARIANT=_pdu_new TYPE_REF_FN=dissect_InitiatingMessageValue
#.FN_PARS SuccessfulOutcome/value FN_VARIANT=_pdu_new TYPE_REF_FN=dissect_SuccessfulOutcomeValue
#.FN_PARS UnsuccessfulOutcome/value FN_VARIANT=_pdu_new TYPE_REF_FN=dissect_UnsuccessfulOutcomeValue
#.ASSIGN_VALUE_TO_TYPE # SABP does not have constants assigned to types, they are pure INTEGER
# ProcedureCode
id-Write-Replace ProcedureCode
id-Kill ProcedureCode
id-Load-Status-Enquiry ProcedureCode
id-Message-Status-Query ProcedureCode
id-Restart-Indication ProcedureCode
id-Reset ProcedureCode
id-Failure-Indication ProcedureCode
id-Error-Indication ProcedureCode
# ProtocolIE-ID
id-Broadcast-Message-Content ProtocolIE-ID
id-Category ProtocolIE-ID
id-Cause ProtocolIE-ID
id-Criticality-Diagnostics ProtocolIE-ID
id-Data-Coding-Scheme ProtocolIE-ID
id-Failure-List ProtocolIE-ID
id-Message-Identifier ProtocolIE-ID
id-New-Serial-Number ProtocolIE-ID
id-Number-of-Broadcasts-Completed-List ProtocolIE-ID
id-Number-of-Broadcasts-Requested ProtocolIE-ID
id-Old-Serial-Number ProtocolIE-ID
id-Radio-Resource-Loading-List ProtocolIE-ID
id-Recovery-Indication ProtocolIE-ID
id-Repetition-Period ProtocolIE-ID
id-Serial-Number ProtocolIE-ID
id-Service-Areas-List ProtocolIE-ID
id-MessageStructure ProtocolIE-ID
id-TypeOfError ProtocolIE-ID
id-Paging-ETWS-Indicator ProtocolIE-ID
id-Warning-Type ProtocolIE-ID
id-WarningSecurityInfo ProtocolIE-ID
id-Broadcast-Message-Content-Validity-Indicator ProtocolIE-ID
#.END
#.REGISTER
#SABP-PROTOCOL-IES
Message-Identifier N sabp.ies id-Message-Identifier
New-Serial-Number N sabp.ies id-New-Serial-Number
Old-Serial-Number N sabp.ies id-Old-Serial-Number
Service-Areas-List N sabp.ies id-Service-Areas-List
Category N sabp.ies id-Category
Repetition-Period N sabp.ies id-Repetition-Period
Number-of-Broadcasts-Requested N sabp.ies id-Number-of-Broadcasts-Requested
Data-Coding-Scheme N sabp.ies id-Data-Coding-Scheme
Broadcast-Message-Content N sabp.ies id-Broadcast-Message-Content
Number-of-Broadcasts-Completed-List N sabp.ies id-Number-of-Broadcasts-Completed-List
Criticality-Diagnostics N sabp.ies id-Criticality-Diagnostics
Failure-List N sabp.ies id-Failure-List
Radio-Resource-Loading-List N sabp.ies id-Radio-Resource-Loading-List
Recovery-Indication N sabp.ies id-Recovery-Indication
Serial-Number N sabp.ies id-Serial-Number
Cause N sabp.ies id-Cause
#SABP-PROTOCOL-EXTENSION
MessageStructure N sabp.extension id-MessageStructure
TypeOfError N sabp.extension id-TypeOfError
Paging-ETWS-Indicator N sabp.extension id-Paging-ETWS-Indicator
Warning-Type N sabp.extension id-Warning-Type
WarningSecurityInfo N sabp.extension id-WarningSecurityInfo
Broadcast-Message-Content-Validity-Indicator N sabp.extension id-Broadcast-Message-Content-Validity-Indicator
#SABP-ELEMENTARY-PROCEDURE
Write-Replace N sabp.proc.imsg id-Write-Replace
Write-Replace-Complete N sabp.proc.sout id-Write-Replace
Write-Replace-Failure N sabp.proc.uout id-Write-Replace
Kill N sabp.proc.imsg id-Kill
Kill-Complete N sabp.proc.sout id-Kill
Kill-Failure N sabp.proc.uout id-Kill
Load-Query N sabp.proc.imsg id-Load-Status-Enquiry
Load-Query-Complete N sabp.proc.sout id-Load-Status-Enquiry
Load-Query-Failure N sabp.proc.uout id-Load-Status-Enquiry
Message-Status-Query N sabp.proc.imsg id-Message-Status-Query
Message-Status-Query-Complete N sabp.proc.sout id-Message-Status-Query
Message-Status-Query-Failure N sabp.proc.uout id-Message-Status-Query
Reset N sabp.proc.imsg id-Reset
Reset-Complete N sabp.proc.sout id-Reset
Reset-Failure N sabp.proc.uout id-Reset
Restart N sabp.proc.imsg id-Restart-Indication
Failure N sabp.proc.imsg id-Failure-Indication
Error-Indication N sabp.proc.imsg id-Error-Indication
# following construction is not supported by asn2wrs
# PLMNidentity ::= TBCD-STRING (SIZE (3))
# TBCD-STRING ::= OCTET STRING
#.FN_BODY Service-Area-Identifier/pLMNidentity VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb=NULL;
proto_tree *subtree;
offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
3, 3, FALSE, ¶meter_tvb);
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_sabp_e212);
dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, subtree, 0, E212_SAI, FALSE);
#.FN_BODY Data-Coding-Scheme VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb=NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_sabp_cbs_data_coding);
sms_encoding = dissect_cbs_data_coding_scheme(parameter_tvb, actx->pinfo, subtree, 0);
#.FN_BODY Message-Identifier VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb=NULL;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
dissect_cbs_message_identifier(parameter_tvb, tree, 0);
#.FN_BODY Serial-Number VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb=NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_sabp_cbs_serial_number);
dissect_cbs_serial_number(parameter_tvb, subtree, 0);
#.FN_BODY New-Serial-Number VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb=NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_sabp_cbs_new_serial_number);
dissect_cbs_serial_number(parameter_tvb, subtree, 0);
#.FN_BODY Broadcast-Message-Content VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb=NULL;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
dissect_sabp_cb_data(parameter_tvb, actx->pinfo, tree);
# dissect_umts_cell_broadcast_message(parameter_tvb, actx->pinfo, proto_tree_get_root(tree)); |
Text | wireshark/epan/dissectors/asn1/sbc-ap/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME sbc-ap )
set( PROTO_OPT )
set( EXPORT_FILES
${PROTOCOL_NAME}-exp.cnf
)
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
SBC-AP-CommonDataTypes.asn
SBC-AP-Constants.asn
SBC-AP-Containers.asn
SBC-AP-IEs.asn
SBC-AP-PDU-Contents.asn
SBC-AP-PDU-Descriptions.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS )
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/sbc-ap/packet-sbc-ap-template.c | /* packet-sbc-ap.c
* Routines for SBc Application Part (SBc-AP) packet dissection
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* Ref 3GPP TS 29.168
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/strutil.h>
#include <epan/asn1.h>
#include <epan/sctpppids.h>
#include <epan/proto_data.h>
#include "packet-ber.h"
#include "packet-per.h"
#include "packet-e212.h"
#include "packet-gsm_map.h"
#include "packet-s1ap.h"
#include "packet-lte-rrc.h"
#define PNAME "SBc Application Part"
#define PSNAME "SBcAP"
#define PFNAME "sbcap"
void proto_register_sbc_ap(void);
void proto_reg_handoff_sbc_ap(void);
/* The registered port number for SBc-AP is 29168.
* The registered payload protocol identifier for SBc-AP is 24.
*/
#define SBC_AP_PORT 29168
static dissector_handle_t sbc_ap_handle=NULL;
#include "packet-sbc-ap-val.h"
/* Initialize the protocol and registered fields */
static int proto_sbc_ap = -1;
static int hf_sbc_ap_Serial_Number_gs = -1;
static int hf_sbc_ap_Serial_Number_msg_code = -1;
static int hf_sbc_ap_Serial_Number_upd_nb = -1;
static int hf_sbc_ap_Warning_Type_value = -1;
static int hf_sbc_ap_Warning_Type_emergency_user_alert = -1;
static int hf_sbc_ap_Warning_Type_popup = -1;
static int hf_sbc_ap_Warning_Message_Contents_nb_pages = -1;
static int hf_sbc_ap_Warning_Message_Contents_decoded_page = -1;
#include "packet-sbc-ap-hf.c"
/* Initialize the subtree pointers */
static int ett_sbc_ap = -1;
static int ett_sbc_ap_Serial_Number = -1;
static int ett_sbc_ap_Warning_Type = -1;
static int ett_sbc_ap_Data_Coding_Scheme = -1;
static int ett_sbc_ap_Warning_Message_Contents = -1;
#include "packet-sbc-ap-ett.c"
enum{
INITIATING_MESSAGE,
SUCCESSFUL_OUTCOME,
UNSUCCESSFUL_OUTCOME
};
struct sbc_ap_private_data {
guint8 data_coding_scheme;
e212_number_type_t number_type;
};
/* Global variables */
static guint32 ProcedureCode;
static guint32 ProtocolIE_ID;
static guint32 ProtocolExtensionID;
static int global_sbc_ap_port = SBC_AP_PORT;
/* Dissector tables */
static dissector_table_t sbc_ap_ies_dissector_table;
static dissector_table_t sbc_ap_extension_dissector_table;
static dissector_table_t sbc_ap_proc_imsg_dissector_table;
static dissector_table_t sbc_ap_proc_sout_dissector_table;
static dissector_table_t sbc_ap_proc_uout_dissector_table;
static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *);
static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *);
static int dissect_InitiatingMessageValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *);
static int dissect_SuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *);
static int dissect_UnsuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *);
static struct sbc_ap_private_data*
sbc_ap_get_private_data(packet_info *pinfo)
{
struct sbc_ap_private_data *sbc_ap_data = (struct sbc_ap_private_data*)p_get_proto_data(pinfo->pool, pinfo, proto_sbc_ap, 0);
if (!sbc_ap_data) {
sbc_ap_data = wmem_new0(pinfo->pool, struct sbc_ap_private_data);
p_add_proto_data(pinfo->pool, pinfo, proto_sbc_ap, 0, sbc_ap_data);
}
return sbc_ap_data;
}
#include "packet-sbc-ap-fn.c"
static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
return (dissector_try_uint(sbc_ap_ies_dissector_table, ProtocolIE_ID, tvb, pinfo, tree)) ? tvb_captured_length(tvb) : 0;
}
/* Currently not used
static int dissect_ProtocolIEFieldPairFirstValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
return (dissector_try_uint(sbc_ap_ies_p1_dissector_table, ProtocolIE_ID, tvb, pinfo, tree)) ? tvb_captured_length(tvb) : 0;
}
static int dissect_ProtocolIEFieldPairSecondValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
return (dissector_try_uint(sbc_ap_ies_p2_dissector_table, ProtocolIE_ID, tvb, pinfo, tree)) ? tvb_captured_length(tvb) : 0;
}
*/
static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
return (dissector_try_uint(sbc_ap_extension_dissector_table, ProtocolExtensionID, tvb, pinfo, tree)) ? tvb_captured_length(tvb) : 0;
}
static int dissect_InitiatingMessageValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
return (dissector_try_uint(sbc_ap_proc_imsg_dissector_table, ProcedureCode, tvb, pinfo, tree)) ? tvb_captured_length(tvb) : 0;
}
static int dissect_SuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
return (dissector_try_uint(sbc_ap_proc_sout_dissector_table, ProcedureCode, tvb, pinfo, tree)) ? tvb_captured_length(tvb) : 0;
}
static int dissect_UnsuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
return (dissector_try_uint(sbc_ap_proc_uout_dissector_table, ProcedureCode, tvb, pinfo, tree)) ? tvb_captured_length(tvb) : 0;
}
static int
dissect_sbc_ap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
{
proto_item *sbc_ap_item = NULL;
proto_tree *sbc_ap_tree = NULL;
/* make entry in the Protocol column on summary display */
col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME);
col_clear(pinfo->cinfo, COL_INFO);
/* create the sbc_ap protocol tree */
sbc_ap_item = proto_tree_add_item(tree, proto_sbc_ap, tvb, 0, -1, ENC_NA);
sbc_ap_tree = proto_item_add_subtree(sbc_ap_item, ett_sbc_ap);
dissect_SBC_AP_PDU_PDU(tvb, pinfo, sbc_ap_tree, NULL);
return tvb_captured_length(tvb);
}
/*--- proto_register_sbc_ap -------------------------------------------*/
void proto_register_sbc_ap(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_sbc_ap_Serial_Number_gs,
{ "Geographical Scope", "sbc_ap.SerialNumber.gs",
FT_UINT16, BASE_DEC, VALS(s1ap_serialNumber_gs_vals), 0xc000,
NULL, HFILL }},
{ &hf_sbc_ap_Serial_Number_msg_code,
{ "Message Code", "sbc_ap.SerialNumber.msg_code",
FT_UINT16, BASE_DEC, NULL, 0x3ff0,
NULL, HFILL }},
{ &hf_sbc_ap_Serial_Number_upd_nb,
{ "Update Number", "sbc_ap.SerialNumber.upd_nb",
FT_UINT16, BASE_DEC, NULL, 0x000f,
NULL, HFILL }},
{ &hf_sbc_ap_Warning_Type_value,
{ "Warning Type Value", "sbc-ap.WarningType.value",
FT_UINT16, BASE_DEC, VALS(s1ap_warningType_vals), 0xfe00,
NULL, HFILL }},
{ &hf_sbc_ap_Warning_Type_emergency_user_alert,
{ "Emergency User Alert", "sbc-ap.WarningType.emergency_user_alert",
FT_BOOLEAN, 16, TFS(&tfs_yes_no), 0x0100,
NULL, HFILL }},
{ &hf_sbc_ap_Warning_Type_popup,
{ "Popup", "sbc-ap.WarningType.popup",
FT_BOOLEAN, 16, TFS(&tfs_yes_no), 0x0080,
NULL, HFILL }},
{ &hf_sbc_ap_Warning_Message_Contents_nb_pages,
{ "Number of Pages", "sbc-ap.WarningMessageContents.nb_pages",
FT_UINT8, BASE_DEC, NULL, 0,
NULL, HFILL }},
{ &hf_sbc_ap_Warning_Message_Contents_decoded_page,
{ "Decoded Page", "sbc-ap.WarningMessageContents.decoded_page",
FT_STRING, BASE_NONE, NULL, 0,
NULL, HFILL }},
#include "packet-sbc-ap-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_sbc_ap,
&ett_sbc_ap_Serial_Number,
&ett_sbc_ap_Warning_Type,
&ett_sbc_ap_Data_Coding_Scheme,
&ett_sbc_ap_Warning_Message_Contents,
#include "packet-sbc-ap-ettarr.c"
};
/* Register protocol */
proto_sbc_ap = proto_register_protocol(PNAME, PSNAME, PFNAME);
/* Register fields and subtrees */
proto_register_field_array(proto_sbc_ap, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
/* Register dissector */
sbc_ap_handle = register_dissector(PFNAME, dissect_sbc_ap, proto_sbc_ap);
/* Register dissector tables */
sbc_ap_ies_dissector_table = register_dissector_table("sbc_ap.ies", "SBC-AP-PROTOCOL-IES", proto_sbc_ap, FT_UINT32, BASE_DEC);
sbc_ap_extension_dissector_table = register_dissector_table("sbc_ap.extension", "SBC-AP-PROTOCOL-EXTENSION", proto_sbc_ap, FT_UINT32, BASE_DEC);
sbc_ap_proc_imsg_dissector_table = register_dissector_table("sbc_ap.proc.imsg", "SBC-AP-ELEMENTARY-PROCEDURE InitiatingMessage", proto_sbc_ap, FT_UINT32, BASE_DEC);
sbc_ap_proc_sout_dissector_table = register_dissector_table("sbc_ap.proc.sout", "SBC-AP-ELEMENTARY-PROCEDURE SuccessfulOutcome", proto_sbc_ap, FT_UINT32, BASE_DEC);
sbc_ap_proc_uout_dissector_table = register_dissector_table("sbc_ap.proc.uout", "SBC-AP-ELEMENTARY-PROCEDURE UnsuccessfulOutcome", proto_sbc_ap, FT_UINT32, BASE_DEC);
}
/*--- proto_reg_handoff_sbc_ap ---------------------------------------*/
void
proto_reg_handoff_sbc_ap(void)
{
static gboolean inited = FALSE;
static guint SctpPort;
if( !inited ) {
dissector_add_uint("sctp.ppi", SBC_AP_PAYLOAD_PROTOCOL_ID, sbc_ap_handle);
inited = TRUE;
#include "packet-sbc-ap-dis-tab.c"
} else {
if (SctpPort != 0) {
dissector_delete_uint("sctp.port", SctpPort, sbc_ap_handle);
}
}
SctpPort = global_sbc_ap_port;
if (SctpPort != 0) {
dissector_add_uint("sctp.port", SctpPort, sbc_ap_handle);
}
}
/*
* Editor modelines
*
* Local Variables:
* c-basic-offset: 2
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* ex: set shiftwidth=2 tabstop=8 expandtab:
* :indentSize=2:tabSize=8:noTabs=true:
*/ |
ASN.1 | wireshark/epan/dissectors/asn1/sbc-ap/SBC-AP-CommonDataTypes.asn | -- SBC-AP-CommonDataTypes.asn
--
-- Taken from 3GPP TS 29.168 V15.1.0 (2018-09)
-- http://www.3gpp.org/ftp/Specs/archive/29_series/29.168/29168-930.zip
--
-- 4.4.6 Common Definitions
--
-- **************************************************************
--
-- Common definitions
--
-- **************************************************************
SBC-AP-CommonDataTypes {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
eps-Access (21) modules (3) sbc-AP (3) version1 (1) sbc-AP-CommonDataTypes (3)}
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
Criticality ::= ENUMERATED { reject, ignore, notify }
Presence ::= ENUMERATED { optional, conditional, mandatory }
ProcedureCode ::= INTEGER (0..255)
ProtocolExtensionID ::= INTEGER (0..65535)
ProtocolIE-ID ::= INTEGER (0..65535)
TriggeringMessage ::= ENUMERATED {initiating-message, successful-outcome, unsuccessful-outcome, outcome}
END |
ASN.1 | wireshark/epan/dissectors/asn1/sbc-ap/SBC-AP-Constants.asn | -- SBC-AP-Constants.asn
--
-- Taken from 3GPP TS 29.168 V15.1.0 (2018-09)
-- http://www.3gpp.org/ftp/Specs/archive/29_series/29.168/29168-930.zip
--
-- 4.4.7 Constant Definitions
--
-- **************************************************************
--
-- Constant definitions
--
-- **************************************************************
SBC-AP-Constants {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
eps-Access (21) modules (3) sbc-AP (3) version1 (1) sbc-AP-Constants (4)}
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
-- **************************************************************
--
-- Elementary Procedures
--
-- **************************************************************
id-Write-Replace-Warning INTEGER ::= 0
id-Stop-Warning INTEGER ::= 1
id-Error-Indication INTEGER ::= 2
id-Write-Replace-Warning-Indication INTEGER ::= 3
id-Stop-Warning-Indication INTEGER ::= 4
id-PWS-Restart-Indication INTEGER ::= 5
id-PWS-Failure-Indication INTEGER ::= 6
-- **************************************************************
--
-- IEs
--
-- **************************************************************
id-Broadcast-Message-Content INTEGER ::= 0
id-Cause INTEGER ::= 1
id-Criticality-Diagnostics INTEGER ::=2
id-Data-Coding-Scheme INTEGER ::= 3
id-Failure-List INTEGER ::= 4
id-Message-Identifier INTEGER ::= 5
id-Number-of-Broadcasts-Completed-List INTEGER ::= 6
id-Number-of-Broadcasts-Requested INTEGER ::= 7
id-Radio-Resource-Loading-List INTEGER ::= 8
id-Recovery-Indication INTEGER ::= 9
id-Repetition-Period INTEGER ::= 10
id-Serial-Number INTEGER ::= 11
id-Service-Areas-List INTEGER ::= 12
id-TypeOfError INTEGER ::= 13
id-List-of-TAIs INTEGER ::= 14
id-Warning-Area-List INTEGER ::= 15
id-Warning-Message-Content INTEGER ::= 16
id-Warning-Security-Information INTEGER ::= 17
id-Warning-Type INTEGER ::= 18
id-Omc-Id INTEGER ::= 19
id-Concurrent-Warning-Message-Indicator INTEGER ::= 20
id-Extended-Repetition-Period INTEGER ::= 21
id-Unknown-Tracking-Area-List INTEGER ::= 22
id-Broadcast-Scheduled-Area-List INTEGER ::= 23
id-Send-Write-Replace-Warning-Indication INTEGER ::= 24
id-Broadcast-Cancelled-Area-List INTEGER ::= 25
id-Send-Stop-Warning-Indication INTEGER ::= 26
id-Stop-All-Indicator INTEGER ::= 27
id-Global-ENB-ID INTEGER ::= 28
id-Broadcast-Empty-Area-List INTEGER ::= 29
id-Restarted-Cell-List INTEGER ::= 30
id-List-of-TAIs-Restart INTEGER ::= 31
id-List-of-EAIs-Restart INTEGER ::= 32
id-Failed-Cell-List INTEGER ::= 33
id-List-of-5GS-TAIs INTEGER ::= 34
id-Warning-Area-List-5GS INTEGER ::= 35
id-Global-RAN-Node-ID INTEGER ::= 36
id-Global-GNB-ID INTEGER ::= 37
id-RAT-Selector-5GS INTEGER ::= 38
id-Unknown-5GS-Tracking-Area-List INTEGER ::= 39
id-Broadcast-Scheduled-Area-List-5GS INTEGER ::= 40
id-Broadcast-Cancelled-Area-List-5GS INTEGER ::= 41
id-Broadcast-Empty-Area-List-5GS INTEGER ::= 42
id-Restarted-Cell-List-NR INTEGER ::= 43
id-Failed-Cell-List-NR INTEGER ::= 44
id-List-of-5GS-TAI-for-Restart INTEGER ::= 45
id-Warning-Area-Coordinates INTEGER ::= 46
-- **************************************************************
--
-- Extension constants
--
-- **************************************************************
-- **************************************************************
--
-- Lists
--
-- **************************************************************
maxNrOfErrors INTEGER ::= 256
maxnoofCellID INTEGER ::= 65535
maxnoofCellinEAI INTEGER ::= 65535
maxnoofCellinTAI INTEGER ::= 65535
maxNrOfTAIs INTEGER ::= 65535
maxnoofEmergencyAreaID INTEGER ::= 65535
maxnoofTAIforWarning INTEGER ::= 65535
maxProtocolExtensions INTEGER ::= 65535
maxProtocolIEs INTEGER ::= 65535
maxnoofeNBIds INTEGER ::= 256
maxnoofRestartedCells INTEGER ::= 256
maxnoofRestartTAIs INTEGER ::= 2048
maxnoofRestartEAIs INTEGER ::= 256
maxnoofFailedCells INTEGER ::= 256
maxnoof5GSTAIs INTEGER ::= 2048
maxnoofCellsingNB INTEGER ::= 16384
maxnoofCellsin5GS INTEGER ::= 16776960
maxnoofCellsin5GSTAI INTEGER ::= 65535
maxnoofRANNodes INTEGER ::= 65535
maxnoofRestart5GSTAIs INTEGER ::= 2048maxnoofCellsforRestartNR INTEGER ::= 16384
END |
ASN.1 | wireshark/epan/dissectors/asn1/sbc-ap/SBC-AP-Containers.asn | -- SBC-AP-Containers.asn
--
-- Taken from 3GPP TS 29.168 V15.1.0 (2018-09)
-- http://www.3gpp.org/ftp/Specs/archive/29_series/29.168/29168-930.zip
--
-- 4.4.8 Container Definitions
--
-- **************************************************************
--
-- Container definitions
--
-- **************************************************************
SBC-AP-Containers {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
eps-Access (21) modules (3) sbc-AP (3) version1 (1) sbc-AP-Containers (5)}
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
-- **************************************************************
--
-- IE parameter types from other modules.
--
-- **************************************************************
IMPORTS
Criticality,
Presence,
ProtocolExtensionID,
ProtocolIE-ID
FROM SBC-AP-CommonDataTypes
maxProtocolExtensions,
maxProtocolIEs
FROM SBC-AP-Constants;
-- **************************************************************
--
-- Class Definition for Protocol IEs
--
-- **************************************************************
SBC-AP-PROTOCOL-IES ::= CLASS {
&id ProtocolIE-ID UNIQUE,
&criticality Criticality DEFAULT ignore,
&Value,
&presence Presence
}
WITH SYNTAX {
ID &id
CRITICALITY &criticality
TYPE &Value
PRESENCE &presence
}
-- **************************************************************
--
-- Class Definition for Protocol Extensions
--
-- **************************************************************
SBC-AP-PROTOCOL-EXTENSION ::= CLASS {
&id ProtocolExtensionID UNIQUE,
&criticality Criticality DEFAULT ignore,
&Extension,
&presence Presence
}
WITH SYNTAX {
ID &id
CRITICALITY &criticality
EXTENSION &Extension
PRESENCE &presence
}
-- **************************************************************
--
-- Container for Protocol IEs
--
-- **************************************************************
ProtocolIE-Container {SBC-AP-PROTOCOL-IES : IEsSetParam} ::=
SEQUENCE (SIZE (0..maxProtocolIEs)) OF
ProtocolIE-Field {{IEsSetParam}}
ProtocolIE-Field {SBC-AP-PROTOCOL-IES : IEsSetParam} ::= SEQUENCE {
id SBC-AP-PROTOCOL-IES.&id ({IEsSetParam}),
criticality SBC-AP-PROTOCOL-IES.&criticality ({IEsSetParam}{@id}),
value SBC-AP-PROTOCOL-IES.&Value ({IEsSetParam}{@id})
}
-- **************************************************************
--
-- Container Lists for Protocol IE Containers
--
-- **************************************************************
ProtocolIE-ContainerList {INTEGER : lowerBound, INTEGER : upperBound, SBC-AP-PROTOCOL-IES : IEsSetParam} ::=
SEQUENCE (SIZE (lowerBound..upperBound)) OF
ProtocolIE-Container {{IEsSetParam}}
-- **************************************************************
--
-- Container for Protocol Extensions
--
-- **************************************************************
ProtocolExtensionContainer {SBC-AP-PROTOCOL-EXTENSION : ExtensionSetParam} ::=
SEQUENCE (SIZE (1..maxProtocolExtensions)) OF
ProtocolExtensionField {{ExtensionSetParam}}
ProtocolExtensionField {SBC-AP-PROTOCOL-EXTENSION : ExtensionSetParam} ::= SEQUENCE {
id SBC-AP-PROTOCOL-EXTENSION.&id ({ExtensionSetParam}),
criticality SBC-AP-PROTOCOL-EXTENSION.&criticality ({ExtensionSetParam}{@id}),
extensionValue SBC-AP-PROTOCOL-EXTENSION.&Extension ({ExtensionSetParam}{@id})
}
END |
ASN.1 | wireshark/epan/dissectors/asn1/sbc-ap/SBC-AP-IEs.asn | -- SBC-AP-IEs.asn
--
-- Taken from 3GPP TS 29.168 V15.1.0 (2018-09)
-- http://www.3gpp.org/ftp/Specs/archive/29_series/29.168/29168-930.zip
--
-- 4.4.5 Information Element Definitions
--
-- **************************************************************
--
-- Information Element Definitions
--
-- **************************************************************
SBC-AP-IEs {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
eps-Access (21) modules (3) sbc-AP (3) version1 (1) sbc-AP-IEs (2)}
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
IMPORTS
maxNrOfErrors,
maxNrOfTAIs,
maxnoofTAIforWarning,
maxnoofCellID,
maxnoofEmergencyAreaID,
id-TypeOfError,
maxnoofCellinEAI,
maxnoofCellinTAI,
maxnoofeNBIds,
maxnoofRestartTAIs,
maxnoofRestartEAIs,
maxnoofRestartedCells,
maxnoofFailedCells,
maxnoof5GSTAIs,
maxnoofCellsingNB,
maxnoofCellsin5GS,
maxnoofCellsforRestartNR,
maxnoofRANNodes,
maxnoofRestart5GSTAIs,
maxnoofCellsin5GSTAI
FROM SBC-AP-Constants
Criticality,
ProcedureCode,
TriggeringMessage,
ProtocolIE-ID
FROM SBC-AP-CommonDataTypes
ProtocolExtensionContainer{},
SBC-AP-PROTOCOL-EXTENSION
FROM SBC-AP-Containers;
-- A
-- B
Broadcast-Scheduled-Area-List ::= SEQUENCE {
cellId-Broadcast-List CellId-Broadcast-List OPTIONAL,
tAI-Broadcast-List TAI-Broadcast-List OPTIONAL,
emergencyAreaID-Broadcast-List EmergencyAreaID-Broadcast-List OPTIONAL,
iE-Extensions ProtocolExtensionContainer {{Broadcast-Scheduled-Area-List-ExtIEs}} OPTIONAL,
...
}
Broadcast-Scheduled-Area-List-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
Broadcast-Scheduled-Area-List-5GS ::= SEQUENCE {
cellId-Broadcast-List-5GS CellId-Broadcast-List-5GS OPTIONAL,
tAI-Broadcast-List-5GS TAI-Broadcast-List-5GS OPTIONAL,
emergencyAreaID-Broadcast-List EmergencyAreaID-Broadcast-List OPTIONAL,
iE-Extensions ProtocolExtensionContainer {{Broadcast-Scheduled-Area-List-5GS-ExtIEs}} OPTIONAL,
...
}
Broadcast-Scheduled-Area-List-5GS-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
Broadcast-Cancelled-Area-List ::= SEQUENCE {
cellID-Cancelled-List CellID-Cancelled-List OPTIONAL,
tAI-Cancelled-List TAI-Cancelled-List OPTIONAL,
emergencyAreaID-Cancelled-List EmergencyAreaID-Cancelled-List OPTIONAL,
iE-Extensions ProtocolExtensionContainer {{Broadcast-Cancelled-Area-List-ExtIEs}} OPTIONAL,
...
}
Broadcast-Cancelled-Area-List-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
Broadcast-Cancelled-Area-List-5GS ::= SEQUENCE {
cellID-Cancelled-List-5GS CellID-Cancelled-List-5GS OPTIONAL,
tAI-Cancelled-List-5GS TAI-Cancelled-List-5GS OPTIONAL,
emergencyAreaID-Cancelled-List EmergencyAreaID-Cancelled-List OPTIONAL,
iE-Extensions ProtocolExtensionContainer {{Broadcast-Cancelled-Area-List-5GS-ExtIEs}} OPTIONAL,
...
}
Broadcast-Cancelled-Area-List-5GS-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
Broadcast-Empty-Area-List ::= SEQUENCE (SIZE (1.. maxnoofeNBIds)) OF Global-ENB-ID
Broadcast-Empty-Area-List-5GS ::= SEQUENCE (SIZE (1.. maxnoofRANNodes)) OF Global-RAN-Node-ID
-- C
CancelledCellinEAI ::= SEQUENCE (SIZE(1..maxnoofCellinEAI)) OF CancelledCellinEAI-Item
CancelledCellinEAI-Item ::= SEQUENCE {
eCGI EUTRAN-CGI,
numberOfBroadcasts NumberOfBroadcasts,
iE-Extensions ProtocolExtensionContainer { {CancelledCellinEAI-Item-ExtIEs} } OPTIONAL,
...
}
CancelledCellinEAI-Item-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
CancelledCellinTAI ::= SEQUENCE (SIZE(1..maxnoofCellinTAI)) OF CancelledCellinTAI-Item
CancelledCellinTAI-Item ::= SEQUENCE{
eCGI EUTRAN-CGI,
numberOfBroadcasts NumberOfBroadcasts,
iE-Extensions ProtocolExtensionContainer { {CancelledCellinTAI-Item-ExtIEs} } OPTIONAL,
...
}
CancelledCellinTAI-Item-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
CancelledCellinTAI-5GS ::= SEQUENCE (SIZE(1..maxnoofCellsin5GSTAI)) OF
SEQUENCE{
nR-CGI NR-CGI,
numberOfBroadcasts NumberOfBroadcasts,
iE-Extensions ProtocolExtensionContainer { {CancelledCellinTAI-5GS-ExtIEs} } OPTIONAL,
...
}
CancelledCellinTAI-5GS-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
Cause ::= INTEGER {
message-accepted (0),
parameter-not-recognised (1),
parameter-value-invalid (2),
valid-message-not-identified (3),
tracking-area-not-valid (4),
unrecognised-message (5),
missing-mandatory-element (6),
mME-capacity-exceeded (7),
mME-memory-exceeded (8),
warning-broadcast-not-supported (9),
warning-broadcast-not-operational (10),
message-reference-already-used (11),
unspecifed-error (12),
transfer-syntax-error (13),
semantic-error (14),
message-not-compatible-with-receiver-state (15),
abstract-syntax-error-reject (16),
abstract-syntax-error-ignore-and-notify (17),
abstract-syntax-error-falsely-constructed-message (18)
} (0..255)
CellId-Broadcast-List ::= SEQUENCE (SIZE(1..maxnoofCellID)) OF CellId-Broadcast-List-Item
CellId-Broadcast-List-Item ::= SEQUENCE {
eCGI EUTRAN-CGI,
iE-Extensions ProtocolExtensionContainer { {CellId-Broadcast-List-Item-ExtIEs} } OPTIONAL,
...
}
CellId-Broadcast-List-Item-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
CellId-Broadcast-List-5GS ::= SEQUENCE (SIZE(1..maxnoofCellsin5GS)) OF
SEQUENCE {
nR-CGI NR-CGI,
iE-Extensions ProtocolExtensionContainer { {CellId-Broadcast-List-5GS-ExtIEs} } OPTIONAL,
...
}
CellId-Broadcast-List-5GS-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
CellID-Cancelled-List ::= SEQUENCE (SIZE(1..maxnoofCellID)) OF CellID-Cancelled-Item
CellID-Cancelled-Item ::= SEQUENCE {
eCGI EUTRAN-CGI,
numberOfBroadcasts NumberOfBroadcasts,
iE-Extensions ProtocolExtensionContainer { {CellID-Cancelled-Item-ExtIEs} } OPTIONAL,
...
}
CellID-Cancelled-Item-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
CellID-Cancelled-List-5GS ::= SEQUENCE (SIZE(1..maxnoofCellsin5GS)) OF
SEQUENCE {
nR-CGI NR-CGI,
numberOfBroadcasts NumberOfBroadcasts,
iE-Extensions ProtocolExtensionContainer { {CellID-Cancelled-5GS-ExtIEs} } OPTIONAL,
...
}
CellID-Cancelled-5GS-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
CellIdentity ::= BIT STRING (SIZE (28))
Concurrent-Warning-Message-Indicator ::= ENUMERATED {true}
Criticality-Diagnostics ::= SEQUENCE {
procedureCode ProcedureCode OPTIONAL,
triggeringMessage TriggeringMessage OPTIONAL,
procedureCriticality Criticality OPTIONAL,
iE-CriticalityDiagnostics CriticalityDiagnostics-IE-List OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {CriticalityDiagnostics-ExtIEs} } OPTIONAL,
...
}
CriticalityDiagnostics-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF
SEQUENCE {
iECriticality Criticality,
iE-ID ProtocolIE-ID,
typeOfError TypeOfError,
iE-Extensions ProtocolExtensionContainer {{CriticalityDiagnostics-IE-Item-ExtIEs}} OPTIONAL,
...
}
CriticalityDiagnostics-IE-Item-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
-- D
Data-Coding-Scheme ::= BIT STRING (SIZE (8))
-- E
ECGIList ::= SEQUENCE (SIZE(1..maxnoofCellID)) OF EUTRAN-CGI
Emergency-Area-ID-List ::= SEQUENCE (SIZE(1..maxnoofEmergencyAreaID)) OF Emergency-Area-ID
Emergency-Area-ID ::= OCTET STRING (SIZE (3))
EmergencyAreaID-Broadcast-List ::= SEQUENCE (SIZE(1..maxnoofEmergencyAreaID)) OF EmergencyAreaID-Broadcast-List-Item
EmergencyAreaID-Broadcast-List-Item ::= SEQUENCE {
emergencyAreaID Emergency-Area-ID,
scheduledCellinEAI ScheduledCellinEAI,
iE-Extensions ProtocolExtensionContainer { {EmergencyAreaID-Broadcast-List-Item-ExtIEs} } OPTIONAL,
...
}
EmergencyAreaID-Broadcast-List-Item-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
EmergencyAreaID-Cancelled-List ::= SEQUENCE (SIZE(1..maxnoofEmergencyAreaID)) OF EmergencyAreaID-Cancelled-Item
EmergencyAreaID-Cancelled-Item ::= SEQUENCE {
emergencyAreaID Emergency-Area-ID,
cancelledCellinEAI CancelledCellinEAI,
iE-Extensions ProtocolExtensionContainer { {EmergencyAreaID-Cancelled-Item-ExtIEs} } OPTIONAL,
...
}
EmergencyAreaID-Cancelled-Item-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
EUTRAN-CGI ::= SEQUENCE {
pLMNidentity PLMNidentity,
cell-ID CellIdentity,
iE-Extensions ProtocolExtensionContainer { {EUTRAN-CGI-ExtIEs} } OPTIONAL,
...
}
EUTRAN-CGI-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
Extended-Repetition-Period ::= INTEGER (4096..131071)
ENB-ID ::= CHOICE {
macroENB-ID BIT STRING (SIZE(20)),
homeENB-ID BIT STRING (SIZE(28)),
...,
short-macroENB-ID BIT STRING (SIZE(18)),
long-macroENB-ID BIT STRING (SIZE(21))
}
-- F
Failed-Cell-List ::= SEQUENCE (SIZE(1..maxnoofFailedCells)) OF EUTRAN-CGI
Failed-Cell-List-NR ::= SEQUENCE (SIZE(1..maxnoofCellsingNB)) OF NR-CGI
-- G
Global-ENB-ID ::= SEQUENCE {
pLMNidentity PLMNidentity,
eNB-ID ENB-ID,
iE-Extensions ProtocolExtensionContainer { {GlobalENB-ID-ExtIEs} } OPTIONAL,
...
}
GlobalENB-ID-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
Global-RAN-Node-ID ::= CHOICE {
global-GNB-ID Global-GNB-ID,
global-NgENB-ID Global-NgENB-ID,
...
}
Global-GNB-ID ::= SEQUENCE {
pLMNidentity PLMNidentity,
gNB-ID GNB-ID,
iE-Extensions ProtocolExtensionContainer { {Global-GNB-ID-ExtIEs} } OPTIONAL,
...
}
Global-GNB-ID-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
GNB-ID ::= CHOICE {
gNB-ID BIT STRING (SIZE(22..32)),
...
}
Global-NgENB-ID ::= SEQUENCE {
pLMNidentity PLMNidentity,
ngENB-ID ENB-ID,
iE-Extensions ProtocolExtensionContainer { {Global-NgENB-ID-ExtIEs} } OPTIONAL,
...
}
Global-NgENB-ID-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
-- H
-- I
-- J
-- K
-- L
List-of-TAIs ::= SEQUENCE (SIZE (1..maxNrOfTAIs)) OF
SEQUENCE {
tai TAI
}
List-of-TAIs-Restart ::= SEQUENCE (SIZE (1..maxnoofRestartTAIs)) OF
SEQUENCE {
tai TAI
}
List-of-EAIs-Restart ::= SEQUENCE (SIZE(1..maxnoofRestartEAIs)) OF Emergency-Area-ID
List-of-5GS-TAIs ::= SEQUENCE (SIZE (1..maxnoof5GSTAIs)) OF TAI-5GS
List-of-5GS-Cells-for-Failure ::= SEQUENCE ( SIZE(1..maxnoofCellsingNB)) OF NR-CGI
List-of-5GS-TAI-for-Restart ::= SEQUENCE (SIZE (1..maxnoofRestart5GSTAIs)) OF TAI-5GS
-- M
Message-Identifier ::= BIT STRING (SIZE (16))
-- N
Number-of-Broadcasts-Requested ::= INTEGER (0..65535)
-- For Number-of-Broadcasts-Requested = 0 and Repetition-Period = 0, then eNB action is no broadcast
-- for ETWS Secondary and CMAS.
--
-- For Number-of-Broadcasts-Requested = 1 and Repetition-Period = 0, then eNB action is broadcast
-- only once for ETWS and CMAS.
--
-- For Number-of-Broadcasts-Requested = 0 and Repetition-Period > 0, then eNB action is no broadcast
-- for the ETWS Secondary, and broadcast until further notice for the CMAS.
--
-- For Number-of-Broadcasts-Requested > 0 and Repetition-Period > 0, then eNB action is normal
-- broadcast.
-- All other combinations of Number-of-Broadcasts-Requested and Repetition-Period are considered
-- invalid.
NumberOfBroadcasts ::= INTEGER (0..65535)
NR-CGIList ::= SEQUENCE (SIZE(1..maxnoofCellsingNB)) OF NR-CGI
NR-CGI ::= SEQUENCE {
pLMNidentity PLMNidentity,
nRCellIdentity NRCellIdentity,
iE-Extensions ProtocolExtensionContainer { {NR-CGI-ExtIEs} } OPTIONAL,
...
}
NR-CGI-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
NRCellIdentity ::= BIT STRING (SIZE(36))
NgENB-ID ::= CHOICE {
macroNgENB-ID BIT STRING (SIZE(20)),
shortMacroNgENB-ID BIT STRING (SIZE(18)),
longMacroNgENB-ID BIT STRING (SIZE(21)),
...
}
-- O
Omc-Id ::= OCTET STRING (SIZE (1..20))
-- P
PLMNidentity ::= TBCD-STRING
-- Q
-- R
Repetition-Period ::= INTEGER (0..4096)
-- 1 to 4096: Each unit represents a repetition of one second to a maximum of
-- once per 4096 seconds (~1 hour).
-- 0: no repetition
-- A CBC compliant to this version or later of this specification shall not send a repetition period
-- greater than 4095.
-- For backwards compatibility with a CBC compliant to an earlier version of this specification the
-- maximum value of the repetition period defined in ASN.1 remains at 4096.
-- If the value of the Repetition Period IE received in the WRITE-REPLACE WARNING REQUEST message is
-- set to 4096, the MME shall set the Repetition Period IE to the maximum value 4095 supported on
-- the S1-MME interface as defined in [7] before forwarding to the selected eNBs.
Restarted-Cell-List ::= SEQUENCE (SIZE(1.. maxnoofRestartedCells)) OF EUTRAN-CGI
RAT-Selector-5GS ::= ENUMERATED {true}
Restarted-Cell-List-NR ::= SEQUENCE (SIZE(1.. maxnoofCellsforRestartNR)) OF NR-CGI
-- S
ScheduledCellinEAI ::= SEQUENCE (SIZE(1..maxnoofCellinEAI)) OF ScheduledCellinEAI-Item
ScheduledCellinEAI-Item ::= SEQUENCE {
eCGI EUTRAN-CGI,
iE-Extensions ProtocolExtensionContainer { {ScheduledCellinEAI-Item-ExtIEs} } OPTIONAL,
...
}
ScheduledCellinEAI-Item-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
ScheduledCellinTAI ::= SEQUENCE (SIZE(1..maxnoofCellinTAI)) OF ScheduledCellinTAI-Item
ScheduledCellinTAI-Item ::= SEQUENCE{
eCGI EUTRAN-CGI,
iE-Extensions ProtocolExtensionContainer { {ScheduledCellinTAI-Item-ExtIEs} } OPTIONAL,
...
}
ScheduledCellinTAI-Item-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
ScheduledCellinTAI-5GS ::= SEQUENCE (SIZE(1..maxnoofCellsin5GSTAI)) OF
SEQUENCE{
nR-CGI NR-CGI,
iE-Extensions ProtocolExtensionContainer { {ScheduledCellinTAI-5GS-ExtIEs} } OPTIONAL,
...
}
ScheduledCellinTAI-5GS-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
Send-Write-Replace-Warning-Indication ::= ENUMERATED {true}
Send-Stop-Warning-Indication ::= ENUMERATED {true}
Serial-Number ::= BIT STRING (SIZE (16))
Stop-All-Indicator ::= ENUMERATED {true}
-- T
TAC ::= OCTET STRING (SIZE (2))
TAC-5GS ::= OCTET STRING (SIZE (3))
TAI-Broadcast-List ::= SEQUENCE (SIZE(1..maxnoofTAIforWarning)) OF TAI-Broadcast-List-Item
TAI-Broadcast-List-Item ::= SEQUENCE {
tAI TAI,
scheduledCellinTAI ScheduledCellinTAI,
iE-Extensions ProtocolExtensionContainer { {TAI-Broadcast-List-Item-ExtIEs} } OPTIONAL,
...
}
TAI-Broadcast-List-Item-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
TAI-Broadcast-List-5GS ::= SEQUENCE (SIZE(1..maxnoof5GSTAIs)) OF
SEQUENCE {
tAI-5GS TAI-5GS,
scheduledCellinTAI-5GS ScheduledCellinTAI-5GS,
iE-Extensions ProtocolExtensionContainer { {TAI-Broadcast-List-5GS-ExtIEs} } OPTIONAL,
...
}
TAI-Broadcast-List-5GS-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
TAI-Cancelled-List ::= SEQUENCE (SIZE(1..maxnoofTAIforWarning)) OF TAI-Cancelled-List-Item
TAI-Cancelled-List-Item ::= SEQUENCE {
tAI TAI,
cancelledCellinTAI CancelledCellinTAI,
iE-Extensions ProtocolExtensionContainer { {TAI-Cancelled-List-Item-ExtIEs} } OPTIONAL,
...
}
TAI-Cancelled-List-Item-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
TAI-Cancelled-List-5GS ::= SEQUENCE (SIZE(1..maxnoof5GSTAIs)) OF
SEQUENCE {
tAI-5GS TAI-5GS,
cancelledCellinTAI-5GS CancelledCellinTAI-5GS,
iE-Extensions ProtocolExtensionContainer { {TAI-Cancelled-List-5GS-ExtIEs} } OPTIONAL,
...
}
TAI-Cancelled-List-5GS-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
TAI-List-for-Warning ::= SEQUENCE (SIZE(1.. maxnoofTAIforWarning)) OF TAI
TAI ::= SEQUENCE {
pLMNidentity PLMNidentity,
tAC TAC,
iE-Extensions ProtocolExtensionContainer { {TAI-ExtIEs} } OPTIONAL
}
TAI-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
TBCD-STRING ::= OCTET STRING (SIZE (3))
TypeOfError ::= ENUMERATED {
not-understood,
missing,
...
}
TAI-5GS ::= SEQUENCE {
pLMNidentity PLMNidentity,
tAC-5GS TAC-5GS,
iE-Extensions ProtocolExtensionContainer { {TAI-5GS-ExtIEs} } OPTIONAL
}
TAI-5GS-ExtIEs SBC-AP-PROTOCOL-EXTENSION ::= {
...
}
-- U
Unknown-Tracking-Area-List ::= SEQUENCE (SIZE(1.. maxNrOfTAIs)) OF TAI
Unknown-5GS-Tracking-Area-List ::= SEQUENCE (SIZE(1.. maxnoof5GSTAIs)) OF TAI-5GS
-- V
-- W
Warning-Area-List ::= CHOICE {
cell-ID-List ECGIList,
tracking-Area-List-for-Warning TAI-List-for-Warning,
emergency-Area-ID-List Emergency-Area-ID-List,
...
}
Warning-Message-Content ::= OCTET STRING (SIZE (1..9600))
Warning-Area-Coordinates ::= OCTET STRING (SIZE (1..1024))
Warning-Security-Information ::= OCTET STRING (SIZE (50))
Warning-Type ::= OCTET STRING (SIZE (2))
Warning-Area-List-5GS ::= CHOICE {
cell-ID-List ECGIList,
nR-CGIList NR-CGIList,
tAIList-5GS TAI-5GS,
emergencyAreaIDList Emergency-Area-ID-List,
...
}
-- X
-- Y
END |
ASN.1 | wireshark/epan/dissectors/asn1/sbc-ap/SBC-AP-PDU-Contents.asn | -- SBC-AP-PDU-Contents.asn
--
-- Taken from 3GPP TS 29.168 V15.1.0 (2018-09)
-- http://www.3gpp.org/ftp/Specs/archive/29_series/29.168/29168-930.zip
--
-- 4.4.4 PDU Definitions
--
-- **************************************************************
--
-- PDU definitions for SBC-AP.
--
-- **************************************************************
SBC-AP-PDU-Contents {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
eps-Access (21) modules (3) sbc-AP (3) version1 (1) sbc-AP-PDU-Contents (1)}
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
-- **************************************************************
--
-- IE parameter types from other modules.
--
-- **************************************************************
IMPORTS
Cause,
Concurrent-Warning-Message-Indicator,
Criticality-Diagnostics,
Data-Coding-Scheme,
Message-Identifier,
Serial-Number,
List-of-TAIs,
Warning-Area-List,
Omc-Id,
Repetition-Period,
Extended-Repetition-Period,
Number-of-Broadcasts-Requested,
Warning-Type,
Warning-Security-Information,
Warning-Message-Content,
Warning-Area-Coordinates,
Send-Write-Replace-Warning-Indication,
Broadcast-Scheduled-Area-List,
Unknown-Tracking-Area-List,
Send-Stop-Warning-Indication,
Broadcast-Cancelled-Area-List,
Stop-All-Indicator,
Broadcast-Empty-Area-List,
Restarted-Cell-List,
Global-ENB-ID,
List-of-TAIs-Restart,
List-of-EAIs-Restart,
Failed-Cell-List,
List-of-5GS-TAIs,
Warning-Area-List-5GS,
Global-RAN-Node-ID,
Global-GNB-ID,
RAT-Selector-5GS,
Unknown-5GS-Tracking-Area-List,
Broadcast-Scheduled-Area-List-5GS,
Broadcast-Cancelled-Area-List-5GS,
Broadcast-Empty-Area-List-5GS,
Restarted-Cell-List-NR,
Failed-Cell-List-NR,
List-of-5GS-TAI-for-Restart
FROM SBC-AP-IEs
ProtocolExtensionContainer{},
ProtocolIE-Container{},
SBC-AP-PROTOCOL-EXTENSION,
SBC-AP-PROTOCOL-IES
FROM SBC-AP-Containers
id-Concurrent-Warning-Message-Indicator,
id-Criticality-Diagnostics,
id-Cause,
id-Data-Coding-Scheme,
id-List-of-TAIs,
id-Message-Identifier,
id-Serial-Number,
id-Number-of-Broadcasts-Requested,
id-Omc-Id,
id-Radio-Resource-Loading-List,
id-Recovery-Indication,
id-Repetition-Period,
id-Extended-Repetition-Period,
id-Warning-Area-List,
id-Warning-Message-Content,
id-Warning-Area-Coordinates,
id-Warning-Security-Information,
id-Warning-Type,
id-Send-Write-Replace-Warning-Indication,
id-Broadcast-Scheduled-Area-List,
id-Unknown-Tracking-Area-List,
id-Send-Stop-Warning-Indication,
id-Broadcast-Cancelled-Area-List,
id-Stop-All-Indicator,
id-Broadcast-Empty-Area-List,
id-Global-ENB-ID,
id-Restarted-Cell-List,
id-List-of-TAIs-Restart,
id-List-of-EAIs-Restart,
id-Failed-Cell-List,
id-List-of-5GS-TAIs,
id-Warning-Area-List-5GS,
id-Global-RAN-Node-ID,
id-Global-GNB-ID,
id-RAT-Selector-5GS,
id-Unknown-5GS-Tracking-Area-List,
id-Broadcast-Scheduled-Area-List-5GS,
id-Broadcast-Cancelled-Area-List-5GS,
id-Broadcast-Empty-Area-List-5GS,
id-Restarted-Cell-List-NR,
id-Failed-Cell-List-NR,
id-List-of-5GS-TAI-for-Restart
FROM SBC-AP-Constants;
-- **************************************************************
--
-- Write-Replace-Warning-Request
--
-- **************************************************************
Write-Replace-Warning-Request ::= SEQUENCE {
protocolIEs ProtocolIE-Container { {Write-Replace-Warning-Request-IEs} },
protocolExtensions ProtocolExtensionContainer { {Write-Replace-Warning-Request-Extensions} } OPTIONAL,
...
}
Write-Replace-Warning-Request-IEs SBC-AP-PROTOCOL-IES ::= {
{ ID id-Message-Identifier CRITICALITY reject TYPE Message-Identifier PRESENCE mandatory } |
{ ID id-Serial-Number CRITICALITY reject TYPE Serial-Number PRESENCE mandatory } |
{ ID id-List-of-TAIs CRITICALITY reject TYPE List-of-TAIs PRESENCE optional } |
{ ID id-Warning-Area-List CRITICALITY ignore TYPE Warning-Area-List PRESENCE optional } |
{ ID id-Repetition-Period CRITICALITY reject TYPE Repetition-Period PRESENCE mandatory } |
{ ID id-Extended-Repetition-Period CRITICALITY reject TYPE Extended-Repetition-Period PRESENCE optional } |
{ ID id-Number-of-Broadcasts-Requested
CRITICALITY reject TYPE Number-of-Broadcasts-Requested PRESENCE mandatory } |
{ ID id-Warning-Type CRITICALITY ignore TYPE Warning-Type PRESENCE optional } |
{ ID id-Warning-Security-Information CRITICALITY ignore TYPE Warning-Security-Information PRESENCE optional } |
{ ID id-Data-Coding-Scheme CRITICALITY ignore TYPE Data-Coding-Scheme PRESENCE optional } |
{ ID id-Warning-Message-Content
CRITICALITY ignore TYPE Warning-Message-Content PRESENCE optional } |
{ ID id-Omc-Id CRITICALITY ignore TYPE Omc-Id PRESENCE optional } |
{ ID id-Concurrent-Warning-Message-Indicator CRITICALITY reject TYPE Concurrent-Warning-Message-Indicator PRESENCE optional } |
{ ID id-Send-Write-Replace-Warning-Indication CRITICALITY ignore TYPE Send-Write-Replace-Warning-Indication PRESENCE optional } |
{ ID id-Global-ENB-ID CRITICALITY ignore TYPE Global-ENB-ID PRESENCE optional },
... ,
{ID id-Warning-Area-Coordinates CRITICALITY ignore TYPE Warning-Area-Coordinates PRESENCE optional}
}
Write-Replace-Warning-Request-Extensions SBC-AP-PROTOCOL-EXTENSION ::= {
{ ID id-List-of-5GS-TAIs CRITICALITY ignore EXTENSION List-of-5GS-TAIs PRESENCE optional }|
{ ID id-Warning-Area-List-5GS CRITICALITY ignore EXTENSION Warning-Area-List-5GS PRESENCE optional }|
{ ID id-Global-RAN-Node-ID CRITICALITY ignore EXTENSION Global-RAN-Node-ID PRESENCE optional }|
{ ID id-RAT-Selector-5GS CRITICALITY ignore EXTENSION RAT-Selector-5GS PRESENCE optional },
...
}
-- **************************************************************
--
-- Write-Replace-Warning-Response
--
-- **************************************************************
Write-Replace-Warning-Response ::= SEQUENCE {
protocolIEs ProtocolIE-Container { {Write-Replace-Warning-Response-IEs} },
protocolExtensions ProtocolExtensionContainer { {Write-Replace-Warning-Response-Extensions} } OPTIONAL,
...
}
Write-Replace-Warning-Response-IEs SBC-AP-PROTOCOL-IES ::= {
{ ID id-Message-Identifier CRITICALITY reject TYPE Message-Identifier PRESENCE mandatory } |
{ ID id-Serial-Number CRITICALITY reject TYPE Serial-Number PRESENCE mandatory } |
{ ID id-Cause CRITICALITY reject TYPE Cause PRESENCE mandatory } |
{ ID id-Criticality-Diagnostics CRITICALITY ignore TYPE Criticality-Diagnostics PRESENCE optional } |
{ ID id-Unknown-Tracking-Area-List CRITICALITY ignore TYPE List-of-TAIs PRESENCE optional },
...
}
Write-Replace-Warning-Response-Extensions SBC-AP-PROTOCOL-EXTENSION ::= {
{ ID id-Unknown-5GS-Tracking-Area-List CRITICALITY ignore EXTENSION Unknown-5GS-Tracking-Area-List PRESENCE optional },
...
}
-- **************************************************************
--
-- Stop-Warning-Request
--
-- **************************************************************
Stop-Warning-Request ::= SEQUENCE {
protocolIEs ProtocolIE-Container { {Stop-Warning-Request-IEs} },
protocolExtensions ProtocolExtensionContainer { {Stop-Warning-Request-Extensions} } OPTIONAL,
...
}
Stop-Warning-Request-IEs SBC-AP-PROTOCOL-IES ::= {
{ ID id-Message-Identifier CRITICALITY reject TYPE Message-Identifier PRESENCE mandatory } |
{ ID id-Serial-Number CRITICALITY reject TYPE Serial-Number PRESENCE mandatory } |
{ ID id-List-of-TAIs CRITICALITY reject TYPE List-of-TAIs PRESENCE optional } |
{ ID id-Warning-Area-List CRITICALITY ignore TYPE Warning-Area-List PRESENCE optional }|
{ ID id-Omc-Id CRITICALITY ignore TYPE Omc-Id PRESENCE optional } |
{ ID id-Send-Stop-Warning-Indication CRITICALITY ignore TYPE Send-Stop-Warning-Indication PRESENCE optional } |
{ ID id-Stop-All-Indicator CRITICALITY reject TYPE Stop-All-Indicator PRESENCE optional},
...
}
Stop-Warning-Request-Extensions SBC-AP-PROTOCOL-EXTENSION ::= {
{ ID id-List-of-5GS-TAIs CRITICALITY ignore EXTENSION List-of-5GS-TAIs PRESENCE optional }|
{ ID id-Warning-Area-List-5GS CRITICALITY ignore EXTENSION Warning-Area-List-5GS PRESENCE optional } | { ID id-RAT-Selector-5GS CRITICALITY ignore EXTENSION RAT-Selector-5GS PRESENCE optional },
...
}
-- **************************************************************
--
-- Stop-Warning-Response
--
-- **************************************************************
Stop-Warning-Response ::= SEQUENCE {
protocolIEs ProtocolIE-Container { {Stop-Warning-Response-IEs} },
protocolExtensions ProtocolExtensionContainer { {Stop-Warning-Response-Extensions} } OPTIONAL,
...
}
Stop-Warning-Response-IEs SBC-AP-PROTOCOL-IES ::= {
{ ID id-Message-Identifier CRITICALITY reject TYPE Message-Identifier PRESENCE mandatory } |
{ ID id-Serial-Number CRITICALITY reject TYPE Serial-Number PRESENCE mandatory } |
{ ID id-Cause CRITICALITY reject TYPE Cause PRESENCE mandatory } |
{ ID id-Criticality-Diagnostics CRITICALITY ignore TYPE Criticality-Diagnostics PRESENCE optional } |
{ ID id-Unknown-Tracking-Area-List CRITICALITY ignore TYPE List-of-TAIs PRESENCE optional },
...
}
Stop-Warning-Response-Extensions SBC-AP-PROTOCOL-EXTENSION ::= {
{ ID id-Unknown-5GS-Tracking-Area-List CRITICALITY ignore EXTENSION Unknown-5GS-Tracking-Area-List PRESENCE optional },
...
}
-- **************************************************************
--
-- Write-Replace-Warning-Indication
--
-- **************************************************************
Write-Replace-Warning-Indication ::= SEQUENCE {
protocolIEs ProtocolIE-Container { {Write-Replace-Warning-Indication-IEs} },
protocolExtensions ProtocolExtensionContainer { {Write-Replace-Warning-Indication-Extensions} } OPTIONAL,
...
}
Write-Replace-Warning-Indication-IEs SBC-AP-PROTOCOL-IES ::= {
{ ID id-Message-Identifier CRITICALITY reject TYPE Message-Identifier PRESENCE mandatory } |
{ ID id-Serial-Number CRITICALITY reject TYPE Serial-Number PRESENCE mandatory } |
{ ID id-Broadcast-Scheduled-Area-List CRITICALITY reject TYPE Broadcast-Scheduled-Area-List PRESENCE optional },
...
}
Write-Replace-Warning-Indication-Extensions SBC-AP-PROTOCOL-EXTENSION ::= {
{ ID id-Broadcast-Scheduled-Area-List-5GS CRITICALITY ignore EXTENSION Broadcast-Scheduled-Area-List-5GS PRESENCE optional },
...
}
-- **************************************************************
--
-- Stop-Warning-Indication
--
-- **************************************************************
Stop-Warning-Indication ::= SEQUENCE {
protocolIEs ProtocolIE-Container { {Stop-Warning-Indication-IEs} },
protocolExtensions ProtocolExtensionContainer { {Stop-Warning-Indication-Extensions} } OPTIONAL,
...
}
Stop-Warning-Indication-IEs SBC-AP-PROTOCOL-IES ::= {
{ ID id-Message-Identifier CRITICALITY reject TYPE Message-Identifier PRESENCE mandatory } |
{ ID id-Serial-Number CRITICALITY reject TYPE Serial-Number PRESENCE mandatory } |
{ ID id-Broadcast-Cancelled-Area-List CRITICALITY reject TYPE Broadcast-Cancelled-Area-List PRESENCE optional }|
{ ID id-Broadcast-Empty-Area-List CRITICALITY ignore TYPE Broadcast-Empty-Area-List PRESENCE optional },
...
}
Stop-Warning-Indication-Extensions SBC-AP-PROTOCOL-EXTENSION ::= {
{ ID id-Broadcast-Cancelled-Area-List-5GS CRITICALITY ignore EXTENSION Broadcast-Cancelled-Area-List-5GS PRESENCE optional }|
{ ID id-Broadcast-Empty-Area-List-5GS CRITICALITY ignore EXTENSION Broadcast-Empty-Area-List-5GS PRESENCE optional },
...
}
-- **************************************************************
--
-- PWS-Restart-Indication
--
-- **************************************************************
PWS-Restart-Indication ::= SEQUENCE {
protocolIEs ProtocolIE-Container { {PWS-Restart-Indication-IEs} },
protocolExtensions ProtocolExtensionContainer { {PWS-Restart-Indication-Extensions} } OPTIONAL,
...
}
PWS-Restart-Indication-IEs SBC-AP-PROTOCOL-IES ::= {
{ ID id-Restarted-Cell-List CRITICALITY reject TYPE Restarted-Cell-List PRESENCE mandatory }|
{ ID id-Global-ENB-ID CRITICALITY reject TYPE Global-ENB-ID PRESENCE mandatory } |
{ ID id-List-of-TAIs-Restart CRITICALITY reject TYPE List-of-TAIs-Restart PRESENCE mandatory } |
{ ID id-List-of-EAIs-Restart CRITICALITY reject TYPE List-of-EAIs-Restart PRESENCE optional },
...
}
PWS-Restart-Indication-Extensions SBC-AP-PROTOCOL-EXTENSION ::= {
{ ID id-Restarted-Cell-List-NR CRITICALITY ignore EXTENSION Restarted-Cell-List-NR PRESENCE optional }|
{ ID id-List-of-5GS-TAI-for-Restart CRITICALITY ignore EXTENSION List-of-5GS-TAI-for-Restart PRESENCE optional }|
{ ID id-Global-GNB-ID CRITICALITY ignore EXTENSION Global-GNB-ID PRESENCE optional },
...
}
-- **************************************************************
--
-- PWS-Failure-Indication
--
-- **************************************************************
PWS-Failure-Indication ::= SEQUENCE {
protocolIEs ProtocolIE-Container { {PWS-Failure-Indication-IEs} },
protocolExtensions ProtocolExtensionContainer { {PWS-Failure-Indication-Extensions} } OPTIONAL,
...
}
PWS-Failure-Indication-IEs SBC-AP-PROTOCOL-IES ::= {
{ ID id-Failed-Cell-List CRITICALITY reject TYPE Failed-Cell-List PRESENCE mandatory }|
{ ID id-Global-ENB-ID CRITICALITY reject TYPE Global-ENB-ID PRESENCE mandatory },
...
}
PWS-Failure-Indication-Extensions SBC-AP-PROTOCOL-EXTENSION ::= {
{ ID id-Failed-Cell-List-NR CRITICALITY ignore EXTENSION Failed-Cell-List-NR PRESENCE optional }|
{ ID id-Global-GNB-ID CRITICALITY ignore EXTENSION Global-GNB-ID PRESENCE optional },
...
}
-- **************************************************************
--
-- ERROR INDICATION ELEMENTARY PROCEDURE
--
-- **************************************************************
-- **************************************************************
--
-- Error Indication
--
-- **************************************************************
Error-Indication ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ErrorIndicationIEs}},
...
}
ErrorIndicationIEs SBC-AP-PROTOCOL-IES ::= {
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE optional } |
{ ID id-Criticality-Diagnostics CRITICALITY ignore TYPE Criticality-Diagnostics PRESENCE optional } ,
...
}
END |
ASN.1 | wireshark/epan/dissectors/asn1/sbc-ap/SBC-AP-PDU-Descriptions.asn | -- SBC-AP-PDU-Descriptions.asn
--
-- Taken from 3GPP TS 29.168 V15.1.0 (2018-09)
-- http://www.3gpp.org/ftp/Specs/archive/29_series/29.168/29168-930.zip
--
-- 4.4.3 Elementary Procedure Definitions
--
-- **************************************************************
--
-- Elementary Procedure definitions
--
-- **************************************************************
SBC-AP-PDU-Descriptions {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
eps-Access (21) modules (3) sbc-AP (3) version1 (1) sbc-AP-PDU-Descriptions (0)}
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
-- **************************************************************
--
-- IE parameter types from other modules.
--
-- **************************************************************
IMPORTS
Criticality,
ProcedureCode
FROM SBC-AP-CommonDataTypes
Write-Replace-Warning-Request,
Write-Replace-Warning-Response,
Stop-Warning-Request,
Stop-Warning-Response,
Error-Indication,
Write-Replace-Warning-Indication,
Stop-Warning-Indication,
PWS-Restart-Indication,
PWS-Failure-Indication
FROM SBC-AP-PDU-Contents
id-Write-Replace-Warning,
id-Stop-Warning,
id-Error-Indication,
id-Write-Replace-Warning-Indication,
id-Stop-Warning-Indication,
id-PWS-Restart-Indication,
id-PWS-Failure-Indication
FROM SBC-AP-Constants;
-- **************************************************************
--
-- Interface Elementary Procedure Class
--
-- **************************************************************
SBC-AP-ELEMENTARY-PROCEDURE ::= CLASS {
&InitiatingMessage ,
&SuccessfulOutcome OPTIONAL,
&UnsuccessfulOutcome OPTIONAL,
&procedureCode ProcedureCode UNIQUE,
&criticality Criticality DEFAULT ignore
}
WITH SYNTAX {
INITIATING MESSAGE &InitiatingMessage
[SUCCESSFUL OUTCOME &SuccessfulOutcome]
[UNSUCCESSFUL OUTCOME &UnsuccessfulOutcome]
PROCEDURE CODE &procedureCode
[CRITICALITY &criticality]
}
-- **************************************************************
--
-- Interface PDU Definition
--
-- **************************************************************
SBC-AP-PDU ::= CHOICE {
initiatingMessage InitiatingMessage,
successfulOutcome SuccessfulOutcome,
unsuccessfulOutcome UnsuccessfulOutcome,
...
}
InitiatingMessage ::= SEQUENCE {
procedureCode SBC-AP-ELEMENTARY-PROCEDURE.&procedureCode ({SBC-AP-ELEMENTARY-PROCEDURES}),
criticality SBC-AP-ELEMENTARY-PROCEDURE.&criticality ({SBC-AP-ELEMENTARY-PROCEDURES}{@procedureCode}),
value SBC-AP-ELEMENTARY-PROCEDURE.&InitiatingMessage ({SBC-AP-ELEMENTARY-PROCEDURES}{@procedureCode})
}
SuccessfulOutcome ::= SEQUENCE {
procedureCode SBC-AP-ELEMENTARY-PROCEDURE.&procedureCode ({SBC-AP-ELEMENTARY-PROCEDURES}),
criticality SBC-AP-ELEMENTARY-PROCEDURE.&criticality ({SBC-AP-ELEMENTARY-PROCEDURES}{@procedureCode}),
value SBC-AP-ELEMENTARY-PROCEDURE.&SuccessfulOutcome ({SBC-AP-ELEMENTARY-PROCEDURES}{@procedureCode})
}
UnsuccessfulOutcome ::= SEQUENCE {
procedureCode SBC-AP-ELEMENTARY-PROCEDURE.&procedureCode ({SBC-AP-ELEMENTARY-PROCEDURES}),
criticality SBC-AP-ELEMENTARY-PROCEDURE.&criticality ({SBC-AP-ELEMENTARY-PROCEDURES}{@procedureCode}),
value SBC-AP-ELEMENTARY-PROCEDURE.&UnsuccessfulOutcome ({SBC-AP-ELEMENTARY-PROCEDURES}{@procedureCode})
}
-- **************************************************************
--
-- Interface Elementary Procedure List
--
-- **************************************************************
SBC-AP-ELEMENTARY-PROCEDURES SBC-AP-ELEMENTARY-PROCEDURE ::= {
SBC-AP-ELEMENTARY-PROCEDURES-CLASS-1 |
SBC-AP-ELEMENTARY-PROCEDURES-CLASS-2 ,
...
}
SBC-AP-ELEMENTARY-PROCEDURES-CLASS-1 SBC-AP-ELEMENTARY-PROCEDURE ::= {
write-Replace-Warning |
stop-Warning ,
...
}
SBC-AP-ELEMENTARY-PROCEDURES-CLASS-2 SBC-AP-ELEMENTARY-PROCEDURE ::= {
error-Indication |
write-Replace-Warning-Indication |
stop-Warning-Indication |
pws-Restart-Indication |
pws-Failure-Indication,
...
}
write-Replace-Warning SBC-AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE Write-Replace-Warning-Request
SUCCESSFUL OUTCOME Write-Replace-Warning-Response
PROCEDURE CODE id-Write-Replace-Warning
CRITICALITY reject
}
stop-Warning SBC-AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE Stop-Warning-Request
SUCCESSFUL OUTCOME Stop-Warning-Response
PROCEDURE CODE id-Stop-Warning
CRITICALITY reject
}
error-Indication SBC-AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE Error-Indication
PROCEDURE CODE id-Error-Indication
CRITICALITY ignore
}
write-Replace-Warning-Indication SBC-AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE Write-Replace-Warning-Indication
PROCEDURE CODE id-Write-Replace-Warning-Indication
CRITICALITY ignore
}
stop-Warning-Indication SBC-AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE Stop-Warning-Indication
PROCEDURE CODE id-Stop-Warning-Indication
CRITICALITY ignore
}
pws-Restart-Indication SBC-AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE PWS-Restart-Indication
PROCEDURE CODE id-PWS-Restart-Indication
CRITICALITY ignore
}
pws-Failure-Indication SBC-AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE PWS-Failure-Indication
PROCEDURE CODE id-PWS-Failure-Indication
CRITICALITY ignore
}
END |
Configuration | wireshark/epan/dissectors/asn1/sbc-ap/sbc-ap.cnf | # sbc-ap.cnf
# sbc-ap conformation file
#.OPT
PER
ALIGNED
#.END
#.EXPORTS
#.PDU
SBC-AP-PDU
#.MAKE_ENUM
ProcedureCode
ProtocolIE-ID
#.NO_EMIT
TBCD-STRING
#.END
#.OMIT_ASSIGNMENT
# Get rid of unused code warnings
ProtocolIE-ContainerList
Presence
Unknown-Tracking-Area-List
NgENB-ID
List-of-5GS-Cells-for-Failure
#.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
ProtocolExtensionField/id ext_id
ProtocolIE-Field/value ie_field_value
#.FN_PARS ProtocolIE-ID VAL_PTR=&ProtocolIE_ID
#.FN_FTR ProtocolIE-ID
if (tree) {
proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s", val_to_str(ProtocolIE_ID, VALS(sbc_ap_ProtocolIE_ID_vals), "unknown (%d)"));
}
#.END
#.FN_PARS ProtocolIE-Field/value FN_VARIANT=_pdu_new TYPE_REF_FN=dissect_ProtocolIEFieldValue
# Currently not used
# FN_PARS ProtocolIE-FieldPair/firstValue FN_VARIANT=_pdu_new TYPE_REF_FN=dissect_ProtocolIEFieldPairFirstValue
# FN_PARS ProtocolIE-FieldPair/secondValue FN_VARIANT=_pdu_new TYPE_REF_FN=dissect_ProtocolIEFieldPairSecondValue
#.FN_PARS ProtocolExtensionID VAL_PTR=&ProtocolExtensionID
#.FN_PARS ProtocolExtensionField/extensionValue FN_VARIANT=_pdu_new TYPE_REF_FN=dissect_ProtocolExtensionFieldExtensionValue
#.FN_PARS ProcedureCode VAL_PTR = &ProcedureCode
#.END
#.FN_PARS InitiatingMessage/value FN_VARIANT=_pdu_new TYPE_REF_FN=dissect_InitiatingMessageValue
#.FN_PARS SuccessfulOutcome/value FN_VARIANT=_pdu_new TYPE_REF_FN=dissect_SuccessfulOutcomeValue
#.FN_PARS UnsuccessfulOutcome/value FN_VARIANT=_pdu_new TYPE_REF_FN=dissect_UnsuccessfulOutcomeValue
#--- Parameterization is not supported in asn2wrs ---
#ProtocolIE-ContainerList {INTEGER : lowerBound, INTEGER : upperBound, SBC-AP-PROTOCOL-IES : IEsSetParam} ::=
# SEQUENCE (SIZE (lowerBound..upperBound)) OF
# ProtocolIE-Container {{IEsSetParam}}
# FN_PARS ProtocolIE-ContainerList
#MIN_VAL = asn1_param_get_integer(%(ACTX)s,"lowerBound")
#MAX_VAL = asn1_param_get_integer(%(ACTX)s,"upperBound")
# FN_HDR ProtocolIE-ContainerList
# static const asn1_par_def_t ProtocolIE_ContainerList_pars[] = {
# { "lowerBound", ASN1_PAR_INTEGER },
# { "upperBound", ASN1_PAR_INTEGER },
# { NULL, 0 }
# };
# asn1_stack_frame_check(actx, "ProtocolIE-ContainerList", ProtocolIE_ContainerList_pars);
#.END
#ProtocolIE-ContainerPairList {INTEGER : lowerBound, INTEGER : upperBound, SBC-AP-PROTOCOL-IES-PAIR : IEsSetParam} ::=
# SEQUENCE (SIZE (lowerBound..upperBound)) OF
# ProtocolIE-ContainerPair {{IEsSetParam}}
# following construction is not supported by asn2wrs
# PLMNidentity ::= TBCD-STRING (SIZE (3))
# TBCD-STRING ::= OCTET STRING
#.FN_BODY PLMNidentity VAL_PTR = parameter_tvb
tvbuff_t *parameter_tvb=NULL;
struct sbc_ap_private_data *sbc_ap_data = sbc_ap_get_private_data(actx->pinfo);
e212_number_type_t number_type = sbc_ap_data->number_type;
sbc_ap_data->number_type = E212_NONE;
offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
3, 3, FALSE, ¶meter_tvb);
if(tvb_reported_length(tvb)==0)
return offset;
if (!parameter_tvb)
return offset;
dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, tree, 0, number_type, FALSE);
#.END
#.TYPE_ATTR
ProtocolExtensionID TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(sbc_ap_ProtocolIE_ID_vals)
#.FN_BODY EUTRAN-CGI
struct sbc_ap_private_data *sbc_ap_data = sbc_ap_get_private_data(actx->pinfo);
sbc_ap_data->number_type = E212_ECGI;
%(DEFAULT_BODY)s
#.FN_BODY NR-CGI
struct sbc_ap_private_data *sbc_ap_data = sbc_ap_get_private_data(actx->pinfo);
sbc_ap_data->number_type = E212_NRCGI;
%(DEFAULT_BODY)s
#.FN_BODY TAI
struct sbc_ap_private_data *sbc_ap_data = sbc_ap_get_private_data(actx->pinfo);
sbc_ap_data->number_type = E212_TAI;
%(DEFAULT_BODY)s
#.TYPE_ATTR
TAC TYPE = FT_UINT16 DISPLAY = BASE_DEC_HEX
#.FN_BODY TAC VAL_PTR = ¶meter_tvb HF_INDEX = -1
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
}
#.FN_BODY TAI-5GS
struct sbc_ap_private_data *sbc_ap_data = sbc_ap_get_private_data(actx->pinfo);
sbc_ap_data->number_type = E212_5GSTAI;
%(DEFAULT_BODY)s
#.TYPE_ATTR
TAC-5GS TYPE = FT_UINT24 DISPLAY = BASE_DEC_HEX
#.FN_BODY TAC-5GS VAL_PTR = ¶meter_tvb HF_INDEX = -1
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 3, ENC_BIG_ENDIAN);
}
#.ASSIGN_VALUE_TO_TYPE # SBC-AP does not have constants assigned to types, they are pure INTEGER
# ProcedureCode
id-Write-Replace-Warning ProcedureCode
id-Stop-Warning ProcedureCode
id-Error-Indication ProcedureCode
id-Write-Replace-Warning-Indication ProcedureCode
id-Stop-Warning-Indication ProcedureCode
id-PWS-Restart-Indication ProcedureCode
id-PWS-Failure-Indication ProcedureCode
# ProtocolIE-ID
id-Broadcast-Message-Content ProtocolIE-ID
id-Cause ProtocolIE-ID
id-Criticality-Diagnostics ProtocolIE-ID
id-Data-Coding-Scheme ProtocolIE-ID
id-Failure-List ProtocolIE-ID
id-Message-Identifier ProtocolIE-ID
id-Number-of-Broadcasts-Completed-List ProtocolIE-ID
id-Number-of-Broadcasts-Requested ProtocolIE-ID
id-Radio-Resource-Loading-List ProtocolIE-ID
id-Recovery-Indication ProtocolIE-ID
id-Repetition-Period ProtocolIE-ID
id-Serial-Number ProtocolIE-ID
id-Service-Areas-List ProtocolIE-ID
id-TypeOfError ProtocolIE-ID
id-List-of-TAIs ProtocolIE-ID
id-Warning-Area-List ProtocolIE-ID
id-Warning-Message-Content ProtocolIE-ID
id-Warning-Security-Information ProtocolIE-ID
id-Warning-Type ProtocolIE-ID
id-Omc-Id ProtocolIE-ID
id-Concurrent-Warning-Message-Indicator ProtocolIE-ID
id-Extended-Repetition-Period ProtocolIE-ID
id-Unknown-Tracking-Area-List ProtocolIE-ID
id-Broadcast-Scheduled-Area-List ProtocolIE-ID
id-Send-Write-Replace-Warning-Indication ProtocolIE-ID
id-Broadcast-Cancelled-Area-List ProtocolIE-ID
id-Send-Stop-Warning-Indication ProtocolIE-ID
id-Stop-All-Indicator ProtocolIE-ID
id-Global-ENB-ID ProtocolIE-ID
id-Broadcast-Empty-Area-List ProtocolIE-ID
id-Restarted-Cell-List ProtocolIE-ID
id-List-of-TAIs-Restart ProtocolIE-ID
id-List-of-EAIs-Restart ProtocolIE-ID
id-Failed-Cell-List ProtocolIE-ID
id-List-of-5GS-TAIs ProtocolIE-ID
id-Warning-Area-List-5GS ProtocolIE-ID
id-Global-RAN-Node-ID ProtocolIE-ID
id-Global-GNB-ID ProtocolIE-ID
id-RAT-Selector-5GS ProtocolIE-ID
id-Unknown-5GS-Tracking-Area-List ProtocolIE-ID
id-Broadcast-Scheduled-Area-List-5GS ProtocolIE-ID
id-Broadcast-Cancelled-Area-List-5GS ProtocolIE-ID
id-Broadcast-Empty-Area-List-5GS ProtocolIE-ID
id-Restarted-Cell-List-NR ProtocolIE-ID
id-Failed-Cell-List-NR ProtocolIE-ID
id-List-of-5GS-TAI-for-Restart ProtocolIE-ID
id-Warning-Area-Coordinates ProtocolIE-ID
#.REGISTER
#SBC-AP-PROTOCOL-IES
# N sbc_ap.ies id-Broadcast-Message-Content
Cause N sbc_ap.ies id-Cause
Criticality-Diagnostics N sbc_ap.ies id-Criticality-Diagnostics
Data-Coding-Scheme N sbc_ap.ies id-Data-Coding-Scheme
# N sbc_ap.ies id-Failure-List
Message-Identifier N sbc_ap.ies id-Message-Identifier
# id-Number-of-Broadcasts-Completed-List
Number-of-Broadcasts-Requested N sbc_ap.ies id-Number-of-Broadcasts-Requested
# not used ? N sbc_ap.ies id-Radio-Resource-Loading-List
# not used N sbc_ap.ies id-Recovery-Indication
Repetition-Period N sbc_ap.ies id-Repetition-Period
Serial-Number N sbc_ap.ies id-Serial-Number
# id-Service-Areas-List
# id-TypeOfError
List-of-TAIs N sbc_ap.ies id-List-of-TAIs
Warning-Area-List N sbc_ap.ies id-Warning-Area-List
Warning-Message-Content N sbc_ap.ies id-Warning-Message-Content
Warning-Security-Information N sbc_ap.ies id-Warning-Security-Information
Warning-Type N sbc_ap.ies id-Warning-Type
Omc-Id N sbc_ap.ies id-Omc-Id
Concurrent-Warning-Message-Indicator N sbc_ap.ies id-Concurrent-Warning-Message-Indicator
Extended-Repetition-Period N sbc_ap.ies id-Extended-Repetition-Period
List-of-TAIs N sbc_ap.ies id-Unknown-Tracking-Area-List
Broadcast-Scheduled-Area-List N sbc_ap.ies id-Broadcast-Scheduled-Area-List
Send-Write-Replace-Warning-Indication N sbc_ap.ies id-Send-Write-Replace-Warning-Indication
Broadcast-Cancelled-Area-List N sbc_ap.ies id-Broadcast-Cancelled-Area-List
Send-Stop-Warning-Indication N sbc_ap.ies id-Send-Stop-Warning-Indication
Stop-All-Indicator N sbc_ap.ies id-Stop-All-Indicator
Global-ENB-ID N sbc_ap.ies id-Global-ENB-ID
Broadcast-Empty-Area-List N sbc_ap.ies id-Broadcast-Empty-Area-List
Restarted-Cell-List N sbc_ap.ies id-Restarted-Cell-List
List-of-TAIs-Restart N sbc_ap.ies id-List-of-TAIs-Restart
List-of-EAIs-Restart N sbc_ap.ies id-List-of-EAIs-Restart
Failed-Cell-List N sbc_ap.ies id-Failed-Cell-List
List-of-5GS-TAIs N sbc_ap.extension id-List-of-5GS-TAIs
Warning-Area-List-5GS N sbc_ap.extension id-Warning-Area-List-5GS
Global-RAN-Node-ID N sbc_ap.extension id-Global-RAN-Node-ID
Global-GNB-ID N sbc_ap.extension id-Global-GNB-ID
RAT-Selector-5GS N sbc_ap.extension id-RAT-Selector-5GS
Unknown-5GS-Tracking-Area-List N sbc_ap.extension id-Unknown-5GS-Tracking-Area-List
Broadcast-Scheduled-Area-List-5GS N sbc_ap.extension id-Broadcast-Scheduled-Area-List-5GS
Broadcast-Cancelled-Area-List-5GS N sbc_ap.extension id-Broadcast-Cancelled-Area-List-5GS
Broadcast-Empty-Area-List-5GS N sbc_ap.extension id-Broadcast-Empty-Area-List-5GS
Restarted-Cell-List-NR N sbc_ap.extension id-Restarted-Cell-List-NR
Failed-Cell-List-NR N sbc_ap.extension id-Failed-Cell-List-NR
List-of-5GS-TAI-for-Restart N sbc_ap.extension id-List-of-5GS-TAI-for-Restart
Warning-Area-Coordinates N sbc_ap.ies id-Warning-Area-Coordinates
#SBC-AP-ELEMENTARY-PROCEDURE
Write-Replace-Warning-Request N sbc_ap.proc.imsg id-Write-Replace-Warning
Write-Replace-Warning-Response N sbc_ap.proc.sout id-Write-Replace-Warning
Stop-Warning-Request N sbc_ap.proc.imsg id-Stop-Warning
Stop-Warning-Response N sbc_ap.proc.sout id-Stop-Warning
Error-Indication N sbc_ap.proc.imsg id-Error-Indication
Write-Replace-Warning-Indication N sbc_ap.proc.imsg id-Write-Replace-Warning-Indication
Stop-Warning-Indication N sbc_ap.proc.imsg id-Stop-Warning-Indication
PWS-Restart-Indication N sbc_ap.proc.imsg id-PWS-Restart-Indication
PWS-Failure-Indication N sbc_ap.proc.imsg id-PWS-Failure-Indication
#.END
#.TYPE_ATTR
Message-Identifier TYPE = FT_UINT16 DISPLAY = BASE_DEC|BASE_EXT_STRING STRINGS = <e_rrc_messageIdentifier_vals_ext
#.FN_HDR Write-Replace-Warning-Request
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "Write-Replace-Warning-Request");
#.FN_HDR Write-Replace-Warning-Response
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "Write-Replace-Warning-Response");
#.FN_HDR Stop-Warning-Request
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "Stop-Warning-Request");
#.FN_HDR Stop-Warning-Response
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "Stop-Warning-Response");
#.FN_HDR Error-Indication
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "Error-Indication");
#.FN_HDR Write-Replace-Warning-Indication
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "Write-Replace-Warning-Indication");
#.FN_HDR Stop-Warning-Indication
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "Stop-Warning-Indication");
#.FN_HDR PWS-Restart-Indication
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "PWS-Restart-Indication");
#.FN_HDR PWS-Failure-Indication
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "PWS-Failure-Indication");
#.FN_BODY Message-Identifier VAL_PTR = ¶meter_tvb HF_INDEX = -1
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
}
#.FN_BODY Serial-Number VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb) {
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_sbc_ap_Serial_Number);
proto_tree_add_item(subtree, hf_sbc_ap_Serial_Number_gs, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_sbc_ap_Serial_Number_msg_code, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_sbc_ap_Serial_Number_upd_nb, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
Repetition-Period DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds
#.TYPE_ATTR
Extended-Repetition-Period DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds
#.FN_BODY Warning-Type VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb) {
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_sbc_ap_Warning_Type);
proto_tree_add_item(subtree, hf_sbc_ap_Warning_Type_value, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_sbc_ap_Warning_Type_emergency_user_alert, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_sbc_ap_Warning_Type_popup, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
}
#.FN_BODY Data-Coding-Scheme VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb) {
struct sbc_ap_private_data *sbc_ap_data = sbc_ap_get_private_data(actx->pinfo);
proto_tree *subtree;
subtree = proto_item_add_subtree(actx->created_item, ett_sbc_ap_Data_Coding_Scheme);
sbc_ap_data->data_coding_scheme = dissect_cbs_data_coding_scheme(parameter_tvb, actx->pinfo, subtree, 0);
}
#.FN_BODY Warning-Message-Content VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb) {
struct sbc_ap_private_data *sbc_ap_data = sbc_ap_get_private_data(actx->pinfo);
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_sbc_ap_Warning_Message_Contents);
dissect_s1ap_warningMessageContents(parameter_tvb, subtree, actx->pinfo, sbc_ap_data->data_coding_scheme, hf_sbc_ap_Warning_Message_Contents_nb_pages, hf_sbc_ap_Warning_Message_Contents_decoded_page);
}
#
# Editor modelines - https://www.wireshark.org/tools/modelines.html
#
# Local variables:
# c-basic-offset: 2
# tab-width: 8
# indent-tabs-mode: nil
# End:
#
# vi: set shiftwidth=2 tabstop=8 expandtab:
# :indentSize=2:tabSize=8:noTabs=true:
# |
Text | wireshark/epan/dissectors/asn1/smrse/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME smrse )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
SMRSE.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/smrse/packet-smrse-template.c | /* packet-smrse.c
* Routines for SMRSE Short Message Relay Service packet dissection
* Ronnie Sahlberg 2004
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/asn1.h>
#include "packet-ber.h"
#include "packet-smrse.h"
#define PNAME "Short Message Relaying Service"
#define PSNAME "SMRSE"
#define PFNAME "smrse"
#define TCP_PORT_SMRSE 4321 /* Not IANA registered */
void proto_register_smrse(void);
void proto_reg_handoff_smrse(void);
static dissector_handle_t smrse_handle;
/* Initialize the protocol and registered fields */
static int proto_smrse = -1;
static int hf_smrse_reserved = -1;
static int hf_smrse_tag = -1;
static int hf_smrse_length = -1;
static int hf_smrse_Octet_Format = -1;
#include "packet-smrse-hf.c"
/* Initialize the subtree pointers */
static gint ett_smrse = -1;
#include "packet-smrse-ett.c"
#include "packet-smrse-fn.c"
static const value_string tag_vals[] = {
{ 1, "AliveTest" },
{ 2, "AliveTestRsp" },
{ 3, "Bind" },
{ 4, "BindRsp" },
{ 5, "BindFail" },
{ 6, "Unbind" },
{ 7, "MT" },
{ 8, "MO" },
{ 9, "Ack" },
{ 10, "Error" },
{ 11, "Alert" },
{ 0, NULL }
};
static int
dissect_smrse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *data _U_)
{
proto_item *item = NULL;
proto_tree *tree = NULL;
guint8 reserved, tag;
int offset=0;
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
reserved=tvb_get_guint8(tvb, 0);
tag=tvb_get_guint8(tvb, 3);
if( reserved!= 126 )
return 0;
if( (tag<1)||(tag>11) )
return 0;
if(parent_tree){
item = proto_tree_add_item(parent_tree, proto_smrse, tvb, 0, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_smrse);
}
col_set_str(pinfo->cinfo, COL_PROTOCOL, "SMRSE");
col_add_str(pinfo->cinfo, COL_INFO, val_to_str(tag, tag_vals,"Unknown Tag:0x%02x"));
proto_tree_add_item(tree, hf_smrse_reserved, tvb, 0, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(tree, hf_smrse_length, tvb, 1, 2, ENC_BIG_ENDIAN);
proto_tree_add_item(tree, hf_smrse_tag, tvb, 3, 1, ENC_BIG_ENDIAN);
switch(tag){
case 1:
case 2:
offset=4;
break;
case 3:
offset=dissect_smrse_SMR_Bind(FALSE, tvb, 4, &asn1_ctx, tree, -1);
break;
case 4:
offset=dissect_smrse_SMR_Bind_Confirm(FALSE, tvb, 4, &asn1_ctx, tree, -1);
break;
case 5:
offset=dissect_smrse_SMR_Bind_Failure(FALSE, tvb, 4, &asn1_ctx, tree, -1);
break;
case 6:
offset=dissect_smrse_SMR_Unbind(FALSE, tvb, 4, &asn1_ctx, tree, -1);
break;
case 7:
offset=dissect_smrse_RPDataMT(FALSE, tvb, 4, &asn1_ctx, tree, -1);
break;
case 8:
offset=dissect_smrse_RPDataMO(FALSE, tvb, 4, &asn1_ctx, tree, -1);
break;
case 9:
offset=dissect_smrse_RPAck(FALSE, tvb, 4, &asn1_ctx, tree, -1);
break;
case 10:
offset=dissect_smrse_RPError(FALSE, tvb, 4, &asn1_ctx, tree, -1);
break;
case 11:
offset=dissect_smrse_RPAlertSC(FALSE, tvb, 4, &asn1_ctx, tree, -1);
break;
}
return offset;
}
/*--- proto_register_smrse ----------------------------------------------*/
void proto_register_smrse(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_smrse_reserved, {
"Reserved", "smrse.reserved", FT_UINT8, BASE_DEC,
NULL, 0, "Reserved byte, must be 126", HFILL }},
{ &hf_smrse_tag, {
"Tag", "smrse.tag", FT_UINT8, BASE_DEC,
VALS(tag_vals), 0, NULL, HFILL }},
{ &hf_smrse_length, {
"Length", "smrse.length", FT_UINT16, BASE_DEC,
NULL, 0, "Length of SMRSE PDU", HFILL }},
{ &hf_smrse_Octet_Format,
{ "octet-Format", "smrse.octet_Format",
FT_STRING, BASE_NONE, NULL, 0,
"SMS-Address/address-value/octet-format", HFILL }},
#include "packet-smrse-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_smrse,
#include "packet-smrse-ettarr.c"
};
/* Register protocol */
proto_smrse = proto_register_protocol(PNAME, PSNAME, PFNAME);
/* Register dissector */
smrse_handle = register_dissector(PFNAME, dissect_smrse, proto_smrse);
/* Register fields and subtrees */
proto_register_field_array(proto_smrse, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
}
/*--- proto_reg_handoff_smrse -------------------------------------------*/
void proto_reg_handoff_smrse(void) {
dissector_add_uint_with_preference("tcp.port",TCP_PORT_SMRSE, smrse_handle);
} |
C/C++ | wireshark/epan/dissectors/asn1/smrse/packet-smrse-template.h | /* packet-smrse.h
* Routines for SMRSE Short Message Relay Service packet dissection
* Ronnie Sahlberg 2004
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_SMRSE_H
#define PACKET_SMRSE_H
/*#include "packet-smrse-exp.h"*/
#endif /* PACKET_SMRSE_H */ |
ASN.1 | wireshark/epan/dissectors/asn1/smrse/SMRSE.asn | SMRS DEFINITIONS IMPLICIT TAGS ::=
BEGIN
SMR-Bind ::= SEQUENCE {
sc-address SMS-Address,
password Password,
...
}
ub-password-length INTEGER ::= 20
IMSI-Address ::= OCTET STRING
SMS-Address ::= SEQUENCE {
address-type INTEGER {
unknown-type (0),
internat-number (1),
national-number (2),
net-spec-number (3),
short-number (4)
},
numbering-plan INTEGER {
unknown-numbering (0),
iSDN-numbering (1),
data-network-numbering (3),
telex-numbering (4),
national-numbering (8),
private-numbering (9)
},
address-value CHOICE {
octet-format SemiOctetString
}
}
SemiOctetString ::= OCTET STRING
Password ::= PrintableString
SMR-Bind-Confirm ::= SEQUENCE {
...
}
SMR-Bind-Failure ::= SEQUENCE {
connect-fail-reason Connect-fail,
...
}
Connect-fail ::= INTEGER {
not-entitled (0),
tmp-overload (1),
tmp-failure (2),
id-or-passwd (3),
not-supported (4),
inv-SC-addr (5)
}
SMR-Unbind ::= SEQUENCE {
...
}
RPDataMT ::= SEQUENCE {
mt-priority-request BOOLEAN,
mt-mms BOOLEAN,
mt-message-reference RP-MR,
mt-originating-address SMS-Address,
mt-destination-address SMS-Address,
mt-user-data RP-UD,
mt-origVMSCAddr [1] SMS-Address OPTIONAL,
mt-tariffClass [2] SM-TC OPTIONAL,
...
}
RPDataMO ::= SEQUENCE {
mo-message-reference RP-MR,
mo-originating-address SMS-Address,
mo-user-data RP-UD,
origVMSCAddr [1] SMS-Address OPTIONAL ,
moimsi [2] IMSI-Address OPTIONAL,
...
}
RP-MR ::= INTEGER (0..65535)
RP-UD ::= OCTET STRING (SIZE (1..164))
SM-TC ::= INTEGER (0..65535)
RPAck ::= SEQUENCE {
message-reference RP-MR,
...
}
Error-reason ::= INTEGER {
unknown-subscriber (1),
illegal-subscriber (9),
teleservice-not-provisioned (11),
call-barred (13),
cug-reject (15),
sMS-ll-capabilities-not-prov (19),
error-in-MS (20),
facility-not-supported (21),
memory-capacity-exceeded (22),
absent-subscriber (29),
ms-busy-for-MT-sms (30),
system-failure (36),
illegal-equipment (44),
no-resp-to-paging (60),
gMSC-congestion (61),
dublicate-sm (70),
sC-congestion (101),
mS-not-SC-Subscriber (103),
invalid-sme-address (104)
}
RPError ::= SEQUENCE {
error-reason Error-reason,
msg-waiting-set BOOLEAN,
message-reference RP-MR,
alerting-MS-ISDN [1] SMS-Address OPTIONAL,
sm-diag-info [2] RP-UD OPTIONAL,
...
}
RPAlertSC ::= SEQUENCE {
ms-address SMS-Address,
message-reference RP-MR,
...
}
END |
Configuration | wireshark/epan/dissectors/asn1/smrse/smrse.cnf | # smrse.cnf
# SMRSE conformation file
#.MODULE_IMPORT
#.EXPORTS
#.NO_EMIT
SemiOctetString
#.END
#.PDU
#.TYPE_RENAME
#.FIELD_RENAME
#.FN_BODY SMS-Address/address-value/octet-format
char *strp,tmpstr[21];
guint32 i, start_offset;
gint8 ber_class;
bool pc, ind;
gint32 tag;
guint32 len;
static char n2a[16] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
start_offset=offset;
/* skip the tag and length */
offset=dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &ber_class, &pc, &tag);
offset=dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, &ind);
if(len>10){
len=10;
}
strp=tmpstr;
for(i=0;i<len;i++){
*strp++=n2a[tvb_get_guint8(tvb, offset)&0x0f];
*strp++=n2a[(tvb_get_guint8(tvb, offset)>>4)&0x0f];
offset++;
}
*strp=0;
proto_tree_add_string(tree, hf_smrse_Octet_Format, tvb, start_offset, offset-start_offset, tmpstr);
#.END |
Text | wireshark/epan/dissectors/asn1/snmp/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME snmp )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
${PROTOCOL_NAME}.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/snmp/packet-snmp-template.c | /* packet-snmp.c
* Routines for SNMP (simple network management protocol)
* Copyright (C) 1998 Didier Jorand
*
* See RFC 1157 for SNMPv1.
*
* See RFCs 1901, 1905, and 1906 for SNMPv2c.
*
* See RFCs 1905, 1906, 1909, and 1910 for SNMPv2u [historic].
*
* See RFCs 2570-2576 for SNMPv3
* Updated to use the asn2wrs compiler made by Tomas Kukosa
* Copyright (C) 2005 - 2006 Anders Broman [AT] ericsson.com
*
* See RFC 3414 for User-based Security Model for SNMPv3
* See RFC 3826 for (AES) Cipher Algorithm in the SNMP USM
* See RFC 2578 for Structure of Management Information Version 2 (SMIv2)
* Copyright (C) 2007 Luis E. Garcia Ontanon <[email protected]>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* Some stuff from:
*
* GXSNMP -- An snmp mangament application
* Copyright (C) 1998 Gregory McLean & Jochen Friedrich
* Beholder RMON ethernet network monitor,Copyright (C) 1993 DNPAP group
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#if 0
#include <stdio.h>
#define D(args) do {printf args; fflush(stdout); } while(0)
#endif
#include "config.h"
#include <epan/packet.h>
#include <epan/strutil.h>
#include <epan/conversation.h>
#include <epan/etypes.h>
#include <epan/prefs.h>
#include <epan/addr_resolv.h>
#include <epan/next_tvb.h>
#include <epan/uat.h>
#include <epan/asn1.h>
#include <epan/expert.h>
#include <epan/oids.h>
#include <epan/srt_table.h>
#include <epan/tap.h>
#include "packet-ipx.h"
#include "packet-hpext.h"
#include "packet-ber.h"
#include "packet-snmp.h"
#include <wsutil/wsgcrypt.h>
#define PNAME "Simple Network Management Protocol"
#define PSNAME "SNMP"
#define PFNAME "snmp"
#define UDP_PORT_SNMP 161
#define UDP_PORT_SNMP_TRAP 162
#define TCP_PORT_SNMP 161
#define TCP_PORT_SNMP_TRAP 162
#define TCP_PORT_SMUX 199
#define UDP_PORT_SNMP_PATROL 8161
#define SNMP_NUM_PROCEDURES 8
/* Initialize the protocol and registered fields */
static int snmp_tap = -1;
static int proto_snmp = -1;
static int proto_smux = -1;
static gboolean display_oid = TRUE;
static gboolean snmp_var_in_tree = TRUE;
void proto_register_snmp(void);
void proto_reg_handoff_snmp(void);
void proto_register_smux(void);
void proto_reg_handoff_smux(void);
static void snmp_usm_password_to_key(const snmp_usm_auth_model_t model, const guint8 *password, guint passwordlen,
const guint8 *engineID, guint engineLength, guint8 *key);
static tvbuff_t* snmp_usm_priv_des(snmp_usm_params_t*, tvbuff_t*, packet_info *pinfo, gchar const**);
static tvbuff_t* snmp_usm_priv_aes128(snmp_usm_params_t*, tvbuff_t*, packet_info *pinfo, gchar const**);
static tvbuff_t* snmp_usm_priv_aes192(snmp_usm_params_t*, tvbuff_t*, packet_info *pinfo, gchar const**);
static tvbuff_t* snmp_usm_priv_aes256(snmp_usm_params_t*, tvbuff_t*, packet_info *pinfo, gchar const**);
static bool snmp_usm_auth(const packet_info *pinfo, const snmp_usm_auth_model_t model, snmp_usm_params_t* p, guint8**, guint*, gchar const**);
static const value_string auth_types[] = {
{SNMP_USM_AUTH_MD5,"MD5"},
{SNMP_USM_AUTH_SHA1,"SHA1"},
{SNMP_USM_AUTH_SHA2_224,"SHA2-224"},
{SNMP_USM_AUTH_SHA2_256,"SHA2-256"},
{SNMP_USM_AUTH_SHA2_384,"SHA2-384"},
{SNMP_USM_AUTH_SHA2_512,"SHA2-512"},
{0,NULL}
};
static const guint auth_hash_len[] = {
HASH_MD5_LENGTH,
HASH_SHA1_LENGTH,
HASH_SHA2_224_LENGTH,
HASH_SHA2_256_LENGTH,
HASH_SHA2_384_LENGTH,
HASH_SHA2_512_LENGTH
};
static const guint auth_tag_len[] = {
12,
12,
16,
24,
32,
48
};
static const enum gcry_md_algos auth_hash_algo[] = {
GCRY_MD_MD5,
GCRY_MD_SHA1,
GCRY_MD_SHA224,
GCRY_MD_SHA256,
GCRY_MD_SHA384,
GCRY_MD_SHA512
};
#define PRIV_DES 0
#define PRIV_AES128 1
#define PRIV_AES192 2
#define PRIV_AES256 3
static const value_string priv_types[] = {
{ PRIV_DES, "DES" },
{ PRIV_AES128, "AES" },
{ PRIV_AES192, "AES192" },
{ PRIV_AES256, "AES256" },
{ 0, NULL}
};
static snmp_usm_decoder_t priv_protos[] = {
snmp_usm_priv_des,
snmp_usm_priv_aes128,
snmp_usm_priv_aes192,
snmp_usm_priv_aes256
};
static snmp_ue_assoc_t* ueas = NULL;
static guint num_ueas = 0;
static snmp_ue_assoc_t* localized_ues = NULL;
static snmp_ue_assoc_t* unlocalized_ues = NULL;
/****/
/* Variables used for handling enterprise specific trap types */
typedef struct _snmp_st_assoc_t {
char *enterprise;
guint trap;
char *desc;
} snmp_st_assoc_t;
static guint num_specific_traps = 0;
static snmp_st_assoc_t *specific_traps = NULL;
static const char *enterprise_oid = NULL;
static guint generic_trap = 0;
static guint32 snmp_version = 0;
static guint32 RequestID = -1;
static snmp_usm_params_t usm_p = {FALSE,FALSE,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,FALSE};
#define TH_AUTH 0x01
#define TH_CRYPT 0x02
#define TH_REPORT 0x04
/* desegmentation of SNMP-over-TCP */
static gboolean snmp_desegment = TRUE;
/* Global variables */
guint32 MsgSecurityModel;
tvbuff_t *oid_tvb=NULL;
tvbuff_t *value_tvb=NULL;
static dissector_handle_t snmp_handle;
static dissector_handle_t snmp_tcp_handle;
static dissector_handle_t data_handle;
static dissector_handle_t smux_handle;
static next_tvb_list_t *var_list;
static int hf_snmp_response_in = -1;
static int hf_snmp_response_to = -1;
static int hf_snmp_time = -1;
static int hf_snmp_v3_flags_auth = -1;
static int hf_snmp_v3_flags_crypt = -1;
static int hf_snmp_v3_flags_report = -1;
static int hf_snmp_engineid_conform = -1;
static int hf_snmp_engineid_enterprise = -1;
static int hf_snmp_engineid_format = -1;
static int hf_snmp_engineid_ipv4 = -1;
static int hf_snmp_engineid_ipv6 = -1;
static int hf_snmp_engineid_cisco_type = -1;
static int hf_snmp_engineid_mac = -1;
static int hf_snmp_engineid_text = -1;
static int hf_snmp_engineid_time = -1;
static int hf_snmp_engineid_data = -1;
static int hf_snmp_decryptedPDU = -1;
static int hf_snmp_msgAuthentication = -1;
static int hf_snmp_noSuchObject = -1;
static int hf_snmp_noSuchInstance = -1;
static int hf_snmp_endOfMibView = -1;
static int hf_snmp_unSpecified = -1;
static int hf_snmp_integer32_value = -1;
static int hf_snmp_octetstring_value = -1;
static int hf_snmp_oid_value = -1;
static int hf_snmp_null_value = -1;
static int hf_snmp_ipv4_value = -1;
static int hf_snmp_ipv6_value = -1;
static int hf_snmp_anyaddress_value = -1;
static int hf_snmp_unsigned32_value = -1;
static int hf_snmp_unknown_value = -1;
static int hf_snmp_opaque_value = -1;
static int hf_snmp_nsap_value = -1;
static int hf_snmp_counter_value = -1;
static int hf_snmp_timeticks_value = -1;
static int hf_snmp_big_counter_value = -1;
static int hf_snmp_gauge32_value = -1;
static int hf_snmp_objectname = -1;
static int hf_snmp_scalar_instance_index = -1;
static int hf_snmp_var_bind_str = -1;
static int hf_snmp_agentid_trailer = -1;
#include "packet-snmp-hf.c"
/* Initialize the subtree pointers */
static gint ett_smux = -1;
static gint ett_snmp = -1;
static gint ett_engineid = -1;
static gint ett_msgFlags = -1;
static gint ett_encryptedPDU = -1;
static gint ett_decrypted = -1;
static gint ett_authParameters = -1;
static gint ett_internet = -1;
static gint ett_varbind = -1;
static gint ett_name = -1;
static gint ett_value = -1;
static gint ett_decoding_error = -1;
#include "packet-snmp-ett.c"
static expert_field ei_snmp_failed_decrypted_data_pdu = EI_INIT;
static expert_field ei_snmp_decrypted_data_bad_formatted = EI_INIT;
static expert_field ei_snmp_verify_authentication_error = EI_INIT;
static expert_field ei_snmp_authentication_ok = EI_INIT;
static expert_field ei_snmp_authentication_error = EI_INIT;
static expert_field ei_snmp_varbind_not_uni_class_seq = EI_INIT;
static expert_field ei_snmp_varbind_has_indicator = EI_INIT;
static expert_field ei_snmp_objectname_not_oid = EI_INIT;
static expert_field ei_snmp_objectname_has_indicator = EI_INIT;
static expert_field ei_snmp_value_not_primitive_encoding = EI_INIT;
static expert_field ei_snmp_invalid_oid = EI_INIT;
static expert_field ei_snmp_varbind_wrong_tag = EI_INIT;
static expert_field ei_snmp_varbind_response = EI_INIT;
static expert_field ei_snmp_no_instance_subid = EI_INIT;
static expert_field ei_snmp_wrong_num_of_subids = EI_INIT;
static expert_field ei_snmp_index_suboid_too_short = EI_INIT;
static expert_field ei_snmp_unimplemented_instance_index = EI_INIT;
static expert_field ei_snmp_index_suboid_len0 = EI_INIT;
static expert_field ei_snmp_index_suboid_too_long = EI_INIT;
static expert_field ei_snmp_index_string_too_long = EI_INIT;
static expert_field ei_snmp_column_parent_not_row = EI_INIT;
static expert_field ei_snmp_uint_too_large = EI_INIT;
static expert_field ei_snmp_int_too_large = EI_INIT;
static expert_field ei_snmp_integral_value0 = EI_INIT;
static expert_field ei_snmp_missing_mib = EI_INIT;
static expert_field ei_snmp_varbind_wrong_length_value = EI_INIT;
static expert_field ei_snmp_varbind_wrong_class_tag = EI_INIT;
static expert_field ei_snmp_rfc1910_non_conformant = EI_INIT;
static expert_field ei_snmp_rfc3411_non_conformant = EI_INIT;
static expert_field ei_snmp_version_unknown = EI_INIT;
static expert_field ei_snmp_trap_pdu_obsolete = EI_INIT;
static const true_false_string auth_flags = {
"OK",
"Failed"
};
/* Security Models */
#define SNMP_SEC_ANY 0
#define SNMP_SEC_V1 1
#define SNMP_SEC_V2C 2
#define SNMP_SEC_USM 3
static const value_string sec_models[] = {
{ SNMP_SEC_ANY, "Any" },
{ SNMP_SEC_V1, "V1" },
{ SNMP_SEC_V2C, "V2C" },
{ SNMP_SEC_USM, "USM" },
{ 0, NULL }
};
#if 0
/* SMUX PDU types */
#define SMUX_MSG_OPEN 0
#define SMUX_MSG_CLOSE 1
#define SMUX_MSG_RREQ 2
#define SMUX_MSG_RRSP 3
#define SMUX_MSG_SOUT 4
static const value_string smux_types[] = {
{ SMUX_MSG_OPEN, "Open" },
{ SMUX_MSG_CLOSE, "Close" },
{ SMUX_MSG_RREQ, "Registration Request" },
{ SMUX_MSG_RRSP, "Registration Response" },
{ SMUX_MSG_SOUT, "Commit Or Rollback" },
{ 0, NULL }
};
#endif
/* Procedure names (used in Service Response Time) */
const value_string snmp_procedure_names[] = {
{ 0, "Get" },
{ 1, "GetNext" },
{ 3, "Set" },
{ 4, "Register" },
{ 5, "Bulk" },
{ 6, "Inform" },
{ 0, NULL }
};
#define SNMP_IPA 0 /* IP Address */
#define SNMP_CNT 1 /* Counter (Counter32) */
#define SNMP_GGE 2 /* Gauge (Gauge32) */
#define SNMP_TIT 3 /* TimeTicks */
#define SNMP_OPQ 4 /* Opaque */
#define SNMP_NSP 5 /* NsapAddress */
#define SNMP_C64 6 /* Counter64 */
#define SNMP_U32 7 /* Uinteger32 */
#define SERR_NSO 0
#define SERR_NSI 1
#define SERR_EOM 2
dissector_table_t value_sub_dissectors_table;
/*
* Data structure attached to a conversation, request/response information
*/
typedef struct snmp_conv_info_t {
wmem_map_t *request_response;
} snmp_conv_info_t;
static snmp_conv_info_t*
snmp_find_conversation_and_get_conv_data(packet_info *pinfo);
static snmp_request_response_t *
snmp_get_request_response_pointer(wmem_map_t *map, guint32 requestId)
{
snmp_request_response_t *srrp=(snmp_request_response_t *)wmem_map_lookup(map, &requestId);
if (!srrp) {
srrp=wmem_new0(wmem_file_scope(), snmp_request_response_t);
srrp->requestId=requestId;
wmem_map_insert(map, &(srrp->requestId), (void *)srrp);
}
return srrp;
}
static snmp_request_response_t*
snmp_match_request_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint requestId, guint procedure_id, snmp_conv_info_t *snmp_info)
{
snmp_request_response_t *srrp=NULL;
DISSECTOR_ASSERT_HINT(snmp_info, "No SNMP info from ASN1 context");
/* get or create request/response pointer based on request id */
srrp=(snmp_request_response_t *)snmp_get_request_response_pointer(snmp_info->request_response, requestId);
// if not visited fill the request/response data
if (!PINFO_FD_VISITED(pinfo)) {
switch(procedure_id)
{
case SNMP_REQ_GET:
case SNMP_REQ_GETNEXT:
case SNMP_REQ_SET:
case SNMP_REQ_GETBULK:
case SNMP_REQ_INFORM:
srrp->request_frame_id=pinfo->fd->num;
srrp->response_frame_id=0;
srrp->request_time=pinfo->abs_ts;
srrp->request_procedure_id=procedure_id;
break;
case SNMP_RES_GET:
srrp->response_frame_id=pinfo->fd->num;
break;
default:
return NULL;
}
}
/* if request and response was matched */
if (srrp->request_frame_id!=0 && srrp->response_frame_id!=0)
{
proto_item *it;
// if it is a request
if (srrp->request_frame_id == pinfo->fd->num)
{
it=proto_tree_add_uint(tree, hf_snmp_response_in, tvb, 0, 0, srrp->response_frame_id);
proto_item_set_generated(it);
} else {
nstime_t ns;
it=proto_tree_add_uint(tree, hf_snmp_response_to, tvb, 0, 0, srrp->request_frame_id);
proto_item_set_generated(it);
nstime_delta(&ns, &pinfo->abs_ts, &srrp->request_time);
it=proto_tree_add_time(tree, hf_snmp_time, tvb, 0, 0, &ns);
proto_item_set_generated(it);
return srrp;
}
}
return NULL;
}
static void
snmpstat_init(struct register_srt* srt _U_, GArray* srt_array)
{
srt_stat_table *snmp_srt_table;
guint32 i;
snmp_srt_table = init_srt_table("SNMP Commands", NULL, srt_array, SNMP_NUM_PROCEDURES, NULL, "snmp.data", NULL);
for (i = 0; i < SNMP_NUM_PROCEDURES; i++)
{
init_srt_table_row(snmp_srt_table, i, val_to_str_const(i, snmp_procedure_names, "<unknown>"));
}
}
/* This is called only if request and response was matched -> no need to return anything than TAP_PACKET_REDRAW */
static tap_packet_status
snmpstat_packet(void *psnmp, packet_info *pinfo, epan_dissect_t *edt _U_, const void *psi, tap_flags_t flags _U_)
{
guint i = 0;
srt_stat_table *snmp_srt_table;
const snmp_request_response_t *snmp=(const snmp_request_response_t *)psi;
srt_data_t *data = (srt_data_t *)psnmp;
snmp_srt_table = g_array_index(data->srt_array, srt_stat_table*, i);
add_srt_table_data(snmp_srt_table, snmp->request_procedure_id, &snmp->request_time, pinfo);
return TAP_PACKET_REDRAW;
}
static const gchar *
snmp_lookup_specific_trap (guint specific_trap)
{
guint i;
for (i = 0; i < num_specific_traps; i++) {
snmp_st_assoc_t *u = &(specific_traps[i]);
if ((u->trap == specific_trap) &&
(strcmp (u->enterprise, enterprise_oid) == 0))
{
return u->desc;
}
}
return NULL;
}
static int
dissect_snmp_variable_string(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void *data _U_)
{
proto_tree_add_item(tree, hf_snmp_var_bind_str, tvb, 0, -1, ENC_ASCII);
return tvb_captured_length(tvb);
}
/*
DateAndTime ::= TEXTUAL-CONVENTION
DISPLAY-HINT "2d-1d-1d,1d:1d:1d.1d,1a1d:1d"
STATUS current
DESCRIPTION
"A date-time specification.
field octets contents range
----- ------ -------- -----
1 1-2 year* 0..65536
2 3 month 1..12
3 4 day 1..31
4 5 hour 0..23
5 6 minutes 0..59
6 7 seconds 0..60
(use 60 for leap-second)
7 8 deci-seconds 0..9
8 9 direction from UTC '+' / '-'
9 10 hours from UTC* 0..13
10 11 minutes from UTC 0..59
* Notes:
- the value of year is in network-byte order
- daylight saving time in New Zealand is +13
For example, Tuesday May 26, 1992 at 1:30:15 PM EDT would be
displayed as:
1992-5-26,13:30:15.0,-4:0
Note that if only local time is known, then timezone
information (fields 8-10) is not present."
SYNTAX OCTET STRING (SIZE (8 | 11))
*/
static proto_item *
dissect_snmp_variable_date_and_time(proto_tree *tree, packet_info *pinfo, int hfid, tvbuff_t *tvb, int offset, int length)
{
guint16 year;
guint8 month;
guint8 day;
guint8 hour;
guint8 minutes;
guint8 seconds;
guint8 deci_seconds;
guint8 hour_from_utc;
guint8 min_from_utc;
gchar *str;
year = tvb_get_ntohs(tvb,offset);
month = tvb_get_guint8(tvb,offset+2);
day = tvb_get_guint8(tvb,offset+3);
hour = tvb_get_guint8(tvb,offset+4);
minutes = tvb_get_guint8(tvb,offset+5);
seconds = tvb_get_guint8(tvb,offset+6);
deci_seconds = tvb_get_guint8(tvb,offset+7);
if(length > 8){
hour_from_utc = tvb_get_guint8(tvb,offset+9);
min_from_utc = tvb_get_guint8(tvb,offset+10);
str = wmem_strdup_printf(pinfo->pool,
"%u-%u-%u, %u:%u:%u.%u UTC %s%u:%u",
year,
month,
day,
hour,
minutes,
seconds,
deci_seconds,
tvb_get_string_enc(pinfo->pool,tvb,offset+8,1,ENC_ASCII|ENC_NA),
hour_from_utc,
min_from_utc);
}else{
str = wmem_strdup_printf(pinfo->pool,
"%u-%u-%u, %u:%u:%u.%u",
year,
month,
day,
hour,
minutes,
seconds,
deci_seconds);
}
return proto_tree_add_string(tree, hfid, tvb, offset, length, str);
}
/*
* dissect_snmp_VarBind
* this routine dissects variable bindings, looking for the oid information in our oid reporsitory
* to format and add the value adequatelly.
*
* The choice to handwrite this code instead of using the asn compiler is to avoid having tons
* of uses of global variables distributed in very different parts of the code.
* Other than that there's a cosmetic thing: the tree from ASN generated code would be so
* convoluted due to the nesting of CHOICEs in the definition of VarBind/value.
*
* XXX: the length of this function (~400 lines) is an aberration!
* oid_key_t:key_type could become a series of callbacks instead of an enum
* the (! oid_info_is_ok) switch could be made into an array (would be slower)
*
NetworkAddress ::= CHOICE { internet IpAddress }
IpAddress ::= [APPLICATION 0] IMPLICIT OCTET STRING (SIZE (4))
TimeTicks ::= [APPLICATION 3] IMPLICIT INTEGER (0..4294967295)
Integer32 ::= INTEGER (-2147483648..2147483647)
ObjectName ::= OBJECT IDENTIFIER
Counter32 ::= [APPLICATION 1] IMPLICIT INTEGER (0..4294967295)
Gauge32 ::= [APPLICATION 2] IMPLICIT INTEGER (0..4294967295)
Unsigned32 ::= [APPLICATION 2] IMPLICIT INTEGER (0..4294967295)
Integer-value ::= INTEGER (-2147483648..2147483647)
Integer32 ::= INTEGER (-2147483648..2147483647)
ObjectID-value ::= OBJECT IDENTIFIER
Empty ::= NULL
TimeTicks ::= [APPLICATION 3] IMPLICIT INTEGER (0..4294967295)
Opaque ::= [APPLICATION 4] IMPLICIT OCTET STRING
Counter64 ::= [APPLICATION 6] IMPLICIT INTEGER (0..18446744073709551615)
ObjectSyntax ::= CHOICE {
simple SimpleSyntax,
application-wide ApplicationSyntax
}
SimpleSyntax ::= CHOICE {
integer-value Integer-value,
string-value String-value,
objectID-value ObjectID-value,
empty Empty
}
ApplicationSyntax ::= CHOICE {
ipAddress-value IpAddress,
counter-value Counter32,
timeticks-value TimeTicks,
arbitrary-value Opaque,
big-counter-value Counter64,
unsigned-integer-value Unsigned32
}
ValueType ::= CHOICE {
value ObjectSyntax,
unSpecified NULL,
noSuchObject[0] IMPLICIT NULL,
noSuchInstance[1] IMPLICIT NULL,
endOfMibView[2] IMPLICIT NULL
}
VarBind ::= SEQUENCE {
name ObjectName,
valueType ValueType
}
*/
static int
dissect_snmp_VarBind(bool implicit_tag _U_, tvbuff_t *tvb, int offset,
asn1_ctx_t *actx, proto_tree *tree, int hf_index _U_)
{
int seq_offset, name_offset, value_offset, value_start;
guint32 seq_len, name_len, value_len;
gint8 ber_class;
bool pc;
gint32 tag;
bool ind;
guint32* subids;
guint8* oid_bytes;
oid_info_t* oid_info = NULL;
guint oid_matched, oid_left;
proto_item *pi_name, *pi_varbind, *pi_value = NULL;
proto_tree *pt, *pt_varbind, *pt_name, *pt_value;
char label[ITEM_LABEL_LENGTH];
const char* repr = NULL;
const char* info_oid = NULL;
char* valstr;
int hfid = -1;
int min_len = 0, max_len = 0;
bool oid_info_is_ok;
const char* oid_string = NULL;
enum {BER_NO_ERROR, BER_WRONG_LENGTH, BER_WRONG_TAG} format_error = BER_NO_ERROR;
seq_offset = offset;
/* first have the VarBind's sequence header */
offset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &ber_class, &pc, &tag);
offset = dissect_ber_length(actx->pinfo, tree, tvb, offset, &seq_len, &ind);
if (!pc && ber_class==BER_CLASS_UNI && tag==BER_UNI_TAG_SEQUENCE) {
proto_item* pi;
pt = proto_tree_add_subtree(tree, tvb, seq_offset, seq_len + (offset - seq_offset),
ett_decoding_error, &pi, "VarBind must be an universal class sequence");
expert_add_info(actx->pinfo, pi, &ei_snmp_varbind_not_uni_class_seq);
return dissect_unknown_ber(actx->pinfo, tvb, seq_offset, pt);
}
if (ind) {
proto_item* pi;
pt = proto_tree_add_subtree(tree, tvb, seq_offset, seq_len + (offset - seq_offset),
ett_decoding_error, &pi, "Indicator must be clear in VarBind");
expert_add_info(actx->pinfo, pi, &ei_snmp_varbind_has_indicator);
return dissect_unknown_ber(actx->pinfo, tvb, seq_offset, pt);
}
/* we add the varbind tree root with a dummy label we'll fill later on */
pt_varbind = proto_tree_add_subtree(tree,tvb,offset,seq_len,ett_varbind,&pi_varbind,"VarBind");
*label = '\0';
seq_len += offset - seq_offset;
/* then we have the ObjectName's header */
offset = dissect_ber_identifier(actx->pinfo, pt_varbind, tvb, offset, &ber_class, &pc, &tag);
name_offset = offset = dissect_ber_length(actx->pinfo, pt_varbind, tvb, offset, &name_len, &ind);
if (! ( !pc && ber_class==BER_CLASS_UNI && tag==BER_UNI_TAG_OID) ) {
proto_item* pi;
pt = proto_tree_add_subtree(tree, tvb, seq_offset, seq_len,
ett_decoding_error, &pi, "ObjectName must be an OID in primitive encoding");
expert_add_info(actx->pinfo, pi, &ei_snmp_objectname_not_oid);
return dissect_unknown_ber(actx->pinfo, tvb, seq_offset, pt);
}
if (ind) {
proto_item* pi;
pt = proto_tree_add_subtree(tree, tvb, seq_offset, seq_len,
ett_decoding_error, &pi, "Indicator must be clear in ObjectName");
expert_add_info(actx->pinfo, pi, &ei_snmp_objectname_has_indicator);
return dissect_unknown_ber(actx->pinfo, tvb, seq_offset, pt);
}
pi_name = proto_tree_add_item(pt_varbind,hf_snmp_objectname,tvb,name_offset,name_len,ENC_NA);
pt_name = proto_item_add_subtree(pi_name,ett_name);
offset += name_len;
value_start = offset;
/* then we have the value's header */
offset = dissect_ber_identifier(actx->pinfo, pt_varbind, tvb, offset, &ber_class, &pc, &tag);
value_offset = dissect_ber_length(actx->pinfo, pt_varbind, tvb, offset, &value_len, &ind);
if (! (!pc) ) {
proto_item* pi;
pt = proto_tree_add_subtree(pt_varbind, tvb, value_start, value_len,
ett_decoding_error, &pi, "the value must be in primitive encoding");
expert_add_info(actx->pinfo, pi, &ei_snmp_value_not_primitive_encoding);
return dissect_unknown_ber(actx->pinfo, tvb, value_start, pt);
}
/* Now, we know where everithing is */
/* fetch ObjectName and its relative oid_info */
oid_bytes = (guint8*)tvb_memdup(actx->pinfo->pool, tvb, name_offset, name_len);
oid_info = oid_get_from_encoded(actx->pinfo->pool, oid_bytes, name_len, &subids, &oid_matched, &oid_left);
add_oid_debug_subtree(oid_info,pt_name);
if (!subids) {
proto_item* pi;
repr = oid_encoded2string(actx->pinfo->pool, oid_bytes, name_len);
pt = proto_tree_add_subtree_format(pt_name,tvb, 0, 0, ett_decoding_error, &pi, "invalid oid: %s", repr);
expert_add_info_format(actx->pinfo, pi, &ei_snmp_invalid_oid, "invalid oid: %s", repr);
return dissect_unknown_ber(actx->pinfo, tvb, name_offset, pt);
}
if (oid_matched+oid_left) {
oid_string = oid_subid2string(actx->pinfo->pool, subids,oid_matched+oid_left);
}
if (ber_class == BER_CLASS_CON) {
/* if we have an error value just add it and get out the way ASAP */
proto_item* pi;
const char* note;
if (value_len != 0) {
min_len = max_len = 0;
format_error = BER_WRONG_LENGTH;
}
switch (tag) {
case SERR_NSO:
hfid = hf_snmp_noSuchObject;
note = "noSuchObject";
break;
case SERR_NSI:
hfid = hf_snmp_noSuchInstance;
note = "noSuchInstance";
break;
case SERR_EOM:
hfid = hf_snmp_endOfMibView;
note = "endOfMibView";
break;
default: {
pt = proto_tree_add_subtree_format(pt_varbind,tvb,0,0,ett_decoding_error,&pi,
"Wrong tag for Error Value: expected 0, 1, or 2 but got: %d",tag);
expert_add_info(actx->pinfo, pi, &ei_snmp_varbind_wrong_tag);
return dissect_unknown_ber(actx->pinfo, tvb, value_start, pt);
}
}
pi = proto_tree_add_item(pt_varbind,hfid,tvb,value_offset,value_len,ENC_BIG_ENDIAN);
expert_add_info_format(actx->pinfo, pi, &ei_snmp_varbind_response, "%s",note);
(void) g_strlcpy (label, note, ITEM_LABEL_LENGTH);
goto set_label;
}
/* now we'll try to figure out which are the indexing sub-oids and whether the oid we know about is the one oid we have to use */
switch (oid_info->kind) {
case OID_KIND_SCALAR:
if (oid_left == 1) {
/* OK: we got the instance sub-id */
proto_tree_add_uint64(pt_name,hf_snmp_scalar_instance_index,tvb,name_offset,name_len,subids[oid_matched]);
oid_info_is_ok = TRUE;
goto indexing_done;
} else if (oid_left == 0) {
if (ber_class == BER_CLASS_UNI && tag == BER_UNI_TAG_NULL) {
/* unSpecified does not require an instance sub-id add the new value and get off the way! */
pi_value = proto_tree_add_item(pt_varbind,hf_snmp_unSpecified,tvb,value_offset,value_len,ENC_NA);
goto set_label;
} else {
proto_tree_add_expert(pt_name,actx->pinfo,&ei_snmp_no_instance_subid,tvb,0,0);
oid_info_is_ok = FALSE;
goto indexing_done;
}
} else {
proto_tree_add_expert_format(pt_name,actx->pinfo,&ei_snmp_wrong_num_of_subids,tvb,0,0,"A scalar should have only one instance sub-id this has: %d",oid_left);
oid_info_is_ok = FALSE;
goto indexing_done;
}
break;
case OID_KIND_COLUMN:
if ( oid_info->parent->kind == OID_KIND_ROW) {
oid_key_t* k = oid_info->parent->key;
guint key_start = oid_matched;
guint key_len = oid_left;
oid_info_is_ok = TRUE;
if ( key_len == 0 && ber_class == BER_CLASS_UNI && tag == BER_UNI_TAG_NULL) {
/* unSpecified does not require an instance sub-id add the new value and get off the way! */
pi_value = proto_tree_add_item(pt_varbind,hf_snmp_unSpecified,tvb,value_offset,value_len,ENC_NA);
goto set_label;
}
if (k) {
for (;k;k = k->next) {
guint suboid_len;
if (key_start >= oid_matched+oid_left) {
proto_tree_add_expert(pt_name,actx->pinfo,&ei_snmp_index_suboid_too_short,tvb,0,0);
oid_info_is_ok = FALSE;
goto indexing_done;
}
switch(k->key_type) {
case OID_KEY_TYPE_WRONG: {
proto_tree_add_expert(pt_name,actx->pinfo,&ei_snmp_unimplemented_instance_index,tvb,0,0);
oid_info_is_ok = FALSE;
goto indexing_done;
}
case OID_KEY_TYPE_INTEGER: {
if (FT_IS_INT(k->ft_type)) {
proto_tree_add_int(pt_name,k->hfid,tvb,name_offset,name_len,(guint)subids[key_start]);
} else { /* if it's not an unsigned int let proto_tree_add_uint throw a warning */
proto_tree_add_uint64(pt_name,k->hfid,tvb,name_offset,name_len,(guint)subids[key_start]);
}
key_start++;
key_len--;
continue; /* k->next */
}
case OID_KEY_TYPE_IMPLIED_OID:
suboid_len = key_len;
goto show_oid_index;
case OID_KEY_TYPE_OID: {
guint8* suboid_buf;
guint suboid_buf_len;
guint32* suboid;
suboid_len = subids[key_start++];
key_len--;
show_oid_index:
suboid = &(subids[key_start]);
if( suboid_len == 0 ) {
proto_tree_add_expert(pt_name,actx->pinfo,&ei_snmp_index_suboid_len0,tvb,0,0);
oid_info_is_ok = FALSE;
goto indexing_done;
}
if( key_len < suboid_len ) {
proto_tree_add_expert(pt_name,actx->pinfo,&ei_snmp_index_suboid_too_long,tvb,0,0);
oid_info_is_ok = FALSE;
goto indexing_done;
}
suboid_buf_len = oid_subid2encoded(actx->pinfo->pool, suboid_len, suboid, &suboid_buf);
DISSECTOR_ASSERT(suboid_buf_len);
proto_tree_add_oid(pt_name,k->hfid,tvb,name_offset, suboid_buf_len, suboid_buf);
key_start += suboid_len;
key_len -= suboid_len + 1;
continue; /* k->next */
}
default: {
guint8* buf;
guint buf_len;
guint32* suboid;
guint i;
switch (k->key_type) {
case OID_KEY_TYPE_IPADDR:
suboid = &(subids[key_start]);
buf_len = 4;
break;
case OID_KEY_TYPE_IMPLIED_STRING:
case OID_KEY_TYPE_IMPLIED_BYTES:
case OID_KEY_TYPE_ETHER:
suboid = &(subids[key_start]);
buf_len = key_len;
break;
default:
buf_len = k->num_subids;
suboid = &(subids[key_start]);
if(!buf_len) {
buf_len = *suboid++;
key_len--;
key_start++;
}
break;
}
if( key_len < buf_len ) {
proto_tree_add_expert(pt_name,actx->pinfo,&ei_snmp_index_string_too_long,tvb,0,0);
oid_info_is_ok = FALSE;
goto indexing_done;
}
buf = (guint8*)wmem_alloc(actx->pinfo->pool, buf_len+1);
for (i = 0; i < buf_len; i++)
buf[i] = (guint8)suboid[i];
buf[i] = '\0';
switch(k->key_type) {
case OID_KEY_TYPE_STRING:
case OID_KEY_TYPE_IMPLIED_STRING:
proto_tree_add_string(pt_name,k->hfid,tvb,name_offset,buf_len, buf);
break;
case OID_KEY_TYPE_BYTES:
case OID_KEY_TYPE_NSAP:
case OID_KEY_TYPE_IMPLIED_BYTES:
proto_tree_add_bytes(pt_name,k->hfid,tvb,name_offset,buf_len, buf);
break;
case OID_KEY_TYPE_ETHER:
proto_tree_add_ether(pt_name,k->hfid,tvb,name_offset,buf_len, buf);
break;
case OID_KEY_TYPE_IPADDR: {
guint32* ipv4_p = (guint32*)buf;
proto_tree_add_ipv4(pt_name,k->hfid,tvb,name_offset,buf_len, *ipv4_p);
}
break;
default:
DISSECTOR_ASSERT_NOT_REACHED();
break;
}
key_start += buf_len;
key_len -= buf_len;
continue; /* k->next*/
}
}
}
goto indexing_done;
} else {
proto_tree_add_expert(pt_name,actx->pinfo,&ei_snmp_unimplemented_instance_index,tvb,0,0);
oid_info_is_ok = FALSE;
goto indexing_done;
}
} else {
proto_tree_add_expert(pt_name,actx->pinfo,&ei_snmp_column_parent_not_row,tvb,0,0);
oid_info_is_ok = FALSE;
goto indexing_done;
}
default: {
/* proto_tree_add_expert (pt_name,actx->pinfo,PI_MALFORMED, PI_WARN,tvb,0,0,"This kind OID should have no value"); */
oid_info_is_ok = FALSE;
goto indexing_done;
}
}
indexing_done:
if (oid_info_is_ok && oid_info->value_type) {
if (ber_class == BER_CLASS_UNI && tag == BER_UNI_TAG_NULL) {
pi_value = proto_tree_add_item(pt_varbind,hf_snmp_unSpecified,tvb,value_offset,value_len,ENC_NA);
} else {
/* Provide a tree_item to attach errors to, if needed. */
pi_value = pi_name;
if ((oid_info->value_type->ber_class != BER_CLASS_ANY) &&
(ber_class != oid_info->value_type->ber_class))
format_error = BER_WRONG_TAG;
else if ((oid_info->value_type->ber_tag != BER_TAG_ANY) &&
(tag != oid_info->value_type->ber_tag))
format_error = BER_WRONG_TAG;
else {
max_len = oid_info->value_type->max_len == -1 ? 0xffffff : oid_info->value_type->max_len;
min_len = oid_info->value_type->min_len;
if ((int)value_len < min_len || (int)value_len > max_len)
format_error = BER_WRONG_LENGTH;
}
if (format_error == BER_NO_ERROR)
pi_value = proto_tree_add_item(pt_varbind,oid_info->value_hfid,tvb,value_offset,value_len,ENC_BIG_ENDIAN);
}
} else {
switch(ber_class|(tag<<4)) {
case BER_CLASS_UNI|(BER_UNI_TAG_INTEGER<<4):
{
gint64 val=0;
unsigned int int_val_offset = value_offset;
unsigned int i;
max_len = 4; min_len = 1;
if (value_len > (guint)max_len || value_len < (guint)min_len) {
hfid = hf_snmp_integer32_value;
format_error = BER_WRONG_LENGTH;
break;
}
if(value_len > 0) {
/* extend sign bit */
if(tvb_get_guint8(tvb, int_val_offset)&0x80) {
val=-1;
}
for(i=0;i<value_len;i++) {
val=(val<<8)|tvb_get_guint8(tvb, int_val_offset);
int_val_offset++;
}
}
pi_value = proto_tree_add_int64(pt_varbind, hf_snmp_integer32_value, tvb,value_offset,value_len, val);
goto already_added;
}
case BER_CLASS_UNI|(BER_UNI_TAG_OCTETSTRING<<4):
if(oid_info->value_hfid> -1){
hfid = oid_info->value_hfid;
}else{
hfid = hf_snmp_octetstring_value;
}
break;
case BER_CLASS_UNI|(BER_UNI_TAG_OID<<4):
max_len = -1; min_len = 1;
if (value_len < (guint)min_len) format_error = BER_WRONG_LENGTH;
hfid = hf_snmp_oid_value;
break;
case BER_CLASS_UNI|(BER_UNI_TAG_NULL<<4):
max_len = 0; min_len = 0;
if (value_len != 0) format_error = BER_WRONG_LENGTH;
hfid = hf_snmp_null_value;
break;
case BER_CLASS_APP: /* | (SNMP_IPA<<4)*/
switch(value_len) {
case 4: hfid = hf_snmp_ipv4_value; break;
case 16: hfid = hf_snmp_ipv6_value; break;
default: hfid = hf_snmp_anyaddress_value; break;
}
break;
case BER_CLASS_APP|(SNMP_U32<<4):
hfid = hf_snmp_unsigned32_value;
break;
case BER_CLASS_APP|(SNMP_GGE<<4):
hfid = hf_snmp_gauge32_value;
break;
case BER_CLASS_APP|(SNMP_CNT<<4):
hfid = hf_snmp_counter_value;
break;
case BER_CLASS_APP|(SNMP_TIT<<4):
hfid = hf_snmp_timeticks_value;
break;
case BER_CLASS_APP|(SNMP_OPQ<<4):
hfid = hf_snmp_opaque_value;
break;
case BER_CLASS_APP|(SNMP_NSP<<4):
hfid = hf_snmp_nsap_value;
break;
case BER_CLASS_APP|(SNMP_C64<<4):
hfid = hf_snmp_big_counter_value;
break;
default:
hfid = hf_snmp_unknown_value;
break;
}
if (value_len > 8) {
/*
* Too long for an FT_UINT64 or an FT_INT64.
*/
header_field_info *hfinfo = proto_registrar_get_nth(hfid);
if (hfinfo->type == FT_UINT64) {
/*
* Check if this is an unsigned int64 with
* a big value.
*/
if (value_len > 9 || tvb_get_guint8(tvb, value_offset) != 0) {
/* It is. Fail. */
proto_tree_add_expert_format(pt_varbind,actx->pinfo,&ei_snmp_uint_too_large,tvb,value_offset,value_len,"Integral value too large");
goto already_added;
}
/* Cheat and skip the leading 0 byte */
value_len--;
value_offset++;
} else if (hfinfo->type == FT_INT64) {
/*
* For now, just reject these.
*/
proto_tree_add_expert_format(pt_varbind,actx->pinfo,&ei_snmp_int_too_large,tvb,value_offset,value_len,"Integral value too large or too small");
goto already_added;
}
} else if (value_len == 0) {
/*
* X.690 section 8.3.1 "Encoding of an integer value":
* "The encoding of an integer value shall be
* primitive. The contents octets shall consist of
* one or more octets."
*
* Zero is not "one or more".
*/
header_field_info *hfinfo = proto_registrar_get_nth(hfid);
if (hfinfo->type == FT_UINT64 || hfinfo->type == FT_INT64) {
proto_tree_add_expert_format(pt_varbind,actx->pinfo,&ei_snmp_integral_value0,tvb,value_offset,value_len,"Integral value is zero-length");
goto already_added;
}
}
/* Special case DATE AND TIME */
if((oid_info->value_type)&&(oid_info->value_type->keytype == OID_KEY_TYPE_DATE_AND_TIME)&&(value_len > 7)){
pi_value = dissect_snmp_variable_date_and_time(pt_varbind, actx->pinfo, hfid, tvb, value_offset, value_len);
}else{
pi_value = proto_tree_add_item(pt_varbind,hfid,tvb,value_offset,value_len,ENC_BIG_ENDIAN);
}
if (format_error != BER_NO_ERROR) {
expert_add_info(actx->pinfo, pi_value, &ei_snmp_missing_mib);
}
}
already_added:
pt_value = proto_item_add_subtree(pi_value,ett_value);
if (value_len > 0 && oid_string) {
tvbuff_t* sub_tvb = tvb_new_subset_length(tvb, value_offset, value_len);
next_tvb_add_string(var_list, sub_tvb, (snmp_var_in_tree) ? pt_value : NULL, value_sub_dissectors_table, oid_string);
}
set_label:
if (pi_value) proto_item_fill_label(PITEM_FINFO(pi_value), label);
if (oid_info && oid_info->name) {
if (oid_left >= 1) {
repr = wmem_strdup_printf(actx->pinfo->pool, "%s.%s (%s)", oid_info->name,
oid_subid2string(actx->pinfo->pool, &(subids[oid_matched]),oid_left),
oid_subid2string(actx->pinfo->pool, subids,oid_matched+oid_left));
info_oid = wmem_strdup_printf(actx->pinfo->pool, "%s.%s", oid_info->name,
oid_subid2string(actx->pinfo->pool, &(subids[oid_matched]),oid_left));
} else {
repr = wmem_strdup_printf(actx->pinfo->pool, "%s (%s)", oid_info->name,
oid_subid2string(actx->pinfo->pool, subids,oid_matched));
info_oid = oid_info->name;
}
} else if (oid_string) {
repr = wmem_strdup(actx->pinfo->pool, oid_string);
info_oid = oid_string;
} else {
repr = wmem_strdup(actx->pinfo->pool, "[Bad OID]");
}
valstr = strstr(label,": ");
valstr = valstr ? valstr+2 : label;
proto_item_set_text(pi_varbind,"%s: %s",repr,valstr);
if (display_oid && info_oid) {
col_append_fstr (actx->pinfo->cinfo, COL_INFO, " %s", info_oid);
}
switch (format_error) {
case BER_WRONG_LENGTH: {
proto_item* pi;
proto_tree* p_tree = proto_item_add_subtree(pi_value,ett_decoding_error);
pt = proto_tree_add_subtree_format(p_tree,tvb,0,0,ett_decoding_error,&pi,
"Wrong value length: %u expecting: %u <= len <= %u",
value_len, min_len, max_len == -1 ? 0xFFFFFF : max_len);
expert_add_info(actx->pinfo, pi, &ei_snmp_varbind_wrong_length_value);
return dissect_unknown_ber(actx->pinfo, tvb, value_start, pt);
}
case BER_WRONG_TAG: {
proto_item* pi;
proto_tree* p_tree = proto_item_add_subtree(pi_value,ett_decoding_error);
pt = proto_tree_add_subtree_format(p_tree,tvb,0,0,ett_decoding_error,&pi,
"Wrong class/tag for Value expected: %d,%d got: %d,%d",
oid_info->value_type->ber_class, oid_info->value_type->ber_tag,
ber_class, tag);
expert_add_info(actx->pinfo, pi, &ei_snmp_varbind_wrong_class_tag);
return dissect_unknown_ber(actx->pinfo, tvb, value_start, pt);
}
default:
break;
}
return seq_offset + seq_len;
}
#define F_SNMP_ENGINEID_CONFORM 0x80
#define SNMP_ENGINEID_RFC1910 0x00
#define SNMP_ENGINEID_RFC3411 0x01
static const true_false_string tfs_snmp_engineid_conform = {
"RFC3411 (SNMPv3)",
"RFC1910 (Non-SNMPv3)"
};
#define SNMP_ENGINEID_FORMAT_IPV4 0x01
#define SNMP_ENGINEID_FORMAT_IPV6 0x02
#define SNMP_ENGINEID_FORMAT_MACADDRESS 0x03
#define SNMP_ENGINEID_FORMAT_TEXT 0x04
#define SNMP_ENGINEID_FORMAT_OCTETS 0x05
static const value_string snmp_engineid_format_vals[] = {
{ SNMP_ENGINEID_FORMAT_IPV4, "IPv4 address" },
{ SNMP_ENGINEID_FORMAT_IPV6, "IPv6 address" },
{ SNMP_ENGINEID_FORMAT_MACADDRESS, "MAC address" },
{ SNMP_ENGINEID_FORMAT_TEXT, "Text, administratively assigned" },
{ SNMP_ENGINEID_FORMAT_OCTETS, "Octets, administratively assigned" },
{ 0, NULL }
};
#define SNMP_ENGINEID_CISCO_AGENT 0x00
#define SNMP_ENGINEID_CISCO_MANAGER 0x01
static const value_string snmp_engineid_cisco_type_vals[] = {
{ SNMP_ENGINEID_CISCO_AGENT, "Agent" },
{ SNMP_ENGINEID_CISCO_MANAGER, "Manager" },
{ 0, NULL }
};
/*
* SNMP Engine ID dissection according to RFC 3411 (SnmpEngineID TC)
* or historic RFC 1910 (AgentID)
*/
int
dissect_snmp_engineid(proto_tree *tree, packet_info *pinfo, tvbuff_t *tvb, int offset, int len)
{
proto_item *item = NULL;
guint8 conformance, format;
guint32 enterpriseid;
time_t seconds;
nstime_t ts;
int len_remain = len;
/* first bit: engine id conformance */
if (len_remain<1) return offset;
conformance = ((tvb_get_guint8(tvb, offset)>>7) & 0x01);
proto_tree_add_item(tree, hf_snmp_engineid_conform, tvb, offset, 1, ENC_BIG_ENDIAN);
/* 4-byte enterprise number/name */
if (len_remain<4) return offset;
enterpriseid = tvb_get_ntohl(tvb, offset);
if (conformance)
enterpriseid -= 0x80000000; /* ignore first bit */
proto_tree_add_uint(tree, hf_snmp_engineid_enterprise, tvb, offset, 4, enterpriseid);
offset+=4;
len_remain-=4;
switch(conformance) {
case SNMP_ENGINEID_RFC1910:
/* 12-byte AgentID w/ 8-byte trailer */
if (len_remain==8) {
proto_tree_add_item(tree, hf_snmp_agentid_trailer, tvb, offset, 8, ENC_NA);
offset+=8;
len_remain-=8;
} else {
proto_tree_add_expert(tree, pinfo, &ei_snmp_rfc1910_non_conformant, tvb, offset, len_remain);
return offset;
}
break;
case SNMP_ENGINEID_RFC3411: /* variable length: 5..32 */
/* 1-byte format specifier */
if (len_remain<1) return offset;
format = tvb_get_guint8(tvb, offset);
item = proto_tree_add_uint_format(tree, hf_snmp_engineid_format, tvb, offset, 1, format, "Engine ID Format: %s (%d)",
val_to_str_const(format, snmp_engineid_format_vals, "Reserved/Enterprise-specific"),
format);
offset+=1;
len_remain-=1;
switch(format) {
case SNMP_ENGINEID_FORMAT_IPV4:
/* 4-byte IPv4 address */
if (len_remain==4) {
proto_tree_add_item(tree, hf_snmp_engineid_ipv4, tvb, offset, 4, ENC_BIG_ENDIAN);
offset+=4;
len_remain=0;
}
break;
case SNMP_ENGINEID_FORMAT_IPV6:
/* 16-byte IPv6 address */
if (len_remain==16) {
proto_tree_add_item(tree, hf_snmp_engineid_ipv6, tvb, offset, 16, ENC_NA);
offset+=16;
len_remain=0;
}
break;
case SNMP_ENGINEID_FORMAT_MACADDRESS:
/* See: https://supportforums.cisco.com/message/3010617#3010617 for details. */
if ((enterpriseid==9)&&(len_remain==7)) {
proto_tree_add_item(tree, hf_snmp_engineid_cisco_type, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
len_remain--;
}
/* 6-byte MAC address */
if (len_remain==6) {
proto_tree_add_item(tree, hf_snmp_engineid_mac, tvb, offset, 6, ENC_NA);
offset+=6;
len_remain=0;
}
break;
case SNMP_ENGINEID_FORMAT_TEXT:
/* max. 27-byte string, administratively assigned */
if (len_remain<=27) {
proto_tree_add_item(tree, hf_snmp_engineid_text, tvb, offset, len_remain, ENC_ASCII);
offset+=len_remain;
len_remain=0;
}
break;
case 128:
/* most common enterprise-specific format: (ucd|net)-snmp random */
if ((enterpriseid==2021)||(enterpriseid==8072)) {
proto_item_append_text(item, (enterpriseid==2021) ? ": UCD-SNMP Random" : ": Net-SNMP Random");
/* demystify: 4B random, 4B/8B epoch seconds */
if ((len_remain==8) || (len_remain==12)) {
proto_tree_add_item(tree, hf_snmp_engineid_data, tvb, offset, 4, ENC_NA);
if (len_remain==8) {
seconds = (time_t)tvb_get_letohl(tvb, offset + 4);
} else {
seconds = (time_t)tvb_get_letohi64(tvb, offset + 4);
}
ts.secs = seconds;
ts.nsecs = 0;
proto_tree_add_time_format_value(tree, hf_snmp_engineid_time, tvb, offset + 4, len_remain - 4,
&ts, "%s",
abs_time_secs_to_str(pinfo->pool, seconds, ABSOLUTE_TIME_LOCAL, TRUE));
offset+=len_remain;
len_remain=0;
}
break;
}
/* fall through */
case SNMP_ENGINEID_FORMAT_OCTETS:
default:
/* max. 27 bytes, administratively assigned or unknown format */
if (len_remain<=27) {
proto_tree_add_item(tree, hf_snmp_engineid_data, tvb, offset, len_remain, ENC_NA);
offset+=len_remain;
len_remain=0;
}
break;
}
}
if (len_remain>0) {
proto_tree_add_expert(tree, pinfo, &ei_snmp_rfc3411_non_conformant, tvb, offset, len_remain);
offset+=len_remain;
}
return offset;
}
static void set_ue_keys(snmp_ue_assoc_t* n ) {
guint key_size = auth_hash_len[n->user.authModel];
n->user.authKey.data = (guint8 *)g_malloc(key_size);
n->user.authKey.len = key_size;
snmp_usm_password_to_key(n->user.authModel,
n->user.authPassword.data,
n->user.authPassword.len,
n->engine.data,
n->engine.len,
n->user.authKey.data);
if (n->priv_proto == PRIV_AES128 || n->priv_proto == PRIV_AES192 || n->priv_proto == PRIV_AES256) {
guint need_key_len =
(n->priv_proto == PRIV_AES128) ? 16 :
(n->priv_proto == PRIV_AES192) ? 24 :
(n->priv_proto == PRIV_AES256) ? 32 :
0;
guint key_len = key_size;
while (key_len < need_key_len)
key_len += key_size;
n->user.privKey.data = (guint8 *)g_malloc(key_len);
n->user.privKey.len = need_key_len;
snmp_usm_password_to_key(n->user.authModel,
n->user.privPassword.data,
n->user.privPassword.len,
n->engine.data,
n->engine.len,
n->user.privKey.data);
key_len = key_size;
/* extend key if needed */
while (key_len < need_key_len) {
snmp_usm_password_to_key(n->user.authModel,
n->user.privKey.data,
key_len,
n->engine.data,
n->engine.len,
n->user.privKey.data + key_len);
key_len += key_size;
}
} else {
n->user.privKey.data = (guint8 *)g_malloc(key_size);
n->user.privKey.len = key_size;
snmp_usm_password_to_key(n->user.authModel,
n->user.privPassword.data,
n->user.privPassword.len,
n->engine.data,
n->engine.len,
n->user.privKey.data);
}
}
static snmp_ue_assoc_t*
ue_dup(snmp_ue_assoc_t* o)
{
snmp_ue_assoc_t* d = (snmp_ue_assoc_t*)g_memdup2(o,sizeof(snmp_ue_assoc_t));
d->user.authModel = o->user.authModel;
d->user.privProtocol = o->user.privProtocol;
d->user.userName.data = (guint8 *)g_memdup2(o->user.userName.data,o->user.userName.len);
d->user.userName.len = o->user.userName.len;
d->user.authPassword.data = o->user.authPassword.data ? (guint8 *)g_memdup2(o->user.authPassword.data,o->user.authPassword.len) : NULL;
d->user.authPassword.len = o->user.authPassword.len;
d->user.privPassword.data = o->user.privPassword.data ? (guint8 *)g_memdup2(o->user.privPassword.data,o->user.privPassword.len) : NULL;
d->user.privPassword.len = o->user.privPassword.len;
d->engine.len = o->engine.len;
if (d->engine.len) {
d->engine.data = (guint8 *)g_memdup2(o->engine.data,o->engine.len);
set_ue_keys(d);
}
return d;
}
static void*
snmp_users_copy_cb(void* dest, const void* orig, size_t len _U_)
{
const snmp_ue_assoc_t* o = (const snmp_ue_assoc_t*)orig;
snmp_ue_assoc_t* d = (snmp_ue_assoc_t*)dest;
d->auth_model = o->auth_model;
d->user.authModel = (snmp_usm_auth_model_t) o->auth_model;
d->priv_proto = o->priv_proto;
d->user.privProtocol = priv_protos[o->priv_proto];
d->user.userName.data = (guint8*)g_memdup2(o->user.userName.data,o->user.userName.len);
d->user.userName.len = o->user.userName.len;
d->user.authPassword.data = o->user.authPassword.data ? (guint8*)g_memdup2(o->user.authPassword.data,o->user.authPassword.len) : NULL;
d->user.authPassword.len = o->user.authPassword.len;
d->user.privPassword.data = o->user.privPassword.data ? (guint8*)g_memdup2(o->user.privPassword.data,o->user.privPassword.len) : NULL;
d->user.privPassword.len = o->user.privPassword.len;
d->engine.len = o->engine.len;
if (o->engine.data) {
d->engine.data = (guint8*)g_memdup2(o->engine.data,o->engine.len);
}
d->user.authKey.data = o->user.authKey.data ? (guint8*)g_memdup2(o->user.authKey.data,o->user.authKey.len) : NULL;
d->user.authKey.len = o->user.authKey.len;
d->user.privKey.data = o->user.privKey.data ? (guint8*)g_memdup2(o->user.privKey.data,o->user.privKey.len) : NULL;
d->user.privKey.len = o->user.privKey.len;
return d;
}
static void
snmp_users_free_cb(void* p)
{
snmp_ue_assoc_t* ue = (snmp_ue_assoc_t*)p;
g_free(ue->user.userName.data);
g_free(ue->user.authPassword.data);
g_free(ue->user.privPassword.data);
g_free(ue->user.authKey.data);
g_free(ue->user.privKey.data);
g_free(ue->engine.data);
}
static gboolean
snmp_users_update_cb(void* p _U_, char** err)
{
snmp_ue_assoc_t* ue = (snmp_ue_assoc_t*)p;
GString* es = g_string_new("");
unsigned int i;
*err = NULL;
if (! ue->user.userName.len) {
g_string_append_printf(es,"no userName\n");
} else if ((ue->engine.len > 0) && (ue->engine.len < 5 || ue->engine.len > 32)) {
/* RFC 3411 section 5 */
g_string_append_printf(es, "Invalid engineId length (%u). Must be between 5 and 32 (10 and 64 hex digits)\n", ue->engine.len);
} else if (num_ueas) {
for (i=0; i<num_ueas-1; i++) {
snmp_ue_assoc_t* u = &(ueas[i]);
if ( u->user.userName.len == ue->user.userName.len
&& u->engine.len == ue->engine.len && (u != ue)) {
if (u->engine.len > 0 && memcmp( u->engine.data, ue->engine.data, u->engine.len ) == 0) {
if ( memcmp( u->user.userName.data, ue->user.userName.data, ue->user.userName.len ) == 0 ) {
/* XXX: make a string for the engineId */
g_string_append_printf(es,"Duplicate key (userName='%s')\n",ue->user.userName.data);
break;
}
}
if (u->engine.len == 0) {
if ( memcmp( u->user.userName.data, ue->user.userName.data, ue->user.userName.len ) == 0 ) {
g_string_append_printf(es,"Duplicate key (userName='%s' engineId=NONE)\n",ue->user.userName.data);
break;
}
}
}
}
}
if (es->len) {
es = g_string_truncate(es,es->len-1);
*err = g_string_free(es, FALSE);
return FALSE;
}
return TRUE;
}
static void
free_ue_cache(snmp_ue_assoc_t **cache)
{
static snmp_ue_assoc_t *a, *nxt;
for (a = *cache; a; a = nxt) {
nxt = a->next;
snmp_users_free_cb(a);
g_free(a);
}
*cache = NULL;
}
#define CACHE_INSERT(c,a) if (c) { snmp_ue_assoc_t* t = c; c = a; c->next = t; } else { c = a; a->next = NULL; }
static void
init_ue_cache(void)
{
guint i;
for (i = 0; i < num_ueas; i++) {
snmp_ue_assoc_t* a = ue_dup(&(ueas[i]));
if (a->engine.len) {
CACHE_INSERT(localized_ues,a);
} else {
CACHE_INSERT(unlocalized_ues,a);
}
}
}
static void
cleanup_ue_cache(void)
{
free_ue_cache(&localized_ues);
free_ue_cache(&unlocalized_ues);
}
/* Called when the user applies changes to UAT preferences. */
static void
renew_ue_cache(void)
{
cleanup_ue_cache();
init_ue_cache();
}
static snmp_ue_assoc_t*
localize_ue( snmp_ue_assoc_t* o, const guint8* engine, guint engine_len )
{
snmp_ue_assoc_t* n = (snmp_ue_assoc_t*)g_memdup2(o,sizeof(snmp_ue_assoc_t));
n->user.userName.data = (guint8*)g_memdup2(o->user.userName.data,o->user.userName.len);
n->user.authModel = o->user.authModel;
n->user.authPassword.data = (guint8*)g_memdup2(o->user.authPassword.data,o->user.authPassword.len);
n->user.authPassword.len = o->user.authPassword.len;
n->user.privPassword.data = (guint8*)g_memdup2(o->user.privPassword.data,o->user.privPassword.len);
n->user.privPassword.len = o->user.privPassword.len;
n->user.authKey.data = (guint8*)g_memdup2(o->user.authKey.data,o->user.authKey.len);
n->user.privKey.data = (guint8*)g_memdup2(o->user.privKey.data,o->user.privKey.len);
n->engine.data = (guint8*)g_memdup2(engine,engine_len);
n->engine.len = engine_len;
n->priv_proto = o->priv_proto;
set_ue_keys(n);
return n;
}
#define localized_match(a,u,ul,e,el) \
( a->user.userName.len == ul \
&& a->engine.len == el \
&& memcmp( a->user.userName.data, u, ul ) == 0 \
&& memcmp( a->engine.data, e, el ) == 0 )
#define unlocalized_match(a,u,l) \
( a->user.userName.len == l && memcmp( a->user.userName.data, u, l) == 0 )
static snmp_ue_assoc_t*
get_user_assoc(tvbuff_t* engine_tvb, tvbuff_t* user_tvb, packet_info *pinfo)
{
static snmp_ue_assoc_t* a;
guint given_username_len;
guint8* given_username;
guint given_engine_len = 0;
guint8* given_engine = NULL;
if ( ! (localized_ues || unlocalized_ues ) ) return NULL;
if (! ( user_tvb && engine_tvb ) ) return NULL;
given_username_len = tvb_captured_length(user_tvb);
given_engine_len = tvb_captured_length(engine_tvb);
if (! ( given_engine_len && given_username_len ) ) return NULL;
given_username = (guint8*)tvb_memdup(pinfo->pool,user_tvb,0,-1);
given_engine = (guint8*)tvb_memdup(pinfo->pool,engine_tvb,0,-1);
for (a = localized_ues; a; a = a->next) {
if ( localized_match(a, given_username, given_username_len, given_engine, given_engine_len) ) {
return a;
}
}
for (a = unlocalized_ues; a; a = a->next) {
if ( unlocalized_match(a, given_username, given_username_len) ) {
snmp_ue_assoc_t* n = localize_ue( a, given_engine, given_engine_len );
CACHE_INSERT(localized_ues,n);
return n;
}
}
return NULL;
}
static bool
snmp_usm_auth(const packet_info *pinfo, const snmp_usm_auth_model_t model, snmp_usm_params_t* p, guint8** calc_auth_p,
guint* calc_auth_len_p, gchar const** error)
{
gint msg_len;
guint8* msg;
guint auth_len;
guint8* auth;
guint8* key;
guint key_len;
guint8 *calc_auth;
guint start;
guint end;
guint i;
if (!p->auth_tvb) {
*error = "No Authenticator";
return FALSE;
}
key = p->user_assoc->user.authKey.data;
key_len = p->user_assoc->user.authKey.len;
if (! key ) {
*error = "User has no authKey";
return FALSE;
}
auth_len = tvb_captured_length(p->auth_tvb);
if (auth_len != auth_tag_len[model]) {
*error = "Authenticator length wrong";
return FALSE;
}
msg_len = tvb_captured_length(p->msg_tvb);
if (msg_len <= 0) {
*error = "Not enough data remaining";
return FALSE;
}
msg = (guint8*)tvb_memdup(pinfo->pool,p->msg_tvb,0,msg_len);
auth = (guint8*)tvb_memdup(pinfo->pool,p->auth_tvb,0,auth_len);
start = p->auth_offset - p->start_offset;
end = start + auth_len;
/* fill the authenticator with zeros */
for ( i = start ; i < end ; i++ ) {
msg[i] = '\0';
}
calc_auth = (guint8*)wmem_alloc(pinfo->pool, auth_hash_len[model]);
if (ws_hmac_buffer(auth_hash_algo[model], calc_auth, msg, msg_len, key, key_len)) {
return FALSE;
}
if (calc_auth_p) *calc_auth_p = calc_auth;
if (calc_auth_len_p) *calc_auth_len_p = auth_len;
return ( memcmp(auth,calc_auth,auth_len) != 0 ) ? FALSE : TRUE;
}
static tvbuff_t*
snmp_usm_priv_des(snmp_usm_params_t* p, tvbuff_t* encryptedData, packet_info *pinfo, gchar const** error)
{
gcry_error_t err;
gcry_cipher_hd_t hd = NULL;
guint8* cleartext;
guint8* des_key = p->user_assoc->user.privKey.data; /* first 8 bytes */
guint8* pre_iv = &(p->user_assoc->user.privKey.data[8]); /* last 8 bytes */
guint8* salt;
gint salt_len;
gint cryptgrm_len;
guint8* cryptgrm;
tvbuff_t* clear_tvb;
guint8 iv[8];
guint i;
salt_len = tvb_captured_length(p->priv_tvb);
if (salt_len != 8) {
*error = "decryptionError: msgPrivacyParameters length != 8";
return NULL;
}
salt = (guint8*)tvb_memdup(pinfo->pool,p->priv_tvb,0,salt_len);
/*
The resulting "salt" is XOR-ed with the pre-IV to obtain the IV.
*/
for (i=0; i<8; i++) {
iv[i] = pre_iv[i] ^ salt[i];
}
cryptgrm_len = tvb_captured_length(encryptedData);
if ((cryptgrm_len <= 0) || (cryptgrm_len % 8)) {
*error = "decryptionError: the length of the encrypted data is not a multiple of 8 octets";
return NULL;
}
cryptgrm = (guint8*)tvb_memdup(pinfo->pool,encryptedData,0,-1);
cleartext = (guint8*)wmem_alloc(pinfo->pool, cryptgrm_len);
err = gcry_cipher_open(&hd, GCRY_CIPHER_DES, GCRY_CIPHER_MODE_CBC, 0);
if (err != GPG_ERR_NO_ERROR) goto on_gcry_error;
err = gcry_cipher_setiv(hd, iv, 8);
if (err != GPG_ERR_NO_ERROR) goto on_gcry_error;
err = gcry_cipher_setkey(hd,des_key,8);
if (err != GPG_ERR_NO_ERROR) goto on_gcry_error;
err = gcry_cipher_decrypt(hd, cleartext, cryptgrm_len, cryptgrm, cryptgrm_len);
if (err != GPG_ERR_NO_ERROR) goto on_gcry_error;
gcry_cipher_close(hd);
clear_tvb = tvb_new_child_real_data(encryptedData, cleartext, cryptgrm_len, cryptgrm_len);
return clear_tvb;
on_gcry_error:
*error = (const gchar *)gcry_strerror(err);
if (hd) gcry_cipher_close(hd);
return NULL;
}
static tvbuff_t*
snmp_usm_priv_aes_common(snmp_usm_params_t* p, tvbuff_t* encryptedData, packet_info *pinfo, gchar const** error, int algo)
{
gcry_error_t err;
gcry_cipher_hd_t hd = NULL;
guint8* cleartext;
guint8* aes_key = p->user_assoc->user.privKey.data;
int aes_key_len = p->user_assoc->user.privKey.len;
guint8 iv[16];
gint priv_len;
gint cryptgrm_len;
guint8* cryptgrm;
tvbuff_t* clear_tvb;
priv_len = tvb_captured_length(p->priv_tvb);
if (priv_len != 8) {
*error = "decryptionError: msgPrivacyParameters length != 8";
return NULL;
}
iv[0] = (p->boots & 0xff000000) >> 24;
iv[1] = (p->boots & 0x00ff0000) >> 16;
iv[2] = (p->boots & 0x0000ff00) >> 8;
iv[3] = (p->boots & 0x000000ff);
iv[4] = (p->snmp_time & 0xff000000) >> 24;
iv[5] = (p->snmp_time & 0x00ff0000) >> 16;
iv[6] = (p->snmp_time & 0x0000ff00) >> 8;
iv[7] = (p->snmp_time & 0x000000ff);
tvb_memcpy(p->priv_tvb,&(iv[8]),0,8);
cryptgrm_len = tvb_captured_length(encryptedData);
if (cryptgrm_len <= 0) {
*error = "Not enough data remaining";
return NULL;
}
cryptgrm = (guint8*)tvb_memdup(pinfo->pool,encryptedData,0,-1);
cleartext = (guint8*)wmem_alloc(pinfo->pool, cryptgrm_len);
err = gcry_cipher_open(&hd, algo, GCRY_CIPHER_MODE_CFB, 0);
if (err != GPG_ERR_NO_ERROR) goto on_gcry_error;
err = gcry_cipher_setiv(hd, iv, 16);
if (err != GPG_ERR_NO_ERROR) goto on_gcry_error;
err = gcry_cipher_setkey(hd,aes_key,aes_key_len);
if (err != GPG_ERR_NO_ERROR) goto on_gcry_error;
err = gcry_cipher_decrypt(hd, cleartext, cryptgrm_len, cryptgrm, cryptgrm_len);
if (err != GPG_ERR_NO_ERROR) goto on_gcry_error;
gcry_cipher_close(hd);
clear_tvb = tvb_new_child_real_data(encryptedData, cleartext, cryptgrm_len, cryptgrm_len);
return clear_tvb;
on_gcry_error:
*error = (const gchar *)gcry_strerror(err);
if (hd) gcry_cipher_close(hd);
return NULL;
}
static tvbuff_t*
snmp_usm_priv_aes128(snmp_usm_params_t* p, tvbuff_t* encryptedData, packet_info *pinfo, gchar const** error)
{
return snmp_usm_priv_aes_common(p, encryptedData, pinfo, error, GCRY_CIPHER_AES);
}
static tvbuff_t*
snmp_usm_priv_aes192(snmp_usm_params_t* p, tvbuff_t* encryptedData, packet_info *pinfo, gchar const** error)
{
return snmp_usm_priv_aes_common(p, encryptedData, pinfo, error, GCRY_CIPHER_AES192);
}
static tvbuff_t*
snmp_usm_priv_aes256(snmp_usm_params_t* p, tvbuff_t* encryptedData, packet_info *pinfo, gchar const** error)
{
return snmp_usm_priv_aes_common(p, encryptedData, pinfo, error, GCRY_CIPHER_AES256);
}
static gboolean
check_ScopedPdu(tvbuff_t* tvb)
{
int offset;
gint8 ber_class;
bool pc;
gint32 tag;
int hoffset, eoffset;
guint32 len;
offset = get_ber_identifier(tvb, 0, &ber_class, &pc, &tag);
offset = get_ber_length(tvb, offset, NULL, NULL);
if ( ! (((ber_class!=BER_CLASS_APP) && (ber_class!=BER_CLASS_PRI) )
&& ( (!pc) || (ber_class!=BER_CLASS_UNI) || (tag!=BER_UNI_TAG_ENUMERATED) )
)) return FALSE;
if((tvb_get_guint8(tvb, offset)==0)&&(tvb_get_guint8(tvb, offset+1)==0))
return TRUE;
hoffset = offset;
offset = get_ber_identifier(tvb, offset, &ber_class, &pc, &tag);
offset = get_ber_length(tvb, offset, &len, NULL);
eoffset = offset + len;
if (eoffset <= hoffset) return FALSE;
if ((ber_class!=BER_CLASS_APP)&&(ber_class!=BER_CLASS_PRI))
if( (ber_class!=BER_CLASS_UNI)
||((tag<BER_UNI_TAG_NumericString)&&(tag!=BER_UNI_TAG_OCTETSTRING)&&(tag!=BER_UNI_TAG_UTF8String)) )
return FALSE;
return TRUE;
}
#include "packet-snmp-fn.c"
static snmp_conv_info_t*
snmp_find_conversation_and_get_conv_data(packet_info *pinfo) {
conversation_t *conversation = NULL;
snmp_conv_info_t *snmp_info = NULL;
/* Get the conversation with the wildcarded port, if it exists
* and is associated with SNMP, so that requests and responses
* can be matched even if the response comes from a different,
* ephemeral, source port, as originally done in OS/400.
* On UDP, we do not automatically call conversation_set_port2()
* and we do not want to do so. Possibly this should eventually
* use find_conversation_full and separate the "SNMP conversation"
* from "the transport layer conversation that carries SNMP."
*/
if (pinfo->destport == UDP_PORT_SNMP) {
conversation = find_conversation(pinfo->fd->num, &pinfo->src, &pinfo->dst, conversation_pt_to_conversation_type(pinfo->ptype),
pinfo->srcport, 0, NO_PORT_B);
} else if (pinfo->srcport == UDP_PORT_SNMP) {
conversation = find_conversation(pinfo->fd->num, &pinfo->dst, &pinfo->src, conversation_pt_to_conversation_type(pinfo->ptype),
pinfo->destport, 0, NO_PORT_B);
}
if ((conversation == NULL) || (conversation_get_dissector(conversation, pinfo->num) != snmp_handle)) {
conversation = find_or_create_conversation(pinfo);
}
snmp_info = (snmp_conv_info_t *)conversation_get_proto_data(conversation, proto_snmp);
if (snmp_info == NULL) {
snmp_info = wmem_new0(wmem_file_scope(), snmp_conv_info_t);
snmp_info->request_response=wmem_map_new(wmem_file_scope(), g_int_hash, g_int_equal);
conversation_add_proto_data(conversation, proto_snmp, snmp_info);
}
return snmp_info;
}
guint
dissect_snmp_pdu(tvbuff_t *tvb, int offset, packet_info *pinfo,
proto_tree *tree, int proto, gint ett, gboolean is_tcp)
{
guint length_remaining;
gint8 ber_class;
bool pc, ind = 0;
gint32 tag;
guint32 len;
guint message_length;
int start_offset = offset;
guint32 version = 0;
tvbuff_t *next_tvb;
proto_tree *snmp_tree = NULL;
proto_item *item = NULL;
snmp_conv_info_t *snmp_info = snmp_find_conversation_and_get_conv_data(pinfo);
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
asn1_ctx.private_data = snmp_info;
usm_p.msg_tvb = tvb;
usm_p.start_offset = tvb_offset_from_real_beginning(tvb);
usm_p.engine_tvb = NULL;
usm_p.user_tvb = NULL;
usm_p.auth_item = NULL;
usm_p.auth_tvb = NULL;
usm_p.auth_offset = 0;
usm_p.priv_tvb = NULL;
usm_p.user_assoc = NULL;
usm_p.authenticated = FALSE;
usm_p.encrypted = FALSE;
usm_p.boots = 0;
usm_p.snmp_time = 0;
usm_p.authOK = FALSE;
/*
* This will throw an exception if we don't have any data left.
* That's what we want. (See "tcp_dissect_pdus()", which is
* similar, but doesn't have to deal with ASN.1.
* XXX - can we make "tcp_dissect_pdus()" provide enough
* information to the "get_pdu_len" routine so that we could
* have that routine deal with ASN.1, and just use
* "tcp_dissect_pdus()"?)
*/
length_remaining = tvb_ensure_captured_length_remaining(tvb, offset);
/* NOTE: we have to parse the message piece by piece, since the
* capture length may be less than the message length: a 'global'
* parsing is likely to fail.
*/
/*
* If this is SNMP-over-TCP, we might have to do reassembly
* in order to read the "Sequence Of" header.
*/
if (is_tcp && snmp_desegment && pinfo->can_desegment) {
/*
* This is TCP, and we should, and can, do reassembly.
*
* Is the "Sequence Of" header split across segment
* boundaries? We require at least 6 bytes for the
* header, which allows for a 4-byte length (ASN.1
* BER).
*/
if (length_remaining < 6) {
/*
* Yes. Tell the TCP dissector where the data
* for this message starts in the data it handed
* us and that we need "some more data." Don't tell
* it exactly how many bytes we need because if/when
* we ask for even more (after the header) that will
* break reassembly.
*/
pinfo->desegment_offset = offset;
pinfo->desegment_len = DESEGMENT_ONE_MORE_SEGMENT;
return 0;
}
}
/*
* OK, try to read the "Sequence Of" header; this gets the total
* length of the SNMP message.
*/
offset = get_ber_identifier(tvb, offset, &ber_class, &pc, &tag);
/*Get the total octet length of the SNMP data*/
offset = get_ber_length(tvb, offset, &len, &ind);
message_length = len + offset;
/*Get the SNMP version data*/
/*offset =*/ dissect_ber_integer(FALSE, &asn1_ctx, 0, tvb, offset, -1, &version);
/*
* If this is SNMP-over-TCP, we might have to do reassembly
* to get all of this message.
*/
if (is_tcp && snmp_desegment && pinfo->can_desegment) {
/*
* Yes - is the message split across segment boundaries?
*/
if (length_remaining < message_length) {
/*
* Yes. Tell the TCP dissector where the data
* for this message starts in the data it handed
* us, and how many more bytes we need, and
* return.
*/
pinfo->desegment_offset = start_offset;
pinfo->desegment_len =
message_length - length_remaining;
/*
* Return 0, which means "I didn't dissect anything
* because I don't have enough data - we need
* to desegment".
*/
return 0;
}
}
var_list = next_tvb_list_new(pinfo->pool);
col_set_str(pinfo->cinfo, COL_PROTOCOL, proto_get_protocol_short_name(find_protocol_by_id(proto)));
item = proto_tree_add_item(tree, proto, tvb, start_offset, message_length, ENC_BIG_ENDIAN);
snmp_tree = proto_item_add_subtree(item, ett);
switch (version) {
case 0: /* v1 */
case 1: /* v2c */
offset = dissect_snmp_Message(FALSE , tvb, start_offset, &asn1_ctx, snmp_tree, -1);
break;
case 2: /* v2u */
offset = dissect_snmp_Messagev2u(FALSE , tvb, start_offset, &asn1_ctx, snmp_tree, -1);
break;
/* v3 */
case 3:
offset = dissect_snmp_SNMPv3Message(FALSE , tvb, start_offset, &asn1_ctx, snmp_tree, -1);
break;
default:
/*
* Return the length remaining in the tvbuff, so
* if this is SNMP-over-TCP, our caller thinks there's
* nothing left to dissect.
*/
expert_add_info(pinfo, item, &ei_snmp_version_unknown);
return length_remaining;
break;
}
/* There may be appended data after the SNMP data, so treat as raw
* data which needs to be dissected in case of UDP as UDP is PDU oriented.
*/
if((!is_tcp) && (length_remaining > (guint)offset)) {
next_tvb = tvb_new_subset_remaining(tvb, offset);
call_dissector(data_handle, next_tvb, pinfo, tree);
} else {
next_tvb_call(var_list, pinfo, tree, NULL, data_handle);
}
return offset;
}
static gint
dissect_snmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
int offset;
gint8 tmp_class;
bool tmp_pc;
gint32 tmp_tag;
guint32 tmp_length;
bool tmp_ind;
/*
* See if this looks like SNMP or not. if not, return 0 so
* wireshark can try some other dissector instead.
*/
/* All SNMP packets are BER encoded and consist of a SEQUENCE
* that spans the entire PDU. The first item is an INTEGER that
* has the values 0-2 (version 1-3).
* if not it is not snmp.
*/
/* SNMP starts with a SEQUENCE */
offset = get_ber_identifier(tvb, 0, &tmp_class, &tmp_pc, &tmp_tag);
if((tmp_class!=BER_CLASS_UNI)||(tmp_tag!=BER_UNI_TAG_SEQUENCE)) {
return 0;
}
/* then comes a length which spans the rest of the tvb */
offset = get_ber_length(tvb, offset, &tmp_length, &tmp_ind);
/* Loosen the heuristic a bit to handle the case where data has intentionally
* been added after the snmp PDU ( UDP case) (#3684)
* If this is fragmented or carried in ICMP, we don't expect the tvb to
* have the full legnth, so don't check.
*/
if (!pinfo->fragmented && !pinfo->flags.in_error_pkt) {
if ( pinfo->ptype == PT_UDP ) {
if(tmp_length>(guint32)tvb_reported_length_remaining(tvb, offset)) {
return 0;
}
}else{
if(tmp_length!=(guint32)tvb_reported_length_remaining(tvb, offset)) {
return 0;
}
}
}
/* then comes an INTEGER (version)*/
get_ber_identifier(tvb, offset, &tmp_class, &tmp_pc, &tmp_tag);
if((tmp_class!=BER_CLASS_UNI)||(tmp_tag!=BER_UNI_TAG_INTEGER)) {
return 0;
}
/* do we need to test that version is 0 - 2 (version1-3) ? */
/*
* The IBM i (OS/400) SNMP agent, at least originally, would
* send responses back from some *other* UDP port, an ephemeral
* port above 5000, going back to the same IP address and port
* from which the request came, similar to TFTP. This only happens
* with the agent port, 161, not with the trap port, etc. As of
* 2015 with the latest fixes applied, it no longer does this:
* https://www.ibm.com/support/pages/ptf/SI55487
* https://www.ibm.com/support/pages/ptf/SI55537
*
* The SNMP RFCs are silent on this (cf. L2TP RFC 2661, which
* supports using either the well-known port or an ephemeral
* port as the source port for responses, while noting that
* the latter can cause issues with firewalls and NATs.) so
* possibly some other implementations could do this.
*
* If this packet went to the SNMP port, we check to see if
* there's already a conversation with one address/port pair
* matching the source IP address and port of this packet,
* the other address matching the destination IP address of this
* packet, and any destination port.
*
* If not, we create one, with its address 1/port 1 pair being
* the source address/port of this packet, its address 2 being
* the destination address of this packet, and its port 2 being
* wildcarded, and give it the SNMP dissector as a dissector.
*/
if (pinfo->destport == UDP_PORT_SNMP) {
conversation_t *conversation = find_conversation(pinfo->fd->num, &pinfo->src, &pinfo->dst, conversation_pt_to_conversation_type(pinfo->ptype),
pinfo->srcport, 0, NO_PORT_B);
if( (conversation == NULL) || (conversation_get_dissector(conversation, pinfo->num)!=snmp_handle) ) {
conversation = conversation_new(pinfo->num, &pinfo->src, &pinfo->dst, conversation_pt_to_conversation_type(pinfo->ptype),
pinfo->srcport, 0, NO_PORT2);
conversation_set_dissector(conversation, snmp_handle);
}
}
return dissect_snmp_pdu(tvb, 0, pinfo, tree, proto_snmp, ett_snmp, FALSE);
}
static int
dissect_snmp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
{
int offset = 0;
guint message_len;
while (tvb_reported_length_remaining(tvb, offset) > 0) {
message_len = dissect_snmp_pdu(tvb, offset, pinfo, tree, proto_snmp, ett_snmp, TRUE);
if (message_len == 0) {
/*
* We don't have all the data for that message,
* so we need to do desegmentation;
* "dissect_snmp_pdu()" has set that up.
*/
break;
}
offset += message_len;
}
return tvb_captured_length(tvb);
}
static int
dissect_smux(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
{
proto_tree *smux_tree = NULL;
proto_item *item = NULL;
var_list = next_tvb_list_new(pinfo->pool);
col_set_str(pinfo->cinfo, COL_PROTOCOL, "SMUX");
item = proto_tree_add_item(tree, proto_smux, tvb, 0, -1, ENC_NA);
smux_tree = proto_item_add_subtree(item, ett_smux);
return dissect_SMUX_PDUs_PDU(tvb, pinfo, smux_tree, data);
}
/*
MD5 Password to Key Algorithm from RFC 3414 A.2.1
SHA1 Password to Key Algorithm from RFC 3414 A.2.2
SHA2 Password to Key Algorithm from RFC 7860 9.3
*/
static void
snmp_usm_password_to_key(const snmp_usm_auth_model_t model, const guint8 *password,
guint passwordlen, const guint8 *engineID, guint engineLength, guint8 *key)
{
gcry_md_hd_t hash_handle;
guint8 *cp, password_buf[64];
guint32 password_index = 0;
guint32 count = 0, i;
guint hash_len;
if (gcry_md_open(&hash_handle, auth_hash_algo[model], 0)) {
return;
}
hash_len = auth_hash_len[model];
/**********************************************/
/* Use while loop until we've done 1 Megabyte */
/**********************************************/
while (count < 1048576) {
cp = password_buf;
if (passwordlen != 0) {
for (i = 0; i < 64; i++) {
/*************************************************/
/* Take the next octet of the password, wrapping */
/* to the beginning of the password as necessary.*/
/*************************************************/
*cp++ = password[password_index++ % passwordlen];
}
} else {
*cp = 0;
}
gcry_md_write(hash_handle, password_buf, 64);
count += 64;
}
memcpy(key, gcry_md_read(hash_handle, 0), hash_len);
gcry_md_close(hash_handle);
/*****************************************************/
/* Now localise the key with the engineID and pass */
/* through hash function to produce final key */
/* We ignore invalid engineLengths here. More strict */
/* checking is done in snmp_users_update_cb. */
/*****************************************************/
if (gcry_md_open(&hash_handle, auth_hash_algo[model], 0)) {
return;
}
gcry_md_write(hash_handle, key, hash_len);
gcry_md_write(hash_handle, engineID, engineLength);
gcry_md_write(hash_handle, key, hash_len);
memcpy(key, gcry_md_read(hash_handle, 0), hash_len);
gcry_md_close(hash_handle);
return;
}
static void
process_prefs(void)
{
}
UAT_LSTRING_CB_DEF(snmp_users,userName,snmp_ue_assoc_t,user.userName.data,user.userName.len)
UAT_LSTRING_CB_DEF(snmp_users,authPassword,snmp_ue_assoc_t,user.authPassword.data,user.authPassword.len)
UAT_LSTRING_CB_DEF(snmp_users,privPassword,snmp_ue_assoc_t,user.privPassword.data,user.privPassword.len)
UAT_BUFFER_CB_DEF(snmp_users,engine_id,snmp_ue_assoc_t,engine.data,engine.len)
UAT_VS_DEF(snmp_users,auth_model,snmp_ue_assoc_t,guint,0,"MD5")
UAT_VS_DEF(snmp_users,priv_proto,snmp_ue_assoc_t,guint,0,"DES")
static void *
snmp_specific_trap_copy_cb(void *dest, const void *orig, size_t len _U_)
{
snmp_st_assoc_t *u = (snmp_st_assoc_t *)dest;
const snmp_st_assoc_t *o = (const snmp_st_assoc_t *)orig;
u->enterprise = g_strdup(o->enterprise);
u->trap = o->trap;
u->desc = g_strdup(o->desc);
return dest;
}
static void
snmp_specific_trap_free_cb(void *r)
{
snmp_st_assoc_t *u = (snmp_st_assoc_t *)r;
g_free(u->enterprise);
g_free(u->desc);
}
UAT_CSTRING_CB_DEF(specific_traps, enterprise, snmp_st_assoc_t)
UAT_DEC_CB_DEF(specific_traps, trap, snmp_st_assoc_t)
UAT_CSTRING_CB_DEF(specific_traps, desc, snmp_st_assoc_t)
/*--- proto_register_snmp -------------------------------------------*/
void proto_register_snmp(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_snmp_response_in,
{ "Response In", "snmp.response_in", FT_FRAMENUM, BASE_NONE, NULL, 0x0,
"The response to this SNMP request is in this frame", HFILL }},
{ &hf_snmp_response_to,
{ "Response To", "snmp.response_to", FT_FRAMENUM, BASE_NONE, NULL, 0x0,
"This is a response to the SNMP request in this frame", HFILL }},
{ &hf_snmp_time,
{ "Time", "snmp.time", FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
"The time between the Request and the Response", HFILL }},
{ &hf_snmp_v3_flags_auth,
{ "Authenticated", "snmp.v3.flags.auth", FT_BOOLEAN, 8,
TFS(&tfs_set_notset), TH_AUTH, NULL, HFILL }},
{ &hf_snmp_v3_flags_crypt,
{ "Encrypted", "snmp.v3.flags.crypt", FT_BOOLEAN, 8,
TFS(&tfs_set_notset), TH_CRYPT, NULL, HFILL }},
{ &hf_snmp_v3_flags_report,
{ "Reportable", "snmp.v3.flags.report", FT_BOOLEAN, 8,
TFS(&tfs_set_notset), TH_REPORT, NULL, HFILL }},
{ &hf_snmp_engineid_conform, {
"Engine ID Conformance", "snmp.engineid.conform", FT_BOOLEAN, 8,
TFS(&tfs_snmp_engineid_conform), F_SNMP_ENGINEID_CONFORM, "Engine ID RFC3411 Conformance", HFILL }},
{ &hf_snmp_engineid_enterprise, {
"Engine Enterprise ID", "snmp.engineid.enterprise", FT_UINT32, BASE_ENTERPRISES,
STRINGS_ENTERPRISES, 0, NULL, HFILL }},
{ &hf_snmp_engineid_format, {
"Engine ID Format", "snmp.engineid.format", FT_UINT8, BASE_DEC,
VALS(snmp_engineid_format_vals), 0, NULL, HFILL }},
{ &hf_snmp_engineid_ipv4, {
"Engine ID Data: IPv4 address", "snmp.engineid.ipv4", FT_IPv4, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_engineid_ipv6, {
"Engine ID Data: IPv6 address", "snmp.engineid.ipv6", FT_IPv6, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_engineid_cisco_type, {
"Engine ID Data: Cisco type", "snmp.engineid.cisco.type", FT_UINT8, BASE_HEX,
VALS(snmp_engineid_cisco_type_vals), 0, NULL, HFILL }},
{ &hf_snmp_engineid_mac, {
"Engine ID Data: MAC address", "snmp.engineid.mac", FT_ETHER, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_engineid_text, {
"Engine ID Data: Text", "snmp.engineid.text", FT_STRING, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_engineid_time, {
"Engine ID Data: Creation Time", "snmp.engineid.time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_engineid_data, {
"Engine ID Data", "snmp.engineid.data", FT_BYTES, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_msgAuthentication, {
"Authentication", "snmp.v3.auth", FT_BOOLEAN, BASE_NONE,
TFS(&auth_flags), 0, NULL, HFILL }},
{ &hf_snmp_decryptedPDU, {
"Decrypted ScopedPDU", "snmp.decrypted_pdu", FT_BYTES, BASE_NONE,
NULL, 0, "Decrypted PDU", HFILL }},
{ &hf_snmp_noSuchObject, {
"noSuchObject", "snmp.noSuchObject", FT_NONE, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_noSuchInstance, {
"noSuchInstance", "snmp.noSuchInstance", FT_NONE, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_endOfMibView, {
"endOfMibView", "snmp.endOfMibView", FT_NONE, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_unSpecified, {
"unSpecified", "snmp.unSpecified", FT_NONE, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_integer32_value, {
"Value (Integer32)", "snmp.value.int", FT_INT64, BASE_DEC,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_octetstring_value, {
"Value (OctetString)", "snmp.value.octets", FT_BYTES, BASE_SHOW_ASCII_PRINTABLE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_oid_value, {
"Value (OID)", "snmp.value.oid", FT_OID, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_null_value, {
"Value (Null)", "snmp.value.null", FT_NONE, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_ipv4_value, {
"Value (IpAddress)", "snmp.value.ipv4", FT_IPv4, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_ipv6_value, {
"Value (IpAddress)", "snmp.value.ipv6", FT_IPv6, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_anyaddress_value, {
"Value (IpAddress)", "snmp.value.addr", FT_BYTES, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_unsigned32_value, {
"Value (Unsigned32)", "snmp.value.u32", FT_INT64, BASE_DEC,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_gauge32_value, {
"Value (Gauge32)", "snmp.value.g32", FT_INT64, BASE_DEC,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_unknown_value, {
"Value (Unknown)", "snmp.value.unk", FT_BYTES, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_counter_value, {
"Value (Counter32)", "snmp.value.counter", FT_UINT64, BASE_DEC,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_big_counter_value, {
"Value (Counter64)", "snmp.value.counter", FT_UINT64, BASE_DEC,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_nsap_value, {
"Value (NSAP)", "snmp.value.nsap", FT_UINT64, BASE_DEC,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_timeticks_value, {
"Value (Timeticks)", "snmp.value.timeticks", FT_UINT64, BASE_DEC,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_opaque_value, {
"Value (Opaque)", "snmp.value.opaque", FT_BYTES, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_objectname, {
"Object Name", "snmp.name", FT_OID, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_scalar_instance_index, {
"Scalar Instance Index", "snmp.name.index", FT_UINT64, BASE_DEC,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_var_bind_str, {
"Variable-binding-string", "snmp.var-bind_str", FT_STRING, BASE_NONE,
NULL, 0, NULL, HFILL }},
{ &hf_snmp_agentid_trailer, {
"AgentID Trailer", "snmp.agentid_trailer", FT_BYTES, BASE_NONE,
NULL, 0, NULL, HFILL }},
#include "packet-snmp-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_snmp,
&ett_engineid,
&ett_msgFlags,
&ett_encryptedPDU,
&ett_decrypted,
&ett_authParameters,
&ett_internet,
&ett_varbind,
&ett_name,
&ett_value,
&ett_decoding_error,
#include "packet-snmp-ettarr.c"
};
static ei_register_info ei[] = {
{ &ei_snmp_failed_decrypted_data_pdu, { "snmp.failed_decrypted_data_pdu", PI_MALFORMED, PI_WARN, "Failed to decrypt encryptedPDU", EXPFILL }},
{ &ei_snmp_decrypted_data_bad_formatted, { "snmp.decrypted_data_bad_formatted", PI_MALFORMED, PI_WARN, "Decrypted data not formatted as expected, wrong key?", EXPFILL }},
{ &ei_snmp_verify_authentication_error, { "snmp.verify_authentication_error", PI_MALFORMED, PI_ERROR, "Error while verifying Message authenticity", EXPFILL }},
{ &ei_snmp_authentication_ok, { "snmp.authentication_ok", PI_CHECKSUM, PI_CHAT, "SNMP Authentication OK", EXPFILL }},
{ &ei_snmp_authentication_error, { "snmp.authentication_error", PI_CHECKSUM, PI_WARN, "SNMP Authentication Error", EXPFILL }},
{ &ei_snmp_varbind_not_uni_class_seq, { "snmp.varbind.not_uni_class_seq", PI_MALFORMED, PI_WARN, "VarBind is not an universal class sequence", EXPFILL }},
{ &ei_snmp_varbind_has_indicator, { "snmp.varbind.has_indicator", PI_MALFORMED, PI_WARN, "VarBind has indicator set", EXPFILL }},
{ &ei_snmp_objectname_not_oid, { "snmp.objectname_not_oid", PI_MALFORMED, PI_WARN, "ObjectName not an OID", EXPFILL }},
{ &ei_snmp_objectname_has_indicator, { "snmp.objectname_has_indicator", PI_MALFORMED, PI_WARN, "ObjectName has indicator set", EXPFILL }},
{ &ei_snmp_value_not_primitive_encoding, { "snmp.value_not_primitive_encoding", PI_MALFORMED, PI_WARN, "value not in primitive encoding", EXPFILL }},
{ &ei_snmp_invalid_oid, { "snmp.invalid_oid", PI_MALFORMED, PI_WARN, "invalid oid", EXPFILL }},
{ &ei_snmp_varbind_wrong_tag, { "snmp.varbind.wrong_tag", PI_MALFORMED, PI_WARN, "Wrong tag for SNMP VarBind error value", EXPFILL }},
{ &ei_snmp_varbind_response, { "snmp.varbind.response", PI_RESPONSE_CODE, PI_NOTE, "Response", EXPFILL }},
{ &ei_snmp_no_instance_subid, { "snmp.no_instance_subid", PI_MALFORMED, PI_WARN, "No instance sub-id in scalar value", EXPFILL }},
{ &ei_snmp_wrong_num_of_subids, { "snmp.wrong_num_of_subids", PI_MALFORMED, PI_WARN, "Wrong number of instance sub-ids in scalar value", EXPFILL }},
{ &ei_snmp_index_suboid_too_short, { "snmp.index_suboid_too_short", PI_MALFORMED, PI_WARN, "index sub-oid shorter than expected", EXPFILL }},
{ &ei_snmp_unimplemented_instance_index, { "snmp.unimplemented_instance_index", PI_UNDECODED, PI_WARN, "OID instaces not handled, if you want this implemented please contact the wireshark developers", EXPFILL }},
{ &ei_snmp_index_suboid_len0, { "snmp.ndex_suboid_len0", PI_MALFORMED, PI_WARN, "an index sub-oid OID cannot be 0 bytes long!", EXPFILL }},
{ &ei_snmp_index_suboid_too_long, { "snmp.index_suboid_too_long", PI_MALFORMED, PI_WARN, "index sub-oid should not be longer than remaining oid size", EXPFILL }},
{ &ei_snmp_index_string_too_long, { "snmp.index_string_too_long", PI_MALFORMED, PI_WARN, "index string should not be longer than remaining oid size", EXPFILL }},
{ &ei_snmp_column_parent_not_row, { "snmp.column_parent_not_row", PI_MALFORMED, PI_ERROR, "COLUMNS's parent is not a ROW", EXPFILL }},
{ &ei_snmp_uint_too_large, { "snmp.uint_too_large", PI_UNDECODED, PI_NOTE, "Unsigned integer value > 2^64 - 1", EXPFILL }},
{ &ei_snmp_int_too_large, { "snmp.int_too_large", PI_UNDECODED, PI_NOTE, "Signed integer value > 2^63 - 1 or <= -2^63", EXPFILL }},
{ &ei_snmp_integral_value0, { "snmp.integral_value0", PI_UNDECODED, PI_NOTE, "Integral value is zero-length", EXPFILL }},
{ &ei_snmp_missing_mib, { "snmp.missing_mib", PI_UNDECODED, PI_NOTE, "Unresolved value, Missing MIB", EXPFILL }},
{ &ei_snmp_varbind_wrong_length_value, { "snmp.varbind.wrong_length_value", PI_MALFORMED, PI_WARN, "Wrong length for SNMP VarBind/value", EXPFILL }},
{ &ei_snmp_varbind_wrong_class_tag, { "snmp.varbind.wrong_class_tag", PI_MALFORMED, PI_WARN, "Wrong class/tag for SNMP VarBind/value", EXPFILL }},
{ &ei_snmp_rfc1910_non_conformant, { "snmp.rfc1910_non_conformant", PI_PROTOCOL, PI_WARN, "Data not conforming to RFC1910", EXPFILL }},
{ &ei_snmp_rfc3411_non_conformant, { "snmp.rfc3411_non_conformant", PI_PROTOCOL, PI_WARN, "Data not conforming to RFC3411", EXPFILL }},
{ &ei_snmp_version_unknown, { "snmp.version.unknown", PI_PROTOCOL, PI_WARN, "Unknown version", EXPFILL }},
{ &ei_snmp_trap_pdu_obsolete, { "snmp.trap_pdu_obsolete", PI_PROTOCOL, PI_WARN, "Trap-PDU is obsolete in this SNMP version", EXPFILL }},
};
expert_module_t* expert_snmp;
module_t *snmp_module;
static uat_field_t users_fields[] = {
UAT_FLD_BUFFER(snmp_users,engine_id,"Engine ID","Engine-id for this entry (empty = any)"),
UAT_FLD_LSTRING(snmp_users,userName,"Username","The username"),
UAT_FLD_VS(snmp_users,auth_model,"Authentication model",auth_types,"Algorithm to be used for authentication."),
UAT_FLD_LSTRING(snmp_users,authPassword,"Password","The password used for authenticating packets for this entry"),
UAT_FLD_VS(snmp_users,priv_proto,"Privacy protocol",priv_types,"Algorithm to be used for privacy."),
UAT_FLD_LSTRING(snmp_users,privPassword,"Privacy password","The password used for encrypting packets for this entry"),
UAT_END_FIELDS
};
uat_t *assocs_uat = uat_new("SNMP Users",
sizeof(snmp_ue_assoc_t),
"snmp_users",
TRUE,
&ueas,
&num_ueas,
UAT_AFFECTS_DISSECTION, /* affects dissection of packets, but not set of named fields */
"ChSNMPUsersSection",
snmp_users_copy_cb,
snmp_users_update_cb,
snmp_users_free_cb,
renew_ue_cache,
NULL,
users_fields);
static uat_field_t specific_traps_flds[] = {
UAT_FLD_CSTRING(specific_traps,enterprise,"Enterprise OID","Enterprise Object Identifier"),
UAT_FLD_DEC(specific_traps,trap,"Trap Id","The specific-trap value"),
UAT_FLD_CSTRING(specific_traps,desc,"Description","Trap type description"),
UAT_END_FIELDS
};
uat_t* specific_traps_uat = uat_new("SNMP Enterprise Specific Trap Types",
sizeof(snmp_st_assoc_t),
"snmp_specific_traps",
TRUE,
&specific_traps,
&num_specific_traps,
UAT_AFFECTS_DISSECTION, /* affects dissection of packets, but not set of named fields */
"ChSNMPEnterpriseSpecificTrapTypes",
snmp_specific_trap_copy_cb,
NULL,
snmp_specific_trap_free_cb,
NULL,
NULL,
specific_traps_flds);
/* Register protocol */
proto_snmp = proto_register_protocol(PNAME, PSNAME, PFNAME);
snmp_handle = register_dissector("snmp", dissect_snmp, proto_snmp);
/* Register fields and subtrees */
proto_register_field_array(proto_snmp, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
expert_snmp = expert_register_protocol(proto_snmp);
expert_register_field_array(expert_snmp, ei, array_length(ei));
/* Register dissector */
snmp_tcp_handle = register_dissector("snmp.tcp", dissect_snmp_tcp, proto_snmp);
/* Register configuration preferences */
snmp_module = prefs_register_protocol(proto_snmp, process_prefs);
prefs_register_bool_preference(snmp_module, "display_oid",
"Show SNMP OID in info column",
"Whether the SNMP OID should be shown in the info column",
&display_oid);
prefs_register_obsolete_preference(snmp_module, "mib_modules");
prefs_register_obsolete_preference(snmp_module, "users_file");
prefs_register_bool_preference(snmp_module, "desegment",
"Reassemble SNMP-over-TCP messages spanning multiple TCP segments",
"Whether the SNMP dissector should reassemble messages spanning multiple TCP segments."
" To use this option, you must also enable \"Allow subdissectors to reassemble TCP streams\" in the TCP protocol settings.",
&snmp_desegment);
prefs_register_bool_preference(snmp_module, "var_in_tree",
"Display dissected variables inside SNMP tree",
"ON - display dissected variables inside SNMP tree, OFF - display dissected variables in root tree after SNMP",
&snmp_var_in_tree);
prefs_register_uat_preference(snmp_module, "users_table",
"Users Table",
"Table of engine-user associations used for authentication and decryption",
assocs_uat);
prefs_register_uat_preference(snmp_module, "specific_traps_table",
"Enterprise Specific Trap Types",
"Table of enterprise specific-trap type descriptions",
specific_traps_uat);
#ifdef HAVE_LIBSMI
prefs_register_static_text_preference(snmp_module, "info_mibs",
"MIB settings can be changed in the Name Resolution preferences",
"MIB settings can be changed in the Name Resolution preferences");
#endif
value_sub_dissectors_table = register_dissector_table("snmp.variable_oid","SNMP Variable OID", proto_snmp, FT_STRING, STRING_CASE_SENSITIVE);
register_init_routine(init_ue_cache);
register_cleanup_routine(cleanup_ue_cache);
register_ber_syntax_dissector("SNMP", proto_snmp, dissect_snmp_tcp);
snmp_tap=register_tap("snmp");
register_srt_table(proto_snmp, NULL, 1, snmpstat_packet, snmpstat_init, NULL);
}
/*--- proto_reg_handoff_snmp ---------------------------------------*/
void proto_reg_handoff_snmp(void) {
dissector_add_uint_with_preference("udp.port", UDP_PORT_SNMP, snmp_handle);
dissector_add_uint("ethertype", ETHERTYPE_SNMP, snmp_handle);
dissector_add_uint("ipx.socket", IPX_SOCKET_SNMP_AGENT, snmp_handle);
dissector_add_uint("ipx.socket", IPX_SOCKET_SNMP_SINK, snmp_handle);
dissector_add_uint("hpext.dxsap", HPEXT_SNMP, snmp_handle);
dissector_add_uint_with_preference("tcp.port", TCP_PORT_SNMP, snmp_tcp_handle);
/* Since "regular" SNMP port and "trap" SNMP port use the same handler,
the "trap" port doesn't really need a separate preference. Just register
normally */
dissector_add_uint("tcp.port", TCP_PORT_SNMP_TRAP, snmp_tcp_handle);
dissector_add_uint("udp.port", UDP_PORT_SNMP_TRAP, snmp_handle);
dissector_add_uint("udp.port", UDP_PORT_SNMP_PATROL, snmp_handle);
data_handle = find_dissector("data");
/* SNMPv2-MIB sysDescr "1.3.6.1.2.1.1.1.0" */
dissector_add_string("snmp.variable_oid", "1.3.6.1.2.1.1.1.0",
create_dissector_handle(dissect_snmp_variable_string, proto_snmp));
/* SNMPv2-MIB::sysName.0 (1.3.6.1.2.1.1.5.0) */
dissector_add_string("snmp.variable_oid", "1.3.6.1.2.1.1.5.0",
create_dissector_handle(dissect_snmp_variable_string, proto_snmp));
/*
* Process preference settings.
*
* We can't do this in the register routine, as preferences aren't
* read until all dissector register routines have been called (so
* that all dissector preferences have been registered).
*/
process_prefs();
}
void
proto_register_smux(void)
{
static gint *ett[] = {
&ett_smux,
};
proto_smux = proto_register_protocol("SNMP Multiplex Protocol",
"SMUX", "smux");
proto_register_subtree_array(ett, array_length(ett));
smux_handle = register_dissector("smux", dissect_smux, proto_smux);
}
void
proto_reg_handoff_smux(void)
{
dissector_add_uint_with_preference("tcp.port", TCP_PORT_SMUX, smux_handle);
}
/*
* Editor modelines - https://www.wireshark.org/tools/modelines.html
*
* Local variables:
* c-basic-offset: 8
* tab-width: 8
* indent-tabs-mode: t
* End:
*
* vi: set shiftwidth=8 tabstop=8 noexpandtab:
* :indentSize=8:tabSize=8:noTabs=false:
*/ |
C/C++ | wireshark/epan/dissectors/asn1/snmp/packet-snmp-template.h | /* packet-snmp.h
* Routines for snmp packet dissection
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_SNMP_H
#define PACKET_SNMP_H
#define SNMP_REQ_GET 0
#define SNMP_REQ_GETNEXT 1
#define SNMP_REQ_SET 3
#define SNMP_REQ_GETBULK 5
#define SNMP_REQ_INFORM 6
#define SNMP_RES_GET 2
#define SNMP_TRAP 4
#define SNMP_TRAPV2 7
#define SNMP_REPORT 8
typedef struct _snmp_usm_key {
guint8* data;
guint len;
} snmp_usm_key_t;
typedef struct _snmp_ue_assoc_t snmp_ue_assoc_t;
typedef struct _snmp_usm_params_t snmp_usm_params_t;
typedef tvbuff_t* (*snmp_usm_decoder_t)(snmp_usm_params_t*, tvbuff_t* encryptedData, packet_info *pinfo, gchar const** error);
typedef enum _snmp_usm_auth_model_t {
SNMP_USM_AUTH_MD5 = 0,
SNMP_USM_AUTH_SHA1,
SNMP_USM_AUTH_SHA2_224,
SNMP_USM_AUTH_SHA2_256,
SNMP_USM_AUTH_SHA2_384,
SNMP_USM_AUTH_SHA2_512
} snmp_usm_auth_model_t;
typedef struct _snmp_user_t {
snmp_usm_key_t userName;
snmp_usm_auth_model_t authModel;
snmp_usm_key_t authPassword;
snmp_usm_key_t authKey;
snmp_usm_decoder_t privProtocol;
snmp_usm_key_t privPassword;
snmp_usm_key_t privKey;
} snmp_user_t;
typedef struct {
guint8* data;
guint len;
} snmp_engine_id_t;
struct _snmp_ue_assoc_t {
snmp_user_t user;
snmp_engine_id_t engine;
guint auth_model;
guint priv_proto;
struct _snmp_ue_assoc_t* next;
};
struct _snmp_usm_params_t {
gboolean authenticated;
gboolean encrypted;
guint start_offset;
guint auth_offset;
guint32 boots;
guint32 snmp_time;
tvbuff_t* engine_tvb;
tvbuff_t* user_tvb;
proto_item* auth_item;
tvbuff_t* auth_tvb;
tvbuff_t* priv_tvb;
tvbuff_t* msg_tvb;
snmp_ue_assoc_t* user_assoc;
gboolean authOK;
};
typedef struct snmp_request_response {
guint32 request_frame_id;
guint32 response_frame_id;
nstime_t request_time;
guint requestId;
guint request_procedure_id;
} snmp_request_response_t;
/*
* Guts of the SNMP dissector - exported for use by protocols such as
* ILMI.
*/
extern guint dissect_snmp_pdu(tvbuff_t *, int, packet_info *, proto_tree *tree,
int, gint, gboolean);
extern int dissect_snmp_engineid(proto_tree *, packet_info *, tvbuff_t *, int, int);
/*#include "packet-snmp-exp.h"*/
#endif /* PACKET_SNMP_H */ |
ASN.1 | wireshark/epan/dissectors/asn1/snmp/snmp.asn | RFC1157-SNMP DEFINITIONS ::= BEGIN
-- IMPORTS
-- ObjectName, ObjectSyntax, NetworkAddress, IpAddress, TimeTicks
-- FROM RFC1155-SMI;
--
-- Local imports
-- IMPORTS
-- ObjectName, ObjectSyntax, NetworkAddress, IpAddress, TimeTicks
-- FROM RFC1155-SMI;
--
-- names of objects
-- (Note that these definitions of ObjectName and NotificationName
-- are not to be IMPORTed by MIB modules.)
--
--ObjectSyntax ::= CHOICE {
-- simple SimpleSyntax,
-- application-wide ApplicationSyntax
--}
--SimpleSyntax ::= CHOICE {
-- integer-value Integer-value,
-- string-value String-value,
-- objectID-value ObjectID-value,
-- empty Empty
--}
--String-value ::= OCTET STRING (SIZE (0..65535))
-- includes Integer32
--Integer-value ::= INTEGER (-2147483648..2147483647)
--Integer32 ::= INTEGER (-2147483648..2147483647)
--ObjectID-value ::= OBJECT IDENTIFIER
--Empty ::= NULL
-- hundredths of seconds since an event, usualy the last restart
--TimeTicks ::= [APPLICATION 3] IMPLICIT INTEGER (0..4294967295)
--Opaque ::= [APPLICATION 4] IMPLICIT OCTET STRING
--Counter64 ::= [APPLICATION 6] IMPLICIT INTEGER (0..18446744073709551615)
--ApplicationSyntax ::= CHOICE {
-- ipAddress-value IpAddress,
-- counter-value Counter32,
-- timeticks-value TimeTicks,
-- arbitrary-value Opaque,
-- big-counter-value Counter64,
-- unsigned-integer-value Unsigned32
-- includes Gauge32
--}
--NetworkAddress ::= CHOICE { internet IpAddress }
--IpAddress ::= [APPLICATION 0] IMPLICIT OCTET STRING (SIZE (4))
NotificationName ::= OBJECT IDENTIFIER
EnterpriseOID ::= OBJECT IDENTIFIER
NetworkAddress ::= [APPLICATION 0] IMPLICIT OCTET STRING (SIZE (4))
TimeTicks ::= [APPLICATION 3] IMPLICIT INTEGER (0..4294967295)
Integer32 ::= INTEGER (-2147483648..2147483647)
ObjectName ::= OBJECT IDENTIFIER
--Counter32 ::= [APPLICATION 1] IMPLICIT INTEGER (0..4294967295)
--Gauge32 ::= [APPLICATION 2] IMPLICIT INTEGER (0..4294967295)
--Unsigned32 ::= [APPLICATION 2] IMPLICIT INTEGER (0..4294967295)
-- End Import
Message ::= SEQUENCE {
version Version,
community OCTET STRING,
data PDUs
}
Version ::= INTEGER { version-1(0), v2c(1), v2u (2), snmpv3(3) }
Messagev2u ::=
SEQUENCE {
version Version,
parameters OCTET STRING,
-- <model=1>
-- <qoS><agentID><agentBoots><agentTime><maxSize>
-- <userLen><userName><authLen><authDigest>
-- <contextSelector>
datav2u CHOICE {
plaintext PDUs,
encrypted OCTET STRING
}
}
-- USMSecurityParametersSyntax DEFINITIONS IMPLICIT TAGS ::= BEGIN
UsmSecurityParameters ::= SEQUENCE {
-- global User-based security parameters
msgAuthoritativeEngineID SnmpEngineID,
msgAuthoritativeEngineBoots INTEGER (0..2147483647),
msgAuthoritativeEngineTime INTEGER (0..2147483647),
msgUserName OCTET STRING (SIZE(1..32)),
-- authentication protocol specific parameters
msgAuthenticationParameters OCTET STRING,
-- privacy protocol specific parameters
msgPrivacyParameters OCTET STRING
}
-- END USMSecurityParametersSyntax
SnmpEngineID ::= OCTET STRING
-- SNMPv3MessageSyntax DEFINITIONS IMPLICIT TAGS ::= BEGIN
SNMPv3Message ::= SEQUENCE {
-- identify the layout of the SNMPv3Message
-- this element is in same position as in SNMPv1
-- and SNMPv2c, allowing recognition
-- the value 3 is used for snmpv3
msgVersion Version,
-- INTEGER ( 0 .. 2147483647 ),
-- administrative parameters
msgGlobalData HeaderData,
-- security model-specific parameters
-- format defined by Security Model
msgSecurityParameters OCTET STRING,
msgData ScopedPduData
}
HeaderData ::= SEQUENCE {
msgID INTEGER (0..2147483647),
msgMaxSize INTEGER (484..2147483647),
msgFlags OCTET STRING (SIZE(1)),
-- .... ...1 authFlag
-- .... ..1. privFlag
-- .... .1.. reportableFlag
-- Please observe:
-- .... ..00 is OK, means noAuthNoPriv
-- .... ..01 is OK, means authNoPriv
-- .... ..10 reserved, must NOT be used.
-- .... ..11 is OK, means authPriv
msgSecurityModel INTEGER (1..2147483647)
}
ScopedPduData ::= CHOICE {
plaintext ScopedPDU,
encryptedPDU OCTET STRING -- encrypted scopedPDU value
}
ScopedPDU ::= SEQUENCE {
contextEngineID SnmpEngineID,
contextName OCTET STRING,
data PDUs
-- ANY
-- e.g., PDUs as defined in RFC 1905
}
-- END SNMPv3MessageSyntax
-- protocol data units
PDUs ::= CHOICE {
get-request GetRequest-PDU,
get-next-request GetNextRequest-PDU,
get-response GetResponse-PDU,
set-request SetRequest-PDU,
trap Trap-PDU,
getBulkRequest GetBulkRequest-PDU,
informRequest InformRequest-PDU,
snmpV2-trap SNMPv2-Trap-PDU,
report Report-PDU
}
-- PDUs
GetRequest-PDU ::= [0] IMPLICIT PDU
GetNextRequest-PDU ::= [1] IMPLICIT PDU
GetResponse-PDU ::= [2] IMPLICIT PDU
SetRequest-PDU ::= [3] IMPLICIT PDU
-- v2 added
-- [4] is obsolete
GetBulkRequest-PDU ::= [5] IMPLICIT BulkPDU
InformRequest-PDU ::= [6] IMPLICIT PDU
SNMPv2-Trap-PDU ::= [7] IMPLICIT PDU
-- Usage and precise semantics of Report-PDU are not presently
-- defined. Any SNMP administrative framework making use of
-- this PDU must define its usage and semantics.
Report-PDU ::= [8] IMPLICIT PDU
PDU ::= SEQUENCE {
request-id INTEGER,
error-status INTEGER {
noError(0),
tooBig(1),
noSuchName(2), -- for proxy compatibility
badValue(3), -- for proxy compatibility
readOnly(4), -- for proxy compatibility
genErr(5),
noAccess(6),
wrongType(7),
wrongLength(8),
wrongEncoding(9),
wrongValue(10),
noCreation(11),
inconsistentValue(12),
resourceUnavailable(13),
commitFailed(14),
undoFailed(15),
authorizationError(16),
notWritable(17),
inconsistentName(18)
},
error-index INTEGER,
variable-bindings VarBindList
}
-- v2
BulkPDU ::= SEQUENCE { -- MUST be identical in structure to PDU
request-id Integer32,
non-repeaters INTEGER (0..2147483647),
max-repetitions INTEGER (0..2147483647),
variable-bindings VarBindList
}
-- end v2
Trap-PDU ::= [4] IMPLICIT SEQUENCE {
enterprise EnterpriseOID, -- type of object generating trap, see sysObjectID in [5]
agent-addr NetworkAddress, -- address of object generating trap
generic-trap INTEGER { -- generic trap type
coldStart(0),
warmStart(1),
linkDown(2),
linkUp(3),
authenticationFailure(4),
egpNeighborLoss(5),
enterpriseSpecific(6)
},
specific-trap INTEGER, -- specific code, present even if generic-trap is not enterpriseSpecific
time-stamp TimeTicks, -- time elapsed between the last (re)initialization of the network entity and the generation of the trap
variable-bindings VarBindList -- "interesting" information
}
-- variable bindings
VarBind ::= SEQUENCE { name ObjectName, valueType ValueType }
-- SEQUENCE {
-- name ObjectName,
-- valueType ValueType
-- }
--ValueType ::= CHOICE {
-- value ObjectSyntax,
-- unSpecified NULL,
-- in retrieval requests
-- exceptions in responses
-- noSuchObject[0] IMPLICIT NULL,
-- noSuchInstance[1] IMPLICIT NULL,
-- endOfMibView[2] IMPLICIT NULL
--}
VarBindList ::= SEQUENCE OF VarBind
-- SMUX DEFINITIONS ::= BEGIN RFC 1227
SMUX-PDUs ::= CHOICE {
open OpenPDU,-- SMUX peer uses immediately after TCP open
close ClosePDU, -- either uses immediately before TCP close
registerRequest RReqPDU, -- SMUX peer uses
-- registerResponse .. SNMP agent uses
-- RRspPDU,
--
-- PDUs,
-- Rewritten
registerResponse RegisterResponse,
-- note that roles are reversed:
-- SNMP agent does get/get-next/set
-- SMUX peer does get-response/trap
commitOrRollback -- SNMP agent uses
SOutPDU
}
RegisterResponse ::= CHOICE {
rRspPDU RRspPDU,
pDUs PDUs
}
-- open PDU
-- currently only simple authentication
OpenPDU ::= CHOICE {
smux-simple SimpleOpen
}
SimpleOpen ::= [APPLICATION 0] IMPLICIT SEQUENCE {
smux-version INTEGER { version-1(0) }, -- of SMUX protocol
identity OBJECT IDENTIFIER, -- of SMUX peer, authoritative
description DisplayString, -- of SMUX peer, implementation-specific
password OCTET STRING -- zero length indicates no authentication
}
DisplayString ::= OCTET STRING
ClosePDU ::= [APPLICATION 1] IMPLICIT INTEGER {
goingDown(0),
unsupportedVersion(1),
packetFormat(2),
protocolError(3),
internalError(4),
authenticationFailure(5)
}
-- insert PDU
RReqPDU ::= [APPLICATION 2] IMPLICIT SEQUENCE {
subtree ObjectName,
priority INTEGER (-1..2147483647), -- the lower the better, "-1" means default
operation INTEGER {
delete(0), -- remove registration
readOnly(1), -- add registration, objects are RO
readWrite(2) -- .., objects are RW
}
}
RRspPDU ::= [APPLICATION 3] IMPLICIT INTEGER { failure(-1) } -- on success the non-negative priority is returned
SOutPDU ::= [APPLICATION 4] IMPLICIT INTEGER { commit(0), rollback(1) }
END |
Configuration | wireshark/epan/dissectors/asn1/snmp/snmp.cnf | # snmp.cnf
# snmp conformation file
#.PDU
SMUX-PDUs
#.NO_EMIT
NotificationName
VarBind
#.TYPE_RENAME
Message/community Community
Trap-PDU/_untag/generic-trap GenericTrap
Trap-PDU/_untag/specific-trap SpecificTrap
#.FIELD_RENAME
Messagev2u/datav2u/plaintext v2u_plaintext
BulkPDU/request-id bulkPDU_request-id
#.FN_HDR SMUX-PDUs
snmp_conv_info_t *snmp_info = snmp_find_conversation_and_get_conv_data(actx->pinfo);
actx->private_data = snmp_info;
#.FN_PARS Version VAL_PTR = &snmp_version
#.FN_PARS PDUs
VAL_PTR = &pdu_type
#.FN_BODY PDUs
gint pdu_type=-1;
snmp_request_response_t *srrp;
snmp_conv_info_t *snmp_info = (snmp_conv_info_t *)actx->private_data;
col_clear(actx->pinfo->cinfo, COL_INFO);
%(DEFAULT_BODY)s
if( (pdu_type!=-1) && snmp_PDUs_vals[pdu_type].strptr ){
col_prepend_fstr(actx->pinfo->cinfo, COL_INFO, "%%s", snmp_PDUs_vals[pdu_type].strptr);
/* pdu_type is the index, not the tag so convert it to the tag value */
pdu_type = snmp_PDUs_vals[pdu_type].value;
srrp=snmp_match_request_response(tvb, actx->pinfo, tree, RequestID, pdu_type, snmp_info);
if (srrp) {
tap_queue_packet(snmp_tap, actx->pinfo, srrp);
}
}
#.END
#.FN_BODY PDU/request-id VAL_PTR = &RequestID
%(DEFAULT_BODY)s
#.FN_BODY Integer32 VAL_PTR = &RequestID
%(DEFAULT_BODY)s
#.FN_BODY Trap-PDU/_untag
generic_trap = 0;
enterprise_oid = NULL;
%(DEFAULT_BODY)s
if (snmp_version != 0) {
expert_add_info(actx->pinfo, tree, &ei_snmp_trap_pdu_obsolete);
}
#.FN_PARS Trap-PDU/_untag/generic-trap VAL_PTR = &generic_trap
#.FN_BODY Trap-PDU/_untag/specific-trap VAL_PTR = &specific_trap
guint specific_trap;
%(DEFAULT_BODY)s
if (generic_trap == 6) { /* enterprise specific */
const gchar *specific_str = snmp_lookup_specific_trap (specific_trap);
if (specific_str) {
proto_item_append_text(actx->created_item, " (%%s)", specific_str);
}
}
#.END
#.FN_PARS EnterpriseOID FN_VARIANT = _str VAL_PTR = &enterprise_oid
#.FN_BODY EnterpriseOID
const gchar* name;
%(DEFAULT_BODY)s
if (display_oid && enterprise_oid) {
name = oid_resolved_from_string(actx->pinfo->pool, enterprise_oid);
if (name) {
col_append_fstr (actx->pinfo->cinfo, COL_INFO, " %%s", name);
}
}
#.END
#.FN_PARS HeaderData/msgSecurityModel
VAL_PTR = &MsgSecurityModel
#.FN_PARS UsmSecurityParameters/msgAuthoritativeEngineBoots
VAL_PTR = &usm_p.boots
#.FN_PARS UsmSecurityParameters/msgAuthoritativeEngineTime
VAL_PTR = &usm_p.snmp_time
#.FN_BODY UsmSecurityParameters/msgAuthoritativeEngineID
offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, &usm_p.engine_tvb);
if (usm_p.engine_tvb) {
proto_tree* engine_tree = proto_item_add_subtree(%(ACTX)s->created_item,ett_engineid);
dissect_snmp_engineid(engine_tree, actx->pinfo, usm_p.engine_tvb, 0, tvb_reported_length_remaining(usm_p.engine_tvb,0));
}
#.FN_BODY SnmpEngineID
tvbuff_t* param_tvb = NULL;
offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, ¶m_tvb);
if (param_tvb) {
proto_tree* engine_tree = proto_item_add_subtree(%(ACTX)s->created_item,ett_engineid);
dissect_snmp_engineid(engine_tree, actx->pinfo, param_tvb, 0, tvb_reported_length_remaining(param_tvb,0));
}
#.FN_PARS UsmSecurityParameters/msgUserName
VAL_PTR = &usm_p.user_tvb
#.FN_BODY UsmSecurityParameters/msgAuthenticationParameters
offset = dissect_ber_octet_string(FALSE, actx, tree, tvb, offset, hf_index, &usm_p.auth_tvb);
if (usm_p.auth_tvb) {
usm_p.auth_item = %(ACTX)s->created_item;
usm_p.auth_offset = tvb_offset_from_real_beginning(usm_p.auth_tvb);
}
#.FN_PARS UsmSecurityParameters/msgPrivacyParameters
VAL_PTR = &usm_p.priv_tvb
#.FN_BODY ScopedPduData/encryptedPDU
tvbuff_t* crypt_tvb;
offset = dissect_ber_octet_string(FALSE, actx, tree, tvb, offset, hf_snmp_encryptedPDU, &crypt_tvb);
if( usm_p.encrypted && crypt_tvb
&& usm_p.user_assoc
&& usm_p.user_assoc->user.privProtocol ) {
const gchar* error = NULL;
proto_tree* encryptedpdu_tree = proto_item_add_subtree(%(ACTX)s->created_item,ett_encryptedPDU);
tvbuff_t* cleartext_tvb = usm_p.user_assoc->user.privProtocol(&usm_p, crypt_tvb, actx->pinfo, &error );
if (! cleartext_tvb) {
proto_tree_add_expert_format(encryptedpdu_tree, actx->pinfo, &ei_snmp_failed_decrypted_data_pdu,
crypt_tvb, 0, -1, "Failed to decrypt encryptedPDU: %%s", error);
col_set_str(actx->pinfo->cinfo, COL_INFO, "encryptedPDU: Failed to decrypt");
return offset;
} else {
proto_item* decrypted_item;
proto_tree* decrypted_tree;
if (! check_ScopedPdu(cleartext_tvb)) {
proto_tree_add_expert(encryptedpdu_tree, actx->pinfo, &ei_snmp_decrypted_data_bad_formatted, cleartext_tvb, 0, -1);
col_set_str(actx->pinfo->cinfo, COL_INFO, "encryptedPDU: Decrypted data not formatted as expected");
return offset;
}
add_new_data_source(actx->pinfo, cleartext_tvb, "Decrypted ScopedPDU");
decrypted_item = proto_tree_add_item(encryptedpdu_tree, hf_snmp_decryptedPDU,cleartext_tvb,0,-1,ENC_NA);
decrypted_tree = proto_item_add_subtree(decrypted_item,ett_decrypted);
dissect_snmp_ScopedPDU(FALSE, cleartext_tvb, 0, actx, decrypted_tree, -1);
}
} else {
col_set_str(actx->pinfo->cinfo, COL_INFO, "encryptedPDU: privKey Unknown");
}
#.FN_BODY SNMPv3Message/msgSecurityParameters
switch(MsgSecurityModel){
case SNMP_SEC_USM: /* 3 */
offset = get_ber_identifier(tvb, offset, NULL, NULL, NULL);
offset = get_ber_length(tvb, offset, NULL, NULL);
offset = dissect_snmp_UsmSecurityParameters(FALSE, tvb, offset, actx, tree, -1);
usm_p.user_assoc = get_user_assoc(usm_p.engine_tvb, usm_p.user_tvb, actx->pinfo);
break;
case SNMP_SEC_ANY: /* 0 */
case SNMP_SEC_V1: /* 1 */
case SNMP_SEC_V2C: /* 2 */
default:
%(DEFAULT_BODY)s
break;
}
#.FN_FTR SNMPv3Message
if( usm_p.authenticated
&& usm_p.user_assoc ) {
const gchar* error = NULL;
proto_item* authen_item;
proto_tree* authen_tree = proto_item_add_subtree(usm_p.auth_item,ett_authParameters);
guint8* calc_auth = NULL;
guint calc_auth_len = 0;
usm_p.authOK = snmp_usm_auth(actx->pinfo, usm_p.user_assoc->user.authModel, &usm_p, &calc_auth, &calc_auth_len, &error );
if (error) {
expert_add_info_format( actx->pinfo, usm_p.auth_item, &ei_snmp_verify_authentication_error, "Error while verifying Message authenticity: %s", error );
} else {
expert_field* expert;
authen_item = proto_tree_add_boolean(authen_tree, hf_snmp_msgAuthentication, tvb, 0, 0, usm_p.authOK);
proto_item_set_generated(authen_item);
if (usm_p.authOK) {
expert = &ei_snmp_authentication_ok;
} else {
const gchar* calc_auth_str = bytes_to_str_punct(actx->pinfo->pool, calc_auth,calc_auth_len,' ');
proto_item_append_text(authen_item, " calculated = %s", calc_auth_str);
expert = &ei_snmp_authentication_error;
}
expert_add_info( actx->pinfo, authen_item, expert);
}
}
#.END
#.FN_BODY HeaderData/msgFlags VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb){
guint8 v3_flags = tvb_get_guint8(parameter_tvb, 0);
proto_tree* flags_tree = proto_item_add_subtree(%(ACTX)s->created_item,ett_msgFlags);
proto_tree_add_item(flags_tree, hf_snmp_v3_flags_report, parameter_tvb, 0, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(flags_tree, hf_snmp_v3_flags_crypt, parameter_tvb, 0, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(flags_tree, hf_snmp_v3_flags_auth, parameter_tvb, 0, 1, ENC_BIG_ENDIAN);
usm_p.encrypted = v3_flags & TH_CRYPT ? TRUE : FALSE;
usm_p.authenticated = v3_flags & TH_AUTH ? TRUE : FALSE;
}
#.TYPE_ATTR
NetworkAddress TYPE = FT_IPv4 DISPLAY = BASE_NONE STRINGS = NULL
Message/community TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL
HeaderData/msgSecurityModel TYPE = FT_UINT32 DISPLAY = BASE_DEC STRINGS = VALS(sec_models)
UsmSecurityParameters/msgUserName TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL
ScopedPDU/contextName TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL
#.END |
Text | wireshark/epan/dissectors/asn1/spnego/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME spnego )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
${PROTOCOL_NAME}.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/spnego/packet-spnego-template.c | /* packet-spnego-template.c
* Routines for the simple and protected GSS-API negotiation mechanism
* as described in RFC 2478.
* Copyright 2002, Tim Potter <[email protected]>
* Copyright 2002, Richard Sharpe <[email protected]>
* Copyright 2003, Richard Sharpe <[email protected]>
* Copyright 2005, Ronnie Sahlberg (krb decryption)
* Copyright 2005, Anders Broman (converted to asn2wrs generated dissector)
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
/* The heimdal code for decryption of GSSAPI wrappers using heimdal comes from
Heimdal 1.6 and has been modified for wireshark's requirements.
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/expert.h>
#include <epan/asn1.h>
#include <epan/conversation.h>
#include <epan/proto_data.h>
#include <wsutil/wsgcrypt.h>
#include "packet-gssapi.h"
#include "packet-kerberos.h"
#include "packet-ber.h"
#define PNAME "Simple Protected Negotiation"
#define PSNAME "SPNEGO"
#define PFNAME "spnego"
void proto_register_spnego(void);
void proto_reg_handoff_spnego(void);
static dissector_handle_t spnego_wrap_handle;
/* Initialize the protocol and registered fields */
static int proto_spnego = -1;
static int proto_spnego_krb5 = -1;
static int hf_spnego_wraptoken = -1;
static int hf_spnego_krb5_oid;
static int hf_spnego_krb5 = -1;
static int hf_spnego_krb5_tok_id = -1;
static int hf_spnego_krb5_sgn_alg = -1;
static int hf_spnego_krb5_seal_alg = -1;
static int hf_spnego_krb5_snd_seq = -1;
static int hf_spnego_krb5_sgn_cksum = -1;
static int hf_spnego_krb5_confounder = -1;
static int hf_spnego_krb5_filler = -1;
static int hf_spnego_krb5_cfx_flags = -1;
static int hf_spnego_krb5_cfx_flags_01 = -1;
static int hf_spnego_krb5_cfx_flags_02 = -1;
static int hf_spnego_krb5_cfx_flags_04 = -1;
static int hf_spnego_krb5_cfx_ec = -1;
static int hf_spnego_krb5_cfx_rrc = -1;
static int hf_spnego_krb5_cfx_seq = -1;
#include "packet-spnego-hf.c"
/* Global variables */
static const char *MechType_oid;
gssapi_oid_value *next_level_value;
gboolean saw_mechanism = FALSE;
/* Initialize the subtree pointers */
static gint ett_spnego = -1;
static gint ett_spnego_wraptoken = -1;
static gint ett_spnego_krb5 = -1;
static gint ett_spnego_krb5_cfx_flags = -1;
#include "packet-spnego-ett.c"
static expert_field ei_spnego_decrypted_keytype = EI_INIT;
static expert_field ei_spnego_unknown_header = EI_INIT;
static dissector_handle_t spnego_handle;
static dissector_handle_t spnego_krb5_handle;
static dissector_handle_t spnego_krb5_wrap_handle;
/*
* Unfortunately, we have to have forward declarations of these,
* as the code generated by asn2wrs includes a call before the
* definition.
*/
static int dissect_spnego_NegTokenInit(bool implicit_tag, tvbuff_t *tvb,
int offset, asn1_ctx_t *actx _U_,
proto_tree *tree, int hf_index);
static int dissect_spnego_NegTokenInit2(bool implicit_tag, tvbuff_t *tvb,
int offset, asn1_ctx_t *actx _U_,
proto_tree *tree, int hf_index);
#include "packet-spnego-fn.c"
/*
* This is the SPNEGO KRB5 dissector. It is not true KRB5, but some ASN.1
* wrapped blob with an OID, USHORT token ID, and a Ticket, that is also
* ASN.1 wrapped by the looks of it. It conforms to RFC1964.
*/
#define KRB_TOKEN_AP_REQ 0x0001
#define KRB_TOKEN_AP_REP 0x0002
#define KRB_TOKEN_AP_ERR 0x0003
#define KRB_TOKEN_GETMIC 0x0101
#define KRB_TOKEN_WRAP 0x0102
#define KRB_TOKEN_DELETE_SEC_CONTEXT 0x0201
#define KRB_TOKEN_TGT_REQ 0x0004
#define KRB_TOKEN_TGT_REP 0x0104
#define KRB_TOKEN_CFX_GETMIC 0x0404
#define KRB_TOKEN_CFX_WRAP 0x0405
static const value_string spnego_krb5_tok_id_vals[] = {
{ KRB_TOKEN_AP_REQ, "KRB5_AP_REQ"},
{ KRB_TOKEN_AP_REP, "KRB5_AP_REP"},
{ KRB_TOKEN_AP_ERR, "KRB5_ERROR"},
{ KRB_TOKEN_GETMIC, "KRB5_GSS_GetMIC" },
{ KRB_TOKEN_WRAP, "KRB5_GSS_Wrap" },
{ KRB_TOKEN_DELETE_SEC_CONTEXT, "KRB5_GSS_Delete_sec_context" },
{ KRB_TOKEN_TGT_REQ, "KERB_TGT_REQUEST" },
{ KRB_TOKEN_TGT_REP, "KERB_TGT_REPLY" },
{ KRB_TOKEN_CFX_GETMIC, "KRB_TOKEN_CFX_GetMic" },
{ KRB_TOKEN_CFX_WRAP, "KRB_TOKEN_CFX_WRAP" },
{ 0, NULL}
};
#define KRB_SGN_ALG_DES_MAC_MD5 0x0000
#define KRB_SGN_ALG_MD2_5 0x0001
#define KRB_SGN_ALG_DES_MAC 0x0002
#define KRB_SGN_ALG_HMAC 0x0011
static const value_string spnego_krb5_sgn_alg_vals[] = {
{ KRB_SGN_ALG_DES_MAC_MD5, "DES MAC MD5"},
{ KRB_SGN_ALG_MD2_5, "MD2.5"},
{ KRB_SGN_ALG_DES_MAC, "DES MAC"},
{ KRB_SGN_ALG_HMAC, "HMAC"},
{ 0, NULL}
};
#define KRB_SEAL_ALG_DES_CBC 0x0000
#define KRB_SEAL_ALG_RC4 0x0010
#define KRB_SEAL_ALG_NONE 0xffff
static const value_string spnego_krb5_seal_alg_vals[] = {
{ KRB_SEAL_ALG_DES_CBC, "DES CBC"},
{ KRB_SEAL_ALG_RC4, "RC4"},
{ KRB_SEAL_ALG_NONE, "None"},
{ 0, NULL}
};
/*
* XXX - is this for SPNEGO or just GSS-API?
* RFC 1964 is "The Kerberos Version 5 GSS-API Mechanism"; presumably one
* can directly designate Kerberos V5 as a mechanism in GSS-API, rather
* than designating SPNEGO as the mechanism, offering Kerberos V5, and
* getting it accepted.
*/
static int
dissect_spnego_krb5_getmic_base(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree);
static int
dissect_spnego_krb5_wrap_base(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint16 token_id, gssapi_encrypt_info_t* gssapi_encrypt);
static int
dissect_spnego_krb5_cfx_getmic_base(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree);
static int
dissect_spnego_krb5_cfx_wrap_base(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint16 token_id, gssapi_encrypt_info_t* gssapi_encrypt);
static int
dissect_spnego_krb5(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
{
proto_item *item;
proto_tree *subtree;
int offset = 0;
guint16 token_id;
const char *oid;
tvbuff_t *krb5_tvb;
gint8 ber_class;
bool pc, ind = 0;
gint32 tag;
guint32 len;
gssapi_encrypt_info_t* encrypt_info = (gssapi_encrypt_info_t*)data;
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
item = proto_tree_add_item(tree, hf_spnego_krb5, tvb, offset, -1, ENC_NA);
subtree = proto_item_add_subtree(item, ett_spnego_krb5);
/*
* The KRB5 blob conforms to RFC1964:
* [APPLICATION 0] {
* OID,
* USHORT (0x0001 == AP-REQ, 0x0002 == AP-REP, 0x0003 == ERROR),
* OCTET STRING }
*
* However, for some protocols, the KRB5 blob starts at the SHORT
* and has no DER encoded header etc.
*
* It appears that for some other protocols the KRB5 blob is just
* a Kerberos message, with no [APPLICATION 0] header, no OID,
* and no USHORT.
*
* So:
*
* If we see an [APPLICATION 0] HEADER, we show the OID and
* the USHORT, and then dissect the rest as a Kerberos message.
*
* If we see an [APPLICATION 14] or [APPLICATION 15] header,
* we assume it's an AP-REQ or AP-REP message, and dissect
* it all as a Kerberos message.
*
* Otherwise, we show the USHORT, and then dissect the rest
* as a Kerberos message.
*/
/*
* Get the first header ...
*/
get_ber_identifier(tvb, offset, &ber_class, &pc, &tag);
if (ber_class == BER_CLASS_APP && pc) {
/*
* [APPLICATION <tag>]
*/
offset = dissect_ber_identifier(pinfo, subtree, tvb, offset, &ber_class, &pc, &tag);
offset = dissect_ber_length(pinfo, subtree, tvb, offset, &len, &ind);
switch (tag) {
case 0:
/*
* [APPLICATION 0]
*/
/* Next, the OID */
offset=dissect_ber_object_identifier_str(FALSE, &asn1_ctx, subtree, tvb, offset, hf_spnego_krb5_oid, &oid);
token_id = tvb_get_letohs(tvb, offset);
proto_tree_add_uint(subtree, hf_spnego_krb5_tok_id, tvb, offset, 2, token_id);
offset += 2;
break;
case 14: /* [APPLICATION 14] */
case 15: /* [APPLICATION 15] */
/*
* No token ID - just dissect as a Kerberos message and
* return.
*/
dissect_kerberos_main(tvb, pinfo, subtree, FALSE, NULL);
return tvb_captured_length(tvb);
default:
proto_tree_add_expert_format(subtree, pinfo, &ei_spnego_unknown_header, tvb, offset, 0,
"Unknown header (class=%d, pc=%d, tag=%d)", ber_class, pc, tag);
goto done;
}
} else {
/* Next, the token ID ... */
token_id = tvb_get_letohs(tvb, offset);
proto_tree_add_uint(subtree, hf_spnego_krb5_tok_id, tvb, offset, 2, token_id);
offset += 2;
}
switch (token_id) {
case KRB_TOKEN_TGT_REQ:
offset = dissect_kerberos_TGT_REQ(FALSE, tvb, offset, &asn1_ctx, subtree, -1);
break;
case KRB_TOKEN_TGT_REP:
offset = dissect_kerberos_TGT_REP(FALSE, tvb, offset, &asn1_ctx, subtree, -1);
break;
case KRB_TOKEN_AP_REQ:
case KRB_TOKEN_AP_REP:
case KRB_TOKEN_AP_ERR:
krb5_tvb = tvb_new_subset_remaining(tvb, offset);
offset += dissect_kerberos_main(krb5_tvb, pinfo, subtree, FALSE, NULL);
break;
case KRB_TOKEN_GETMIC:
offset = dissect_spnego_krb5_getmic_base(tvb, offset, pinfo, subtree);
break;
case KRB_TOKEN_WRAP:
offset = dissect_spnego_krb5_wrap_base(tvb, offset, pinfo, subtree, token_id, encrypt_info);
break;
case KRB_TOKEN_DELETE_SEC_CONTEXT:
break;
case KRB_TOKEN_CFX_GETMIC:
offset = dissect_spnego_krb5_cfx_getmic_base(tvb, offset, pinfo, subtree);
break;
case KRB_TOKEN_CFX_WRAP:
offset = dissect_spnego_krb5_cfx_wrap_base(tvb, offset, pinfo, subtree, token_id, encrypt_info);
break;
default:
break;
}
done:
proto_item_set_len(item, offset);
return tvb_captured_length(tvb);
}
#ifdef HAVE_KERBEROS
#ifndef KEYTYPE_ARCFOUR_56
# define KEYTYPE_ARCFOUR_56 24
#endif
#ifndef KEYTYPE_ARCFOUR_HMAC
# define KEYTYPE_ARCFOUR_HMAC 23
#endif
/* XXX - We should probably do a configure-time check for this instead */
#ifndef KRB5_KU_USAGE_SEAL
# define KRB5_KU_USAGE_SEAL 22
#endif
static int
arcfour_mic_key(const guint8 *key_data, size_t key_size, int key_type,
const guint8 *cksum_data, size_t cksum_size,
guint8 *key6_data)
{
guint8 k5_data[HASH_MD5_LENGTH];
guint8 T[4] = { 0 };
if (key_type == KEYTYPE_ARCFOUR_56) {
guint8 L40[14] = "fortybits";
memcpy(L40 + 10, T, sizeof(T));
if (ws_hmac_buffer(GCRY_MD_MD5, k5_data, L40, 14, key_data, key_size)) {
return 0;
}
memset(&k5_data[7], 0xAB, 9);
} else {
if (ws_hmac_buffer(GCRY_MD_MD5, k5_data, T, 4, key_data, key_size)) {
return 0;
}
}
if (ws_hmac_buffer(GCRY_MD_MD5, key6_data, cksum_data, cksum_size, k5_data, HASH_MD5_LENGTH)) {
return 0;
}
return 0;
}
static int
usage2arcfour(int usage)
{
switch (usage) {
case 3: /*KRB5_KU_AS_REP_ENC_PART 3 */
case 9: /*KRB5_KU_TGS_REP_ENC_PART_SUB_KEY 9 */
return 8;
case 22: /*KRB5_KU_USAGE_SEAL 22 */
return 13;
case 23: /*KRB5_KU_USAGE_SIGN 23 */
return 15;
case 24: /*KRB5_KU_USAGE_SEQ 24 */
return 0;
default :
return 0;
}
}
static int
arcfour_mic_cksum(guint8 *key_data, int key_length,
unsigned int usage,
guint8 sgn_cksum[8],
const guint8 *v1, size_t l1,
const guint8 *v2, size_t l2,
const guint8 *v3, size_t l3)
{
static const guint8 signature[] = "signaturekey";
guint8 ksign_c[HASH_MD5_LENGTH];
guint8 t[4];
guint8 digest[HASH_MD5_LENGTH];
int rc4_usage;
guint8 cksum[HASH_MD5_LENGTH];
gcry_md_hd_t md5_handle;
rc4_usage=usage2arcfour(usage);
if (ws_hmac_buffer(GCRY_MD_MD5, ksign_c, signature, sizeof(signature), key_data, key_length)) {
return 0;
}
if (gcry_md_open(&md5_handle, GCRY_MD_MD5, 0)) {
return 0;
}
t[0] = (rc4_usage >> 0) & 0xFF;
t[1] = (rc4_usage >> 8) & 0xFF;
t[2] = (rc4_usage >> 16) & 0xFF;
t[3] = (rc4_usage >> 24) & 0xFF;
gcry_md_write(md5_handle, t, 4);
gcry_md_write(md5_handle, v1, l1);
gcry_md_write(md5_handle, v2, l2);
gcry_md_write(md5_handle, v3, l3);
memcpy(digest, gcry_md_read(md5_handle, 0), HASH_MD5_LENGTH);
gcry_md_close(md5_handle);
if (ws_hmac_buffer(GCRY_MD_MD5, cksum, digest, HASH_MD5_LENGTH, ksign_c, HASH_MD5_LENGTH)) {
return 0;
}
memcpy(sgn_cksum, cksum, 8);
return 0;
}
/*
* Verify padding of a gss wrapped message and return its length.
*/
static int
gssapi_verify_pad(guint8 *wrapped_data, int wrapped_length,
int datalen,
int *padlen)
{
guint8 *pad;
int padlength;
int i;
pad = wrapped_data + wrapped_length - 1;
padlength = *pad;
if (padlength > datalen)
return 1;
for (i = padlength; i > 0 && *pad == padlength; i--, pad--);
if (i != 0)
return 2;
*padlen = padlength;
return 0;
}
static int
decrypt_arcfour(gssapi_encrypt_info_t* gssapi_encrypt, guint8 *input_message_buffer, guint8 *output_message_buffer,
guint8 *key_value, int key_size, int key_type)
{
guint8 Klocaldata[16];
int ret;
int datalen;
guint8 k6_data[16];
guint32 SND_SEQ[2];
guint8 Confounder[8];
guint8 cksum_data[8];
int cmp;
int conf_flag;
int padlen = 0;
gcry_cipher_hd_t rc4_handle;
int i;
datalen = tvb_captured_length(gssapi_encrypt->gssapi_encrypted_tvb);
if(tvb_get_ntohs(gssapi_encrypt->gssapi_wrap_tvb, 4)==0x1000){
conf_flag=1;
} else if (tvb_get_ntohs(gssapi_encrypt->gssapi_wrap_tvb, 4)==0xffff){
conf_flag=0;
} else {
return -3;
}
if(tvb_get_ntohs(gssapi_encrypt->gssapi_wrap_tvb, 6)!=0xffff){
return -4;
}
ret = arcfour_mic_key(key_value, key_size, key_type,
tvb_get_ptr(gssapi_encrypt->gssapi_wrap_tvb, 16, 8),
8, /* SGN_CKSUM */
k6_data);
if (ret) {
return -5;
}
tvb_memcpy(gssapi_encrypt->gssapi_wrap_tvb, SND_SEQ, 8, 8);
if (gcry_cipher_open (&rc4_handle, GCRY_CIPHER_ARCFOUR, GCRY_CIPHER_MODE_STREAM, 0)) {
return -12;
}
if (gcry_cipher_setkey(rc4_handle, k6_data, sizeof(k6_data))) {
gcry_cipher_close(rc4_handle);
return -13;
}
gcry_cipher_decrypt(rc4_handle, (guint8 *)SND_SEQ, 8, NULL, 0);
gcry_cipher_close(rc4_handle);
memset(k6_data, 0, sizeof(k6_data));
if (SND_SEQ[1] != 0xFFFFFFFF && SND_SEQ[1] != 0x00000000) {
return -6;
}
for (i = 0; i < 16; i++)
Klocaldata[i] = ((guint8 *)key_value)[i] ^ 0xF0;
ret = arcfour_mic_key(Klocaldata,sizeof(Klocaldata),key_type,
(const guint8 *)SND_SEQ, 4,
k6_data);
memset(Klocaldata, 0, sizeof(Klocaldata));
if (ret) {
return -7;
}
if(conf_flag) {
tvb_memcpy(gssapi_encrypt->gssapi_wrap_tvb, Confounder, 24, 8);
if (gcry_cipher_open (&rc4_handle, GCRY_CIPHER_ARCFOUR, GCRY_CIPHER_MODE_STREAM, 0)) {
return -14;
}
if (gcry_cipher_setkey(rc4_handle, k6_data, sizeof(k6_data))) {
gcry_cipher_close(rc4_handle);
return -15;
}
gcry_cipher_decrypt(rc4_handle, Confounder, 8, NULL, 0);
gcry_cipher_decrypt(rc4_handle, output_message_buffer, datalen, input_message_buffer, datalen);
gcry_cipher_close(rc4_handle);
} else {
tvb_memcpy(gssapi_encrypt->gssapi_wrap_tvb, Confounder, 24, 8);
memcpy(output_message_buffer, input_message_buffer, datalen);
}
memset(k6_data, 0, sizeof(k6_data));
/* only normal (i.e. non DCE style wrapping use padding ? */
if(gssapi_encrypt->decrypt_gssapi_tvb==DECRYPT_GSSAPI_NORMAL){
ret = gssapi_verify_pad(output_message_buffer,datalen,datalen, &padlen);
if (ret) {
return -9;
}
datalen -= padlen;
}
/* don't know what the checksum looks like for dce style gssapi */
if(gssapi_encrypt->decrypt_gssapi_tvb==DECRYPT_GSSAPI_NORMAL){
ret = arcfour_mic_cksum(key_value, key_size, KRB5_KU_USAGE_SEAL,
cksum_data,
tvb_get_ptr(gssapi_encrypt->gssapi_wrap_tvb, 0, 8), 8,
Confounder, sizeof(Confounder), output_message_buffer,
datalen + padlen);
if (ret) {
return -10;
}
cmp = tvb_memeql(gssapi_encrypt->gssapi_wrap_tvb, 16, cksum_data, 8); /* SGN_CKSUM */
if (cmp) {
return -11;
}
}
return datalen;
}
#if defined(HAVE_HEIMDAL_KERBEROS) || defined(HAVE_MIT_KERBEROS)
static void
decrypt_gssapi_krb_arcfour_wrap(proto_tree *tree _U_, packet_info *pinfo, tvbuff_t *tvb, int keytype, gssapi_encrypt_info_t* gssapi_encrypt)
{
int ret;
enc_key_t *ek;
int length;
const guint8 *original_data;
guint8 *cryptocopy=NULL; /* workaround for pre-0.6.1 heimdal bug */
guint8 *output_message_buffer;
length=tvb_captured_length(gssapi_encrypt->gssapi_encrypted_tvb);
original_data=tvb_get_ptr(gssapi_encrypt->gssapi_encrypted_tvb, 0, length);
/* don't do anything if we are not attempting to decrypt data */
/*
if(!krb_decrypt){
return;
}
*/
/* XXX we should only do this for first time, then store somewhere */
/* XXX We also need to re-read the keytab when the preference changes */
cryptocopy=(guint8 *)wmem_alloc(pinfo->pool, length);
output_message_buffer=(guint8 *)wmem_alloc(pinfo->pool, length);
for(ek=enc_key_list;ek;ek=ek->next){
/* shortcircuit and bail out if enctypes are not matching */
if(ek->keytype!=keytype){
continue;
}
/* pre-0.6.1 versions of Heimdal would sometimes change
the cryptotext data even when the decryption failed.
This would obviously not work since we iterate over the
keys. So just give it a copy of the crypto data instead.
This has been seen for RC4-HMAC blobs.
*/
memcpy(cryptocopy, original_data, length);
ret=decrypt_arcfour(gssapi_encrypt,
cryptocopy,
output_message_buffer,
ek->keyvalue,
ek->keylength,
ek->keytype);
if (ret >= 0) {
expert_add_info_format(pinfo, NULL, &ei_spnego_decrypted_keytype,
"Decrypted keytype %d in frame %u using %s",
ek->keytype, pinfo->num, ek->key_origin);
gssapi_encrypt->gssapi_decrypted_tvb=tvb_new_child_real_data(tvb, output_message_buffer, ret, ret);
add_new_data_source(pinfo, gssapi_encrypt->gssapi_decrypted_tvb, "Decrypted GSS-Krb5");
return;
}
}
}
/* borrowed from heimdal */
static int
rrc_rotate(guint8 *data, int len, guint16 rrc, int unrotate)
{
guint8 *tmp, buf[256];
size_t left;
if (len == 0)
return 0;
rrc %= len;
if (rrc == 0)
return 0;
left = len - rrc;
if (rrc <= sizeof(buf)) {
tmp = buf;
} else {
tmp = (guint8 *)g_malloc(rrc);
if (tmp == NULL)
return -1;
}
if (unrotate) {
memcpy(tmp, data, rrc);
memmove(data, data + rrc, left);
memcpy(data + left, tmp, rrc);
} else {
memcpy(tmp, data + left, rrc);
memmove(data + rrc, data, left);
memcpy(data, tmp, rrc);
}
if (rrc > sizeof(buf))
g_free(tmp);
return 0;
}
static void
decrypt_gssapi_krb_cfx_wrap(proto_tree *tree,
packet_info *pinfo,
tvbuff_t *checksum_tvb,
gssapi_encrypt_info_t* gssapi_encrypt,
guint16 ec _U_,
guint16 rrc,
int keytype,
unsigned int usage)
{
guint8 *rotated;
guint8 *output;
int datalen;
tvbuff_t *next_tvb;
/* don't do anything if we are not attempting to decrypt data */
if(!krb_decrypt){
return;
}
if (gssapi_encrypt->decrypt_gssapi_tvb==DECRYPT_GSSAPI_DCE) {
tvbuff_t *out_tvb = NULL;
out_tvb = decrypt_krb5_krb_cfx_dce(tree, pinfo, usage, keytype,
gssapi_encrypt->gssapi_header_tvb,
gssapi_encrypt->gssapi_encrypted_tvb,
gssapi_encrypt->gssapi_trailer_tvb,
checksum_tvb);
if (out_tvb) {
gssapi_encrypt->gssapi_decrypted_tvb = out_tvb;
add_new_data_source(pinfo, gssapi_encrypt->gssapi_decrypted_tvb, "Decrypted GSS-Krb5 CFX DCE");
}
return;
}
datalen = tvb_captured_length(checksum_tvb) + tvb_captured_length(gssapi_encrypt->gssapi_encrypted_tvb);
rotated = (guint8 *)wmem_alloc(pinfo->pool, datalen);
tvb_memcpy(checksum_tvb, rotated, 0, tvb_captured_length(checksum_tvb));
tvb_memcpy(gssapi_encrypt->gssapi_encrypted_tvb, rotated + tvb_captured_length(checksum_tvb),
0, tvb_captured_length(gssapi_encrypt->gssapi_encrypted_tvb));
rrc_rotate(rotated, datalen, rrc, TRUE);
next_tvb=tvb_new_child_real_data(gssapi_encrypt->gssapi_encrypted_tvb, rotated,
datalen, datalen);
add_new_data_source(pinfo, next_tvb, "GSSAPI CFX");
output = decrypt_krb5_data(tree, pinfo, usage, next_tvb, keytype, &datalen);
if (output) {
guint8 *outdata;
outdata = (guint8 *)wmem_memdup(pinfo->pool, output, tvb_captured_length(gssapi_encrypt->gssapi_encrypted_tvb));
gssapi_encrypt->gssapi_decrypted_tvb=tvb_new_child_real_data(gssapi_encrypt->gssapi_encrypted_tvb,
outdata,
tvb_captured_length(gssapi_encrypt->gssapi_encrypted_tvb),
tvb_captured_length(gssapi_encrypt->gssapi_encrypted_tvb));
add_new_data_source(pinfo, gssapi_encrypt->gssapi_decrypted_tvb, "Decrypted GSS-Krb5");
}
}
#endif /* HAVE_HEIMDAL_KERBEROS || HAVE_MIT_KERBEROS */
#endif
/*
* This is for GSSAPI Wrap tokens ...
*/
static int
dissect_spnego_krb5_wrap_base(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint16 token_id, gssapi_encrypt_info_t* gssapi_encrypt)
{
guint16 sgn_alg, seal_alg;
#ifdef HAVE_KERBEROS
int start_offset=offset;
#else
(void) pinfo;
(void) token_id;
#endif
/*
* The KRB5 blob conforms to RFC1964:
* USHORT (0x0102 == GSS_Wrap)
* and so on }
*/
/* Now, the sign and seal algorithms ... */
sgn_alg = tvb_get_letohs(tvb, offset);
proto_tree_add_uint(tree, hf_spnego_krb5_sgn_alg, tvb, offset, 2, sgn_alg);
offset += 2;
seal_alg = tvb_get_letohs(tvb, offset);
proto_tree_add_uint(tree, hf_spnego_krb5_seal_alg, tvb, offset, 2, seal_alg);
offset += 2;
/* Skip the filler */
offset += 2;
/* Encrypted sequence number */
proto_tree_add_item(tree, hf_spnego_krb5_snd_seq, tvb, offset, 8, ENC_NA);
offset += 8;
/* Checksum of plaintext padded data */
proto_tree_add_item(tree, hf_spnego_krb5_sgn_cksum, tvb, offset, 8, ENC_NA);
offset += 8;
/*
* At least according to draft-brezak-win2k-krb-rc4-hmac-04,
* if the signing algorithm is KRB_SGN_ALG_HMAC, there's an
* extra 8 bytes of "Random confounder" after the checksum.
* It certainly confounds code expecting all Kerberos 5
* GSS_Wrap() tokens to look the same....
*/
if ((sgn_alg == KRB_SGN_ALG_HMAC) ||
/* there also seems to be a confounder for DES MAC MD5 - certainly seen when using with
SASL with LDAP between a Java client and Active Directory. If this breaks other things
we may need to make this an option. gal 17/2/06 */
(sgn_alg == KRB_SGN_ALG_DES_MAC_MD5)) {
proto_tree_add_item(tree, hf_spnego_krb5_confounder, tvb, offset, 8, ENC_NA);
offset += 8;
}
/* Is the data encrypted? */
if (gssapi_encrypt != NULL)
gssapi_encrypt->gssapi_data_encrypted=(seal_alg!=KRB_SEAL_ALG_NONE);
#ifdef HAVE_KERBEROS
#define GSS_ARCFOUR_WRAP_TOKEN_SIZE 32
if(gssapi_encrypt && gssapi_encrypt->decrypt_gssapi_tvb){
/* if the caller did not provide a tvb, then we just use
whatever is left of our current tvb.
*/
if(!gssapi_encrypt->gssapi_encrypted_tvb){
int len;
len=tvb_reported_length_remaining(tvb,offset);
if(len>tvb_captured_length_remaining(tvb, offset)){
/* no point in trying to decrypt,
we don't have the full pdu.
*/
return offset;
}
gssapi_encrypt->gssapi_encrypted_tvb = tvb_new_subset_length(
tvb, offset, len);
}
/* if this is KRB5 wrapped rc4-hmac */
if((token_id==KRB_TOKEN_WRAP)
&&(sgn_alg==KRB_SGN_ALG_HMAC)
&&(seal_alg==KRB_SEAL_ALG_RC4)){
/* do we need to create a tvb for the wrapper
as well ?
*/
if(!gssapi_encrypt->gssapi_wrap_tvb){
gssapi_encrypt->gssapi_wrap_tvb = tvb_new_subset_length(
tvb, start_offset-2,
GSS_ARCFOUR_WRAP_TOKEN_SIZE);
}
#if defined(HAVE_HEIMDAL_KERBEROS) || defined(HAVE_MIT_KERBEROS)
decrypt_gssapi_krb_arcfour_wrap(tree,
pinfo,
tvb,
KEYTYPE_ARCFOUR_HMAC,
gssapi_encrypt);
#endif /* HAVE_HEIMDAL_KERBEROS || HAVE_MIT_KERBEROS */
}
}
#endif
/*
* Return the offset past the checksum, so that we know where
* the data we're wrapped around starts. Also, set the length
* of our top-level item to that offset, so it doesn't cover
* the data we're wrapped around.
*
* Note that for DCERPC the GSSAPI blobs comes after the data it wraps,
* not before.
*/
return offset;
}
/*
* XXX - This is for GSSAPI GetMIC tokens ...
*/
static int
dissect_spnego_krb5_getmic_base(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree)
{
guint16 sgn_alg;
/*
* The KRB5 blob conforms to RFC1964:
* USHORT (0x0101 == GSS_GetMIC)
* and so on }
*/
/* Now, the sign algorithm ... */
sgn_alg = tvb_get_letohs(tvb, offset);
proto_tree_add_uint(tree, hf_spnego_krb5_sgn_alg, tvb, offset, 2, sgn_alg);
offset += 2;
/* Skip the filler */
offset += 4;
/* Encrypted sequence number */
proto_tree_add_item(tree, hf_spnego_krb5_snd_seq, tvb, offset, 8, ENC_NA);
offset += 8;
/* Checksum of plaintext padded data */
proto_tree_add_item(tree, hf_spnego_krb5_sgn_cksum, tvb, offset, 8, ENC_NA);
offset += 8;
/*
* At least according to draft-brezak-win2k-krb-rc4-hmac-04,
* if the signing algorithm is KRB_SGN_ALG_HMAC, there's an
* extra 8 bytes of "Random confounder" after the checksum.
* It certainly confounds code expecting all Kerberos 5
* GSS_Wrap() tokens to look the same....
*
* The exception is DNS/TSIG where there is no such confounder
* so we need to test here if there are more bytes in our tvb or not.
* -- ronnie
*/
if (tvb_reported_length_remaining(tvb, offset)) {
if (sgn_alg == KRB_SGN_ALG_HMAC) {
proto_tree_add_item(tree, hf_spnego_krb5_confounder, tvb, offset, 8, ENC_NA);
offset += 8;
}
}
/*
* Return the offset past the checksum, so that we know where
* the data we're wrapped around starts. Also, set the length
* of our top-level item to that offset, so it doesn't cover
* the data we're wrapped around.
*/
return offset;
}
static int
dissect_spnego_krb5_cfx_flags(tvbuff_t *tvb, int offset,
proto_tree *spnego_krb5_tree,
guint8 cfx_flags _U_)
{
static int * const flags[] = {
&hf_spnego_krb5_cfx_flags_04,
&hf_spnego_krb5_cfx_flags_02,
&hf_spnego_krb5_cfx_flags_01,
NULL
};
proto_tree_add_bitmask(spnego_krb5_tree, tvb, offset, hf_spnego_krb5_cfx_flags, ett_spnego_krb5_cfx_flags, flags, ENC_NA);
return (offset + 1);
}
/*
* This is for GSSAPI CFX Wrap tokens ...
*/
static int
dissect_spnego_krb5_cfx_wrap_base(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint16 token_id _U_, gssapi_encrypt_info_t* gssapi_encrypt)
{
guint8 flags;
guint16 ec;
#if defined(HAVE_HEIMDAL_KERBEROS) || defined(HAVE_MIT_KERBEROS)
guint16 rrc;
#else
(void) pinfo;
#endif
int checksum_size;
int start_offset=offset;
/*
* The KRB5 blob conforms to RFC4121:
* USHORT (0x0504)
* and so on }
*/
/* Now, the sign and seal algorithms ... */
flags = tvb_get_guint8(tvb, offset);
offset = dissect_spnego_krb5_cfx_flags(tvb, offset, tree, flags);
if (gssapi_encrypt != NULL)
gssapi_encrypt->gssapi_data_encrypted=(flags & 2);
/* Skip the filler */
proto_tree_add_item(tree, hf_spnego_krb5_filler, tvb, offset, 1, ENC_NA);
offset += 1;
/* EC */
ec = tvb_get_ntohs(tvb, offset);
proto_tree_add_item(tree, hf_spnego_krb5_cfx_ec, tvb, offset, 2, ENC_BIG_ENDIAN);
offset += 2;
/* RRC */
#if defined(HAVE_HEIMDAL_KERBEROS) || defined(HAVE_MIT_KERBEROS)
rrc = tvb_get_ntohs(tvb, offset);
#endif
proto_tree_add_item(tree, hf_spnego_krb5_cfx_rrc, tvb, offset, 2, ENC_BIG_ENDIAN);
offset += 2;
/* sequence number */
proto_tree_add_item(tree, hf_spnego_krb5_cfx_seq, tvb, offset, 8, ENC_BIG_ENDIAN);
offset += 8;
if (gssapi_encrypt == NULL) /* Probably shoudn't happen, but just protect ourselves */
return offset;
/* Checksum of plaintext padded data */
if (gssapi_encrypt->gssapi_data_encrypted) {
checksum_size = 44 + ec;
proto_tree_add_item(tree, hf_spnego_krb5_sgn_cksum, tvb, offset, checksum_size, ENC_NA);
offset += checksum_size;
} else {
int returned_offset;
int inner_token_len = 0;
/*
* We know we have a wrap token, but we have to let the proto
* above us decode that, so hand it back in gssapi_wrap_tvb
* and put the checksum in the tree.
*/
checksum_size = ec;
inner_token_len = tvb_reported_length_remaining(tvb, offset);
if (inner_token_len > ec) {
inner_token_len -= ec;
}
/*
* We handle only the two common cases for now
* (rrc == 0 and rrc == ec)
*/
#if defined(HAVE_HEIMDAL_KERBEROS) || defined(HAVE_MIT_KERBEROS)
if (rrc == ec) {
proto_tree_add_item(tree, hf_spnego_krb5_sgn_cksum, tvb, offset, checksum_size, ENC_NA);
offset += checksum_size;
}
#endif
returned_offset = offset;
gssapi_encrypt->gssapi_wrap_tvb = tvb_new_subset_length(tvb, offset,
inner_token_len);
offset += inner_token_len;
#if defined(HAVE_HEIMDAL_KERBEROS) || defined(HAVE_MIT_KERBEROS)
if (rrc == 0)
#endif
{
proto_tree_add_item(tree, hf_spnego_krb5_sgn_cksum, tvb, offset, checksum_size, ENC_NA);
}
/*
* Return an offset that puts our caller before the inner
* token. This is better than before, but we still see the
* checksum included in the LDAP query at times.
*/
return returned_offset;
}
if(gssapi_encrypt->decrypt_gssapi_tvb){
/* if the caller did not provide a tvb, then we just use
whatever is left of our current tvb.
*/
if(!gssapi_encrypt->gssapi_encrypted_tvb){
int len;
len=tvb_reported_length_remaining(tvb,offset);
if(len>tvb_captured_length_remaining(tvb, offset)){
/* no point in trying to decrypt,
we don't have the full pdu.
*/
return offset;
}
gssapi_encrypt->gssapi_encrypted_tvb = tvb_new_subset_length_caplen(
tvb, offset, len, len);
}
if (gssapi_encrypt->gssapi_data_encrypted) {
/* do we need to create a tvb for the wrapper
as well ?
*/
if(!gssapi_encrypt->gssapi_wrap_tvb){
gssapi_encrypt->gssapi_wrap_tvb = tvb_new_subset_length(
tvb, start_offset-2,
offset - (start_offset-2));
}
}
}
#if defined(HAVE_HEIMDAL_KERBEROS) || defined(HAVE_MIT_KERBEROS)
{
tvbuff_t *checksum_tvb = tvb_new_subset_length(tvb, 16, checksum_size);
if (gssapi_encrypt->gssapi_data_encrypted) {
if(gssapi_encrypt->gssapi_encrypted_tvb){
decrypt_gssapi_krb_cfx_wrap(tree,
pinfo,
checksum_tvb,
gssapi_encrypt,
ec,
rrc,
-1,
(flags & 0x0001)?
KRB5_KU_USAGE_ACCEPTOR_SEAL:
KRB5_KU_USAGE_INITIATOR_SEAL);
}
}
}
#endif /* HAVE_HEIMDAL_KERBEROS || HAVE_MIT_KERBEROS */
/*
* Return the offset past the checksum, so that we know where
* the data we're wrapped around starts. Also, set the length
* of our top-level item to that offset, so it doesn't cover
* the data we're wrapped around.
*
* Note that for DCERPC the GSSAPI blobs comes after the data it wraps,
* not before.
*/
return offset;
}
/*
* XXX - This is for GSSAPI CFX GetMIC tokens ...
*/
static int
dissect_spnego_krb5_cfx_getmic_base(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree)
{
guint8 flags;
int checksum_size;
/*
* The KRB5 blob conforms to RFC4121:
* USHORT (0x0404 == GSS_GetMIC)
* and so on }
*/
flags = tvb_get_guint8(tvb, offset);
offset = dissect_spnego_krb5_cfx_flags(tvb, offset, tree, flags);
/* Skip the filler */
proto_tree_add_item(tree, hf_spnego_krb5_filler, tvb, offset, 5, ENC_NA);
offset += 5;
/* sequence number */
proto_tree_add_item(tree, hf_spnego_krb5_cfx_seq, tvb, offset, 8, ENC_BIG_ENDIAN);
offset += 8;
/* Checksum of plaintext padded data */
checksum_size = tvb_captured_length_remaining(tvb, offset);
proto_tree_add_item(tree, hf_spnego_krb5_sgn_cksum, tvb, offset, checksum_size, ENC_NA);
offset += checksum_size;
/*
* Return the offset past the checksum, so that we know where
* the data we're wrapped around starts. Also, set the length
* of our top-level item to that offset, so it doesn't cover
* the data we're wrapped around.
*/
return offset;
}
/*
* XXX - is this for SPNEGO or just GSS-API?
* RFC 1964 is "The Kerberos Version 5 GSS-API Mechanism"; presumably one
* can directly designate Kerberos V5 as a mechanism in GSS-API, rather
* than designating SPNEGO as the mechanism, offering Kerberos V5, and
* getting it accepted.
*/
static int
dissect_spnego_krb5_wrap(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void *data)
{
proto_item *item;
proto_tree *subtree;
int offset = 0;
guint16 token_id;
gssapi_encrypt_info_t* encrypt_info = (gssapi_encrypt_info_t*)data;
item = proto_tree_add_item(tree, hf_spnego_krb5, tvb, 0, -1, ENC_NA);
subtree = proto_item_add_subtree(item, ett_spnego_krb5);
/*
* The KRB5 blob conforms to RFC1964:
* USHORT (0x0102 == GSS_Wrap)
* and so on }
*/
/* First, the token ID ... */
token_id = tvb_get_letohs(tvb, offset);
proto_tree_add_uint(subtree, hf_spnego_krb5_tok_id, tvb, offset, 2, token_id);
offset += 2;
switch (token_id) {
case KRB_TOKEN_GETMIC:
offset = dissect_spnego_krb5_getmic_base(tvb, offset, pinfo, subtree);
break;
case KRB_TOKEN_WRAP:
offset = dissect_spnego_krb5_wrap_base(tvb, offset, pinfo, subtree, token_id, encrypt_info);
break;
case KRB_TOKEN_CFX_GETMIC:
offset = dissect_spnego_krb5_cfx_getmic_base(tvb, offset, pinfo, subtree);
break;
case KRB_TOKEN_CFX_WRAP:
offset = dissect_spnego_krb5_cfx_wrap_base(tvb, offset, pinfo, subtree, token_id, encrypt_info);
break;
default:
break;
}
/*
* Return the offset past the checksum, so that we know where
* the data we're wrapped around starts. Also, set the length
* of our top-level item to that offset, so it doesn't cover
* the data we're wrapped around.
*/
proto_item_set_len(item, offset);
return offset;
}
/* Spnego stuff from here */
static int
dissect_spnego_wrap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
proto_item *item;
proto_tree *subtree;
int offset = 0;
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
MechType_oid = NULL;
/*
* We need this later, so lets get it now ...
* It has to be per-frame as there can be more than one GSS-API
* negotiation in a conversation.
*/
item = proto_tree_add_item(tree, proto_spnego, tvb, offset, -1, ENC_NA);
subtree = proto_item_add_subtree(item, ett_spnego);
/*
* The TVB contains a [0] header and a sequence that consists of an
* object ID and a blob containing the data ...
* XXX - is this RFC 2743's "Mechanism-Independent Token Format",
* with the "optional" "use in non-initial tokens" being chosen.
* ASN1 code addet to spnego.asn to handle this.
*/
offset = dissect_spnego_InitialContextToken(FALSE, tvb, offset, &asn1_ctx , subtree, -1);
return offset;
}
static int
dissect_spnego(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data _U_)
{
proto_item *item;
proto_tree *subtree;
int offset = 0;
conversation_t *conversation;
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
/*
* We need this later, so lets get it now ...
* It has to be per-frame as there can be more than one GSS-API
* negotiation in a conversation.
*/
next_level_value = (gssapi_oid_value *)p_get_proto_data(wmem_file_scope(), pinfo, proto_spnego, 0);
if (!next_level_value && !pinfo->fd->visited) {
/*
* No handle attached to this frame, but it's the first
* pass, so it'd be attached to the conversation.
* If we have a conversation, try to get the handle,
* and if we get one, attach it to the frame.
*/
conversation = find_conversation_pinfo(pinfo, 0);
if (conversation) {
next_level_value = (gssapi_oid_value *)conversation_get_proto_data(conversation, proto_spnego);
if (next_level_value)
p_add_proto_data(wmem_file_scope(), pinfo, proto_spnego, 0, next_level_value);
}
}
item = proto_tree_add_item(parent_tree, proto_spnego, tvb, offset, -1, ENC_NA);
subtree = proto_item_add_subtree(item, ett_spnego);
/*
* The TVB contains a [0] header and a sequence that consists of an
* object ID and a blob containing the data ...
* Actually, it contains, according to RFC2478:
* NegotiationToken ::= CHOICE {
* negTokenInit [0] NegTokenInit,
* negTokenTarg [1] NegTokenTarg }
* NegTokenInit ::= SEQUENCE {
* mechTypes [0] MechTypeList OPTIONAL,
* reqFlags [1] ContextFlags OPTIONAL,
* mechToken [2] OCTET STRING OPTIONAL,
* mechListMIC [3] OCTET STRING OPTIONAL }
* NegTokenTarg ::= SEQUENCE {
* negResult [0] ENUMERATED {
* accept_completed (0),
* accept_incomplete (1),
* reject (2) } OPTIONAL,
* supportedMech [1] MechType OPTIONAL,
* responseToken [2] OCTET STRING OPTIONAL,
* mechListMIC [3] OCTET STRING OPTIONAL }
*
* Windows typically includes mechTypes and mechListMic ('NONE'
* in the case of NTLMSSP only).
* It seems to duplicate the responseToken into the mechListMic field
* as well. Naughty, naughty.
*
*/
dissect_spnego_NegotiationToken(FALSE, tvb, offset, &asn1_ctx, subtree, -1);
return tvb_captured_length(tvb);
}
/*--- proto_register_spnego -------------------------------------------*/
void proto_register_spnego(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_spnego_wraptoken,
{ "wrapToken", "spnego.wraptoken",
FT_NONE, BASE_NONE, NULL, 0x0, "SPNEGO wrapToken",
HFILL}},
{ &hf_spnego_krb5,
{ "krb5_blob", "spnego.krb5.blob", FT_BYTES,
BASE_NONE, NULL, 0, NULL, HFILL }},
{ &hf_spnego_krb5_oid,
{ "KRB5 OID", "spnego.krb5_oid", FT_STRING,
BASE_NONE, NULL, 0, NULL, HFILL }},
{ &hf_spnego_krb5_tok_id,
{ "krb5_tok_id", "spnego.krb5.tok_id", FT_UINT16, BASE_HEX,
VALS(spnego_krb5_tok_id_vals), 0, "KRB5 Token Id", HFILL}},
{ &hf_spnego_krb5_sgn_alg,
{ "krb5_sgn_alg", "spnego.krb5.sgn_alg", FT_UINT16, BASE_HEX,
VALS(spnego_krb5_sgn_alg_vals), 0, "KRB5 Signing Algorithm", HFILL}},
{ &hf_spnego_krb5_seal_alg,
{ "krb5_seal_alg", "spnego.krb5.seal_alg", FT_UINT16, BASE_HEX,
VALS(spnego_krb5_seal_alg_vals), 0, "KRB5 Sealing Algorithm", HFILL}},
{ &hf_spnego_krb5_snd_seq,
{ "krb5_snd_seq", "spnego.krb5.snd_seq", FT_BYTES, BASE_NONE,
NULL, 0, "KRB5 Encrypted Sequence Number", HFILL}},
{ &hf_spnego_krb5_sgn_cksum,
{ "krb5_sgn_cksum", "spnego.krb5.sgn_cksum", FT_BYTES, BASE_NONE,
NULL, 0, "KRB5 Data Checksum", HFILL}},
{ &hf_spnego_krb5_confounder,
{ "krb5_confounder", "spnego.krb5.confounder", FT_BYTES, BASE_NONE,
NULL, 0, "KRB5 Confounder", HFILL}},
{ &hf_spnego_krb5_filler,
{ "krb5_filler", "spnego.krb5.filler", FT_BYTES, BASE_NONE,
NULL, 0, "KRB5 Filler", HFILL}},
{ &hf_spnego_krb5_cfx_flags,
{ "krb5_cfx_flags", "spnego.krb5.cfx_flags", FT_UINT8, BASE_HEX,
NULL, 0, "KRB5 CFX Flags", HFILL}},
{ &hf_spnego_krb5_cfx_flags_01,
{ "SendByAcceptor", "spnego.krb5.send_by_acceptor", FT_BOOLEAN, 8,
TFS (&tfs_set_notset), 0x01, NULL, HFILL}},
{ &hf_spnego_krb5_cfx_flags_02,
{ "Sealed", "spnego.krb5.sealed", FT_BOOLEAN, 8,
TFS (&tfs_set_notset), 0x02, NULL, HFILL}},
{ &hf_spnego_krb5_cfx_flags_04,
{ "AcceptorSubkey", "spnego.krb5.acceptor_subkey", FT_BOOLEAN, 8,
TFS (&tfs_set_notset), 0x04, NULL, HFILL}},
{ &hf_spnego_krb5_cfx_ec,
{ "krb5_cfx_ec", "spnego.krb5.cfx_ec", FT_UINT16, BASE_DEC,
NULL, 0, "KRB5 CFX Extra Count", HFILL}},
{ &hf_spnego_krb5_cfx_rrc,
{ "krb5_cfx_rrc", "spnego.krb5.cfx_rrc", FT_UINT16, BASE_DEC,
NULL, 0, "KRB5 CFX Right Rotation Count", HFILL}},
{ &hf_spnego_krb5_cfx_seq,
{ "krb5_cfx_seq", "spnego.krb5.cfx_seq", FT_UINT64, BASE_DEC,
NULL, 0, "KRB5 Sequence Number", HFILL}},
#include "packet-spnego-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_spnego,
&ett_spnego_wraptoken,
&ett_spnego_krb5,
&ett_spnego_krb5_cfx_flags,
#include "packet-spnego-ettarr.c"
};
static ei_register_info ei[] = {
{ &ei_spnego_decrypted_keytype, { "spnego.decrypted_keytype", PI_SECURITY, PI_CHAT, "Decrypted keytype", EXPFILL }},
{ &ei_spnego_unknown_header, { "spnego.unknown_header", PI_PROTOCOL, PI_WARN, "Unknown header", EXPFILL }},
};
expert_module_t* expert_spnego;
/* Register protocol */
proto_spnego = proto_register_protocol(PNAME, PSNAME, PFNAME);
spnego_handle = register_dissector("spnego", dissect_spnego, proto_spnego);
spnego_wrap_handle = register_dissector("spnego-wrap", dissect_spnego_wrap, proto_spnego);
proto_spnego_krb5 = proto_register_protocol("SPNEGO-KRB5", "SPNEGO-KRB5", "spnego-krb5");
spnego_krb5_handle = register_dissector("spnego-krb5", dissect_spnego_krb5, proto_spnego_krb5);
spnego_krb5_wrap_handle = register_dissector("spnego-krb5-wrap", dissect_spnego_krb5_wrap, proto_spnego_krb5);
/* Register fields and subtrees */
proto_register_field_array(proto_spnego, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
expert_spnego = expert_register_protocol(proto_spnego);
expert_register_field_array(expert_spnego, ei, array_length(ei));
}
/*--- proto_reg_handoff_spnego ---------------------------------------*/
void proto_reg_handoff_spnego(void) {
/* Register protocol with GSS-API module */
gssapi_init_oid("1.3.6.1.5.5.2", proto_spnego, ett_spnego,
spnego_handle, spnego_wrap_handle,
"SPNEGO - Simple Protected Negotiation");
/* Register both the one MS created and the real one */
/*
* Thanks to Jean-Baptiste Marchand and Richard B Ward, the
* mystery of the MS KRB5 OID is cleared up. It was due to a library
* that did not handle OID components greater than 16 bits, and was
* fixed in Win2K SP2 as well as WinXP.
* See the archive of <[email protected]> for the thread topic
* SPNEGO implementation issues. 3-Dec-2002.
*/
gssapi_init_oid("1.2.840.48018.1.2.2", proto_spnego_krb5, ett_spnego_krb5,
spnego_krb5_handle, spnego_krb5_wrap_handle,
"MS KRB5 - Microsoft Kerberos 5");
gssapi_init_oid("1.2.840.113554.1.2.2", proto_spnego_krb5, ett_spnego_krb5,
spnego_krb5_handle, spnego_krb5_wrap_handle,
"KRB5 - Kerberos 5");
gssapi_init_oid("1.2.840.113554.1.2.2.3", proto_spnego_krb5, ett_spnego_krb5,
spnego_krb5_handle, spnego_krb5_wrap_handle,
"KRB5 - Kerberos 5 - User to User");
}
/*
* Editor modelines
*
* Local Variables:
* c-basic-offset: 2
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* ex: set shiftwidth=2 tabstop=8 expandtab:
* :indentSize=2:tabSize=8:noTabs=true:
*/ |
ASN.1 | wireshark/epan/dissectors/asn1/spnego/spnego.asn | Spnego {iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) snego(2)}
-- (1.3.6.1.5.5.2)
DEFINITIONS ::=
BEGIN
MechType::= OBJECT IDENTIFIER
NegotiationToken ::= CHOICE {
negTokenInit [0] NegTokenInit,
negTokenTarg [1] NegTokenTarg }
MechTypeList ::= SEQUENCE OF MechType
--
-- MS-SPNG tells us that the format of a negTokenInit is actually
-- negTokenInit2 if a negTokenInit is seen in a response. It might need
-- to be the first negTokenInit seen in a response, but I am not sure.
-- It will only occur in a NegotiateProtocol response in CIFS/SMB or SMB2.
--
NegTokenInit ::= SEQUENCE {
mechTypes [0] MechTypeList OPTIONAL,
reqFlags [1] ContextFlags OPTIONAL,
mechToken [2] OCTET STRING OPTIONAL,
mechListMIC [3] OCTET STRING OPTIONAL
}
NegHints ::= SEQUENCE {
hintName [0] GeneralString OPTIONAL,
hintAddress [1] OCTET STRING OPTIONAL
}
NegTokenInit2 ::= SEQUENCE {
mechTypes [0] MechTypeList OPTIONAL,
reqFlags [1] ContextFlags OPTIONAL,
mechToken [2] OCTET STRING OPTIONAL,
negHints [3] NegHints OPTIONAL,
mechListMIC [4] OCTET STRING OPTIONAL
}
ContextFlags ::= BIT STRING {
delegFlag (0),
mutualFlag (1),
replayFlag (2),
sequenceFlag (3),
anonFlag (4),
confFlag (5),
integFlag (6)
}
NegTokenTarg ::= SEQUENCE {
negResult [0] ENUMERATED {
accept-completed (0),
accept-incomplete (1),
reject (2) } OPTIONAL,
supportedMech [1] MechType OPTIONAL,
responseToken [2] OCTET STRING OPTIONAL,
mechListMIC [3] OCTET STRING OPTIONAL
}
--GSS-API DEFINITIONS ::=
--BEGIN
--MechType ::= OBJECT IDENTIFIER
-- data structure definitions
-- callers must be able to distinguish among
-- InitialContextToken, SubsequentContextToken,
-- PerMsgToken, and SealedMessage data elements
-- based on the usage in which they occur
InitialContextToken ::=
-- option indication (delegation, etc.) indicated within
-- mechanism-specific token
[APPLICATION 0] IMPLICIT SEQUENCE {
thisMech MechType,
innerContextToken InnerContextToken
-- DEFINED BY thisMech
-- contents mechanism-specific
-- ASN.1 structure not required
}
-- SubsequentContextToken ::= InnerContextToken
InnerContextToken ::= ANY
-- interpretation based on predecessor InitialContextToken
-- ASN.1 structure not required
-- PerMsgToken ::=
-- as emitted by GSS_GetMIC and processed by GSS_VerifyMIC
-- ASN.1 structure not required
-- InnerMsgToken
-- InnerMsgToken ::= ANY
-- SealedMessage ::=
-- as emitted by GSS_Wrap and processed by GSS_Unwrap
-- includes internal, mechanism-defined indicator
-- of whether or not encrypted
-- ASN.1 structure not required
-- SealedUserData
-- SealedUserData ::= ANY
-- END GSS-API DEFINITIONS
END |
Configuration | wireshark/epan/dissectors/asn1/spnego/spnego.cnf | # spnego.cnf
# spnego conformation file
#.EXPORTS
#.PDU
#.NO_EMIT ONLY_VALS
NegotiationToken
#.FN_BODY NegotiationToken/negTokenInit
bool is_response = actx->pinfo->ptype == PT_TCP &&
actx->pinfo->srcport < 1024;
/*
* We decode as negTokenInit2 or negTokenInit depending on whether or not
* we are in a response or a request. That is essentially what MS-SPNG
* says.
*/
if (is_response) {
return dissect_spnego_NegTokenInit2(%(IMPLICIT_TAG)s, %(TVB)s, %(OFFSET)s,
%(ACTX)s, %(TREE)s, %(HF_INDEX)s);
} else {
return dissect_spnego_NegTokenInit(%(IMPLICIT_TAG)s, %(TVB)s, %(OFFSET)s,
%(ACTX)s, %(TREE)s, %(HF_INDEX)s);
}
#.FN_PARS MechType
FN_VARIANT = _str VAL_PTR = &MechType_oid
#.FN_BODY MechType
gssapi_oid_value *value;
%(DEFAULT_BODY)s
value = gssapi_lookup_oid_str(MechType_oid);
/*
* Tell our caller the first mechanism we see, so that if
* this is a negTokenInit with a mechToken, it can interpret
* the mechToken according to the first mechType. (There
* might not have been any indication of the mechType
* in prior frames, so we can't necessarily use the
* mechanism from the conversation; i.e., a negTokenInit
* can contain the initial security token for the desired
* mechanism of the initiator - that's the first mechanism
* in the list.)
*/
if (!saw_mechanism) {
if (value)
next_level_value = value;
saw_mechanism = TRUE;
}
#.FN_BODY InnerContextToken
gssapi_oid_value *next_level_value_lcl;
proto_item *item;
proto_tree *subtree;
tvbuff_t *token_tvb;
int len;
/*
* XXX - what should we do if this OID doesn't match the value
* attached to the frame or conversation? (That would be
* bogus, but that's not impossible - some broken implementation
* might negotiate some security mechanism but put the OID
* for some other security mechanism in GSS_Wrap tokens.)
* Does it matter?
*/
next_level_value_lcl = gssapi_lookup_oid_str(MechType_oid);
/*
* Now dissect the GSS_Wrap token; it's assumed to be in the
* rest of the tvbuff.
*/
item = proto_tree_add_item(tree, hf_spnego_wraptoken, tvb, offset, -1, ENC_NA);
subtree = proto_item_add_subtree(item, ett_spnego_wraptoken);
/*
* Now, we should be able to dispatch after creating a new TVB.
* The subdissector must return the length of the part of the
* token it dissected, so we can return the length of the part
* we (and it) dissected.
*/
token_tvb = tvb_new_subset_remaining(tvb, offset);
if (next_level_value_lcl && next_level_value_lcl->wrap_handle) {
len = call_dissector(next_level_value_lcl->wrap_handle, token_tvb, actx->pinfo,
subtree);
if (len == 0)
offset = tvb_reported_length(tvb);
else
offset = offset + len;
} else
offset = tvb_reported_length(tvb);
#.FN_BODY MechTypeList
conversation_t *conversation;
saw_mechanism = FALSE;
%(DEFAULT_BODY)s
/*
* If we saw a mechType we need to store it in case the negTokenTarg
* does not provide a supportedMech.
*/
if(saw_mechanism){
conversation = find_or_create_conversation(actx->pinfo);
conversation_add_proto_data(conversation, proto_spnego, next_level_value);
}
#.FN_PARS NegTokenInit/mechToken
VAL_PTR = &mechToken_tvb
#.FN_BODY NegTokenInit/mechToken
tvbuff_t *mechToken_tvb = NULL;
%(DEFAULT_BODY)s
/*
* Now, we should be able to dispatch, if we've gotten a tvbuff for
* the token and we have information on how to dissect its contents.
*/
if (mechToken_tvb && next_level_value)
call_dissector(next_level_value->handle, mechToken_tvb, actx->pinfo, tree);
#.FN_BODY NegTokenTarg/supportedMech
conversation_t *conversation;
saw_mechanism = FALSE;
%(DEFAULT_BODY)s
/*
* If we saw an explicit mechType we store this in the conversation so that
* it will override any mechType we might have picked up from the
* negTokenInit.
*/
if(saw_mechanism){
conversation = find_or_create_conversation(actx->pinfo);
conversation_add_proto_data(conversation, proto_spnego, next_level_value);
}
#.FN_PARS NegTokenTarg/responseToken
VAL_PTR = &responseToken_tvb
#.FN_BODY NegTokenTarg/responseToken
tvbuff_t *responseToken_tvb;
%(DEFAULT_BODY)s
/*
* Now, we should be able to dispatch, if we've gotten a tvbuff for
* the token and we have information on how to dissect its contents.
* However, we should make sure that there is something in the
* response token ...
*/
if (responseToken_tvb && (tvb_reported_length(responseToken_tvb) > 0) ){
gssapi_oid_value *value=next_level_value;
if(value){
call_dissector(value->handle, responseToken_tvb, actx->pinfo, tree);
}
}
#.FN_BODY NegTokenTarg/mechListMIC VAL_PTR = &mechListMIC_tvb
tvbuff_t *mechListMIC_tvb;
%(DEFAULT_BODY)s
/*
* Now, we should be able to dispatch, if we've gotten a tvbuff for
* the token and we have information on how to dissect its contents.
* However, we should make sure that there is something in the
* response token ...
*/
if (mechListMIC_tvb && (tvb_reported_length(mechListMIC_tvb) > 0) ){
gssapi_oid_value *value=next_level_value;
if(value){
call_dissector(value->handle, mechListMIC_tvb, actx->pinfo, tree);
}
}
#.END
#
# Editor modelines - https://www.wireshark.org/tools/modelines.html
#
# Local variables:
# c-basic-offset: 2
# tab-width: 8
# indent-tabs-mode: nil
# End:
#
# vi: set shiftwidth=2 tabstop=8 expandtab:
# :indentSize=2:tabSize=8:noTabs=true:
# |
Text | wireshark/epan/dissectors/asn1/sv/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME sv )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
${PROTOCOL_NAME}.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/sv/packet-sv-template.c | /* packet-sv.c
* Routines for IEC 61850 Sampled Values packet dissection
* Michael Bernhard 2008
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/asn1.h>
#include <epan/etypes.h>
#include <epan/expert.h>
#include <epan/prefs.h>
#include <epan/addr_resolv.h>
#include "packet-ber.h"
#include "packet-acse.h"
#include "tap.h"
#include "packet-sv.h"
#define PNAME "IEC61850 Sampled Values"
#define PSNAME "SV"
#define PFNAME "sv"
/* see IEC61850-8-1 8.2 */
#define Q_VALIDITY_GOOD (0x0U << 0)
#define Q_VALIDITY_INVALID (0x1U << 0)
#define Q_VALIDITY_QUESTIONABLE (0x3U << 0)
#define Q_VALIDITY_MASK (0x3U << 0)
#define Q_OVERFLOW (1U << 2)
#define Q_OUTOFRANGE (1U << 3)
#define Q_BADREFERENCE (1U << 4)
#define Q_OSCILLATORY (1U << 5)
#define Q_FAILURE (1U << 6)
#define Q_OLDDATA (1U << 7)
#define Q_INCONSISTENT (1U << 8)
#define Q_INACCURATE (1U << 9)
#define Q_SOURCE_PROCESS (0U << 10)
#define Q_SOURCE_SUBSTITUTED (1U << 10)
#define Q_SOURCE_MASK (1U << 10)
#define Q_TEST (1U << 11)
#define Q_OPERATORBLOCKED (1U << 12)
/* see UCA Implementation Guideline for IEC 61850-9-2 */
#define Q_DERIVED (1U << 13)
/* Bit fields in the Reserved attributes */
#define F_RESERVE1_S_BIT 0x8000
void proto_register_sv(void);
void proto_reg_handoff_sv(void);
/* Data for SV tap */
static int sv_tap = -1;
static sv_frame_data sv_data;
/* Initialize the protocol and registered fields */
static int proto_sv = -1;
static int hf_sv_appid = -1;
static int hf_sv_length = -1;
static int hf_sv_reserve1 = -1;
static int hf_sv_reserve1_s_bit = -1;
static int hf_sv_reserve2 = -1;
static int hf_sv_phmeas_instmag_i = -1;
static int hf_sv_phsmeas_q = -1;
static int hf_sv_phsmeas_q_validity = -1;
static int hf_sv_phsmeas_q_overflow = -1;
static int hf_sv_phsmeas_q_outofrange = -1;
static int hf_sv_phsmeas_q_badreference = -1;
static int hf_sv_phsmeas_q_oscillatory = -1;
static int hf_sv_phsmeas_q_failure = -1;
static int hf_sv_phsmeas_q_olddata = -1;
static int hf_sv_phsmeas_q_inconsistent = -1;
static int hf_sv_phsmeas_q_inaccurate = -1;
static int hf_sv_phsmeas_q_source = -1;
static int hf_sv_phsmeas_q_test = -1;
static int hf_sv_phsmeas_q_operatorblocked = -1;
static int hf_sv_phsmeas_q_derived = -1;
static int hf_sv_gmidentity = -1;
static int hf_sv_gmidentity_manuf = -1;
#include "packet-sv-hf.c"
/* Initialize the subtree pointers */
static int ett_sv = -1;
static int ett_phsmeas = -1;
static int ett_phsmeas_q = -1;
static int ett_gmidentity = -1;
static int ett_reserve1 = -1;
#include "packet-sv-ett.c"
static expert_field ei_sv_mal_utctime = EI_INIT;
static expert_field ei_sv_zero_pdu = EI_INIT;
static expert_field ei_sv_mal_gmidentity = EI_INIT;
static gboolean sv_decode_data_as_phsmeas = FALSE;
static dissector_handle_t sv_handle;
static const value_string sv_q_validity_vals[] = {
{ 0, "good" },
{ 1, "invalid" },
{ 3, "questionable" },
{ 0, NULL }
};
static const value_string sv_q_source_vals[] = {
{ 0, "process" },
{ 1, "substituted" },
{ 0, NULL }
};
static int
dissect_PhsMeas1(bool implicit_tag, packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, int hf_id _U_)
{
gint8 ber_class;
bool pc;
gint32 tag;
guint32 len;
proto_tree *subtree;
gint32 value;
guint32 qual;
guint32 i;
static int * const q_flags[] = {
&hf_sv_phsmeas_q_validity,
&hf_sv_phsmeas_q_overflow,
&hf_sv_phsmeas_q_outofrange,
&hf_sv_phsmeas_q_badreference,
&hf_sv_phsmeas_q_oscillatory,
&hf_sv_phsmeas_q_failure,
&hf_sv_phsmeas_q_olddata,
&hf_sv_phsmeas_q_inconsistent,
&hf_sv_phsmeas_q_inaccurate,
&hf_sv_phsmeas_q_source,
&hf_sv_phsmeas_q_test,
&hf_sv_phsmeas_q_operatorblocked,
&hf_sv_phsmeas_q_derived,
NULL
};
if (!implicit_tag) {
offset=dissect_ber_identifier(pinfo, tree, tvb, offset, &ber_class, &pc, &tag);
offset=dissect_ber_length(pinfo, tree, tvb, offset, &len, NULL);
} else {
len=tvb_reported_length_remaining(tvb, offset);
}
subtree = proto_tree_add_subtree(tree, tvb, offset, len, ett_phsmeas, NULL, "PhsMeas1");
sv_data.num_phsMeas = 0;
for (i = 0; i < len/8; i++) {
if (tree && subtree) {
value = tvb_get_ntohl(tvb, offset);
qual = tvb_get_ntohl(tvb, offset + 4);
proto_tree_add_item(subtree, hf_sv_phmeas_instmag_i, tvb, offset, 4, ENC_BIG_ENDIAN);
proto_tree_add_bitmask(subtree, tvb, offset + 4, hf_sv_phsmeas_q, ett_phsmeas_q, q_flags, ENC_BIG_ENDIAN);
if (i < IEC61850_SV_MAX_PHSMEAS_ENTRIES) {
sv_data.phsMeas[i].value = value;
sv_data.phsMeas[i].qual = qual;
sv_data.num_phsMeas++;
}
}
offset += 8;
}
return offset;
}
#include "packet-sv-fn.c"
/*
* Dissect SV PDUs inside a PPDU.
*/
static int
dissect_sv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data _U_)
{
int offset = 0;
int old_offset;
guint sv_length = 0;
proto_item *item;
proto_tree *tree;
static int * const reserve1_flags[] = {
&hf_sv_reserve1_s_bit,
NULL
};
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
item = proto_tree_add_item(parent_tree, proto_sv, tvb, 0, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_sv);
col_set_str(pinfo->cinfo, COL_PROTOCOL, PNAME);
col_clear(pinfo->cinfo, COL_INFO);
/* APPID */
proto_tree_add_item(tree, hf_sv_appid, tvb, offset, 2, ENC_BIG_ENDIAN);
/* Length */
proto_tree_add_item_ret_uint(tree, hf_sv_length, tvb, offset + 2, 2, ENC_BIG_ENDIAN, &sv_length);
/* Reserved 1 */
proto_tree_add_bitmask(tree, tvb, offset + 4, hf_sv_reserve1, ett_reserve1,
reserve1_flags, ENC_BIG_ENDIAN);
/* Reserved 2 */
proto_tree_add_item(tree, hf_sv_reserve2, tvb, offset + 6, 2, ENC_BIG_ENDIAN);
offset = 8;
set_actual_length(tvb, sv_length);
while (tvb_reported_length_remaining(tvb, offset) > 0) {
old_offset = offset;
offset = dissect_sv_SampledValues(FALSE, tvb, offset, &asn1_ctx , tree, -1);
if (offset == old_offset) {
proto_tree_add_expert(tree, pinfo, &ei_sv_zero_pdu, tvb, offset, -1);
break;
}
}
tap_queue_packet(sv_tap, pinfo, &sv_data);
return tvb_captured_length(tvb);
}
/*--- proto_register_sv -------------------------------------------*/
void proto_register_sv(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_sv_appid,
{ "APPID", "sv.appid", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }},
{ &hf_sv_length,
{ "Length", "sv.length", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }},
{ &hf_sv_reserve1,
{ "Reserved 1", "sv.reserve1", FT_UINT16, BASE_HEX_DEC, NULL, 0x0, NULL, HFILL }},
{ &hf_sv_reserve1_s_bit,
{ "Simulated", "sv.reserve1.s_bit",
FT_BOOLEAN, 16, NULL, F_RESERVE1_S_BIT, NULL, HFILL } },
{ &hf_sv_reserve2,
{ "Reserved 2", "sv.reserve2", FT_UINT16, BASE_HEX_DEC, NULL, 0x0, NULL, HFILL }},
{ &hf_sv_phmeas_instmag_i,
{ "value", "sv.meas_value", FT_INT32, BASE_DEC, NULL, 0x0, NULL, HFILL}},
{ &hf_sv_phsmeas_q,
{ "quality", "sv.meas_quality", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL}},
{ &hf_sv_phsmeas_q_validity,
{ "validity", "sv.meas_quality.validity", FT_UINT32, BASE_HEX, VALS(sv_q_validity_vals), Q_VALIDITY_MASK, NULL, HFILL}},
{ &hf_sv_phsmeas_q_overflow,
{ "overflow", "sv.meas_quality.overflow", FT_BOOLEAN, 32, NULL, Q_OVERFLOW, NULL, HFILL}},
{ &hf_sv_phsmeas_q_outofrange,
{ "out of range", "sv.meas_quality.outofrange", FT_BOOLEAN, 32, NULL, Q_OUTOFRANGE, NULL, HFILL}},
{ &hf_sv_phsmeas_q_badreference,
{ "bad reference", "sv.meas_quality.badreference", FT_BOOLEAN, 32, NULL, Q_BADREFERENCE, NULL, HFILL}},
{ &hf_sv_phsmeas_q_oscillatory,
{ "oscillatory", "sv.meas_quality.oscillatory", FT_BOOLEAN, 32, NULL, Q_OSCILLATORY, NULL, HFILL}},
{ &hf_sv_phsmeas_q_failure,
{ "failure", "sv.meas_quality.failure", FT_BOOLEAN, 32, NULL, Q_FAILURE, NULL, HFILL}},
{ &hf_sv_phsmeas_q_olddata,
{ "old data", "sv.meas_quality.olddata", FT_BOOLEAN, 32, NULL, Q_OLDDATA, NULL, HFILL}},
{ &hf_sv_phsmeas_q_inconsistent,
{ "inconsistent", "sv.meas_quality.inconsistent", FT_BOOLEAN, 32, NULL, Q_INCONSISTENT, NULL, HFILL}},
{ &hf_sv_phsmeas_q_inaccurate,
{ "inaccurate", "sv.meas_quality.inaccurate", FT_BOOLEAN, 32, NULL, Q_INACCURATE, NULL, HFILL}},
{ &hf_sv_phsmeas_q_source,
{ "source", "sv.meas_quality.source", FT_UINT32, BASE_HEX, VALS(sv_q_source_vals), Q_SOURCE_MASK, NULL, HFILL}},
{ &hf_sv_phsmeas_q_test,
{ "test", "sv.meas_quality.test", FT_BOOLEAN, 32, NULL, Q_TEST, NULL, HFILL}},
{ &hf_sv_phsmeas_q_operatorblocked,
{ "operator blocked", "sv.meas_quality.operatorblocked", FT_BOOLEAN, 32, NULL, Q_OPERATORBLOCKED, NULL, HFILL}},
{ &hf_sv_phsmeas_q_derived,
{ "derived", "sv.meas_quality.derived", FT_BOOLEAN, 32, NULL, Q_DERIVED, NULL, HFILL}},
{ &hf_sv_gmidentity,
{ "gmIdentity", "sv.gmidentity", FT_UINT64, BASE_HEX, NULL, 0x00, NULL, HFILL}},
{ &hf_sv_gmidentity_manuf,
{ "MAC Vendor", "sv.gmidentity_manuf", FT_BYTES, BASE_NONE, NULL, 0x00, NULL, HFILL}},
#include "packet-sv-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_sv,
&ett_phsmeas,
&ett_phsmeas_q,
&ett_gmidentity,
&ett_reserve1,
#include "packet-sv-ettarr.c"
};
static ei_register_info ei[] = {
{ &ei_sv_mal_utctime, { "sv.malformed.utctime", PI_MALFORMED, PI_WARN, "BER Error: malformed UTCTime encoding", EXPFILL }},
{ &ei_sv_zero_pdu, { "sv.zero_pdu", PI_PROTOCOL, PI_ERROR, "Internal error, zero-byte SV PDU", EXPFILL }},
{ &ei_sv_mal_gmidentity, { "sv.malformed.gmidentity", PI_MALFORMED, PI_WARN, "BER Error: malformed gmIdentity encoding", EXPFILL }},
};
expert_module_t* expert_sv;
module_t *sv_module;
/* Register protocol */
proto_sv = proto_register_protocol(PNAME, PSNAME, PFNAME);
sv_handle = register_dissector("sv", dissect_sv, proto_sv);
/* Register fields and subtrees */
proto_register_field_array(proto_sv, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
expert_sv = expert_register_protocol(proto_sv);
expert_register_field_array(expert_sv, ei, array_length(ei));
sv_module = prefs_register_protocol(proto_sv, NULL);
prefs_register_bool_preference(sv_module, "decode_data_as_phsmeas",
"Force decoding of seqData as PhsMeas",
NULL, &sv_decode_data_as_phsmeas);
/* Register tap */
sv_tap = register_tap("sv");
}
/*--- proto_reg_handoff_sv --- */
void proto_reg_handoff_sv(void) {
dissector_add_uint("ethertype", ETHERTYPE_IEC61850_SV, sv_handle);
} |
C/C++ | wireshark/epan/dissectors/asn1/sv/packet-sv-template.h | /* packet-sv.h
* Routines for IEC 61850 Sampled Vales packet dissection
* Michael Bernhard 2008
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __PACKET_SV_H__
#define __PACKET_SV_H__
#define IEC61850_SV_MAX_PHSMEAS_ENTRIES 20
typedef struct _sv_phs_meas {
gint32 value;
guint32 qual;
} sv_phs_meas;
typedef struct _sv_frame_data {
guint16 smpCnt;
guint8 smpSynch;
guint8 num_phsMeas;
sv_phs_meas phsMeas[IEC61850_SV_MAX_PHSMEAS_ENTRIES];
guint16 smpMod;
} sv_frame_data;
#endif /*__PACKET_SV_H__*/ |
ASN.1 | wireshark/epan/dissectors/asn1/sv/sv.asn | IEC61850 DEFINITIONS ::= BEGIN
SampledValues ::= CHOICE {
savPdu [APPLICATION 0] IMPLICIT SavPdu,
...
}
SavPdu ::= SEQUENCE {
noASDU [0] IMPLICIT INTEGER(0..65535),
seqASDU [2] IMPLICIT SEQUENCE OF ASDU
}
ASDU ::= SEQUENCE {
svID [0] IMPLICIT VisibleString,
datSet [1] IMPLICIT VisibleString OPTIONAL,
smpCnt [2] IMPLICIT INTEGER(0..65535),
confRev [3] IMPLICIT INTEGER(0..4294967295),
refrTm [4] IMPLICIT UtcTime OPTIONAL,
smpSynch [5] IMPLICIT INTEGER{none(0),local(1),global(2)} OPTIONAL,
smpRate [6] IMPLICIT INTEGER(0..65535) OPTIONAL,
seqData [7] IMPLICIT Data,
smpMod [8] IMPLICIT INTEGER{samplesPerNormalPeriod(0),samplesPerSecond(1),secondsPerSample(2)} OPTIONAL,
gmidData [9] IMPLICIT GmidData OPTIONAL,
...
}
UtcTime ::= OCTET STRING
Data ::= OCTET STRING
GmidData ::= OCTET STRING
END |
Configuration | wireshark/epan/dissectors/asn1/sv/sv.cnf | # sv.cnf
# SampledValue conformation file
#.MODULE_IMPORT
#.EXPORTS
#.PDU
#.NO_EMIT ONLY_VALS
SampledValues
#.TYPE_RENAME
#.FIELD_RENAME
#.FN_BODY ASDU/smpCnt VAL_PTR = &value
guint32 value;
%(DEFAULT_BODY)s
sv_data.smpCnt = value;
#.END
#.FN_BODY UtcTime
guint32 len;
guint32 seconds;
guint32 fraction;
guint32 nanoseconds;
nstime_t ts;
gchar * ptime;
len = tvb_reported_length_remaining(tvb, offset);
if(len != 8)
{
proto_tree_add_expert_format(tree, actx->pinfo, &ei_sv_mal_utctime, tvb, offset, len,
"BER Error: malformed UTCTime encoding, length must be 8 bytes");
if(hf_index >= 0)
{
proto_tree_add_string(tree, hf_index, tvb, offset, len, "????");
}
return offset;
}
seconds = tvb_get_ntohl(tvb, offset);
fraction = tvb_get_ntoh24(tvb, offset+4) * 0x100; /* Only 3 bytes are recommended */
nanoseconds = (guint32)( ((guint64)fraction * G_GUINT64_CONSTANT(1000000000)) / G_GUINT64_CONSTANT(0x100000000) ) ;
ts.secs = seconds;
ts.nsecs = nanoseconds;
ptime = abs_time_to_str(actx->pinfo->pool, &ts, ABSOLUTE_TIME_UTC, TRUE);
if(hf_index >= 0)
{
proto_tree_add_string(tree, hf_index, tvb, offset, len, ptime);
}
offset += 8;
#.END
#.TYPE_ATTR
UtcTime TYPE = FT_STRING DISPLAY = BASE_NONE
#.FN_BODY ASDU/smpSynch VAL_PTR = &value
guint32 value;
%(DEFAULT_BODY)s
sv_data.smpSynch = value;
#.END
#.FN_BODY ASDU/smpMod VAL_PTR = &value
guint32 value;
%(DEFAULT_BODY)s
sv_data.smpMod = value;
#.END
#.FN_BODY Data
if (sv_decode_data_as_phsmeas) {
offset = dissect_PhsMeas1(implicit_tag, actx->pinfo, tree, tvb, offset, hf_index);
} else {
offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, NULL);
}
#.END
#.FN_BODY GmidData
guint32 len;
proto_item *gmidentity_ti;
proto_tree *gmidentity_tree;
const gchar *manuf_name;
len = tvb_reported_length_remaining(tvb, offset);
if(len != 8)
{
proto_tree_add_expert_format(tree, actx->pinfo, &ei_sv_mal_gmidentity, tvb, offset, len,
"BER Error: malformed gmIdentity encoding, length must be 8 bytes");
if(hf_index >= 0)
{
proto_tree_add_string(tree, hf_index, tvb, offset, len, "????");
}
return offset;
}
gmidentity_ti = proto_tree_add_item(tree, hf_sv_gmidentity, tvb, offset, 8, ENC_BIG_ENDIAN);
/* EUI-64: vendor ID | 0xFF - 0xFE | card ID */
if (tvb_get_ntohs(tvb, offset + 3) == 0xFFFE) {
gmidentity_tree = proto_item_add_subtree(gmidentity_ti, ett_gmidentity);
manuf_name = tvb_get_manuf_name(tvb, offset);
proto_tree_add_bytes_format_value(gmidentity_tree, hf_sv_gmidentity_manuf, tvb, offset, 3, NULL, "%%s", manuf_name);
}
offset += 8;
#.END
#.END_OF_CNF |
Text | wireshark/epan/dissectors/asn1/t124/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME t124 )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST_LATE
../t125/MCS-PROTOCOL.asn
)
set( ASN_FILE_LIST
GCC-PROTOCOL.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS )
ASN2WRS() |
ASN.1 | wireshark/epan/dissectors/asn1/t124/GCC-PROTOCOL.asn | -- Module GCC-PROTOCOL (T.124:01/2007)
-- See also ITU-T T.124 (01/2007)
-- See also the index of all ASN.1 assignments needed in this document
GCC-PROTOCOL {itu-t(0) recommendation(0) t(20) t124(124) version(0) 2 asn1Modules(2) gcc-protocol(1)}
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
-- Export all symbols
-- =============================================================================
-- Part 1: Elements of which messages are composed
-- =============================================================================
ChannelID ::= INTEGER(1..65535)
StaticChannelID ::= INTEGER(1..1000)
-- Those assigned by specifications
DynamicChannelID ::= INTEGER(1001..65535)
-- Those created and deleted by MCS
UserID ::= DynamicChannelID
TokenID ::= INTEGER(1..65535)
StaticTokenID ::= INTEGER(1..16383)
-- Those assigned by specifications
DynamicTokenID ::= INTEGER(16384..65535)
-- Those assigned by the registry
Time ::= INTEGER(-2147483648..2147483647)
-- Time in seconds
Handle ::= INTEGER(0..4294967295)
-- 32-bit value
H221NonStandardIdentifier ::= OCTET STRING(SIZE (4..255))
-- First four octets shall be country code and
-- Manufacturer code, assigned as specified in
-- Annex A/H.221 for NS-cap and NS-comm
Key ::= CHOICE -- Identifier of a standard or non-standard object
{
object OBJECT IDENTIFIER,
h221NonStandard H221NonStandardIdentifier
}
NonStandardParameter ::= SEQUENCE {key Key,
data OCTET STRING
}
TextString ::= BMPString(SIZE (0..255))
-- Basic Multilingual Plane of ISO/IEC 10646-1 (Unicode)
--simpleTextFirstCharacter UniversalString ::=
-- {0, 0, 0, 0}
--simpleTextLastCharacter UniversalString ::= {0, 0, 0, 255}
SimpleTextString ::=
BMPString(SIZE (0..255))
-- (FROM (simpleTextFirstCharacter..simpleTextLastCharacter))
SimpleNumericString ::= NumericString(SIZE (1..255))(FROM ("0123456789"))
DiallingString ::= NumericString(SIZE (1..16))(FROM ("0123456789"))
SubAddressString ::= NumericString(SIZE (1..40))(FROM ("0123456789"))
ExtraDiallingString ::= TextString(SIZE (1..255))(FROM ("0123456789#*,"))
UserData ::= SET OF SEQUENCE {key Key,
value OCTET STRING OPTIONAL}
Password ::= SEQUENCE {
numeric SimpleNumericString,
text SimpleTextString OPTIONAL,
...,
unicodeText TextString OPTIONAL
}
PasswordSelector ::= CHOICE {
numeric SimpleNumericString,
text SimpleTextString,
...,
unicodeText TextString
}
ChallengeResponseItem ::= CHOICE {
passwordString PasswordSelector,
responseData UserData,
...
}
ChallengeResponseAlgorithm ::= CHOICE {
passwordInTheClear NULL,
nonStandardAlgorithm NonStandardParameter,
...
}
ChallengeItem ::= SEQUENCE {
responseAlgorithm ChallengeResponseAlgorithm,
challengeData UserData,
...
}
ChallengeRequest ::= SEQUENCE {
challengeTag INTEGER,
challengeSet SET OF ChallengeItem,
-- Set of algorithms offered for response
...
}
ChallengeResponse ::= SEQUENCE {
challengeTag INTEGER,
responseAlgorithm ChallengeResponseAlgorithm,
-- Specific algorithm selected from the set of
-- items presented in the ChallengeRequest
responseItem ChallengeResponseItem,
...
}
PasswordChallengeRequestResponse ::= CHOICE {
passwordInTheClear PasswordSelector,
challengeRequestResponse
SEQUENCE {challengeRequest ChallengeRequest OPTIONAL,
challengeResponse ChallengeResponse OPTIONAL,
...},
...
}
ConferenceName ::= SEQUENCE {
numeric SimpleNumericString,
text SimpleTextString OPTIONAL,
...,
unicodeText TextString OPTIONAL
}
ConferenceNameSelector ::= CHOICE {
numeric SimpleNumericString,
text SimpleTextString,
...,
unicodeText TextString
}
ConferenceNameModifier ::= SimpleNumericString
Privilege ::= ENUMERATED {
terminate(0), ejectUser(1), add(2), lockUnlock(3), transfer(4), ...
}
TerminationMethod ::= ENUMERATED {automatic(0), manual(1), ...
}
ConferencePriorityScheme ::= CHOICE {
nonStandardScheme NonStandardParameter,
...
}
ConferencePriority ::= SEQUENCE {
priority INTEGER(0..65535),
scheme ConferencePriorityScheme,
...
}
NodeCategory ::= CHOICE {
conventional NULL,
counted NULL,
anonymous NULL,
nonStandardCategory NonStandardParameter,
...
}
ConferenceMode ::= CHOICE {
conventional-only NULL,
counted-only NULL,
anonymous-only NULL,
conventional-control NULL,
unrestricted-mode NULL,
non-standard-mode NonStandardParameter,
...
}
NetworkAddress ::=
SEQUENCE (SIZE (1..64)) OF
CHOICE -- Listed in order of use
{aggregatedChannel
SEQUENCE {transferModes
SEQUENCE-- One or more-- {speech BOOLEAN,
voice-band BOOLEAN,
digital-56k BOOLEAN,
digital-64k BOOLEAN,
digital-128k BOOLEAN,
digital-192k BOOLEAN,
digital-256k BOOLEAN,
digital-320k BOOLEAN,
digital-384k BOOLEAN,
digital-512k BOOLEAN,
digital-768k BOOLEAN,
digital-1152k BOOLEAN,
digital-1472k BOOLEAN,
digital-1536k BOOLEAN,
digital-1920k BOOLEAN,
packet-mode BOOLEAN,
frame-mode BOOLEAN,
atm BOOLEAN,
...},
internationalNumber DiallingString,
subAddress SubAddressString OPTIONAL,
extraDialling ExtraDiallingString OPTIONAL,
highLayerCompatibility
SEQUENCE {telephony3kHz BOOLEAN,
telephony7kHz BOOLEAN,
videotelephony BOOLEAN,
videoconference BOOLEAN,
audiographic BOOLEAN,
audiovisual BOOLEAN,
multimedia BOOLEAN,
...} OPTIONAL,
...},
transportConnection
SEQUENCE {nsapAddress OCTET STRING(SIZE (1..20)),
transportSelector OCTET STRING OPTIONAL},
nonStandard NonStandardParameter,
...}
MediaList ::= SEQUENCE {audio BOOLEAN,
video BOOLEAN,
data BOOLEAN,
...
}
ChannelAggregationMethod ::= CHOICE {
h221 NULL,
h244 NULL,
iso-iec-13871 NULL,
-- The actual mode of bonding is dynamically selected according
-- to the procedures described in ISO/IEC 13871.
nonStandard NonStandardParameter,
...
}
Profile ::= CHOICE {
simpleProfile
CHOICE {-- Basic transfer modes:
speech NULL, -- Simple telephony--
telephony-3kHz NULL, -- Rec. G.711--
telephony-7kHz NULL, -- Rec. G.722--
voice-band NULL, -- Modems--
frameRelay NULL,
-- T.120-only data profiles (Rec. T.123):
t123-pstn-basic NULL,
t123-psdn-basic NULL,
t123-b-isdn-basic NULL},
multimediaProfile
SEQUENCE {profile
CHOICE {h310 NULL,
h320 NULL,
h321 NULL,
h322 NULL,
h323 NULL,
h324 NULL,
h324m NULL,
asvd NULL,
dsvd NULL},
t120Data BOOLEAN},
dsmccDownloadProfile NULL,
nonStandard NonStandardParameter,
...
}
ExtendedE164NetworkAddress ::= SEQUENCE {
internationalNumber DiallingString,
subAddress SubAddressString OPTIONAL,
extraDialling ExtraDiallingString OPTIONAL,
...
}
TransportAddress ::= SEQUENCE {
nsapAddress OCTET STRING(SIZE (1..20)),
transportSelector OCTET STRING OPTIONAL
}
GSTNConnection ::= SEQUENCE {networkAddress ExtendedE164NetworkAddress,
...
}
ISDNConnection ::= SEQUENCE {
circuitTypes
SET OF
CHOICE {digital-64k NULL,
digital-2x64k NULL,
digital-384k NULL,
digital-1536 NULL,
digital-1920k NULL,
multirate-base-64k INTEGER(1..30) -- See Note 1 --},
networkAddress ExtendedE164NetworkAddress,
highLayerCompatibility
SEQUENCE {-- Those are supported code points for IE HLC of the D
-- protocol (Rec. Q.931).
telephony3kHz BOOLEAN,
telephony7kHz BOOLEAN,
videotelephony BOOLEAN,
videoconference BOOLEAN,
audiographic BOOLEAN,
audiovisual BOOLEAN,
multimedia BOOLEAN,
...} OPTIONAL,
...
}
-- Note 1: digital-2x64k differs from multirate-base-64k
-- with a multiplier value of 2;
-- in the first case
-- the network is requested an 8 kHz integrity with Restricted
-- Differential Time Delay (RDTD);
-- in the second case
-- the network is requested a Time Slot
-- Sequence integrity (see 4.5.5/Q.931)
CSDNConnection ::= SEQUENCE {
circuitTypes SET OF CHOICE {digital-56k NULL,
digital-64k NULL},
networkAddress ExtendedE164NetworkAddress,
...
}
PSDNConnection ::= SEQUENCE {
networkAddress
CHOICE {extendedE164NetworkAddress ExtendedE164NetworkAddress,
transportAddress TransportAddress,
nonStandard NonStandardParameter},
...
}
ATMConnection ::= SEQUENCE {
networkAddress
CHOICE {extendedE164 ExtendedE164NetworkAddress,
nsapAddress TransportAddress,
-- this case is reserved for NSAPs only: the
-- optional transport selector shall never be used
nonStandard NonStandardParameter},
maxTransferRate INTEGER(0..MAX) OPTIONAL,
-- in cells per seconds
...
}
NetworkConnection ::= CHOICE {
gstnConnection GSTNConnection,
isdnConnection ISDNConnection,
csdnConnection CSDNConnection,
psdnConnection PSDNConnection,
atmConnection ATMConnection,
extendedE164NetworkAddress ExtendedE164NetworkAddress,
-- Note: LAN connections and leased
transportAddress TransportAddress,
-- lines (Rec. G.703/G.704) may be
nonStandard NonStandardParameter,
-- covered by one of these
...
}
NetworkAddressV2 ::=
SET OF
SEQUENCE {networkConnection
CHOICE {singleConnection NetworkConnection,
aggregatedConnections
SEQUENCE {connectionList
SET (SIZE (1..30)) OF
CHOICE {isdnConnection ISDNConnection,
csdnConnection CSDNConnection,
...},
aggregationMethods
SET OF ChannelAggregationMethod OPTIONAL,
...}},
profiles SET OF Profile OPTIONAL,
mediaConcerned MediaList OPTIONAL,
...}
NodeType ::= ENUMERATED {terminal(0), multiportTerminal(1), mcu(2), ...
}
NodeProperties ::= SEQUENCE {
managementDevice BOOLEAN,
-- Is the node a device such as a reservation system
peripheralDevice BOOLEAN,
-- Is the node a peripheral to a primary node
...
}
AsymmetryIndicator ::= CHOICE {
callingNode NULL,
calledNode NULL,
unknown INTEGER(0..4294967295)
-- Uniformly distributed 32-bit random number
}
AlternativeNodeID ::= CHOICE {h243NodeID OCTET STRING(SIZE (2)),
...
}
ConferenceDescriptor ::= SEQUENCE {
conferenceName ConferenceName,
conferenceNameModifier ConferenceNameModifier OPTIONAL,
conferenceDescription TextString OPTIONAL,
lockedConference BOOLEAN,
passwordInTheClearRequired BOOLEAN,
networkAddress NetworkAddress OPTIONAL,
...,
defaultConferenceFlag BOOLEAN,
conferenceMode ConferenceMode
}
NodeRecord ::= SEQUENCE {
superiorNode UserID OPTIONAL,
-- Not present only for the Top GCC Provider
nodeType NodeType,
nodeProperties NodeProperties,
nodeName TextString OPTIONAL,
participantsList SEQUENCE OF TextString OPTIONAL,
siteInformation TextString OPTIONAL,
networkAddress NetworkAddress OPTIONAL,
alternativeNodeID AlternativeNodeID OPTIONAL,
userData UserData OPTIONAL,
...,
nodeCategory NodeCategory OPTIONAL,
networkAddressV2 NetworkAddressV2 OPTIONAL
}
SessionKey ::= SEQUENCE
{
applicationProtocolKey Key,
sessionID ChannelID OPTIONAL
}
ChannelType ::= ENUMERATED {
static(0), dynamicMulticast(1), dynamicPrivate(2), dynamicUserId(3)
}
ApplicationRecord ::= SEQUENCE {
applicationActive BOOLEAN,
-- Active/Inactive flag
conductingOperationCapable BOOLEAN,
-- Maximum one per node per session
startupChannel ChannelType OPTIONAL,
applicationUserID UserID OPTIONAL,
-- User ID assigned to the Application Protocol Entity
nonCollapsingCapabilities
SET OF
SEQUENCE {capabilityID CapabilityID,
applicationData OCTET STRING OPTIONAL} OPTIONAL,
...
}
CapabilityID ::= CHOICE {
standard INTEGER(0..65535),
-- Assigned by Application Protocol specifications
nonStandard Key
}
CapabilityClass ::= CHOICE {
logical NULL,
unsignedMin INTEGER(0..MAX), -- Capability value
unsignedMax INTEGER(0..MAX), -- Capability value
...
}
EntityID ::= INTEGER(0..65535)
ApplicationInvokeSpecifier ::= SEQUENCE {
sessionKey SessionKey,
expectedCapabilitySet
SET OF
SEQUENCE {capabilityID CapabilityID,
capabilityClass CapabilityClass,
...} OPTIONAL,
startupChannel ChannelType OPTIONAL,
mandatoryFlag BOOLEAN,
-- TRUE indicates required Application Protocol Entity
...
}
RegistryKey ::= SEQUENCE {
sessionKey SessionKey,
resourceID OCTET STRING(SIZE (0..64))
}
RegistryItem ::= CHOICE {
channelID DynamicChannelID,
tokenID DynamicTokenID,
parameter OCTET STRING(SIZE (0..64)),
vacant NULL,
...
}
RegistryEntryOwner ::= CHOICE {
owned
SEQUENCE {nodeID UserID, -- Node ID of the owning node--
entityID EntityID -- Entity ID of the owning-- }, -- Appliction Protocol Entity
notOwned NULL -- There is no current owner
}
RegistryModificationRights ::= ENUMERATED {owner(0), session(1), public(2)}
-- ============================================================================
-- Part 2: PDU Messages
-- ============================================================================
UserIDIndication ::= SEQUENCE {tag INTEGER,
...
}
ConferenceCreateRequest ::=
SEQUENCE { -- MCS-Connect-Provider request user data
conferenceName ConferenceName,
convenerPassword Password OPTIONAL,
password Password OPTIONAL,
lockedConference BOOLEAN,
listedConference BOOLEAN,
conductibleConference BOOLEAN,
terminationMethod TerminationMethod,
conductorPrivileges SET OF Privilege OPTIONAL,
conductedPrivileges SET OF Privilege OPTIONAL,
nonConductedPrivileges SET OF Privilege OPTIONAL,
conferenceDescription TextString OPTIONAL,
callerIdentifier TextString OPTIONAL,
userData UserData OPTIONAL,
...,
conferencePriority ConferencePriority OPTIONAL,
conferenceMode ConferenceMode OPTIONAL
}
ConferenceCreateResponse ::=
SEQUENCE { -- MCS-Connect-Provider response user data
nodeID UserID, -- Node ID of the sending node
tag INTEGER,
result
ENUMERATED {success(0), userRejected(1), resourcesNotAvailable(2),
rejectedForSymmetryBreaking(3),
lockedConferenceNotSupported(4), ...
},
userData UserData OPTIONAL,
...
}
ConferenceQueryRequest ::= SEQUENCE { -- MCS-Connect-Provider request user data
nodeType NodeType,
asymmetryIndicator AsymmetryIndicator OPTIONAL,
userData UserData OPTIONAL,
...
}
ConferenceQueryResponse ::=
SEQUENCE { -- MCS-Connect-Provider response user data
nodeType NodeType,
asymmetryIndicator AsymmetryIndicator OPTIONAL,
conferenceList SET OF ConferenceDescriptor,
result ENUMERATED {success(0), userRejected(1), ...
},
userData UserData OPTIONAL,
...,
waitForInvitationFlag BOOLEAN OPTIONAL,
noUnlistedConferenceFlag BOOLEAN OPTIONAL
}
ConferenceJoinRequest ::=
SEQUENCE { -- MCS-Connect-Provider request user data as well as
-- MCS-Send-Data on Node ID Channel of Top GCC sent
-- by the receiver of the MCS-Connect-Provider
conferenceName ConferenceNameSelector OPTIONAL,
-- Required when part of MCS-Connect-Provider
conferenceNameModifier ConferenceNameModifier OPTIONAL,
tag INTEGER OPTIONAL,
-- Filled in when sent on Node ID Channel of Top GCC
password PasswordChallengeRequestResponse OPTIONAL,
convenerPassword PasswordSelector OPTIONAL,
callerIdentifier TextString OPTIONAL,
userData UserData OPTIONAL,
...,
nodeCategory NodeCategory OPTIONAL
}
ConferenceJoinResponse ::=
SEQUENCE { -- MCS-Connect-Provider response user data as well as
-- MCS-Send-Data on Node ID Channel of
-- the receiver of the MCS-Connect-Provider
nodeID UserID OPTIONAL,
-- Node ID of directly connected node only
topNodeID UserID,
-- Node ID of Top GCC Provider
tag INTEGER,
conferenceNameAlias ConferenceNameSelector OPTIONAL,
passwordInTheClearRequired BOOLEAN,
lockedConference BOOLEAN,
listedConference BOOLEAN,
conductibleConference BOOLEAN,
terminationMethod TerminationMethod,
conductorPrivileges SET OF Privilege OPTIONAL,
-- No privilege shall be listed more than once
conductedPrivileges SET OF Privilege OPTIONAL,
-- No privilege shall be listed more than once
nonConductedPrivileges SET OF Privilege OPTIONAL,
-- No privilege shall be listed more than once
conferenceDescription TextString OPTIONAL,
password PasswordChallengeRequestResponse OPTIONAL,
result
ENUMERATED {success(0), userRejected(1), invalidConference(2),
invalidPassword(3), invalidConvenerPassword(4),
challengeResponseRequired(5), invalidChallengeResponse(6),
...
},
userData UserData OPTIONAL,
...,
nodeCategory NodeCategory OPTIONAL,
conferenceMode ConferenceMode OPTIONAL
}
ConferenceInviteRequest ::=
SEQUENCE { -- MCS-Connect-Provider request user data
conferenceName ConferenceName,
nodeID UserID, -- Node ID of the sending node
topNodeID UserID, -- Node ID of Top GCC Provider
tag INTEGER,
passwordInTheClearRequired BOOLEAN,
lockedConference BOOLEAN,
listedConference BOOLEAN,
conductibleConference BOOLEAN,
terminationMethod TerminationMethod,
conductorPrivileges SET OF Privilege OPTIONAL,
-- No privilege shall be listed more than once
conductedPrivileges SET OF Privilege OPTIONAL,
-- No privilege shall be listed more than once
nonConductedPrivileges SET OF Privilege OPTIONAL,
-- No privilege shall be listed more than once
conferenceDescription TextString OPTIONAL,
callerIdentifier TextString OPTIONAL,
userData UserData OPTIONAL,
...,
conferencePriority ConferencePriority OPTIONAL,
nodeCategory NodeCategory OPTIONAL,
conferenceMode ConferenceMode OPTIONAL
}
ConferenceInviteResponse ::=
SEQUENCE { -- MCS-Connect-Provider response user data
result ENUMERATED {success(0), userRejected(1), ...
},
userData UserData OPTIONAL,
...
}
ConferenceAddRequest ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of Top GCC or
-- Node ID Channel of Adding MCU if specified
networkAddress NetworkAddress,
requestingNode UserID,
tag INTEGER,
addingMCU UserID OPTIONAL,
userData UserData OPTIONAL,
...,
nodeCategory NodeCategory OPTIONAL,
networkAddressV2 NetworkAddressV2
}
ConferenceAddResponse ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of requester
tag INTEGER,
result
ENUMERATED {success(0), invalidRequester(1), invalidNetworkType(2),
invalidNetworkAddress(3), addedNodeBusy(4), networkBusy(5),
noPortsAvailable(6), connectionUnsuccessful(7), ...
},
userData UserData OPTIONAL,
...
}
ConferenceLockRequest ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of Top GCC
-- No parameters
...
}
ConferenceLockResponse ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of requester
result ENUMERATED {success(0), invalidRequester(1), alreadyLocked(2), ...
},
...
}
ConferenceLockIndication ::=
SEQUENCE { -- MCS-Uniform-Send-Data on GCC-Broadcast-Channel
-- or MCS-Send-Data on Node ID Channel
-- No parameters
...
}
ConferenceUnlockRequest ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of Top GCC
-- No parameters
...
}
ConferenceUnlockResponse ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of requester
result ENUMERATED {success(0), invalidRequester(1), alreadyUnlocked(2), ...
},
...
}
ConferenceUnlockIndication ::=
SEQUENCE { -- MCS-Uniform-Send-Data on GCC-Broadcast-Channel
-- or MCS-Send-Data on Node ID Channel
-- No parameters
...
}
ConferenceTerminateRequest ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of Top GCC
reason ENUMERATED {userInitiated(0), timedConferenceTermination(1), ...
},
...
}
ConferenceTerminateResponse ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of requester
result ENUMERATED {success(0), invalidRequester(1), ...
},
...
}
ConferenceTerminateIndication ::=
SEQUENCE { -- MCS-Uniform-Send-Data on GCC-Broadcast-Channel
reason ENUMERATED {userInitiated(0), timedConferenceTermination(1), ...
},
...
}
ConferenceEjectUserRequest ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of Top GCC
nodeToEject UserID, -- Node ID of the node to eject
reason ENUMERATED {userInitiated(0), ...
},
...
}
ConferenceEjectUserResponse ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of requester
nodeToEject UserID, -- Node ID of the node to eject
result
ENUMERATED {success(0), invalidRequester(1), invalidNode(2), ...
},
...
}
ConferenceEjectUserIndication ::=
SEQUENCE { -- MCS-Uniform-Send-Data on GCC-Broadcast-Channel
nodeToEject UserID, -- Node ID of the node to eject
reason
ENUMERATED {userInitiated(0), higherNodeDisconnected(1),
higherNodeEjected(2), ...
},
...
}
ConferenceTransferRequest ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of Top GCC
conferenceName ConferenceNameSelector,
-- Name of conference to transfer to
conferenceNameModifier ConferenceNameModifier OPTIONAL,
networkAddress NetworkAddress OPTIONAL,
transferringNodes SET (SIZE (1..65536)) OF UserID OPTIONAL,
password PasswordSelector OPTIONAL,
...,
networkAddressV2 NetworkAddressV2 OPTIONAL
}
ConferenceTransferResponse ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of requester
conferenceName ConferenceNameSelector,
-- Name of conference to transfer to
conferenceNameModifier ConferenceNameModifier OPTIONAL,
transferringNodes SET (SIZE (1..65536)) OF UserID OPTIONAL,
result ENUMERATED {success(0), invalidRequester(1), ...
},
...
}
ConferenceTransferIndication ::=
SEQUENCE { -- MCS-Uniform-Send-Data on GCC-Broadcast-Channel
conferenceName ConferenceNameSelector,
-- Name of conference to transfer to
conferenceNameModifier ConferenceNameModifier OPTIONAL,
networkAddress NetworkAddress OPTIONAL,
transferringNodes SET (SIZE (1..65536)) OF UserID OPTIONAL,
-- List of Node IDs,
-- not present if destined for all nodes
password PasswordSelector OPTIONAL,
...,
networkAddressV2 NetworkAddressV2 OPTIONAL
}
RosterUpdateIndication ::= SEQUENCE { -- MCS-Send-Data on Node ID Channel or
-- MCS-Uniform-Send-Data on GCC-Broadcast-Channel
fullRefresh BOOLEAN,
-- Conference Roster and all
-- ApplicationProtocol Sessions refreshed
nodeInformation
SEQUENCE {nodeRecordList
CHOICE {noChange NULL,
refresh
SET (SIZE (1..65536)) OF
SEQUENCE
-- One for each node in the conference;
-- no node shall be listed more than once
{nodeID UserID, -- Node ID of the node--
nodeRecord NodeRecord},
update
SET (SIZE (1..65536)) OF
SEQUENCE
-- One for each node changing its node record;
-- no node shall be listed more than once
{nodeID UserID, -- Node ID of the node--
nodeUpdate
CHOICE {addRecord NodeRecord,
replaceRecord NodeRecord,
removeRecord NULL,
...}},
...},
rosterInstanceNumber INTEGER(0..65535),
nodesAdded BOOLEAN,
-- Nodes have been added since last instance
nodesRemoved BOOLEAN,
-- Nodes have been removed since last instance
...},
applicationInformation
SET (SIZE (0..65535)) OF
SEQUENCE
-- One for each Application Protocol Session;
-- all Application Protocol Sessions if full refresh;
-- no Application Protocol shall be
-- listed more than once
{
sessionKey SessionKey,
applicationRecordList CHOICE
{
noChange NULL,
refresh SET (SIZE (0..65535)) OF
SEQUENCE
-- One for each node with the
-- Application Protocol Session enrolled;
-- no node shall be listed more than once
{nodeID UserID,
-- Node ID of node
entityID EntityID,
-- ID for this Application Protocol Entity at this node
applicationRecord ApplicationRecord},
update
SET (SIZE (1..65536)) OF
SEQUENCE
-- One for each node modifying its Application Record;
-- no node shall be listed more than once
{nodeID UserID,
-- Node ID of node
entityID EntityID,
-- ID for this Application Protocol Entity at this node
applicationUpdate
CHOICE {addRecord ApplicationRecord,
replaceRecord ApplicationRecord,
removeRecord NULL,
...}},
...},
applicationCapabilitiesList
CHOICE {noChange NULL,
refresh
SET OF
SEQUENCE {capabilityID CapabilityID,
capabilityClass CapabilityClass,
numberOfEntities INTEGER(1..65536),
-- Number of Application Protocol Entities
-- which issued the capability
...},
...},
rosterInstanceNumber INTEGER(0..65535),
peerEntitiesAdded BOOLEAN,
-- Peer Entities have been added since last instance
peerEntitiesRemoved BOOLEAN,
-- Peer Entities have been removed since last instance
...},
...
}
ApplicationInvokeIndication ::=
SEQUENCE { -- MCS-Send-Data or MCS-Uniform-Send-Data
-- on GCC-Broadcast-Channel or Node ID Channel
applicationProtocolEntiyList
SET (SIZE (1..65536)) OF ApplicationInvokeSpecifier,
destinationNodes SET (SIZE (1..65536)) OF UserID OPTIONAL,
-- List of Node IDs,
-- not present if destined for all nodes
...
}
RegistryRegisterChannelRequest ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of Top GCC
entityID EntityID,
key RegistryKey,
channelID DynamicChannelID,
...
}
RegistryAssignTokenRequest ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of Top GCC
entityID EntityID,
key RegistryKey,
...
}
RegistrySetParameterRequest ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of Top GCC
entityID EntityID,
key RegistryKey,
parameter OCTET STRING(SIZE (0..64)),
modificationRights RegistryModificationRights OPTIONAL,
...
}
RegistryRetrieveEntryRequest ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of Top GCC
entityID EntityID,
key RegistryKey,
...
}
RegistryDeleteEntryRequest ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of Top GCC
entityID EntityID,
key RegistryKey,
...
}
RegistryMonitorEntryRequest ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of Top GCC
entityID EntityID,
key RegistryKey,
...
}
RegistryMonitorEntryIndication ::=
SEQUENCE { -- MCS-Uniform-Send-Data on GCC-Broadcast-Channel
key RegistryKey,
item RegistryItem,
-- Contents: channel, token, parameter, or empty
owner RegistryEntryOwner,
modificationRights RegistryModificationRights OPTIONAL,
...
}
RegistryAllocateHandleRequest ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of Top GCC
entityID EntityID,
numberOfHandles INTEGER(1..1024),
...
}
RegistryAllocateHandleResponse ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of requester
entityID EntityID,
numberOfHandles INTEGER(1..1024),
firstHandle Handle,
result ENUMERATED {successful(0), noHandlesAvailable(1), ...
},
...
}
RegistryResponse ::=
SEQUENCE { -- MCS-Send-Data on Node ID Channel of requester
entityID EntityID,
-- Entity ID of the requesting Application Protocol Entity
primitiveType
ENUMERATED {registerChannel(0), assignToken(1), setParameter(2),
retrieveEntry(3), deleteEntry(4), monitorEntry(5), ...
},
key RegistryKey,
-- Database index
item RegistryItem,
-- Contents: channel, token, parameter, or vacant
owner RegistryEntryOwner,
modificationRights RegistryModificationRights OPTIONAL,
result
ENUMERATED {successful(0), belongsToOther(1), tooManyEntries(2),
inconsistentType(3), entryNotFound(4), entryAlreadyExists(5),
invalidRequester(6), ...
},
...
}
ConductorAssignIndication ::=
SEQUENCE { -- MCS-Uniform-Send-Data on GCC-Broadcast-Channel
conductingNode UserID,
...
}
ConductorReleaseIndication ::=
SEQUENCE { -- MCS-Uniform-Send-Data on GCC-Broadcast-Channel
-- No parameters
...
}
ConductorPermissionAskIndication ::=
SEQUENCE { -- MCS-Uniform-Send-Data on GCC-Broadcast-Channel
grantFlag BOOLEAN,
-- TRUE to request permission grant, FALSE to release
...
}
ConductorPermissionGrantIndication ::=
SEQUENCE { -- MCS-Uniform-Send-Data on GCC-Broadcast-Channel
permissionList SEQUENCE (SIZE (0..65535)) OF UserID,
-- Node ID of nodes granted permission
waitingList SEQUENCE (SIZE (1..65536)) OF UserID OPTIONAL,
-- Node ID of nodes waiting form permission
...
}
ConferenceTimeRemainingIndication ::=
SEQUENCE { -- MCS-Send-Data on GCC-Broadcast-Channel
timeRemaining Time,
nodeID UserID OPTIONAL,
...
}
ConferenceTimeInquireIndication ::=
SEQUENCE { -- MCS-Send-Data on GCC-Convener-Channel
nodeSpecificTimeFlag BOOLEAN,
-- FALSE for conference-wide, TRUE for node-specific
...
}
ConferenceTimeExtendIndication ::=
SEQUENCE { -- MCS-Send-Data on GCC-Convener-Channel
timeToExtend Time,
nodeSpecificTimeFlag BOOLEAN,
-- FALSE for conference-wide, TRUE for node-specific
...
}
ConferenceAssistanceIndication ::=
SEQUENCE { -- MCS-Uniform-Send-Data on GCC-Broadcast-Channel
userData UserData OPTIONAL,
...
}
TextMessageIndication ::= SEQUENCE { -- MCS-Send-Data or MCS-Uniform-Send-Data
message TextString,
-- on GCC-Broadcast-Channel or Node ID Channel
...
}
RosterRefreshRequest ::= SEQUENCE {
nodeID UserID,
nodeCategory NodeCategory,
fullRefresh BOOLEAN,
sendConferenceRoster BOOLEAN OPTIONAL,
applicationList
SEQUENCE {applicationKeyList
SET OF
SEQUENCE {applicationProtocolKey Key,
nonStandardParameter
NonStandardParameter OPTIONAL,
...},
nonStandardParameter NonStandardParameter OPTIONAL,
...} OPTIONAL,
sessionList
SEQUENCE {sessionKeyList
SET OF
SEQUENCE {sessionKey SessionKey,
nonStandardParameter NonStandardParameter OPTIONAL,
...},
nonStandardParameter NonStandardParameter OPTIONAL,
...} OPTIONAL,
nonStandardParameter NonStandardParameter OPTIONAL,
...
}
FunctionNotSupportedResponse ::= SEQUENCE {request RequestPDU
}
NonStandardPDU ::= SEQUENCE {data NonStandardParameter,
...
}
-- ==========================================================================
-- Part 3: Messages sent as MCS-Connect-Provider user data
-- ==========================================================================
ConnectData ::= SEQUENCE {
t124Identifier Key,
-- This shall be set to the value {itu-t recommendation t 124 version(0) 1}
connectPDU OCTET STRING
}
ConnectGCCPDU ::= CHOICE {
conferenceCreateRequest ConferenceCreateRequest,
conferenceCreateResponse ConferenceCreateResponse,
conferenceQueryRequest ConferenceQueryRequest,
conferenceQueryResponse ConferenceQueryResponse,
conferenceJoinRequest ConferenceJoinRequest,
conferenceJoinResponse ConferenceJoinResponse,
conferenceInviteRequest ConferenceInviteRequest,
conferenceInviteResponse ConferenceInviteResponse,
...
}
-- ============================================================================
-- Part 4: Messages sent using MCS-Send-Data or MCS-Uniform-Send-Data
-- ============================================================================
GCCPDU ::= CHOICE {
request RequestPDU,
response ResponsePDU,
indication IndicationPDU
}
RequestPDU ::= CHOICE {
conferenceJoinRequest ConferenceJoinRequest,
conferenceAddRequest ConferenceAddRequest,
conferenceLockRequest ConferenceLockRequest,
conferenceUnlockRequest ConferenceUnlockRequest,
conferenceTerminateRequest ConferenceTerminateRequest,
conferenceEjectUserRequest ConferenceEjectUserRequest,
conferenceTransferRequest ConferenceTransferRequest,
registryRegisterChannelRequest RegistryRegisterChannelRequest,
registryAssignTokenRequest RegistryAssignTokenRequest,
registrySetParameterRequest RegistrySetParameterRequest,
registryRetrieveEntryRequest RegistryRetrieveEntryRequest,
registryDeleteEntryRequest RegistryDeleteEntryRequest,
registryMonitorEntryRequest RegistryMonitorEntryRequest,
registryAllocateHandleRequest RegistryAllocateHandleRequest,
nonStandardRequest NonStandardPDU,
...
}
ResponsePDU ::= CHOICE {
conferenceJoinResponse ConferenceJoinResponse,
conferenceAddResponse ConferenceAddResponse,
conferenceLockResponse ConferenceLockResponse,
conferenceUnlockResponse ConferenceUnlockResponse,
conferenceTerminateResponse ConferenceTerminateResponse,
conferenceEjectUserResponse ConferenceEjectUserResponse,
conferenceTransferResponse ConferenceTransferResponse,
registryResponse RegistryResponse,
registryAllocateHandleResponse RegistryAllocateHandleResponse,
functionNotSupportedResponse FunctionNotSupportedResponse,
nonStandardResponse NonStandardPDU,
...
}
IndicationPDU ::= CHOICE {
userIDIndication UserIDIndication,
conferenceLockIndication ConferenceLockIndication,
conferenceUnlockIndication ConferenceUnlockIndication,
conferenceTerminateIndication ConferenceTerminateIndication,
conferenceEjectUserIndication ConferenceEjectUserIndication,
conferenceTransferIndication ConferenceTransferIndication,
rosterUpdateIndication RosterUpdateIndication,
applicationInvokeIndication ApplicationInvokeIndication,
registryMonitorEntryIndication RegistryMonitorEntryIndication,
conductorAssignIndication ConductorAssignIndication,
conductorReleaseIndication ConductorReleaseIndication,
conductorPermissionAskIndication ConductorPermissionAskIndication,
conductorPermissionGrantIndication ConductorPermissionGrantIndication,
conferenceTimeRemainingIndication ConferenceTimeRemainingIndication,
conferenceTimeInquireIndication ConferenceTimeInquireIndication,
conferenceTimeExtendIndication ConferenceTimeExtendIndication,
conferenceAssistanceIndication ConferenceAssistanceIndication,
textMessageIndication TextMessageIndication,
nonStandardIndication NonStandardPDU,
...
}
END
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
C | wireshark/epan/dissectors/asn1/t124/packet-t124-template.c | /* packet-t124.c
* Routines for t124 packet dissection
* Copyright 2010, Graeme Lunt
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/exceptions.h>
#include <epan/conversation.h>
#include <epan/asn1.h>
#include "packet-per.h"
#include "packet-ber.h"
#include "packet-t124.h"
#ifdef _MSC_VER
/* disable: "warning C4146: unary minus operator applied to unsigned type, result still unsigned" */
#pragma warning(disable:4146)
#endif
#define PNAME "GENERIC-CONFERENCE-CONTROL T.124"
#define PSNAME "T.124"
#define PFNAME "t124"
void proto_register_t124(void);
void proto_reg_handoff_t124(void);
/* Initialize the protocol and registered fields */
static int proto_t124 = -1;
static proto_tree *top_tree = NULL;
#include "packet-t124-hf.c"
/* Initialize the subtree pointers */
static int ett_t124 = -1;
static int ett_t124_connectGCCPDU = -1;
static int hf_t124_ConnectData = -1;
static int hf_t124_connectGCCPDU = -1;
static int hf_t124_DomainMCSPDU_PDU = -1;
static guint32 channelId = -1;
static dissector_table_t t124_ns_dissector_table=NULL;
static dissector_table_t t124_sd_dissector_table=NULL;
#include "packet-t124-ett.c"
#include "packet-t124-fn.c"
static const per_sequence_t t124Heur_sequence[] = {
{ &hf_t124_t124Identifier , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_t124_Key },
{ NULL, 0, 0, NULL }
};
void
register_t124_ns_dissector(const char *nsKey, dissector_t dissector, int proto)
{
dissector_handle_t dissector_handle;
dissector_handle=create_dissector_handle(dissector, proto);
dissector_add_string("t124.ns", nsKey, dissector_handle);
}
void register_t124_sd_dissector(packet_info *pinfo _U_, guint32 channelId_param, dissector_t dissector, int proto)
{
/* XXX: we should keep the sub-dissectors list per conversation
as the same channels may be used.
While we are just using RDP over T.124, then we can get away with it.
*/
dissector_handle_t dissector_handle;
dissector_handle=create_dissector_handle(dissector, proto);
dissector_add_uint("t124.sd", channelId_param, dissector_handle);
}
guint32 t124_get_last_channelId(void)
{
return channelId;
}
void t124_set_top_tree(proto_tree *tree)
{
top_tree = tree;
}
int dissect_DomainMCSPDU_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
int offset = 0;
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
offset = dissect_t124_DomainMCSPDU(tvb, offset, &asn1_ctx, tree, hf_t124_DomainMCSPDU_PDU);
offset += 7; offset >>= 3;
return offset;
}
static int
dissect_t124(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *data _U_)
{
proto_item *item = NULL;
proto_tree *tree = NULL;
asn1_ctx_t asn1_ctx;
top_tree = parent_tree;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "T.124");
col_clear(pinfo->cinfo, COL_INFO);
item = proto_tree_add_item(parent_tree, proto_t124, tvb, 0, tvb_captured_length(tvb), ENC_NA);
tree = proto_item_add_subtree(item, ett_t124);
asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
dissect_t124_ConnectData(tvb, 0, &asn1_ctx, tree, hf_t124_ConnectData);
return tvb_captured_length(tvb);
}
static gboolean
dissect_t124_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *data _U_)
{
asn1_ctx_t asn1_ctx;
volatile gboolean failed = FALSE;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
/*
* We must catch all the "ran past the end of the packet" exceptions
* here and, if we catch one, just return FALSE. It's too painful
* to have a version of dissect_per_sequence() that checks all
* references to the tvbuff before making them and returning "no"
* if they would fail.
*
* We (ab)use hf_t124_connectGCCPDU here just to give a valid entry...
*/
TRY {
(void) dissect_per_sequence(tvb, 0, &asn1_ctx, NULL, hf_t124_connectGCCPDU, -1, t124Heur_sequence);
} CATCH_BOUNDS_ERRORS {
failed = TRUE;
} ENDTRY;
if (!failed && ((asn1_ctx.external.direct_reference != NULL) &&
(strcmp(asn1_ctx.external.direct_reference, "0.0.20.124.0.1") == 0))) {
dissect_t124(tvb, pinfo, parent_tree, data);
return TRUE;
}
return FALSE;
}
/*--- proto_register_t124 -------------------------------------------*/
void proto_register_t124(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_t124_ConnectData,
{ "ConnectData", "t124.ConnectData",
FT_NONE, BASE_NONE, NULL, 0,
NULL, HFILL }},
{ &hf_t124_connectGCCPDU,
{ "connectGCCPDU", "t124.connectGCCPDU",
FT_UINT32, BASE_DEC, VALS(t124_ConnectGCCPDU_vals), 0,
NULL, HFILL }},
{ &hf_t124_DomainMCSPDU_PDU,
{ "DomainMCSPDU", "t124.DomainMCSPDU",
FT_UINT32, BASE_DEC, VALS(t124_DomainMCSPDU_vals), 0,
NULL, HFILL }},
#include "packet-t124-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_t124,
&ett_t124_connectGCCPDU,
#include "packet-t124-ettarr.c"
};
/* Register protocol */
proto_t124 = proto_register_protocol(PNAME, PSNAME, PFNAME);
/* Register fields and subtrees */
proto_register_field_array(proto_t124, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
t124_ns_dissector_table = register_dissector_table("t124.ns", "T.124 H.221 Non Standard Dissectors", proto_t124, FT_STRING, STRING_CASE_SENSITIVE);
t124_sd_dissector_table = register_dissector_table("t124.sd", "T.124 H.221 Send Data Dissectors", proto_t124, FT_UINT32, BASE_HEX);
register_dissector("t124", dissect_t124, proto_t124);
}
void
proto_reg_handoff_t124(void) {
register_ber_oid_dissector("0.0.20.124.0.1", dissect_t124, proto_t124, "Generic Conference Control");
heur_dissector_add("t125", dissect_t124_heur, "T.124 over T.125", "t124_t125", proto_t124, HEURISTIC_ENABLE);
} |
C/C++ | wireshark/epan/dissectors/asn1/t124/packet-t124-template.h | /* packet-t124.h
* Routines for t124 packet dissection
* Copyright 2010, Graeme Lunt
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_T124_H
#define PACKET_T124_H
#include <epan/packet_info.h>
#include "packet-per.h"
extern int dissect_DomainMCSPDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_);
extern guint32 t124_get_last_channelId(void);
extern void t124_set_top_tree(proto_tree *tree);
extern void register_t124_ns_dissector(const char *nsKey, dissector_t dissector, int proto);
extern void register_t124_sd_dissector(packet_info *pinfo, guint32 channelId, dissector_t dissector, int proto);
#include "packet-t124-exp.h"
#endif /* PACKET_T124_H */ |
Configuration | wireshark/epan/dissectors/asn1/t124/t124.cnf | # T.124/GCC-PROTOCOL.cnf
# Copyright 2011 Graeme Lunt
#----------------------------------------------------------------------------------------
#.EXPORTS
#----------------------------------------------------------------------------------------
ConnectData
ConnectGCCPDU
#.END
#.OMIT_ASSIGNMENT
GCCPDU
ConnectMCSPDU
IndicationPDU
ResponsePDU
Connect-Initial
Connect-Additional
Connect-Result
UserIDIndication
ConferenceAddResponse
ConferenceLockResponse
ConferenceLockIndication
ConferenceUnlockResponse
ConferenceUnlockIndication
ConferenceTerminateResponse
ConferenceTerminateIndication
ConferenceEjectUserResponse
ConferenceEjectUserIndication
ConferenceTransferResponse
ConferenceTransferIndication
RosterUpdateIndication
ApplicationInvokeIndication
RegistryMonitorEntryIndication
RegistryAllocateHandleResponse
RegistryResponse
ConductorAssignIndication
ConductorReleaseIndication
ConductorPermissionAskIndication
ConductorPermissionGrantIndication
ConferenceTimeRemainingIndication
ConferenceTimeInquireIndication
ConferenceTimeExtendIndication
ConferenceAssistanceIndication
TextMessageIndication
FunctionNotSupportedResponse
Connect-Response
Time
Handle
NodeRecord
ApplicationRecord
ApplicationInvokeSpecifier
RegistryItem
RegistryEntryOwner
RequestPDU
DomainParameters
DynamicTokenID
NodeProperties
AlternativeNodeID
ChannelType
CapabilityID
CapabilityClass
ConferenceAddRequest
ConferenceLockRequest
ConferenceUnlockRequest
ConferenceTerminateRequest
ConferenceEjectUserRequest
ConferenceTransferRequest
RegistryRegisterChannelRequest
RegistryAssignTokenRequest
RegistrySetParameterRequest
RegistryRetrieveEntryRequest
RegistryDeleteEntryRequest
RegistryMonitorEntryRequest
RegistryAllocateHandleRequest
NonStandardPDU
NetworkAddressV2
EntityID
RegistryKey
RegistryModificationRights
MediaList
ChannelAggregationMethod
Profile
NetworkConnection
SessionKey
ChannelID
GSTNConnection
ISDNConnection
CSDNConnection
PSDNConnection
ATMConnection
ExtendedE164NetworkAddress
TransportAddress
#----------------------------------------------------------------------------------------
#.PDU
#----------------------------------------------------------------------------------------
#.TF_RENAME
ISDNConnection/circuitTypes ISDNCircuitTypes
ISDNConnection/circuitTypes/_item ISDNCircuitTypes_item
ISDNConnection/highLayerCompatibility ISDNHighLayerCompatibility
PSDNConnection/networkAddress PSDNNetworkAddress
ConferenceTerminateRequest/reason TerminateRequestReason
ConferenceTerminateIndication/reason TerminateIndicationReason
ConferenceEjectUserRequest/reason EjectUserRequestReason
RosterUpdateIndication/nodeInformation/nodeRecordList/refresh NodeRefresh
RosterUpdateIndication/applicationInformation/_item/applicationRecordList/refresh ApplicationRefresh
RosterUpdateIndication/applicationInformation/_item/applicationRecordList/update ApplicationUpdate
RosterUpdateIndication/applicationInformation/_item/applicationRecordList/update/_item ApplicationUpdateItem
ConferenceQueryResponse/result QueryResponseResult
ConferenceJoinResponse/result JoinResponseResult
ConferenceInviteResponse/result InviteResponseResult
ConferenceAddResponse/result AddResponseResult
ConferenceLockResponse/result LockResponseResult
ConferenceUnlockResponse/result UnlockResponseResult
ConferenceTerminateResponse/result TerminateResponseResult
ConferenceEjectUserResponse/result EjectUserResponseResult
ConferenceTransferResponse/result TransferResponseResult
RegistryAllocateHandleResponse/result AllocateHandleResponseResult
#.FN_BODY ConnectData/connectPDU VAL_PTR = &next_tvb
tvbuff_t *next_tvb = NULL;
proto_tree *next_tree = NULL;
int old_offset = 0;
old_offset = offset;
%(DEFAULT_BODY)s
if(next_tvb) {
/* "2a -> ConnectData::connectPDU length = 42 bytes */
/* This length MUST be ignored by the client." */
/* Not sure why - but lets ignore the length. */
/* We assume the OCTET STRING is all of the remaining bytes */
if(tvb_reported_length(next_tvb) == 42) {
/* this is perhaps a naive ... */
next_tvb = tvb_new_subset_remaining(tvb, (old_offset>>3)+1);
}
next_tree = proto_item_add_subtree(actx->created_item, ett_t124_connectGCCPDU);
dissect_t124_ConnectGCCPDU(next_tvb, 0, actx, next_tree, hf_t124_connectGCCPDU);
}
#.END
#.FN_BODY UserData/_item/value VAL_PTR = &next_tvb
tvbuff_t *next_tvb = NULL;
tvbuff_t *t124NSIdentifier = (tvbuff_t*)actx->private_data;
guint8 *ns = NULL;
%(DEFAULT_BODY)s
if(next_tvb && t124NSIdentifier) {
ns = tvb_get_string_enc(actx->pinfo->pool, t124NSIdentifier, 0, tvb_reported_length(t124NSIdentifier), ENC_ASCII|ENC_NA);
if(ns != NULL) {
dissector_try_string_new(t124_ns_dissector_table, ns, next_tvb, actx->pinfo, top_tree, FALSE, NULL);
}
}
#.END
#.FN_BODY SendDataRequest/userData VAL_PTR = &next_tvb
tvbuff_t *next_tvb = NULL;
%(DEFAULT_BODY)s
if(next_tvb) {
dissector_try_uint_new(t124_sd_dissector_table, channelId, next_tvb, actx->pinfo, top_tree, FALSE, NULL);
}
#.END
#.FN_BODY SendDataIndication/userData VAL_PTR = &next_tvb
tvbuff_t *next_tvb = NULL;
%(DEFAULT_BODY)s
if(next_tvb) {
dissector_try_uint(t124_sd_dissector_table, channelId, next_tvb, actx->pinfo, top_tree);
}
#.END
#.FN_BODY DomainMCSPDU VAL_PTR = &domainmcs_value
gint domainmcs_value;
%(DEFAULT_BODY)s
switch(domainmcs_value) {
case 25: /* sendDataRequest */
case 26: /* sendDataIndication */
case 27: /* uniformSendDataRequest */
case 28: /* uniformSendDataIndication */
/* Do nothing */
break;
default:
col_prepend_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "%%s ", val_to_str(domainmcs_value, t124_DomainMCSPDU_vals, "Unknown"));
break;
}
#.END
#.FN_PARS Key/object
FN_VARIANT = _str VAL_PTR = &actx->external.direct_reference
#.FN_PARS H221NonStandardIdentifier
VAL_PTR = (tvbuff_t**)&actx->private_data
#.FN_BODY H221NonStandardIdentifier
%(DEFAULT_BODY)s
#.FN_BODY ChannelId VAL_PTR = &channelId
%(DEFAULT_BODY)s
if(hf_index == hf_t124_channelId_03)
col_append_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "%%d", channelId);
#.OMIT_ASSIGNMENT
StaticChannelID
TokenID
StaticTokenID
RosterRefreshRequest
#.END
#.VIRTUAL_ASSGN
#----------------------------------------------------------------------------------------
#.END
#----------------------------------------------------------------------------------------
# vim:set ts=4 sts=2 sw=2: |
Text | wireshark/epan/dissectors/asn1/t125/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME t125 )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
MCS-PROTOCOL.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
ASN2WRS() |
ASN.1 | wireshark/epan/dissectors/asn1/t125/MCS-PROTOCOL.asn | -- Module MCS-PROTOCOL (T.125:02/1998)
MCS-PROTOCOL DEFINITIONS ::=
BEGIN
-- Part 1: Fundamental MCS types
ChannelId ::= INTEGER(0..65535) -- range is 16 bits
StaticChannelId ::= ChannelId(1..1000) -- those known permanently
DynamicChannelId ::= ChannelId(1001..65535) -- those created and deleted
UserId ::= DynamicChannelId -- created by Attach-User
-- deleted by Detach-User
PrivateChannelId ::=
DynamicChannelId -- created by Channel-Convene
-- deleted by Channel-Disband
AssignedChannelId ::=
DynamicChannelId -- created by Channel-Join zero
-- deleted by last Channel-Leave
TokenId ::= INTEGER(1..65535) -- all are known permanently
TokenStatus ::= ENUMERATED {
notInUse(0), selfGrabbed(1), otherGrabbed(2), selfInhibited(3),
otherInhibited(4), selfRecipient(5), selfGiving(6), otherGiving(7)}
DataPriority ::= ENUMERATED {top(0), high(1), medium(2), low(3)}
Segmentation ::= BIT STRING {begin(0), end(1)}(SIZE (2))
DomainParameters ::= SEQUENCE {
maxChannelIds INTEGER(0..MAX),
-- a limit on channel ids in use,
-- static + user id + private + assigned
maxUserIds INTEGER(0..MAX),
-- a sublimit on user id channels alone
maxTokenIds INTEGER(0..MAX),
-- a limit on token ids in use
-- grabbed + inhibited + giving + ungivable + given
numPriorities INTEGER(0..MAX),
-- the number of TCs in an MCS connection
minThroughput INTEGER(0..MAX),
-- the enforced number of octets per second
maxHeight INTEGER(0..MAX),
-- a limit on the height of a provider
maxMCSPDUsize INTEGER(0..MAX),
-- an octet limit on domain MCSPDUs
protocolVersion INTEGER(0..MAX)
}
-- Part 2: Connect provider
Connect-Initial ::= [APPLICATION 101] IMPLICIT SEQUENCE {
callingDomainSelector OCTET STRING,
calledDomainSelector OCTET STRING,
upwardFlag BOOLEAN,
-- TRUE if called provider is higher
targetParameters DomainParameters,
minimumParameters DomainParameters,
maximumParameters DomainParameters,
userData OCTET STRING
}
Connect-Response ::= [APPLICATION 102] IMPLICIT SEQUENCE {
result Result,
calledConnectId INTEGER(0..MAX),
-- assigned by the called provider
-- to identify additional TCs of
-- the same MCS connection
domainParameters DomainParameters,
userData OCTET STRING
}
Connect-Additional ::= [APPLICATION 103] IMPLICIT SEQUENCE {
calledConnectId INTEGER(0..MAX),
dataPriority DataPriority
}
Connect-Result ::= [APPLICATION 104] IMPLICIT SEQUENCE {result Result
}
-- Part 3: Merge domain
PlumbDomainIndication ::= [APPLICATION 0] IMPLICIT SEQUENCE {
heightLimit INTEGER(0..MAX)
} -- a restriction on the MCSPDU receiver
ErectDomainRequest ::= [APPLICATION 1] IMPLICIT SEQUENCE {
subHeight INTEGER(0..MAX),
-- height in domain of the MCSPDU transmitter
subInterval INTEGER(0..MAX)
} -- its throughput enforcement interval in milliseconds
ChannelAttributes ::= CHOICE {
static [0] IMPLICIT SEQUENCE {channelId StaticChannelId}, -- joined is implicitly TRUE
userId
[1] IMPLICIT SEQUENCE {joined BOOLEAN,
-- TRUE if user is joined to its user id
userId UserId},
private
[2] IMPLICIT SEQUENCE {joined BOOLEAN,
-- TRUE if channel id is joined below
channelId PrivateChannelId,
manager UserId,
admitted SET OF UserId}, -- may span multiple MergeChannelsRequest
assigned [3] IMPLICIT SEQUENCE {channelId AssignedChannelId} -- joined is implicitly TRUE
}
MergeChannelsRequest ::= [APPLICATION 2] IMPLICIT SEQUENCE {
mergeChannels SET OF ChannelAttributes,
purgeChannelIds SET OF ChannelId
}
MergeChannelsConfirm ::= [APPLICATION 3] IMPLICIT SEQUENCE {
mergeChannels SET OF ChannelAttributes,
purgeChannelIds SET OF ChannelId
}
PurgeChannelsIndication ::= [APPLICATION 4] IMPLICIT SEQUENCE {
detachUserIds SET OF UserId,
-- purge user id channels
purgeChannelIds SET OF ChannelId
} -- purge other channels
TokenAttributes ::= CHOICE {
grabbed [0] IMPLICIT SEQUENCE {tokenId TokenId,
grabber UserId},
inhibited
[1] IMPLICIT SEQUENCE {tokenId TokenId,
inhibitors SET OF UserId}, -- may span multiple MergeTokensRequest
giving
[2] IMPLICIT SEQUENCE {tokenId TokenId,
grabber UserId,
recipient UserId},
ungivable [3] IMPLICIT SEQUENCE {tokenId TokenId,
grabber UserId}, -- recipient has since detached
given [4] IMPLICIT SEQUENCE {tokenId TokenId,
recipient UserId} -- grabber released or detached
}
MergeTokensRequest ::= [APPLICATION 5] IMPLICIT SEQUENCE {
mergeTokens SET OF TokenAttributes,
purgeTokenIds SET OF TokenId
}
MergeTokensConfirm ::= [APPLICATION 6] IMPLICIT SEQUENCE {
mergeTokens SET OF TokenAttributes,
purgeTokenIds SET OF TokenId
}
PurgeTokensIndication ::= [APPLICATION 7] IMPLICIT SEQUENCE {
purgeTokenIds SET OF TokenId
}
-- Part 4: Disconnect provider
DisconnectProviderUltimatum ::= [APPLICATION 8] IMPLICIT SEQUENCE {
reason Reason
}
RejectMCSPDUUltimatum ::= [APPLICATION 9] IMPLICIT SEQUENCE {
diagnostic Diagnostic,
initialOctets OCTET STRING
}
-- Part 5: Attach/Detach user
AttachUserRequest ::= [APPLICATION 10] IMPLICIT SEQUENCE {
}
AttachUserConfirm ::= [APPLICATION 11] IMPLICIT SEQUENCE {
result Result,
initiator UserId OPTIONAL
}
DetachUserRequest ::= [APPLICATION 12] IMPLICIT SEQUENCE {
reason Reason,
userIds SET OF UserId
}
DetachUserIndication ::= [APPLICATION 13] IMPLICIT SEQUENCE {
reason Reason,
userIds SET OF UserId
}
-- Part 6: Channel management
ChannelJoinRequest ::= [APPLICATION 14] IMPLICIT SEQUENCE {
initiator UserId,
channelId ChannelId
} -- may be zero
ChannelJoinConfirm ::= [APPLICATION 15] IMPLICIT SEQUENCE {
result Result,
initiator UserId,
requested ChannelId,
-- may be zero
channelId ChannelId OPTIONAL
}
ChannelLeaveRequest ::= [APPLICATION 16] IMPLICIT SEQUENCE {
channelIds SET OF ChannelId
}
ChannelConveneRequest ::= [APPLICATION 17] IMPLICIT SEQUENCE {initiator UserId
}
ChannelConveneConfirm ::= [APPLICATION 18] IMPLICIT SEQUENCE {
result Result,
initiator UserId,
channelId PrivateChannelId OPTIONAL
}
ChannelDisbandRequest ::= [APPLICATION 19] IMPLICIT SEQUENCE {
initiator UserId,
channelId PrivateChannelId
}
ChannelDisbandIndication ::= [APPLICATION 20] IMPLICIT SEQUENCE {
channelId PrivateChannelId
}
ChannelAdmitRequest ::= [APPLICATION 21] IMPLICIT SEQUENCE {
initiator UserId,
channelId PrivateChannelId,
userIds SET OF UserId
}
ChannelAdmitIndication ::= [APPLICATION 22] IMPLICIT SEQUENCE {
initiator UserId,
channelId PrivateChannelId,
userIds SET OF UserId
}
ChannelExpelRequest ::= [APPLICATION 23] IMPLICIT SEQUENCE {
initiator UserId,
channelId PrivateChannelId,
userIds SET OF UserId
}
ChannelExpelIndication ::= [APPLICATION 24] IMPLICIT SEQUENCE {
channelId PrivateChannelId,
userIds SET OF UserId
}
-- Part 7: Data transfer
SendDataRequest ::= [APPLICATION 25] IMPLICIT SEQUENCE {
initiator UserId,
channelId ChannelId,
dataPriority DataPriority,
segmentation Segmentation,
userData OCTET STRING
}
SendDataIndication ::= [APPLICATION 26] IMPLICIT SEQUENCE {
initiator UserId,
channelId ChannelId,
dataPriority DataPriority,
segmentation Segmentation,
userData OCTET STRING
}
UniformSendDataRequest ::= [APPLICATION 27] IMPLICIT SEQUENCE {
initiator UserId,
channelId ChannelId,
dataPriority DataPriority,
segmentation Segmentation,
userData OCTET STRING
}
UniformSendDataIndication ::= [APPLICATION 28] IMPLICIT SEQUENCE {
initiator UserId,
channelId ChannelId,
dataPriority DataPriority,
segmentation Segmentation,
userData OCTET STRING
}
-- Part 8: Token management
TokenGrabRequest ::= [APPLICATION 29] IMPLICIT SEQUENCE {
initiator UserId,
tokenId TokenId
}
TokenGrabConfirm ::= [APPLICATION 30] IMPLICIT SEQUENCE {
result Result,
initiator UserId,
tokenId TokenId,
tokenStatus TokenStatus
}
TokenInhibitRequest ::= [APPLICATION 31] IMPLICIT SEQUENCE {
initiator UserId,
tokenId TokenId
}
TokenInhibitConfirm ::= [APPLICATION 32] IMPLICIT SEQUENCE {
result Result,
initiator UserId,
tokenId TokenId,
tokenStatus TokenStatus
}
TokenGiveRequest ::= [APPLICATION 33] IMPLICIT SEQUENCE {
initiator UserId,
tokenId TokenId,
recipient UserId
}
TokenGiveIndication ::= [APPLICATION 34] IMPLICIT SEQUENCE {
initiator UserId,
tokenId TokenId,
recipient UserId
}
TokenGiveResponse ::= [APPLICATION 35] IMPLICIT SEQUENCE {
result Result,
recipient UserId,
tokenId TokenId
}
TokenGiveConfirm ::= [APPLICATION 36] IMPLICIT SEQUENCE {
result Result,
initiator UserId,
tokenId TokenId,
tokenStatus TokenStatus
}
TokenPleaseRequest ::= [APPLICATION 37] IMPLICIT SEQUENCE {
initiator UserId,
tokenId TokenId
}
TokenPleaseIndication ::= [APPLICATION 38] IMPLICIT SEQUENCE {
initiator UserId,
tokenId TokenId
}
TokenReleaseRequest ::= [APPLICATION 39] IMPLICIT SEQUENCE {
initiator UserId,
tokenId TokenId
}
TokenReleaseConfirm ::= [APPLICATION 40] IMPLICIT SEQUENCE {
result Result,
initiator UserId,
tokenId TokenId,
tokenStatus TokenStatus
}
TokenTestRequest ::= [APPLICATION 41] IMPLICIT SEQUENCE {
initiator UserId,
tokenId TokenId
}
TokenTestConfirm ::= [APPLICATION 42] IMPLICIT SEQUENCE {
initiator UserId,
tokenId TokenId,
tokenStatus TokenStatus
}
-- Part 9: Status codes
-- in DisconnectProviderUltimatum, DetachUserRequest, DetachUserIndication
Reason ::= ENUMERATED {
rn-domain-disconnected(0), rn-provider-initiated(1), rn-token-purged(2),
rn-user-requested(3), rn-channel-purged(4)}
-- in Connect, response, confirm
Result ::= ENUMERATED {
rt-successful(0), rt-domain-merging(1), rt-domain-not-hierarchical(2),
rt-no-such-channel(3), rt-no-such-domain(4), rt-no-such-user(5),
rt-not-admitted(6), rt-other-user-id(7), rt-parameters-unacceptable(8),
rt-token-not-available(9), rt-token-not-possessed(10),
rt-too-many-channels(11), rt-too-many-tokens(12), rt-too-many-users(13),
rt-unspecified-failure(14), rt-user-rejected(15)}
-- in RejectMCSPDUUltimatum
Diagnostic ::= ENUMERATED {
dc-inconsistent-merge(0), dc-forbidden-PDU-downward(1),
dc-forbidden-PDU-upward(2), dc-invalid-BER-encoding(3),
dc-invalid-PER-encoding(4), dc-misrouted-user(5), dc-unrequested-confirm(6),
dc-wrong-transport-priority(7), dc-channel-id-conflict(8),
dc-token-id-conflict(9), dc-not-user-id-channel(10),
dc-too-many-channels(11), dc-too-many-tokens(12), dc-too-many-users(13)
}
-- Part 10: MCSPDU repertoire
ConnectMCSPDU ::= CHOICE {
connect-initial Connect-Initial,
connect-response Connect-Response,
connect-additional Connect-Additional,
connect-result Connect-Result
}
DomainMCSPDU ::= CHOICE {
plumbDomainIndication PlumbDomainIndication,
erectDomainRequest ErectDomainRequest,
mergeChannelsRequest MergeChannelsRequest,
mergeChannelsConfirm MergeChannelsConfirm,
purgeChannelsIndication PurgeChannelsIndication,
mergeTokensRequest MergeTokensRequest,
mergeTokensConfirm MergeTokensConfirm,
purgeTokensIndication PurgeTokensIndication,
disconnectProviderUltimatum DisconnectProviderUltimatum,
rejectMCSPDUUltimatum RejectMCSPDUUltimatum,
attachUserRequest AttachUserRequest,
attachUserConfirm AttachUserConfirm,
detachUserRequest DetachUserRequest,
detachUserIndication DetachUserIndication,
channelJoinRequest ChannelJoinRequest,
channelJoinConfirm ChannelJoinConfirm,
channelLeaveRequest ChannelLeaveRequest,
channelConveneRequest ChannelConveneRequest,
channelConveneConfirm ChannelConveneConfirm,
channelDisbandRequest ChannelDisbandRequest,
channelDisbandIndication ChannelDisbandIndication,
channelAdmitRequest ChannelAdmitRequest,
channelAdmitIndication ChannelAdmitIndication,
channelExpelRequest ChannelExpelRequest,
channelExpelIndication ChannelExpelIndication,
sendDataRequest SendDataRequest,
sendDataIndication SendDataIndication,
uniformSendDataRequest UniformSendDataRequest,
uniformSendDataIndication UniformSendDataIndication,
tokenGrabRequest TokenGrabRequest,
tokenGrabConfirm TokenGrabConfirm,
tokenInhibitRequest TokenInhibitRequest,
tokenInhibitConfirm TokenInhibitConfirm,
tokenGiveRequest TokenGiveRequest,
tokenGiveIndication TokenGiveIndication,
tokenGiveResponse TokenGiveResponse,
tokenGiveConfirm TokenGiveConfirm,
tokenPleaseRequest TokenPleaseRequest,
tokenPleaseIndication TokenPleaseIndication,
tokenReleaseRequest TokenReleaseRequest,
tokenReleaseConfirm TokenReleaseConfirm,
tokenTestRequest TokenTestRequest,
tokenTestConfirm TokenTestConfirm
}
END
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
C | wireshark/epan/dissectors/asn1/t125/packet-t125-template.c | /* packet-t125.c
* Routines for t125 packet dissection
* Copyright 2007, Ronnie Sahlberg
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/exceptions.h>
#include <epan/asn1.h>
#include "packet-ber.h"
#include "packet-per.h"
#include "packet-t124.h"
#define PNAME "MULTIPOINT-COMMUNICATION-SERVICE T.125"
#define PSNAME "T.125"
#define PFNAME "t125"
#define HF_T125_ERECT_DOMAIN_REQUEST 1
#define HF_T125_DISCONNECT_PROVIDER_ULTIMATUM 8
#define HF_T125_ATTACH_USER_REQUEST 10
#define HF_T125_ATTACH_USER_CONFIRM 11
#define HF_T125_CHANNEL_JOIN_REQUEST 14
#define HF_T125_CHANNEL_JOIN_CONFIRM 15
#define HF_T125_SEND_DATA_REQUEST 25
#define HF_T125_SEND_DATA_INDICATION 26
void proto_register_t125(void);
void proto_reg_handoff_t125(void);
/* Initialize the protocol and registered fields */
static int proto_t125 = -1;
static proto_tree *top_tree = NULL;
#include "packet-t125-hf.c"
/* Initialize the subtree pointers */
static int ett_t125 = -1;
#include "packet-t125-ett.c"
static heur_dissector_list_t t125_heur_subdissector_list;
#include "packet-t125-fn.c"
static int
dissect_t125(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *data _U_)
{
proto_item *item = NULL;
proto_tree *tree = NULL;
gint8 ber_class;
bool pc;
gint32 tag;
top_tree = parent_tree;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "T.125");
col_clear(pinfo->cinfo, COL_INFO);
item = proto_tree_add_item(parent_tree, proto_t125, tvb, 0, tvb_captured_length(tvb), ENC_NA);
tree = proto_item_add_subtree(item, ett_t125);
get_ber_identifier(tvb, 0, &ber_class, &pc, &tag);
if ( (ber_class==BER_CLASS_APP) && (tag>=101) && (tag<=104) ){
dissect_ConnectMCSPDU_PDU(tvb, pinfo, tree, NULL);
} else {
t124_set_top_tree(top_tree);
dissect_DomainMCSPDU_PDU(tvb, pinfo, tree);
}
return tvb_captured_length(tvb);
}
static gboolean
dissect_t125_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *data _U_)
{
gint8 ber_class;
bool pc;
gint32 tag;
volatile bool failed;
/*
* We must catch all the "ran past the end of the packet" exceptions
* here and, if we catch one, just return FALSE. It's too painful
* to have a version of dissect_per_sequence() that checks all
* references to the tvbuff before making them and returning "no"
* if they would fail.
*/
failed = FALSE;
TRY {
/* could be BER */
get_ber_identifier(tvb, 0, &ber_class, &pc, &tag);
} CATCH_BOUNDS_ERRORS {
failed = TRUE;
} ENDTRY;
if (failed) {
return FALSE;
}
if (((ber_class==BER_CLASS_APP) && ((tag>=101) && (tag<=104)))) {
dissect_t125(tvb, pinfo, parent_tree, NULL);
return TRUE;
}
/*
* Check that the first byte of the packet is a valid t125/MCS header.
* This might not be enough, but since t125 only catch COTP packets,
* it should not be a problem.
*/
guint8 first_byte = tvb_get_guint8(tvb, 0) >> 2;
switch (first_byte) {
case HF_T125_ERECT_DOMAIN_REQUEST:
case HF_T125_ATTACH_USER_REQUEST:
case HF_T125_ATTACH_USER_CONFIRM:
case HF_T125_CHANNEL_JOIN_REQUEST:
case HF_T125_CHANNEL_JOIN_CONFIRM:
case HF_T125_DISCONNECT_PROVIDER_ULTIMATUM:
case HF_T125_SEND_DATA_REQUEST:
case HF_T125_SEND_DATA_INDICATION:
dissect_t125(tvb, pinfo, parent_tree, NULL);
return TRUE;
}
return FALSE;
}
/*--- proto_register_t125 -------------------------------------------*/
void proto_register_t125(void) {
/* List of fields */
static hf_register_info hf[] = {
#include "packet-t125-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_t125,
#include "packet-t125-ettarr.c"
};
/* Register protocol */
proto_t125 = proto_register_protocol(PNAME, PSNAME, PFNAME);
/* Register fields and subtrees */
proto_register_field_array(proto_t125, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
t125_heur_subdissector_list= register_heur_dissector_list("t125", proto_t125);
register_dissector("t125", dissect_t125, proto_t125);
}
/*--- proto_reg_handoff_t125 ---------------------------------------*/
void proto_reg_handoff_t125(void) {
heur_dissector_add("cotp", dissect_t125_heur, "T.125 over COTP", "t125_cotp", proto_t125, HEURISTIC_ENABLE);
heur_dissector_add("cotp_is", dissect_t125_heur, "T.125 over COTP (inactive subset)", "t125_cotp_is", proto_t125, HEURISTIC_ENABLE);
} |
Configuration | wireshark/epan/dissectors/asn1/t125/t125.cnf | # T.125/MCS-PROTOCOL.cnf
# Copyright 2007 Ronnie Sahlberg
#----------------------------------------------------------------------------------------
#.EXPORTS
#----------------------------------------------------------------------------------------
#.END
#.OMIT_ASSIGNMENT
# dissected in t124
DomainMCSPDU
PlumbDomainIndication
ErectDomainRequest
MergeChannelsRequest
MergeChannelsConfirm
PurgeChannelsIndication
MergeTokensRequest
MergeTokensConfirm
PurgeTokensIndication
DisconnectProviderUltimatum
RejectMCSPDUUltimatum
AttachUserRequest
AttachUserConfirm
DetachUserRequest
DetachUserIndication
ChannelJoinRequest
ChannelJoinConfirm
ChannelLeaveRequest
ChannelConveneRequest
ChannelConveneConfirm
ChannelDisbandRequest
ChannelDisbandIndication
ChannelAdmitRequest
ChannelAdmitIndication
ChannelExpelRequest
ChannelExpelIndication
SendDataRequest
SendDataIndication
UniformSendDataRequest
UniformSendDataIndication
TokenGrabConfirm
TokenInhibitRequest
TokenInhibitConfirm
TokenGiveRequest
TokenGiveIndication
TokenGiveResponse
TokenGiveConfirm
TokenPleaseRequest
TokenPleaseIndication
TokenReleaseRequest
TokenReleaseConfirm
TokenTestRequest
TokenTestConfirm
TokenStatus
Segmentation
ChannelAttributes
TokenAttributes
TokenGrabRequest
Reason
Diagnostic
StaticChannelId
UserId
PrivateChannelId
AssignedChannelId
TokenId
DynamicChannelId
ChannelId
#----------------------------------------------------------------------------------------
#.PDU
#----------------------------------------------------------------------------------------
ConnectMCSPDU
#.END
#.VIRTUAL_ASSGN
#----------------------------------------------------------------------------------------
# dissected in t124
# FN_BODY DomainMCSPDU VAL_PTR = &domainmcs_value
# gint domainmcs_value;
#
#%(DEFAULT_BODY)s
# switch(domainmcs_value) {
# case 25: /* sendDataRequest */
# case 26: /* sendDataIndication */
# case 27: /* uniformSendDataRequest */
# case 28: /* uniformSendDataIndication */
# /* Do nothing */
# break;
# default:
# col_append_sep_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, " ", "MCS: %%s ", val_to_str(domainmcs_value, t125_DomainMCSPDU_vals, "Unknown"));
# break;
# }
# END
#.FN_BODY Connect-Initial/_untag/userData VAL_PTR = &next_tvb
#.FN_BODY Connect-Initial/_untag/userData
tvbuff_t *next_tvb = NULL;
heur_dtbl_entry_t *hdtbl_entry;
%(DEFAULT_BODY)s
if(next_tvb)
dissector_try_heuristic(t125_heur_subdissector_list, next_tvb,
actx->pinfo, top_tree, &hdtbl_entry, NULL);
#.END
#.FN_BODY Connect-Response/_untag/userData VAL_PTR = &next_tvb
#.FN_BODY Connect-Response/_untag/userData
tvbuff_t *next_tvb = NULL;
heur_dtbl_entry_t *hdtbl_entry;
%(DEFAULT_BODY)s
if(next_tvb)
dissector_try_heuristic(t125_heur_subdissector_list, next_tvb,
actx->pinfo, top_tree, &hdtbl_entry, NULL);
#.END
#----------------------------------------------------------------------------------------
# vim:set ts=4 sts=2 sw=2: |
Text | wireshark/epan/dissectors/asn1/t38/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME t38 )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
T38_2002.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS )
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/t38/packet-t38-template.c | /* packet-t38.c
* Routines for T.38 packet dissection
* 2003 Hans Viens
* 2004 Alejandro Vaquero, add support Conversations for SDP
* 2006 Alejandro Vaquero, add T30 reassemble and dissection
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
/* Depending on what ASN.1 specification is used you may have to change
* the preference setting regarding Pre-Corrigendum ASN.1 specification:
* http://www.itu.int/ITU-T/asn1/database/itu-t/t/t38/1998/T38.html (Pre-Corrigendum=TRUE)
* http://www.itu.int/ITU-T/asn1/database/itu-t/t/t38/2003/T38(1998).html (Pre-Corrigendum=TRUE)
*
* http://www.itu.int/ITU-T/asn1/database/itu-t/t/t38/2003/T38(2002).html (Pre-Corrigendum=FALSE)
* http://www.itu.int/ITU-T/asn1/database/itu-t/t/t38/2002/t38.html (Pre-Corrigendum=FALSE)
* http://www.itu.int/ITU-T/asn1/database/itu-t/t/t38/2002-Amd1/T38.html (Pre-Corrigendum=FALSE)
*/
/* TO DO:
* - TCP desegmentation is currently not supported for T.38 IFP directly over TCP.
* - H.245 dissectors should be updated to start conversations for T.38 similar to RTP.
* - Sometimes the last octet is not high-lighted when selecting something in the tree. Bug in PER dissector?
* - Add support for RTP payload audio/t38 (draft-jones-avt-audio-t38-03.txt), i.e. T38 in RTP packets.
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/reassemble.h>
#include <epan/conversation.h>
#include <epan/tap.h>
#include <epan/expert.h>
#include <epan/strutil.h>
#include <epan/prefs.h>
#include <epan/ipproto.h>
#include <epan/asn1.h>
#include <epan/proto_data.h>
#include "packet-t38.h"
#include "packet-per.h"
#include "packet-tpkt.h"
#include "packet-acdr.h"
void proto_register_t38(void);
static int t38_tap = -1;
/* dissect using the Pre Corrigendum T.38 ASN.1 specification (1998) */
static gboolean use_pre_corrigendum_asn1_specification = TRUE;
/* dissect packets that looks like RTP version 2 packets as RTP */
/* instead of as T.38. This may result in that some T.38 UPTL */
/* packets with sequence number values higher than 32767 may be */
/* shown as RTP packets. */
static gboolean dissect_possible_rtpv2_packets_as_rtp = FALSE;
/* Reassembly of T.38 PDUs over TPKT over TCP */
static gboolean t38_tpkt_reassembly = TRUE;
/* Preference setting whether TPKT header is used when sending T.38 over TCP.
* The default setting is Maybe where the dissector will look on the first
* bytes to try to determine whether TPKT header is used or not. This may not
* work so well in some cases. You may want to change the setting to Always or
* Newer.
*/
#define T38_TPKT_NEVER 0 /* Assume that there is never a TPKT header */
#define T38_TPKT_ALWAYS 1 /* Assume that there is always a TPKT header */
#define T38_TPKT_MAYBE 2 /* Assume TPKT if first octets are 03-00-xx-xx */
static gint t38_tpkt_usage = T38_TPKT_MAYBE;
static const enum_val_t t38_tpkt_options[] = {
{"never", "Never", T38_TPKT_NEVER},
{"always", "Always", T38_TPKT_ALWAYS},
{"maybe", "Maybe", T38_TPKT_MAYBE},
{NULL, NULL, -1}
};
/* T38 */
static dissector_handle_t t38_udp_handle;
static dissector_handle_t t38_tcp_handle;
static dissector_handle_t t38_tcp_pdu_handle;
static dissector_handle_t rtp_handle;
static dissector_handle_t t30_hdlc_handle;
static dissector_handle_t data_handle;
static gint32 Type_of_msg_value;
static guint32 Data_Field_field_type_value;
static guint32 Data_value;
static guint32 T30ind_value;
static guint32 Data_Field_item_num;
static int proto_t38 = -1;
static int proto_acdr = -1;
#include "packet-t38-hf.c"
/* T38 setup fields */
static int hf_t38_setup = -1;
static int hf_t38_setup_frame = -1;
static int hf_t38_setup_method = -1;
/* T38 Data reassemble fields */
static int hf_t38_fragments = -1;
static int hf_t38_fragment = -1;
static int hf_t38_fragment_overlap = -1;
static int hf_t38_fragment_overlap_conflicts = -1;
static int hf_t38_fragment_multiple_tails = -1;
static int hf_t38_fragment_too_long_fragment = -1;
static int hf_t38_fragment_error = -1;
static int hf_t38_fragment_count = -1;
static int hf_t38_reassembled_in = -1;
static int hf_t38_reassembled_length = -1;
static gint ett_t38 = -1;
#include "packet-t38-ett.c"
static gint ett_t38_setup = -1;
static gint ett_data_fragment = -1;
static gint ett_data_fragments = -1;
static expert_field ei_t38_malformed = EI_INIT;
static gboolean primary_part = TRUE;
static guint32 seq_number = 0;
/* Tables for reassembly of Data fragments. */
static reassembly_table data_reassembly_table;
static const fragment_items data_frag_items = {
/* Fragment subtrees */
&ett_data_fragment,
&ett_data_fragments,
/* Fragment fields */
&hf_t38_fragments,
&hf_t38_fragment,
&hf_t38_fragment_overlap,
&hf_t38_fragment_overlap_conflicts,
&hf_t38_fragment_multiple_tails,
&hf_t38_fragment_too_long_fragment,
&hf_t38_fragment_error,
&hf_t38_fragment_count,
/* Reassembled in field */
&hf_t38_reassembled_in,
/* Reassembled length field */
&hf_t38_reassembled_length,
/* Reassembled data field */
NULL,
/* Tag */
"Data fragments"
};
typedef struct _fragment_key {
address src;
address dst;
guint32 id;
} fragment_key;
static conversation_t *p_conv= NULL;
static t38_conv *p_t38_conv = NULL;
static t38_conv *p_t38_packet_conv = NULL;
static t38_conv_info *p_t38_conv_info = NULL;
static t38_conv_info *p_t38_packet_conv_info = NULL;
/* RTP Version is the first 2 bits of the first octet in the UDP payload*/
#define RTP_VERSION(octet) ((octet) >> 6)
void proto_reg_handoff_t38(void);
static void show_setup_info(tvbuff_t *tvb, proto_tree *tree, t38_conv *p_t38_conv);
/* Preferences bool to control whether or not setup info should be shown */
static gboolean global_t38_show_setup_info = TRUE;
/* Can tap up to 4 T38 packets within same packet */
/* We only tap the primary part, not the redundancy */
#define MAX_T38_MESSAGES_IN_PACKET 4
static t38_packet_info t38_info_arr[MAX_T38_MESSAGES_IN_PACKET];
static int t38_info_current=0;
static t38_packet_info *t38_info=NULL;
/* Set up an T38 conversation */
void t38_add_address(packet_info *pinfo,
address *addr, int port,
int other_port,
const gchar *setup_method, guint32 setup_frame_number)
{
address null_addr;
conversation_t* p_conversation;
t38_conv* p_conversation_data = NULL;
/*
* If this isn't the first time this packet has been processed,
* we've already done this work, so we don't need to do it
* again.
*/
if ((pinfo->fd->visited) || (t38_udp_handle == NULL))
{
return;
}
clear_address(&null_addr);
/*
* Check if the ip address and port combination is not
* already registered as a conversation.
*/
p_conversation = find_conversation( setup_frame_number, addr, &null_addr, CONVERSATION_UDP, port, other_port,
NO_ADDR_B | (!other_port ? NO_PORT_B : 0));
/*
* If not, create a new conversation.
*/
if ( !p_conversation || p_conversation->setup_frame != setup_frame_number) {
p_conversation = conversation_new( setup_frame_number, addr, &null_addr, CONVERSATION_UDP,
(guint32)port, (guint32)other_port,
NO_ADDR2 | (!other_port ? NO_PORT2 : 0));
}
/* Set dissector */
conversation_set_dissector(p_conversation, t38_udp_handle);
/*
* Check if the conversation has data associated with it.
*/
p_conversation_data = (t38_conv*)conversation_get_proto_data(p_conversation, proto_t38);
/*
* If not, add a new data item.
*/
if ( ! p_conversation_data ) {
/* Create conversation data */
p_conversation_data = wmem_new(wmem_file_scope(), t38_conv);
conversation_add_proto_data(p_conversation, proto_t38, p_conversation_data);
}
/*
* Update the conversation data.
*/
(void) g_strlcpy(p_conversation_data->setup_method, setup_method, MAX_T38_SETUP_METHOD_SIZE);
p_conversation_data->setup_frame_number = setup_frame_number;
p_conversation_data->src_t38_info.reass_ID = 0;
p_conversation_data->src_t38_info.reass_start_seqnum = -1;
p_conversation_data->src_t38_info.reass_data_type = 0;
p_conversation_data->src_t38_info.last_seqnum = -1;
p_conversation_data->src_t38_info.packet_lost = 0;
p_conversation_data->src_t38_info.burst_lost = 0;
p_conversation_data->src_t38_info.time_first_t4_data = 0;
p_conversation_data->src_t38_info.additional_hdlc_data_field_counter = 0;
p_conversation_data->src_t38_info.seqnum_prev_data_field = -1;
p_conversation_data->src_t38_info.next = NULL;
p_conversation_data->dst_t38_info.reass_ID = 0;
p_conversation_data->dst_t38_info.reass_start_seqnum = -1;
p_conversation_data->dst_t38_info.reass_data_type = 0;
p_conversation_data->dst_t38_info.last_seqnum = -1;
p_conversation_data->dst_t38_info.packet_lost = 0;
p_conversation_data->dst_t38_info.burst_lost = 0;
p_conversation_data->dst_t38_info.time_first_t4_data = 0;
p_conversation_data->dst_t38_info.additional_hdlc_data_field_counter = 0;
p_conversation_data->dst_t38_info.seqnum_prev_data_field = -1;
p_conversation_data->dst_t38_info.next = NULL;
}
static fragment_head *
force_reassemble_seq(reassembly_table *table, packet_info *pinfo, guint32 id)
{
fragment_head *fd_head;
fragment_item *fd_i;
fragment_item *last_fd;
guint32 dfpos, size, packet_lost, burst_lost, seq_num;
guint8 *data;
fd_head = fragment_get(table, pinfo, id, NULL);
/* have we already seen this frame ?*/
if (pinfo->fd->visited) {
if (fd_head != NULL && fd_head->flags & FD_DEFRAGMENTED) {
return fd_head;
} else {
return NULL;
}
}
if (fd_head==NULL){
/* we must have it to continue */
return NULL;
}
/* check for packet lost and count the burst of packet lost */
packet_lost = 0;
burst_lost = 0;
seq_num = 0;
for(fd_i=fd_head->next;fd_i;fd_i=fd_i->next) {
if (seq_num != fd_i->offset) {
packet_lost += fd_i->offset - seq_num;
if ( (fd_i->offset - seq_num) > burst_lost ) {
burst_lost = fd_i->offset - seq_num;
}
}
seq_num = fd_i->offset + 1;
}
/* we have received an entire packet, defragment it and
* free all fragments
*/
size=0;
last_fd=NULL;
for(fd_i=fd_head->next;fd_i;fd_i=fd_i->next) {
if(!last_fd || last_fd->offset!=fd_i->offset){
size+=fd_i->len;
}
last_fd=fd_i;
}
data = (guint8 *) wmem_alloc(pinfo->pool, size);
fd_head->tvb_data = tvb_new_real_data(data, size, size);
fd_head->len = size; /* record size for caller */
/* add all data fragments */
dfpos = 0;
last_fd=NULL;
for (fd_i=fd_head->next;fd_i && fd_i->len + dfpos <= size;fd_i=fd_i->next) {
if (fd_i->len) {
if(!last_fd || last_fd->offset!=fd_i->offset){
tvb_memcpy(fd_i->tvb_data, data+dfpos, 0, fd_i->len);
dfpos += fd_i->len;
} else {
/* duplicate/retransmission/overlap */
fd_i->flags |= FD_OVERLAP;
fd_head->flags |= FD_OVERLAP;
if( (last_fd->len!=fd_i->len)
|| tvb_memeql(last_fd->tvb_data, 0, tvb_get_ptr(fd_i->tvb_data, 0, last_fd->len), last_fd->len) ){
fd_i->flags |= FD_OVERLAPCONFLICT;
fd_head->flags |= FD_OVERLAPCONFLICT;
}
}
}
last_fd=fd_i;
}
/* we have defragmented the pdu, now free all fragments*/
for (fd_i=fd_head->next;fd_i;fd_i=fd_i->next) {
if(fd_i->tvb_data){
tvb_free(fd_i->tvb_data);
fd_i->tvb_data=NULL;
}
}
/* mark this packet as defragmented */
fd_head->flags |= FD_DEFRAGMENTED;
fd_head->reassembled_in=pinfo->num;
col_append_fstr(pinfo->cinfo, COL_INFO, " (t4-data Reassembled: %d pack lost, %d pack burst lost)", packet_lost, burst_lost);
p_t38_packet_conv_info->packet_lost = packet_lost;
p_t38_packet_conv_info->burst_lost = burst_lost;
return fd_head;
}
/* T38 Routines */
#include "packet-t38-fn.c"
/* initialize the tap t38_info and the conversation */
static void
init_t38_info_conv(packet_info *pinfo)
{
/* tap info */
t38_info_current++;
if (t38_info_current==MAX_T38_MESSAGES_IN_PACKET) {
t38_info_current=0;
}
t38_info = &t38_info_arr[t38_info_current];
t38_info->seq_num = 0;
t38_info->type_msg = 0;
t38_info->data_value = 0;
t38_info->t30ind_value =0;
t38_info->setup_frame_number = 0;
t38_info->Data_Field_field_type_value = 0;
t38_info->desc[0] = '\0';
t38_info->desc_comment[0] = '\0';
t38_info->time_first_t4_data = 0;
t38_info->frame_num_first_t4_data = 0;
/*
p_t38_packet_conv hold the conversation info in each of the packets.
p_t38_conv hold the conversation info used to reassemble the HDLC packets, and also the Setup info (e.g SDP)
If we already have p_t38_packet_conv in the packet, it means we already reassembled the HDLC packets, so we don't
need to use p_t38_conv
*/
p_t38_packet_conv = NULL;
p_t38_conv = NULL;
/* Use existing packet info if available */
p_t38_packet_conv = (t38_conv *)p_get_proto_data(wmem_file_scope(), pinfo, proto_t38, 0);
/* find the conversation used for Reassemble and Setup Info */
p_conv = find_conversation(pinfo->num, &pinfo->net_dst, &pinfo->net_src,
conversation_pt_to_conversation_type(pinfo->ptype),
pinfo->destport, pinfo->srcport, NO_ADDR_B | NO_PORT_B);
/* create a conv if it doen't exist */
if (!p_conv) {
p_conv = conversation_new(pinfo->num, &pinfo->net_src, &pinfo->net_dst,
conversation_pt_to_conversation_type(pinfo->ptype), pinfo->srcport, pinfo->destport, NO_ADDR2 | NO_PORT2);
/* Set dissector */
conversation_set_dissector(p_conv, t38_udp_handle);
}
p_t38_conv = (t38_conv *)conversation_get_proto_data(p_conv, proto_t38);
/* create the conversation if it doesn't exist */
if (!p_t38_conv) {
p_t38_conv = wmem_new(wmem_file_scope(), t38_conv);
p_t38_conv->setup_method[0] = '\0';
p_t38_conv->setup_frame_number = 0;
p_t38_conv->src_t38_info.reass_ID = 0;
p_t38_conv->src_t38_info.reass_start_seqnum = -1;
p_t38_conv->src_t38_info.reass_data_type = 0;
p_t38_conv->src_t38_info.last_seqnum = -1;
p_t38_conv->src_t38_info.packet_lost = 0;
p_t38_conv->src_t38_info.burst_lost = 0;
p_t38_conv->src_t38_info.time_first_t4_data = 0;
p_t38_conv->src_t38_info.additional_hdlc_data_field_counter = 0;
p_t38_conv->src_t38_info.seqnum_prev_data_field = -1;
p_t38_conv->src_t38_info.next = NULL;
p_t38_conv->dst_t38_info.reass_ID = 0;
p_t38_conv->dst_t38_info.reass_start_seqnum = -1;
p_t38_conv->dst_t38_info.reass_data_type = 0;
p_t38_conv->dst_t38_info.last_seqnum = -1;
p_t38_conv->dst_t38_info.packet_lost = 0;
p_t38_conv->dst_t38_info.burst_lost = 0;
p_t38_conv->dst_t38_info.time_first_t4_data = 0;
p_t38_conv->dst_t38_info.additional_hdlc_data_field_counter = 0;
p_t38_conv->dst_t38_info.seqnum_prev_data_field = -1;
p_t38_conv->dst_t38_info.next = NULL;
conversation_add_proto_data(p_conv, proto_t38, p_t38_conv);
}
if (!p_t38_packet_conv) {
/* copy the t38 conversation info to the packet t38 conversation */
p_t38_packet_conv = wmem_new(wmem_file_scope(), t38_conv);
(void) g_strlcpy(p_t38_packet_conv->setup_method, p_t38_conv->setup_method, MAX_T38_SETUP_METHOD_SIZE);
p_t38_packet_conv->setup_frame_number = p_t38_conv->setup_frame_number;
memcpy(&(p_t38_packet_conv->src_t38_info), &(p_t38_conv->src_t38_info), sizeof(t38_conv_info));
memcpy(&(p_t38_packet_conv->dst_t38_info), &(p_t38_conv->dst_t38_info), sizeof(t38_conv_info));
p_add_proto_data(wmem_file_scope(), pinfo, proto_t38, 0, p_t38_packet_conv);
}
if (addresses_equal(conversation_key_addr1(p_conv->key_ptr), &pinfo->net_src)) {
p_t38_conv_info = &(p_t38_conv->src_t38_info);
p_t38_packet_conv_info = &(p_t38_packet_conv->src_t38_info);
} else {
p_t38_conv_info = &(p_t38_conv->dst_t38_info);
p_t38_packet_conv_info = &(p_t38_packet_conv->dst_t38_info);
}
/* update t38_info */
t38_info->setup_frame_number = p_t38_packet_conv->setup_frame_number;
}
/* Entry point for dissection */
static int
dissect_t38_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
{
guint8 octet1;
proto_item *it;
proto_tree *tr;
guint32 offset=0;
/*
* XXX - heuristic to check for misidentified packets.
*/
if (dissect_possible_rtpv2_packets_as_rtp){
octet1 = tvb_get_guint8(tvb, offset);
if (RTP_VERSION(octet1) == 2){
return call_dissector(rtp_handle,tvb,pinfo,tree);
}
}
col_set_str(pinfo->cinfo, COL_PROTOCOL, "T.38");
col_clear(pinfo->cinfo, COL_INFO);
primary_part = TRUE;
/* This indicate the item number in the primary part of the T38 message, it is used for the reassemble of T30 packets */
Data_Field_item_num = 0;
it=proto_tree_add_protocol_format(tree, proto_t38, tvb, 0, -1, "ITU-T Recommendation T.38");
tr=proto_item_add_subtree(it, ett_t38);
/* init tap and conv info */
init_t38_info_conv(pinfo);
/* Show Conversation setup info if exists*/
if (global_t38_show_setup_info) {
show_setup_info(tvb, tr, p_t38_packet_conv);
}
col_append_str(pinfo->cinfo, COL_INFO, "UDP: UDPTLPacket ");
offset = dissect_UDPTLPacket_PDU(tvb, pinfo, tr, NULL);
if (tvb_reported_length_remaining(tvb,offset)>0){
proto_tree_add_expert_format(tr, pinfo, &ei_t38_malformed, tvb, offset, tvb_reported_length_remaining(tvb, offset),
"[MALFORMED PACKET or wrong preference settings]");
col_append_str(pinfo->cinfo, COL_INFO, " [Malformed?]");
}
return tvb_captured_length(tvb);
}
static int
dissect_t38_tcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
{
proto_item *it;
proto_tree *tr;
guint32 offset=0;
tvbuff_t *next_tvb;
guint16 ifp_packet_number=1;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "T.38");
col_clear(pinfo->cinfo, COL_INFO);
primary_part = TRUE;
/* This indicate the item number in the primary part of the T38 message, it is used for the reassemble of T30 packets */
Data_Field_item_num = 0;
it=proto_tree_add_protocol_format(tree, proto_t38, tvb, 0, -1, "ITU-T Recommendation T.38");
tr=proto_item_add_subtree(it, ett_t38);
/* init tap and conv info */
init_t38_info_conv(pinfo);
/* Show Conversation setup info if exists*/
if (global_t38_show_setup_info) {
show_setup_info(tvb, tr, p_t38_packet_conv);
}
col_append_str(pinfo->cinfo, COL_INFO, "TCP: IFPPacket");
while(tvb_reported_length_remaining(tvb,offset)>0)
{
next_tvb = tvb_new_subset_remaining(tvb, offset);
offset += dissect_IFPPacket_PDU(next_tvb, pinfo, tr, NULL);
ifp_packet_number++;
if(tvb_reported_length_remaining(tvb,offset)>0){
if(t38_tpkt_usage == T38_TPKT_ALWAYS){
proto_tree_add_expert_format(tr, pinfo, &ei_t38_malformed, tvb, offset, tvb_reported_length_remaining(tvb, offset),
"[MALFORMED PACKET or wrong preference settings]");
col_append_str(pinfo->cinfo, COL_INFO, " [Malformed?]");
break;
}else {
col_append_fstr(pinfo->cinfo, COL_INFO, " IFPPacket#%u",ifp_packet_number);
}
}
}
return tvb_captured_length(tvb);
}
static int
dissect_t38_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
{
primary_part = TRUE;
if(t38_tpkt_usage == T38_TPKT_ALWAYS){
dissect_tpkt_encap(tvb,pinfo,tree,t38_tpkt_reassembly,t38_tcp_pdu_handle);
}
else if((t38_tpkt_usage == T38_TPKT_NEVER) || (is_tpkt(tvb,1) == -1)){
dissect_t38_tcp_pdu(tvb, pinfo, tree, data);
}
else {
dissect_tpkt_encap(tvb,pinfo,tree,t38_tpkt_reassembly,t38_tcp_pdu_handle);
}
return tvb_captured_length(tvb);
}
/* Look for conversation info and display any setup info found */
void
show_setup_info(tvbuff_t *tvb, proto_tree *tree, t38_conv *p_t38_conversation)
{
proto_tree *t38_setup_tree;
proto_item *ti;
if (!p_t38_conversation || p_t38_conversation->setup_frame_number == 0) {
/* there is no Setup info */
return;
}
ti = proto_tree_add_string_format(tree, hf_t38_setup, tvb, 0, 0,
"",
"Stream setup by %s (frame %u)",
p_t38_conversation->setup_method,
p_t38_conversation->setup_frame_number);
proto_item_set_generated(ti);
t38_setup_tree = proto_item_add_subtree(ti, ett_t38_setup);
if (t38_setup_tree)
{
/* Add details into subtree */
proto_item* item = proto_tree_add_uint(t38_setup_tree, hf_t38_setup_frame,
tvb, 0, 0, p_t38_conversation->setup_frame_number);
proto_item_set_generated(item);
item = proto_tree_add_string(t38_setup_tree, hf_t38_setup_method,
tvb, 0, 0, p_t38_conversation->setup_method);
proto_item_set_generated(item);
}
}
/* This function tries to understand if the payload is sitting on top of AC DR */
static gboolean
dissect_t38_acdr_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
guint acdr_prot = GPOINTER_TO_UINT(p_get_proto_data(pinfo->pool, pinfo, proto_acdr, 0));
if (acdr_prot == ACDR_T38)
return dissect_t38_udp(tvb, pinfo, tree, NULL);
return FALSE;
}
/* Wireshark Protocol Registration */
void
proto_register_t38(void)
{
static hf_register_info hf[] =
{
#include "packet-t38-hfarr.c"
{ &hf_t38_setup,
{ "Stream setup", "t38.setup", FT_STRING, BASE_NONE,
NULL, 0x0, "Stream setup, method and frame number", HFILL }},
{ &hf_t38_setup_frame,
{ "Stream frame", "t38.setup-frame", FT_FRAMENUM, BASE_NONE,
NULL, 0x0, "Frame that set up this stream", HFILL }},
{ &hf_t38_setup_method,
{ "Stream Method", "t38.setup-method", FT_STRING, BASE_NONE,
NULL, 0x0, "Method used to set up this stream", HFILL }},
{&hf_t38_fragments,
{"Message fragments", "t38.fragments",
FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } },
{&hf_t38_fragment,
{"Message fragment", "t38.fragment",
FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL } },
{&hf_t38_fragment_overlap,
{"Message fragment overlap", "t38.fragment.overlap",
FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL } },
{&hf_t38_fragment_overlap_conflicts,
{"Message fragment overlapping with conflicting data",
"t38.fragment.overlap.conflicts",
FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL } },
{&hf_t38_fragment_multiple_tails,
{"Message has multiple tail fragments",
"t38.fragment.multiple_tails",
FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL } },
{&hf_t38_fragment_too_long_fragment,
{"Message fragment too long", "t38.fragment.too_long_fragment",
FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL } },
{&hf_t38_fragment_error,
{"Message defragmentation error", "t38.fragment.error",
FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL } },
{&hf_t38_fragment_count,
{"Message fragment count", "t38.fragment.count",
FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } },
{&hf_t38_reassembled_in,
{"Reassembled in", "t38.reassembled.in",
FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL } },
{&hf_t38_reassembled_length,
{"Reassembled T38 length", "t38.reassembled.length",
FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } },
};
static gint *ett[] =
{
&ett_t38,
#include "packet-t38-ettarr.c"
&ett_t38_setup,
&ett_data_fragment,
&ett_data_fragments
};
static ei_register_info ei[] = {
{ &ei_t38_malformed, { "t38.malformed", PI_MALFORMED, PI_ERROR, "Malformed packet", EXPFILL }},
};
module_t *t38_module;
expert_module_t* expert_t38;
proto_t38 = proto_register_protocol("T.38", "T.38", "t38");
proto_register_field_array(proto_t38, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
expert_t38 = expert_register_protocol(proto_t38);
expert_register_field_array(expert_t38, ei, array_length(ei));
t38_udp_handle=register_dissector("t38_udp", dissect_t38_udp, proto_t38);
t38_tcp_handle=register_dissector("t38_tcp", dissect_t38_tcp, proto_t38);
t38_tcp_pdu_handle=register_dissector("t38_tcp_pdu", dissect_t38_tcp_pdu, proto_t38);
/* Register reassemble tables for HDLC */
reassembly_table_register(&data_reassembly_table,
&addresses_reassembly_table_functions);
t38_tap = register_tap("t38");
t38_module = prefs_register_protocol(proto_t38, NULL);
prefs_register_bool_preference(t38_module, "use_pre_corrigendum_asn1_specification",
"Use the Pre-Corrigendum ASN.1 specification",
"Whether the T.38 dissector should decode using the Pre-Corrigendum T.38 "
"ASN.1 specification (1998).",
&use_pre_corrigendum_asn1_specification);
prefs_register_bool_preference(t38_module, "dissect_possible_rtpv2_packets_as_rtp",
"Dissect possible RTP version 2 packets with RTP dissector",
"Whether a UDP packet that looks like RTP version 2 packet will "
"be dissected as RTP packet or T.38 packet. If enabled there is a risk that T.38 UDPTL "
"packets with sequence number higher than 32767 may be dissected as RTP.",
&dissect_possible_rtpv2_packets_as_rtp);
prefs_register_bool_preference(t38_module, "reassembly",
"Reassemble T.38 PDUs over TPKT over TCP",
"Whether the dissector should reassemble T.38 PDUs spanning multiple TCP segments "
"when TPKT is used over TCP. "
"To use this option, you must also enable \"Allow subdissectors to reassemble "
"TCP streams\" in the TCP protocol settings.",
&t38_tpkt_reassembly);
prefs_register_enum_preference(t38_module, "tpkt_usage",
"TPKT used over TCP",
"Whether T.38 is used with TPKT for TCP",
(gint *)&t38_tpkt_usage,t38_tpkt_options,FALSE);
prefs_register_bool_preference(t38_module, "show_setup_info",
"Show stream setup information",
"Where available, show which protocol and frame caused "
"this T.38 stream to be created",
&global_t38_show_setup_info);
}
void
proto_reg_handoff_t38(void)
{
rtp_handle = find_dissector_add_dependency("rtp", proto_t38);
t30_hdlc_handle = find_dissector_add_dependency("t30.hdlc", proto_t38);
proto_acdr = proto_get_id_by_filter_name("acdr");
data_handle = find_dissector("data");
dissector_add_for_decode_as("tcp.port", t38_tcp_handle);
dissector_add_for_decode_as("udp.port", t38_udp_handle);
heur_dissector_add("udp", dissect_t38_acdr_heur, "T38 over AC DR", "t38_acdr", proto_t38, HEURISTIC_ENABLE);
dissector_add_uint("acdr.media_type", ACDR_T38, t38_udp_handle);
} |
C/C++ | wireshark/epan/dissectors/asn1/t38/packet-t38-template.h | /* packet-t38.h
*
* Routines for T38 dissection
* 2003 Hans Viens
* 2004 Alejandro Vaquero, add support to conversation
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "ws_symbol_export.h"
#define MAX_T38_DATA_ITEMS 4
#define MAX_T38_DESC 128
typedef struct _t38_packet_info {
guint16 seq_num; /* UDPTLPacket sequence number */
gint32 type_msg; /* 0=t30-indicator 1=data */
guint32 t30ind_value;
guint32 data_value; /* standard and speed */
guint32 setup_frame_number;
guint32 Data_Field_field_type_value;
guint8 t30_Facsimile_Control;
gchar desc[MAX_T38_DESC]; /* Description used to be displayed in the frame label Graph Anlaysis */
gchar desc_comment[MAX_T38_DESC]; /* Description used to be displayed in the Comment Graph Anlaysis */
double time_first_t4_data;
guint32 frame_num_first_t4_data;
} t38_packet_info;
#define MAX_T38_SETUP_METHOD_SIZE 7
/* Info to save the State to reassemble Data (e.g. HDLC) and the Setup (e.g. SDP) in T38 conversations */
typedef struct _t38_conv_info t38_conv_info;
struct _t38_conv_info {
guint32 reass_ID;
int reass_start_seqnum;
guint32 reass_start_data_field;
guint32 reass_data_type;
gint32 last_seqnum; /* used to avoid duplicated seq num shown in the Graph Analysis */
guint32 packet_lost;
guint32 burst_lost;
double time_first_t4_data;
guint32 additional_hdlc_data_field_counter;
gint32 seqnum_prev_data_field;
t38_conv_info *next;
};
/* Info to save the State to reassemble Data (e.g. HDLC) and the Setup (e.g. SDP) in T38 conversations */
typedef struct _t38_conv
{
gchar setup_method[MAX_T38_SETUP_METHOD_SIZE + 1];
guint32 setup_frame_number;
t38_conv_info src_t38_info;
t38_conv_info dst_t38_info;
} t38_conv;
/* Add an T38 conversation with the given details */
WS_DLL_PUBLIC
void t38_add_address(packet_info *pinfo,
address *addr, int port,
int other_port,
const gchar *setup_method, guint32 setup_frame_number);
#include "packet-t38-exp.h" |
Configuration | wireshark/epan/dissectors/asn1/t38/t38.cnf | # t38.cnf
# T.38 conformation file
# 2007 Tomas Kukosa
#.EXPORTS ONLY_VALS WS_DLL
Type-of-msg/t30-indicator
Type-of-msg/t30-data
#.END
#.TYPE_RENAME
Type-of-msg/t30-indicator T30_indicator
Type-of-msg/t30-data T30_data
#.END
#.PDU
IFPPacket
UDPTLPacket
#.END
#.FN_PARS Type-of-msg VAL_PTR=&Type_of_msg_value
#.FN_FTR Type-of-msg
/* info for tap */
if (primary_part)
t38_info->type_msg = Type_of_msg_value;
#.END
#.FN_PARS Type-of-msg/t30-indicator VAL_PTR=&T30ind_value
#.FN_FTR Type-of-msg/t30-indicator
if (primary_part){
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " t30ind: %s",
val_to_str(T30ind_value,t38_T30_indicator_vals,"<unknown>"));
}
/* info for tap */
if (primary_part)
t38_info->t30ind_value = T30ind_value;
#.END
#.FN_PARS Type-of-msg/t30-data VAL_PTR=&Data_value
#.FN_FTR Type-of-msg/t30-data
if (primary_part){
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " data:%s:",
val_to_str(Data_value,t38_T30_data_vals,"<unknown>"));
}
/* info for tap */
if (primary_part)
t38_info->data_value = Data_value;
#.END
#.FN_FTR Data-Field/_item
if (primary_part) Data_Field_item_num++;
#.END
#.FN_PARS Data-Field/_item/field-type
EXT=(use_pre_corrigendum_asn1_specification)?FALSE:TRUE
EXT_NUM=(use_pre_corrigendum_asn1_specification)?0:4
VAL_PTR=&Data_Field_field_type_value
#.FN_FTR Data-Field/_item/field-type
if (primary_part){
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %s",
val_to_str(Data_Field_field_type_value,t38_T_field_type_vals,"<unknown>"));
}
if (primary_part) {
if (Data_Field_field_type_value == 2 || Data_Field_field_type_value == 4 || Data_Field_field_type_value == 7) {/* hdlc-fcs-OK or hdlc-fcs-OK-sig-end or t4-non-ecm-sig-end*/
fragment_head *frag_msg = NULL;
tvbuff_t* new_tvb = NULL;
gboolean save_fragmented = actx->pinfo->fragmented;
actx->pinfo->fragmented = TRUE;
/* if reass_start_seqnum=-1 it means we have received the end of the fragmente, without received any fragment data */
if (p_t38_packet_conv_info->reass_start_seqnum != -1) {
guint32 frag_seq_num;
if (seq_number == (guint32)p_t38_packet_conv_info->reass_start_seqnum) {
frag_seq_num = (guint32)p_t38_packet_conv_info->additional_hdlc_data_field_counter + Data_Field_item_num - p_t38_packet_conv_info->reass_start_data_field;
} else {
frag_seq_num = seq_number - (guint32)p_t38_packet_conv_info->reass_start_seqnum + (guint32)p_t38_packet_conv_info->additional_hdlc_data_field_counter + Data_Field_item_num;
}
frag_msg = fragment_add_seq(&data_reassembly_table, /* reassembly table */
tvb, offset, actx->pinfo,
p_t38_packet_conv_info->reass_ID, /* ID for fragments belonging together */
NULL,
frag_seq_num, /* fragment sequence number */
/*0,*/
0, /* fragment length */
FALSE, /* More fragments */
0);
if ( Data_Field_field_type_value == 7 ) {
/* if there was packet lost or other errors during the defrag then frag_msg is NULL. This could also means
* there are out of order packets (e.g, got the tail frame t4-non-ecm-sig-end before the last fragment),
* but we will assume there was packet lost instead, which is more usual. So, we are going to reassemble the packet
* and get some stat, like packet lost and burst number of packet lost
*/
if (!frag_msg) {
force_reassemble_seq(&data_reassembly_table, /* reassembly table */
actx->pinfo,
p_t38_packet_conv_info->reass_ID /* ID for fragments belonging together */
);
} else {
col_append_str(actx->pinfo->cinfo, COL_INFO, " (t4-data Reassembled: No packet lost)");
snprintf(t38_info->desc_comment, MAX_T38_DESC, "No packet lost");
}
if (p_t38_packet_conv_info->packet_lost) {
snprintf(t38_info->desc_comment, MAX_T38_DESC, " Pack lost: %d, Pack burst lost: %d", p_t38_packet_conv_info->packet_lost, p_t38_packet_conv_info->burst_lost);
} else {
snprintf(t38_info->desc_comment, MAX_T38_DESC, "No packet lost");
}
process_reassembled_data(tvb, offset, actx->pinfo,
"Reassembled T38", frag_msg, &data_frag_items, NULL, tree);
/* Now reset fragmentation information in pinfo */
actx->pinfo->fragmented = save_fragmented;
t38_info->time_first_t4_data = p_t38_packet_conv_info->time_first_t4_data;
t38_info->frame_num_first_t4_data = p_t38_packet_conv_info->reass_ID; /* The reass_ID is the Frame number of the first t4 fragment */
} else {
new_tvb = process_reassembled_data(tvb, offset, actx->pinfo,
"Reassembled T38", frag_msg, &data_frag_items, NULL, tree);
/* Now reset fragmentation information in pinfo */
actx->pinfo->fragmented = save_fragmented;
if (new_tvb) call_dissector_with_data((t30_hdlc_handle) ? t30_hdlc_handle : data_handle, new_tvb, actx->pinfo, tree, t38_info);
}
} else {
/* If this is the same sequence number as the previous packet
* (i.e., a retransmission), we don't expect to have any
* fragment data (we reassembled it in the previous packet).
*/
if (p_t38_packet_conv && ((gint32) seq_number != p_t38_packet_conv_info->last_seqnum)) {
proto_tree_add_expert_format(tree, actx->pinfo, &ei_t38_malformed, tvb, offset, tvb_reported_length_remaining(tvb, offset),
"[RECEIVED END OF FRAGMENT W/OUT ANY FRAGMENT DATA]");
col_append_str(actx->pinfo->cinfo, COL_INFO, " [Malformed?]");
}
actx->pinfo->fragmented = save_fragmented;
}
}
/* reset the reassemble ID and the start seq number if it is not HDLC data */
if ( p_t38_conv && ( ((Data_Field_field_type_value >0) && (Data_Field_field_type_value <6)) || (Data_Field_field_type_value == 7) ) ){
p_t38_conv_info->reass_ID = 0;
p_t38_conv_info->reass_start_seqnum = -1;
p_t38_conv_info->additional_hdlc_data_field_counter = 0;
p_t38_conv_info->seqnum_prev_data_field = -1;
if (p_t38_packet_conv_info->next == NULL) {
p_t38_packet_conv_info->next = wmem_new(wmem_file_scope(), t38_conv_info);
p_t38_packet_conv_info = p_t38_packet_conv_info->next;
memcpy(p_t38_packet_conv_info, p_t38_conv_info, sizeof(t38_conv_info));
}
}
t38_info->Data_Field_field_type_value = Data_Field_field_type_value;
}
#.END
#.FN_BODY Data-Field/_item/field-data VAL_PTR=&value_tvb
tvbuff_t *value_tvb = NULL;
guint32 value_len;
%(DEFAULT_BODY)s
value_len = tvb_reported_length(value_tvb);
#.FN_FTR Data-Field/_item/field-data
if (primary_part){
if(value_len < 8){
col_append_fstr(actx->pinfo->cinfo, COL_INFO, "[%s]",
tvb_bytes_to_str(actx->pinfo->pool, value_tvb,0,value_len));
}
else {
col_append_fstr(actx->pinfo->cinfo, COL_INFO, "[%s...]",
tvb_bytes_to_str(actx->pinfo->pool, value_tvb,0,7));
}
}
if (primary_part) {
fragment_head *frag_msg = NULL;
/* HDLC Data or t4-non-ecm-data */
if (Data_Field_field_type_value == 0 || Data_Field_field_type_value == 6) { /* 0=HDLC Data or 6=t4-non-ecm-data*/
gboolean save_fragmented = actx->pinfo->fragmented;
actx->pinfo->fragmented = TRUE;
/* if we have not reassembled this packet and it is the first fragment, reset the reassemble ID and the start seq number*/
if (p_t38_packet_conv && p_t38_conv && (p_t38_packet_conv_info->reass_start_seqnum == -1)) {
/* we use the first fragment's frame_number as fragment ID because the protocol doesn't provide it */
/* XXX: We'd be better off assigning our own IDs using a one-up
* counter, if it's possible for more than one reassembly to
* begin in the same frame.
*/
p_t38_conv_info->reass_ID = actx->pinfo->num;
p_t38_conv_info->reass_start_seqnum = seq_number;
p_t38_conv_info->time_first_t4_data = nstime_to_sec(&actx->pinfo->rel_ts);
p_t38_conv_info->additional_hdlc_data_field_counter = 0;
p_t38_packet_conv_info->reass_ID = p_t38_conv_info->reass_ID;
p_t38_packet_conv_info->reass_start_seqnum = p_t38_conv_info->reass_start_seqnum;
p_t38_packet_conv_info->reass_start_data_field = Data_Field_item_num;
p_t38_packet_conv_info->seqnum_prev_data_field = p_t38_conv_info->seqnum_prev_data_field;
p_t38_packet_conv_info->additional_hdlc_data_field_counter = p_t38_conv_info->additional_hdlc_data_field_counter;
p_t38_packet_conv_info->time_first_t4_data = p_t38_conv_info->time_first_t4_data;
}
if (seq_number == (guint32)p_t38_packet_conv_info->seqnum_prev_data_field){
if(p_t38_conv){
p_t38_conv_info->additional_hdlc_data_field_counter++;
}
}
guint32 frag_seq_num;
if (seq_number == (guint32)p_t38_packet_conv_info->reass_start_seqnum) {
frag_seq_num = (guint32)p_t38_packet_conv_info->additional_hdlc_data_field_counter + Data_Field_item_num - (guint32)p_t38_packet_conv_info->reass_start_data_field;
} else {
frag_seq_num = seq_number - (guint32)p_t38_packet_conv_info->reass_start_seqnum + (guint32)p_t38_packet_conv_info->additional_hdlc_data_field_counter + Data_Field_item_num;
}
frag_msg = fragment_add_seq(&data_reassembly_table,
value_tvb, 0,
actx->pinfo,
p_t38_packet_conv_info->reass_ID, /* ID for fragments belonging together */
NULL,
frag_seq_num, /* fragment sequence number */
value_len, /* fragment length */
TRUE, /* More fragments */
0);
p_t38_packet_conv_info->seqnum_prev_data_field = (gint32)seq_number;
process_reassembled_data(tvb, offset, actx->pinfo,
"Reassembled T38", frag_msg, &data_frag_items, NULL, tree);
if (!frag_msg) { /* Not last packet of reassembled */
if (Data_Field_field_type_value == 0) {
col_append_fstr(actx->pinfo->cinfo, COL_INFO," (HDLC fragment %u)", frag_seq_num);
} else {
col_append_fstr(actx->pinfo->cinfo, COL_INFO," (t4-data fragment %u)", seq_number - (guint32)p_t38_packet_conv_info->reass_start_seqnum);
}
}
/* Now reset fragmentation information in pinfo */
actx->pinfo->fragmented = save_fragmented;
}
}
#.END
#.FN_HDR UDPTLPacket
/* Initialize to something else than data type */
Data_Field_field_type_value = 1;
#.END
#.FN_PARS UDPTLPacket/seq-number VAL_PTR=&seq_number
#.FN_FTR UDPTLPacket/seq-number
/* info for tap */
if (primary_part)
t38_info->seq_num = seq_number;
col_append_fstr(actx->pinfo->cinfo, COL_INFO, "Seq=%05u ",seq_number);
#.END
#.FN_HDR UDPTLPacket/primary-ifp-packet
primary_part = TRUE;
#.FN_FTR UDPTLPacket/primary-ifp-packet
/* if is a valid t38 packet, add to tap */
/* Note that t4-non-ecm-sig-end without first_t4_data is not valid */
if (p_t38_packet_conv && (!actx->pinfo->flags.in_error_pkt) && ((gint32) seq_number != p_t38_packet_conv_info->last_seqnum) &&
!(t38_info->type_msg == 1 && t38_info->Data_Field_field_type_value == 7 && t38_info->frame_num_first_t4_data == 0))
tap_queue_packet(t38_tap, actx->pinfo, t38_info);
if (p_t38_conv) p_t38_conv_info->last_seqnum = (gint32) seq_number;
#.END
#.FN_HDR UDPTLPacket/error-recovery
primary_part = FALSE;
#.FN_FTR UDPTLPacket/error-recovery
primary_part = TRUE;
#.END |
ASN.1 | wireshark/epan/dissectors/asn1/t38/T38_1998.asn | -- T38(1998).asn
--
-- Taken from ITU ASN.1 database
-- http://www.itu.int/ITU-T/asn1/database/itu-t/t/t38/2005/T38(1998).asn
--
-- it is not used for dissector generation
-- it is here only for information to see difference of the "Pre-Corrigendum" version
--
-- Module T38(1998) (T.38:09/2005)
T38 DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
IFPPacket ::= SEQUENCE {
type-of-msg Type-of-msg,
data-field Data-Field OPTIONAL
}
Type-of-msg ::= CHOICE {
t30-indicator
ENUMERATED {no-signal, cng, ced, v21-preamble, v27-2400-training,
v27-4800-training, v29-7200-training, v29-9600-training,
v17-7200-short-training, v17-7200-long-training,
v17-9600-short-training, v17-9600-long-training,
v17-12000-short-training, v17-12000-long-training,
v17-14400-short-training, v17-14400-long-training, ...
},
data
ENUMERATED {v21, v27-2400, v27-4800, v29-7200, v29-9600, v17-7200,
v17-9600, v17-12000, v17-14400, ...
}
}
Data-Field ::=
SEQUENCE OF
SEQUENCE {field-type
ENUMERATED {hdlc-data, hdlc-sig-end, hdlc-fcs-OK, hdlc-fcs-BAD,
hdlc-fcs-OK-sig-end, hdlc-fcs-BAD-sig-end,
t4-non-ecm-data, t4-non-ecm-sig-end},
field-data OCTET STRING(SIZE (1..65535)) OPTIONAL}
UDPTLPacket ::= SEQUENCE {
seq-number INTEGER(0..65535),
primary-ifp-packet TYPE-IDENTIFIER.&Type(IFPPacket),
error-recovery
CHOICE {secondary-ifp-packets SEQUENCE OF TYPE-IDENTIFIER.&Type(IFPPacket),
fec-info
SEQUENCE {fec-npackets INTEGER,
fec-data SEQUENCE OF OCTET STRING}}
}
END
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
ASN.1 | wireshark/epan/dissectors/asn1/t38/T38_2002.asn | -- T38(2002).asn
--
-- Taken from ITU ASN.1 database
-- http://www.itu.int/ITU-T/asn1/database/itu-t/t/t38/2005/T38(2002).asn
--
-- Module T38(2002) (T.38:09/2005)
T38 DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
IFPPacket ::= SEQUENCE {
type-of-msg Type-of-msg,
data-field Data-Field OPTIONAL
}
Type-of-msg ::= CHOICE {
t30-indicator
ENUMERATED {no-signal, cng, ced, v21-preamble, v27-2400-training,
v27-4800-training, v29-7200-training, v29-9600-training,
v17-7200-short-training, v17-7200-long-training,
v17-9600-short-training, v17-9600-long-training,
v17-12000-short-training, v17-12000-long-training,
v17-14400-short-training, v17-14400-long-training, ...,
v8-ansam, v8-signal, v34-cntl-channel-1200, v34-pri-channel,
v34-CC-retrain, v33-12000-training, v33-14400-training},
t30-data
ENUMERATED {v21, v27-2400, v27-4800, v29-7200, v29-9600, v17-7200,
v17-9600, v17-12000, v17-14400, ...,
v8, v34-pri-rate, v34-CC-1200, v34-pri-ch, v33-12000, v33-14400}
}
Data-Field ::=
SEQUENCE OF
SEQUENCE {field-type
ENUMERATED {hdlc-data, hdlc-sig-end, hdlc-fcs-OK, hdlc-fcs-BAD,
hdlc-fcs-OK-sig-end, hdlc-fcs-BAD-sig-end,
t4-non-ecm-data, t4-non-ecm-sig-end, ...,
cm-message, jm-message, ci-message, v34rate},
field-data OCTET STRING(SIZE (1..65535)) OPTIONAL}
UDPTLPacket ::= SEQUENCE {
seq-number INTEGER(0..65535),
primary-ifp-packet TYPE-IDENTIFIER.&Type(IFPPacket),
error-recovery
CHOICE {secondary-ifp-packets SEQUENCE OF TYPE-IDENTIFIER.&Type(IFPPacket),
fec-info
SEQUENCE {fec-npackets INTEGER,
fec-data SEQUENCE OF OCTET STRING}}
}
END
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
Text | wireshark/epan/dissectors/asn1/tcap/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME tcap )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
${PROTOCOL_NAME}.asn
UnidialoguePDUs.asn
DialoguePDUs.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
TCAPMessages.asn
TC-Notation-Extensions.asn
)
set( A2W_FLAGS -b )
ASN2WRS() |
ASN.1 | wireshark/epan/dissectors/asn1/tcap/DialoguePDUs.asn | -- Generated by Asnp, the pretty-printer of France Telecom R&D (http://asn1.elibel.tm.fr/asnp/)
DialoguePDUs {itu-t recommendation q 773 modules(2) dialoguePDUs(2) version1(1)
} DEFINITIONS ::=
BEGIN
EXPORTS dialogue-as-id, DialoguePDU;
-- abstract syntax name for structured dialogue APDUs
dialogue-as-id OBJECT IDENTIFIER ::=
{itu-t recommendation q 773 as(1) dialogue-as(1) version1(1)}
DialoguePDU ::= CHOICE {
dialogueRequest AARQ-apdu,
dialogueResponse AARE-apdu,
dialogueAbort ABRT-apdu
}
AARQ-apdu ::= [APPLICATION 0] IMPLICIT SEQUENCE {
protocol-version
[0] IMPLICIT BIT STRING {version1(0)} DEFAULT {version1},
application-context-name [1] OBJECT IDENTIFIER,
user-information [30] IMPLICIT SEQUENCE OF EXTERNAL OPTIONAL
}
AARE-apdu ::= [APPLICATION 1] IMPLICIT SEQUENCE {
protocol-version
[0] IMPLICIT BIT STRING {version1(0)} DEFAULT {version1},
application-context-name [1] OBJECT IDENTIFIER,
result [2] Associate-result,
result-source-diagnostic [3] Associate-source-diagnostic,
user-information [30] IMPLICIT SEQUENCE OF EXTERNAL OPTIONAL
}
-- RLRQ PDU is currently not used.
-- It is included for completeness only.
RLRQ-apdu ::= [APPLICATION 2] IMPLICIT SEQUENCE {
reason [0] IMPLICIT Release-request-reason OPTIONAL,
user-information [30] IMPLICIT SEQUENCE OF EXTERNAL OPTIONAL
}
-- RLRE PDU is currently not used.
-- It is included for completeness only
RLRE-apdu ::= [APPLICATION 3] IMPLICIT SEQUENCE {
reason [0] IMPLICIT Release-response-reason OPTIONAL,
user-information [30] IMPLICIT SEQUENCE OF EXTERNAL OPTIONAL
}
ABRT-apdu ::= [APPLICATION 4] IMPLICIT SEQUENCE {
abort-source [0] IMPLICIT ABRT-source,
user-information [30] IMPLICIT SEQUENCE OF EXTERNAL OPTIONAL
}
ABRT-source ::= INTEGER {dialogue-service-user(0), dialogue-service-provider(1)
}
Associate-result ::= INTEGER {accepted(0), reject-permanent(1)}
Associate-source-diagnostic ::= CHOICE {
dialogue-service-user
[1] INTEGER {null(0), no-reason-given(1),
application-context-name-not-supported(2)},
dialogue-service-provider
[2] INTEGER {null(0), no-reason-given(1), no-common-dialogue-portion(2)}
}
-- Release-request-reason is currently not used.
-- It is included for completeness only.
Release-request-reason ::= INTEGER {normal(0), urgent(1), user-defined(30)
}
-- Release-response-reason is currently not used.
-- It is included for completeness only.
Release-response-reason ::= INTEGER {
normal(0), not-finished(1), user-defined(30)}
END -- DialoguePDUs
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
C | wireshark/epan/dissectors/asn1/tcap/packet-tcap-template.c | /* packet-tcap-template.c
* Routines for TCAP
* Copyright 2004 - 2005, Tim Endean <[email protected]>
* Built from the gsm-map dissector Copyright 2004 - 2005, Anders Broman <[email protected]>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
* References: ETSI 300 374
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/exceptions.h>
#include <epan/prefs.h>
#include <epan/oids.h>
#include <epan/asn1.h>
#include <epan/address_types.h>
#include <epan/strutil.h>
#include <epan/show_exception.h>
#include "packet-ber.h"
#include "packet-tcap.h"
#include "packet-mtp3.h"
#define PNAME "Transaction Capabilities Application Part"
#define PSNAME "TCAP"
#define PFNAME "tcap"
/* Initialize the protocol and registered fields */
static int proto_tcap = -1;
static int hf_tcap_tag = -1;
static int hf_tcap_length = -1;
static int hf_tcap_data = -1;
static int hf_tcap_tid = -1;
static int hf_tcap_constructor_eoc=-1;
int hf_tcapsrt_SessionId=-1;
int hf_tcapsrt_Duplicate=-1;
int hf_tcapsrt_BeginSession=-1;
int hf_tcapsrt_EndSession=-1;
int hf_tcapsrt_SessionTime=-1;
#include "packet-tcap-hf.c"
/* Initialize the subtree pointers */
static gint ett_tcap = -1;
static gint ett_param = -1;
static gint ett_otid = -1;
static gint ett_dtid = -1;
gint ett_tcap_stat = -1;
static struct tcapsrt_info_t * gp_tcapsrt_info;
static gboolean tcap_subdissector_used=FALSE;
static dissector_handle_t requested_subdissector_handle = NULL;
static int ss7pc_address_type = -1;
static struct tcaphash_context_t * gp_tcap_context=NULL;
#include "packet-tcap-ett.c"
/* When several Tcap components are received in a single TCAP message,
we have to use several buffers for the stored parameters
because else this data are erased during TAP dissector call */
#define MAX_TCAP_INSTANCE 10
static int tcapsrt_global_current=0;
static struct tcapsrt_info_t tcapsrt_global_info[MAX_TCAP_INSTANCE];
#define MAX_SSN 254
static range_t *global_ssn_range;
static range_t *ssn_range;
/* These two timeout (in second) are used when some message are lost,
or when the same TCAP transcation identifier is reused */
guint gtcap_RepetitionTimeout = 10;
guint gtcap_LostTimeout = 30;
gboolean gtcap_PersistentSRT=FALSE;
gboolean gtcap_DisplaySRT=FALSE;
gboolean gtcap_StatSRT=FALSE;
/* Global hash tables*/
static wmem_map_t *tcaphash_context = NULL;
static wmem_map_t *tcaphash_begin = NULL;
static wmem_map_t *tcaphash_cont = NULL;
static wmem_map_t *tcaphash_end = NULL;
static wmem_map_t *tcaphash_ansi = NULL;
static guint32 tcapsrt_global_SessionId=1;
static dissector_handle_t tcap_handle = NULL;
static dissector_table_t ber_oid_dissector_table;
static const char * cur_oid;
static const char * tcapext_oid;
static proto_tree * tcap_top_tree=NULL;
static proto_tree * tcap_stat_tree=NULL;
static dissector_handle_t data_handle;
static dissector_handle_t ansi_tcap_handle;
static int dissect_tcap_param(asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset);
static bool dissect_tcap_ITU_ComponentPDU(bool implicit_tag _U_, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index _U_);
static dissector_table_t ansi_sub_dissectors = NULL;
static dissector_table_t itu_sub_dissectors = NULL;
extern void add_ansi_tcap_subdissector(guint32 ssn, dissector_handle_t dissector) {
dissector_add_uint("ansi_tcap.ssn",ssn,dissector);
dissector_add_uint("sccp.ssn",ssn,tcap_handle);
}
extern void add_itu_tcap_subdissector(guint32 ssn, dissector_handle_t dissector) {
dissector_add_uint("itu_tcap.ssn",ssn,dissector);
dissector_add_uint("sccp.ssn",ssn,tcap_handle);
}
extern void delete_ansi_tcap_subdissector(guint32 ssn, dissector_handle_t dissector) {
dissector_delete_uint("ansi_tcap.ssn",ssn,dissector);
if (!get_itu_tcap_subdissector(ssn))
dissector_delete_uint("sccp.ssn",ssn,tcap_handle);
}
extern void delete_itu_tcap_subdissector(guint32 ssn, dissector_handle_t dissector _U_) {
dissector_delete_uint("itu_tcap.ssn",ssn,dissector);
if (!get_ansi_tcap_subdissector(ssn))
dissector_delete_uint("sccp.ssn", ssn,tcap_handle);
}
dissector_handle_t get_ansi_tcap_subdissector(guint32 ssn) {
return dissector_get_uint_handle(ansi_sub_dissectors, ssn);
}
dissector_handle_t get_itu_tcap_subdissector(guint32 ssn) {
return dissector_get_uint_handle(itu_sub_dissectors, ssn);
}
#include "packet-tcap-fn.c"
/*
* DEBUG functions
*/
#undef DEBUG_TCAPSRT
/* #define DEBUG_TCAPSRT */
#ifdef DEBUG_TCAPSRT
#include <stdio.h>
#include <stdarg.h>
static guint debug_level = 99;
static void
dbg(guint level, const char* fmt, ...)
{
va_list ap;
if (level > debug_level) return;
va_start(ap,fmt);
vfprintf(stderr, fmt, ap);
va_end(ap);
}
#endif
static gint
tcaphash_context_equal(gconstpointer k1, gconstpointer k2)
{
const struct tcaphash_context_key_t *key1 = (const struct tcaphash_context_key_t *) k1;
const struct tcaphash_context_key_t *key2 = (const struct tcaphash_context_key_t *) k2;
return (key1->session_id == key2->session_id);
}
/* calculate a hash key */
static guint
tcaphash_context_calchash(gconstpointer k)
{
const struct tcaphash_context_key_t *key = (const struct tcaphash_context_key_t *) k;
return key->session_id;
}
static gint
tcaphash_begin_equal(gconstpointer k1, gconstpointer k2)
{
const struct tcaphash_begin_info_key_t *key1 = (const struct tcaphash_begin_info_key_t *) k1;
const struct tcaphash_begin_info_key_t *key2 = (const struct tcaphash_begin_info_key_t *) k2;
if (key1->hashKey == key2->hashKey) {
if ( (key1->pc_hash == key2->pc_hash) && (key1->tid == key2->tid) )
return TRUE;
}
return FALSE;
}
/* calculate a hash key */
static guint
tcaphash_begin_calchash(gconstpointer k)
{
const struct tcaphash_begin_info_key_t *key = (const struct tcaphash_begin_info_key_t *) k;
guint hashkey;
/* hashkey = key->opc_hash<<16 + key->dpc_hash<<8 + key->src_tid; */
hashkey = key->tid;
return hashkey;
}
static gint
tcaphash_cont_equal(gconstpointer k1, gconstpointer k2)
{
const struct tcaphash_cont_info_key_t *key1 = (const struct tcaphash_cont_info_key_t *) k1;
const struct tcaphash_cont_info_key_t *key2 = (const struct tcaphash_cont_info_key_t *) k2;
if (key1->hashKey == key2->hashKey) {
if ( (key1->opc_hash == key2->opc_hash) &&
(key1->dpc_hash == key2->dpc_hash) &&
(key1->src_tid == key2->src_tid) &&
(key1->dst_tid == key2->dst_tid) ) {
return TRUE;
}
else if ( (key1->opc_hash == key2->dpc_hash) &&
(key1->dpc_hash == key2->opc_hash) &&
(key1->src_tid == key2->dst_tid) &&
(key1->dst_tid == key2->src_tid) ) {
return TRUE;
}
}
return FALSE;
}
/* calculate a hash key */
static guint
tcaphash_cont_calchash(gconstpointer k)
{
const struct tcaphash_cont_info_key_t *key = (const struct tcaphash_cont_info_key_t *) k;
guint hashkey;
hashkey = key->src_tid + key->dst_tid;
return hashkey;
}
static gint
tcaphash_end_equal(gconstpointer k1, gconstpointer k2)
{
const struct tcaphash_end_info_key_t *key1 = (const struct tcaphash_end_info_key_t *) k1;
const struct tcaphash_end_info_key_t *key2 = (const struct tcaphash_end_info_key_t *) k2;
if (key1->hashKey == key2->hashKey) {
if ( (key1->opc_hash == key2->opc_hash) &&
(key1->dpc_hash == key2->dpc_hash) &&
(key1->tid == key2->tid) )
return TRUE;
}
return FALSE;
}
/* calculate a hash key */
static guint
tcaphash_end_calchash(gconstpointer k)
{
const struct tcaphash_end_info_key_t *key = (const struct tcaphash_end_info_key_t *) k;
guint hashkey;
hashkey = key->tid;
return hashkey;
}
static gint
tcaphash_ansi_equal(gconstpointer k1, gconstpointer k2)
{
const struct tcaphash_ansi_info_key_t *key1 = (const struct tcaphash_ansi_info_key_t *) k1;
const struct tcaphash_ansi_info_key_t *key2 = (const struct tcaphash_ansi_info_key_t *) k2;
if (key1->hashKey == key2->hashKey) {
if ( ( (key1->opc_hash == key2->opc_hash) &&
(key1->dpc_hash == key2->dpc_hash) &&
(key1->tid == key2->tid) )
||
( (key1->opc_hash == key2->dpc_hash) &&
(key1->dpc_hash == key2->opc_hash) &&
(key1->tid == key2->tid) )
)
return TRUE;
}
return FALSE;
}
/* calculate a hash key */
static guint
tcaphash_ansi_calchash(gconstpointer k)
{
const struct tcaphash_ansi_info_key_t *key = (const struct tcaphash_ansi_info_key_t *) k;
guint hashkey;
/* hashkey = key->opc_hash<<16 + key->dpc_hash<<8 + key->src_tid; */
hashkey = key->tid;
return hashkey;
}
/*
* Update a record with the data of the Request
*/
static void
update_tcaphash_begincall(struct tcaphash_begincall_t *p_tcaphash_begincall,
packet_info *pinfo)
{
p_tcaphash_begincall->context->first_frame = pinfo->num;
p_tcaphash_begincall->context->last_frame = 0;
p_tcaphash_begincall->context->responded = FALSE;
p_tcaphash_begincall->context->begin_time = pinfo->abs_ts;
}
/*
* Append a new dialogue, using the same Key, to the chained list
* The time is stored too
*/
static struct tcaphash_begincall_t *
append_tcaphash_begincall(struct tcaphash_begincall_t *prev_begincall,
struct tcaphash_context_t *p_tcaphash_context,
packet_info *pinfo)
{
struct tcaphash_begincall_t *p_new_tcaphash_begincall = NULL;
/* Append the transaction to the list, when the same key is found
This should append when the tcap-transaction Id is reused */
p_new_tcaphash_begincall = wmem_new0(wmem_file_scope(), struct tcaphash_begincall_t);
p_new_tcaphash_begincall->context=p_tcaphash_context;
p_tcaphash_context->begincall=p_new_tcaphash_begincall;
p_new_tcaphash_begincall->beginkey=prev_begincall->beginkey;
p_new_tcaphash_begincall->context->first_frame = pinfo->num;
p_new_tcaphash_begincall->next_begincall=NULL;
p_new_tcaphash_begincall->previous_begincall=prev_begincall;
p_new_tcaphash_begincall->father=FALSE;
#ifdef DEBUG_TCAPSRT
dbg(10,"+B%d ", p_new_tcaphash_begincall->context->session_id);
#endif
/* Insert in the chained list */
prev_begincall->next_begincall = p_new_tcaphash_begincall;
if (prev_begincall->context->last_frame == 0) {
#ifdef DEBUG_TCAPSRT
dbg(10,"last ");
#endif
prev_begincall->context->last_frame = pinfo->num-1;
}
return p_new_tcaphash_begincall;
}
/*
* Update a record with the data of the Request
*/
static void
update_tcaphash_ansicall(struct tcaphash_ansicall_t *p_tcaphash_ansicall,
packet_info *pinfo)
{
p_tcaphash_ansicall->context->first_frame = pinfo->num;
p_tcaphash_ansicall->context->last_frame = 0;
p_tcaphash_ansicall->context->responded = FALSE;
p_tcaphash_ansicall->context->begin_time = pinfo->abs_ts;
}
/*
* Append a new dialogue, using the same Key, to the chained list
* The time is stored too
*/
static struct tcaphash_ansicall_t *
append_tcaphash_ansicall(struct tcaphash_ansicall_t *prev_ansicall,
struct tcaphash_context_t *p_tcaphash_context,
packet_info *pinfo)
{
struct tcaphash_ansicall_t *p_new_tcaphash_ansicall = NULL;
/* Append the transaction to the list, when the same key is found
This should append when the tcap-transaction Id is reused */
p_new_tcaphash_ansicall = wmem_new0(wmem_file_scope(), struct tcaphash_ansicall_t);
p_new_tcaphash_ansicall->context=p_tcaphash_context;
p_tcaphash_context->ansicall=p_new_tcaphash_ansicall;
p_new_tcaphash_ansicall->ansikey=prev_ansicall->ansikey;
p_new_tcaphash_ansicall->context->first_frame = pinfo->num;
p_new_tcaphash_ansicall->next_ansicall=NULL;
p_new_tcaphash_ansicall->previous_ansicall=prev_ansicall;
p_new_tcaphash_ansicall->father=FALSE;
#ifdef DEBUG_TCAPSRT
dbg(10,"+A%d ", p_new_tcaphash_ansicall->context->session_id);
#endif
/* Insert in the chained list */
prev_ansicall->next_ansicall = p_new_tcaphash_ansicall;
if (prev_ansicall->context->last_frame == 0) {
#ifdef DEBUG_TCAPSRT
dbg(10,"last ");
#endif
prev_ansicall->context->last_frame = pinfo->num-1;
}
return p_new_tcaphash_ansicall;
}
static struct tcaphash_contcall_t *
append_tcaphash_contcall(struct tcaphash_contcall_t *prev_contcall,
struct tcaphash_context_t *p_tcaphash_context)
{
struct tcaphash_contcall_t *p_new_tcaphash_contcall = NULL;
/* Append the transaction to the list, when the same key is found
This should append when the tcap-transaction Id is reused */
p_new_tcaphash_contcall = wmem_new0(wmem_file_scope(), struct tcaphash_contcall_t);
p_new_tcaphash_contcall->context=p_tcaphash_context;
p_tcaphash_context->contcall=p_new_tcaphash_contcall;
p_new_tcaphash_contcall->contkey=prev_contcall->contkey;
p_new_tcaphash_contcall->next_contcall=NULL;
p_new_tcaphash_contcall->previous_contcall=prev_contcall;
p_new_tcaphash_contcall->father=FALSE;
#ifdef DEBUG_TCAPSRT
dbg(10,"+C%d ", p_new_tcaphash_contcall->context->session_id);
#endif
/* Insert in the chained list */
prev_contcall->next_contcall = p_new_tcaphash_contcall;
return p_new_tcaphash_contcall;
}
static struct tcaphash_endcall_t *
append_tcaphash_endcall(struct tcaphash_endcall_t *prev_endcall,
struct tcaphash_context_t *p_tcaphash_context)
{
struct tcaphash_endcall_t *p_new_tcaphash_endcall = NULL;
/* Append the transaction to the list, when the same key is found
This should append when the tcap-transaction Id is reused */
p_new_tcaphash_endcall = wmem_new0(wmem_file_scope(), struct tcaphash_endcall_t);
p_new_tcaphash_endcall->context=p_tcaphash_context;
p_tcaphash_context->endcall=p_new_tcaphash_endcall;
p_new_tcaphash_endcall->endkey=prev_endcall->endkey;
p_new_tcaphash_endcall->next_endcall=NULL;
p_new_tcaphash_endcall->previous_endcall=prev_endcall;
p_new_tcaphash_endcall->father=FALSE;
#ifdef DEBUG_TCAPSRT
dbg(10,"+E%d ", p_new_tcaphash_endcall->context->session_id);
#endif
/* Insert in the chained list */
prev_endcall->next_endcall = p_new_tcaphash_endcall;
return p_new_tcaphash_endcall;
}
/*
* Find the dialog by Key and Time
*/
static struct tcaphash_begincall_t *
find_tcaphash_begin(struct tcaphash_begin_info_key_t *p_tcaphash_begin_key,
packet_info *pinfo, gboolean isBegin)
{
struct tcaphash_begincall_t *p_tcaphash_begincall = NULL;
p_tcaphash_begincall = (struct tcaphash_begincall_t *)wmem_map_lookup(tcaphash_begin, p_tcaphash_begin_key);
if(p_tcaphash_begincall) {
do {
if ( p_tcaphash_begincall->context ) {
if ( ( isBegin &&
pinfo->num == p_tcaphash_begincall->context->first_frame )
||
( !isBegin &&
pinfo->num >= p_tcaphash_begincall->context->first_frame &&
( p_tcaphash_begincall->context->last_frame?pinfo->num <= p_tcaphash_begincall->context->last_frame:1 )
)
) {
/* We have a dialogue, with this key, opened before this request */
#ifdef DEBUG_TCAPSRT
dbg(10,"B%d ", p_tcaphash_begincall->context->session_id);
#endif
return p_tcaphash_begincall;
}
#ifdef DEBUG_TCAPSRT
dbg(60,"[B%d] ", p_tcaphash_begincall->context->session_id);
#endif
}
/* Break when list end is reached */
if(p_tcaphash_begincall->next_begincall == NULL) {
#ifdef DEBUG_TCAPSRT
dbg(23,"End of Blist ");
#endif
break;
}
p_tcaphash_begincall = p_tcaphash_begincall->next_begincall;
} while (p_tcaphash_begincall != NULL) ;
} else {
#ifdef DEBUG_TCAPSRT
dbg(23,"Not in Bhash ");
#endif
}
return NULL;
}
static struct tcaphash_contcall_t *
find_tcaphash_cont(struct tcaphash_cont_info_key_t *p_tcaphash_cont_key,
packet_info *pinfo)
{
struct tcaphash_contcall_t *p_tcaphash_contcall = NULL;
p_tcaphash_contcall = (struct tcaphash_contcall_t *)wmem_map_lookup(tcaphash_cont, p_tcaphash_cont_key);
if(p_tcaphash_contcall) {
do {
if ( p_tcaphash_contcall->context ) {
if (pinfo->num >= p_tcaphash_contcall->context->first_frame &&
(p_tcaphash_contcall->context->last_frame?pinfo->num <= p_tcaphash_contcall->context->last_frame:1) ) {
/* We have a dialogue, with this key, opened before this request */
#ifdef DEBUG_TCAPSRT
dbg(10,"C%d ", p_tcaphash_contcall->context->session_id);
#endif
return p_tcaphash_contcall;
}
#ifdef DEBUG_TCAPSRT
dbg(60,"[C%d] ", p_tcaphash_contcall->context->session_id);
#endif
}
/* Break when list end is reached */
if(p_tcaphash_contcall->next_contcall == NULL) {
#ifdef DEBUG_TCAPSRT
dbg(23,"End of Clist ");
#endif
break;
}
p_tcaphash_contcall = p_tcaphash_contcall->next_contcall;
} while (p_tcaphash_contcall != NULL) ;
} else {
#ifdef DEBUG_TCAPSRT
dbg(23,"Not in Chash ");
#endif
}
return NULL;
}
static struct tcaphash_endcall_t *
find_tcaphash_end(struct tcaphash_end_info_key_t *p_tcaphash_end_key,
packet_info *pinfo, gboolean isEnd)
{
struct tcaphash_endcall_t *p_tcaphash_endcall = NULL;
p_tcaphash_endcall = (struct tcaphash_endcall_t *)wmem_map_lookup(tcaphash_end, p_tcaphash_end_key);
if(p_tcaphash_endcall) {
do {
if ( p_tcaphash_endcall->context ) {
if ( ( isEnd &&
(p_tcaphash_endcall->context->last_frame?pinfo->num == p_tcaphash_endcall->context->last_frame:1)
)
||
( !isEnd &&
pinfo->num >= p_tcaphash_endcall->context->first_frame &&
(p_tcaphash_endcall->context->last_frame?pinfo->num <= p_tcaphash_endcall->context->last_frame:1)
)
) {
/* We have a dialogue, with this key, opened before this request */
#ifdef DEBUG_TCAPSRT
dbg(10,"E%d ", p_tcaphash_endcall->context->session_id);
#endif
return p_tcaphash_endcall;
}
#ifdef DEBUG_TCAPSRT
dbg(60,"[E%d] ", p_tcaphash_endcall->context->session_id);
#endif
}
/* Break when list end is reached */
if(p_tcaphash_endcall->next_endcall == NULL) {
#ifdef DEBUG_TCAPSRT
dbg(23,"End of Elist ");
#endif
break;
}
p_tcaphash_endcall = p_tcaphash_endcall->next_endcall;
} while (p_tcaphash_endcall != NULL) ;
} else {
#ifdef DEBUG_TCAPSRT
dbg(23,"Not in Ehash ");
#endif
}
return NULL;
}
/*
* New record to create, to identify a new transaction
*/
static struct tcaphash_context_t *
new_tcaphash_context(struct tcaphash_context_key_t *p_tcaphash_context_key,
packet_info *pinfo)
{
struct tcaphash_context_key_t *p_new_tcaphash_context_key;
struct tcaphash_context_t *p_new_tcaphash_context = NULL;
/* Register the transaction in the hash table
with the tcap transaction Id as Main Key
Once created, this entry will be updated later */
p_new_tcaphash_context_key = wmem_new(wmem_file_scope(), struct tcaphash_context_key_t);
p_new_tcaphash_context_key->session_id = p_tcaphash_context_key->session_id;
p_new_tcaphash_context = wmem_new0(wmem_file_scope(), struct tcaphash_context_t);
p_new_tcaphash_context->key = p_new_tcaphash_context_key;
p_new_tcaphash_context->session_id = p_tcaphash_context_key->session_id;
p_new_tcaphash_context->first_frame = pinfo->num;
#ifdef DEBUG_TCAPSRT
dbg(10,"S%d ", p_new_tcaphash_context->session_id);
#endif
/* store it */
wmem_map_insert(tcaphash_context, p_new_tcaphash_context_key, p_new_tcaphash_context);
return p_new_tcaphash_context;
}
/*
* New record to create, to identify a new transaction
*/
static struct tcaphash_begincall_t *
new_tcaphash_begin(struct tcaphash_begin_info_key_t *p_tcaphash_begin_key,
struct tcaphash_context_t *p_tcaphash_context)
{
struct tcaphash_begin_info_key_t *p_new_tcaphash_begin_key;
struct tcaphash_begincall_t *p_new_tcaphash_begincall = NULL;
/* Register the transaction in the hash table
with the tcap transaction Id as Main Key
Once created, this entry will be updated later */
p_new_tcaphash_begin_key = wmem_new(wmem_file_scope(), struct tcaphash_begin_info_key_t);
p_new_tcaphash_begin_key->hashKey = p_tcaphash_begin_key->hashKey;
p_new_tcaphash_begin_key->tid = p_tcaphash_begin_key->tid;
p_new_tcaphash_begin_key->pc_hash = p_tcaphash_begin_key->pc_hash;
p_new_tcaphash_begincall = wmem_new0(wmem_file_scope(), struct tcaphash_begincall_t);
p_new_tcaphash_begincall->beginkey=p_new_tcaphash_begin_key;
p_new_tcaphash_begincall->context=p_tcaphash_context;
p_tcaphash_context->begincall=p_new_tcaphash_begincall;
p_new_tcaphash_begincall->father=TRUE;
p_new_tcaphash_begincall->next_begincall=NULL;
p_new_tcaphash_begincall->previous_begincall=NULL;
#ifdef DEBUG_TCAPSRT
dbg(10,"B%d ", p_new_tcaphash_begincall->context->session_id);
#endif
/* store it */
wmem_map_insert(tcaphash_begin, p_new_tcaphash_begin_key, p_new_tcaphash_begincall);
return p_new_tcaphash_begincall;
}
/*
* New record to create, to identify a new transaction
*/
static struct tcaphash_contcall_t *
new_tcaphash_cont(struct tcaphash_cont_info_key_t *p_tcaphash_cont_key,
struct tcaphash_context_t *p_tcaphash_context)
{
struct tcaphash_cont_info_key_t *p_new_tcaphash_cont_key;
struct tcaphash_contcall_t *p_new_tcaphash_contcall = NULL;
/* Register the transaction in the hash table
with the tcap transaction Id as Main Key
Once created, this entry will be updated later */
p_new_tcaphash_cont_key = wmem_new(wmem_file_scope(), struct tcaphash_cont_info_key_t);
p_new_tcaphash_cont_key->hashKey = p_tcaphash_cont_key->hashKey;
p_new_tcaphash_cont_key->src_tid = p_tcaphash_cont_key->src_tid;
p_new_tcaphash_cont_key->dst_tid = p_tcaphash_cont_key->dst_tid;
p_new_tcaphash_cont_key->opc_hash = p_tcaphash_cont_key->opc_hash;
p_new_tcaphash_cont_key->dpc_hash = p_tcaphash_cont_key->dpc_hash;
p_new_tcaphash_contcall = wmem_new0(wmem_file_scope(), struct tcaphash_contcall_t);
p_new_tcaphash_contcall->contkey=p_new_tcaphash_cont_key;
p_new_tcaphash_contcall->context=p_tcaphash_context;
p_tcaphash_context->contcall=p_new_tcaphash_contcall;
p_new_tcaphash_contcall->father=TRUE;
p_new_tcaphash_contcall->next_contcall=NULL;
p_new_tcaphash_contcall->previous_contcall=NULL;
#ifdef DEBUG_TCAPSRT
dbg(10,"C%d ", p_new_tcaphash_contcall->context->session_id);
#endif
/* store it */
wmem_map_insert(tcaphash_cont, p_new_tcaphash_cont_key, p_new_tcaphash_contcall);
return p_new_tcaphash_contcall;
}
/*
* New record to create, to identify a new transaction
*/
static struct tcaphash_endcall_t *
new_tcaphash_end(struct tcaphash_end_info_key_t *p_tcaphash_end_key,
struct tcaphash_context_t *p_tcaphash_context)
{
struct tcaphash_end_info_key_t *p_new_tcaphash_end_key;
struct tcaphash_endcall_t *p_new_tcaphash_endcall = NULL;
/* Register the transaction in the hash table
with the tcap transaction Id as Main Key
Once created, this entry will be updated later */
p_new_tcaphash_end_key = wmem_new(wmem_file_scope(), struct tcaphash_end_info_key_t);
p_new_tcaphash_end_key->hashKey = p_tcaphash_end_key->hashKey;
p_new_tcaphash_end_key->tid = p_tcaphash_end_key->tid;
p_new_tcaphash_end_key->opc_hash = p_tcaphash_end_key->opc_hash;
p_new_tcaphash_end_key->dpc_hash = p_tcaphash_end_key->dpc_hash;
p_new_tcaphash_endcall = wmem_new0(wmem_file_scope(), struct tcaphash_endcall_t);
p_new_tcaphash_endcall->endkey=p_new_tcaphash_end_key;
p_new_tcaphash_endcall->context=p_tcaphash_context;
p_tcaphash_context->endcall=p_new_tcaphash_endcall;
p_new_tcaphash_endcall->father=TRUE;
p_new_tcaphash_endcall->next_endcall=NULL;
p_new_tcaphash_endcall->previous_endcall=NULL;
#ifdef DEBUG_TCAPSRT
dbg(10,"E%d ", p_new_tcaphash_endcall->context->session_id);
#endif
/* store it */
wmem_map_insert(tcaphash_end, p_new_tcaphash_end_key, p_new_tcaphash_endcall);
return p_new_tcaphash_endcall;
}
/*
* New record to create, to identify a new transaction
*/
static struct tcaphash_ansicall_t *
new_tcaphash_ansi(struct tcaphash_ansi_info_key_t *p_tcaphash_ansi_key,
struct tcaphash_context_t *p_tcaphash_context)
{
struct tcaphash_ansi_info_key_t *p_new_tcaphash_ansi_key;
struct tcaphash_ansicall_t *p_new_tcaphash_ansicall = NULL;
/* Register the transaction in the hash table
with the tcap transaction Id as Main Key
Once created, this entry will be updated later */
p_new_tcaphash_ansi_key = wmem_new(wmem_file_scope(), struct tcaphash_ansi_info_key_t);
p_new_tcaphash_ansi_key->hashKey = p_tcaphash_ansi_key->hashKey;
p_new_tcaphash_ansi_key->tid = p_tcaphash_ansi_key->tid;
p_new_tcaphash_ansi_key->opc_hash = p_tcaphash_ansi_key->opc_hash;
p_new_tcaphash_ansi_key->dpc_hash = p_tcaphash_ansi_key->dpc_hash;
p_new_tcaphash_ansicall = wmem_new0(wmem_file_scope(), struct tcaphash_ansicall_t);
p_new_tcaphash_ansicall->ansikey=p_new_tcaphash_ansi_key;
p_new_tcaphash_ansicall->context=p_tcaphash_context;
p_tcaphash_context->ansicall=p_new_tcaphash_ansicall;
p_new_tcaphash_ansicall->father=TRUE;
p_new_tcaphash_ansicall->next_ansicall=NULL;
p_new_tcaphash_ansicall->previous_ansicall=NULL;
#ifdef DEBUG_TCAPSRT
dbg(10,"A%d ", p_new_tcaphash_ansicall->context->session_id);
#endif
/* store it */
wmem_map_insert(tcaphash_ansi, p_new_tcaphash_ansi_key, p_new_tcaphash_ansicall);
return p_new_tcaphash_ansicall;
}
static struct tcaphash_contcall_t *
create_tcaphash_cont(struct tcaphash_cont_info_key_t *p_tcaphash_cont_key,
struct tcaphash_context_t *p_tcaphash_context)
{
struct tcaphash_contcall_t *p_tcaphash_contcall1 = NULL;
struct tcaphash_contcall_t *p_tcaphash_contcall = NULL;
p_tcaphash_contcall1 = (struct tcaphash_contcall_t *)
wmem_map_lookup(tcaphash_cont, p_tcaphash_cont_key);
if (p_tcaphash_contcall1) {
/* Walk through list of transaction with identical keys */
/* go to the end to insert new record */
do {
if (!p_tcaphash_contcall1->next_contcall) {
p_tcaphash_contcall=append_tcaphash_contcall(p_tcaphash_contcall1,
p_tcaphash_context);
break;
}
p_tcaphash_contcall1 = p_tcaphash_contcall1->next_contcall;
} while (p_tcaphash_contcall1 != NULL );
} else {
p_tcaphash_contcall = new_tcaphash_cont(p_tcaphash_cont_key,
p_tcaphash_context);
}
return p_tcaphash_contcall;
}
static struct tcaphash_endcall_t *
create_tcaphash_end(struct tcaphash_end_info_key_t *p_tcaphash_end_key,
struct tcaphash_context_t *p_tcaphash_context)
{
struct tcaphash_endcall_t *p_tcaphash_endcall1 = NULL;
struct tcaphash_endcall_t *p_tcaphash_endcall = NULL;
p_tcaphash_endcall1 = (struct tcaphash_endcall_t *)
wmem_map_lookup(tcaphash_end, p_tcaphash_end_key);
if (p_tcaphash_endcall1) {
/* Walk through list of transaction with identical keys */
/* go to the end to insert new record */
do {
if (!p_tcaphash_endcall1->next_endcall) {
p_tcaphash_endcall=append_tcaphash_endcall(p_tcaphash_endcall1,
p_tcaphash_context);
break;
}
p_tcaphash_endcall1 = p_tcaphash_endcall1->next_endcall;
} while (p_tcaphash_endcall1 != NULL );
} else {
p_tcaphash_endcall = new_tcaphash_end(p_tcaphash_end_key,
p_tcaphash_context);
}
return p_tcaphash_endcall;
}
/*
* Create the record identifiying the TCAP transaction
* When the identifier for the transaction is reused, check
* the following criteria before to append a new record:
* - a timeout corresponding to a message retransmission is detected,
* - a message hast been lost
* - or the previous transaction has been be closed
*/
static struct tcaphash_context_t *
tcaphash_begin_matching(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
struct tcapsrt_info_t *p_tcapsrt_info)
{
struct tcaphash_context_t *p_tcaphash_context=NULL;
struct tcaphash_context_key_t tcaphash_context_key;
struct tcaphash_begincall_t *p_tcaphash_begincall, *p_new_tcaphash_begincall=NULL;
struct tcaphash_begin_info_key_t tcaphash_begin_key;
proto_item *pi;
proto_item *stat_item=NULL;
proto_tree *stat_tree=NULL;
#ifdef DEBUG_TCAPSRT
dbg(51,"src %s srcTid %lx dst %s ", address_to_str(pinfo->pool, &pinfo->src), p_tcapsrt_info->src_tid, address_to_str(pinfo->pool, &pinfo->dst));
#endif
/* prepare the key data */
tcaphash_begin_key.tid = p_tcapsrt_info->src_tid;
if (pinfo->src.type == ss7pc_address_type && pinfo->dst.type == ss7pc_address_type)
{
/* We have MTP3 PCs (so we can safely do this cast) */
tcaphash_begin_key.pc_hash = mtp3_pc_hash((const mtp3_addr_pc_t *)pinfo->src.data);
} else {
/* Don't have MTP3 PCs (have SCCP GT ?) */
tcaphash_begin_key.pc_hash = g_str_hash(address_to_str(pinfo->pool, &pinfo->src));
}
tcaphash_begin_key.hashKey=tcaphash_begin_calchash(&tcaphash_begin_key);
/* look up the request */
#ifdef DEBUG_TCAPSRT
dbg(10,"\n Hbegin #%u ", pinfo->num);
dbg(11,"key %lx ",tcaphash_begin_key.hashKey);
dbg(51,"addr %s ", address_to_str(pinfo->pool, &pinfo->src));
dbg(51,"Tid %lx \n",tcaphash_begin_key.tid);
#endif
p_tcaphash_begincall = (struct tcaphash_begincall_t *)
wmem_map_lookup(tcaphash_begin, &tcaphash_begin_key);
if (p_tcaphash_begincall) {
/* Walk through list of transaction with identical keys */
do {
/* Check if the request with this reqSeqNum has been seen, with the same Message Type */
if (pinfo->num == p_tcaphash_begincall->context->first_frame) {
/* We have seen this request before -> do nothing */
#ifdef DEBUG_TCAPSRT
dbg(22,"Already seen ");
#endif
p_tcaphash_context=p_tcaphash_begincall->context;
break;
}
/* If the last record for Tcap transaction with identifier has not been reached */
if (!p_tcaphash_begincall->next_begincall) {
/* check if we have to create a new record or not */
/* if last request has been responded (response number is known)
and this request appears after last response (has bigger frame number)
and last request occurred after the timeout for repetition,
or
if last request hasn't been responded (so number unknown)
and this request appears after last request (has bigger frame number)
and this request occurred after the timeout for message lost */
if ( ( p_tcaphash_begincall->context->last_frame != 0
&& pinfo->num > p_tcaphash_begincall->context->first_frame
&& (guint) pinfo->abs_ts.secs > (guint)(p_tcaphash_begincall->context->begin_time.secs + gtcap_RepetitionTimeout)
) ||
( p_tcaphash_begincall->context->last_frame == 0
&& pinfo->num > p_tcaphash_begincall->context->first_frame
&& (guint)pinfo->abs_ts.secs > (guint)(p_tcaphash_begincall->context->begin_time.secs + gtcap_LostTimeout)
)
)
{
/* we decide that we have a new request */
/* Append new record to the list */
#ifdef DEBUG_TCAPSRT
dbg(12,"(timeout) Append key %lx ",tcaphash_begin_key.hashKey);
dbg(12,"Frame %u rsp %u ",pinfo->num,p_tcaphash_begincall->context->last_frame );
#endif
tcaphash_context_key.session_id = tcapsrt_global_SessionId++;
p_tcaphash_context = new_tcaphash_context(&tcaphash_context_key, pinfo);
p_new_tcaphash_begincall = append_tcaphash_begincall(p_tcaphash_begincall,
p_tcaphash_context,
pinfo);
#ifdef DEBUG_TCAPSRT
dbg(12,"Update key %lx ",tcaphash_begin_key.hashKey);
#endif
update_tcaphash_begincall(p_new_tcaphash_begincall, pinfo);
} else { /* timeout or message lost */
/* If the Tid is reused for a closed Transaction */
/* Or if we received an TC_BEGIN for a Transaction marked as "closed" */
/* (this is the case, for pre-arranged END, the transaction is marked as closed */
/* by the upper layer, thank to a callback method close) */
if ( p_tcaphash_begincall->context->closed) {
#ifdef DEBUG_TCAPSRT
dbg(12,"(closed) Append key %lu ",tcaphash_begin_key.hashKey);
dbg(12,"Frame %u rsp %u ",pinfo->num,p_tcaphash_begincall->context->last_frame );
#endif
tcaphash_context_key.session_id = tcapsrt_global_SessionId++;
p_tcaphash_context = new_tcaphash_context(&tcaphash_context_key, pinfo);
p_new_tcaphash_begincall = append_tcaphash_begincall(p_tcaphash_begincall,
p_tcaphash_context,
pinfo);
#ifdef DEBUG_TCAPSRT
dbg(12,"Update key %lu ",tcaphash_begin_key.hashKey);
#endif
update_tcaphash_begincall(p_new_tcaphash_begincall, pinfo);
} else {
/* the TCAP session is not closed, so, either messages have been lost */
/* or it's a duplicate request. Mark it as such. */
#ifdef DEBUG_TCAPSRT
dbg(21,"Display_duplicate %d ",p_tcaphash_begincall->context->first_frame);
#endif
p_tcaphash_context=p_tcaphash_begincall->context;
if (gtcap_DisplaySRT && tree) {
stat_tree = proto_tree_add_subtree(tree, tvb, 0, -1, ett_tcap_stat, &stat_item, "Stat");
proto_item_set_generated(stat_item);
pi = proto_tree_add_uint_format(stat_tree, hf_tcapsrt_Duplicate, tvb, 0, 0,
p_tcaphash_context->first_frame,
"Duplicate with session %u in frame %u",
p_tcaphash_context->session_id,p_tcaphash_context->first_frame);
proto_item_set_generated(pi);
}
return p_tcaphash_context;
} /* Previous session closed */
} /* test with Timeout or message Lost */
break;
} /* Next call is NULL */
/* Repeat the tests for the next record with the same transaction identifier */
p_tcaphash_begincall = p_tcaphash_begincall->next_begincall;
} while (p_tcaphash_begincall != NULL );
/*
* End of analyze for the list be TC_BEGIN with same transaction ID
*/
} else { /* p_tcaphash_begincall has not been found */
/*
* Create a new TCAP context
*/
#ifdef DEBUG_TCAPSRT
dbg(10,"New key %lx ",tcaphash_begin_key.hashKey);
#endif
tcaphash_context_key.session_id = tcapsrt_global_SessionId++;
p_tcaphash_context = new_tcaphash_context(&tcaphash_context_key, pinfo);
p_tcaphash_begincall = new_tcaphash_begin(&tcaphash_begin_key, p_tcaphash_context);
#ifdef DEBUG_TCAPSRT
dbg(11,"Update key %lx ",tcaphash_begin_key.hashKey);
dbg(11,"Frame reqlink #%u ", pinfo->num);
#endif
update_tcaphash_begincall(p_tcaphash_begincall, pinfo);
}
/* display tcap session, if available */
if ( gtcap_DisplaySRT && tree &&
p_tcaphash_context &&
p_tcaphash_context->session_id) {
stat_tree = proto_tree_add_subtree(tree, tvb, 0, 0, ett_tcap_stat, &stat_item, "Stat");
proto_item_set_generated(stat_item);
pi = proto_tree_add_uint(stat_tree, hf_tcapsrt_SessionId, tvb, 0,0, p_tcaphash_context->session_id);
proto_item_set_generated(pi);
/* add link to response frame, if available */
/* p_tcaphash_begincall->context->last_frame) */
if( p_tcaphash_context->last_frame != 0 ){
#ifdef DEBUG_TCAPSRT
dbg(20,"Display_frameRsplink %d ",p_tcaphash_context->last_frame);
#endif
pi = proto_tree_add_uint_format(stat_tree, hf_tcapsrt_BeginSession, tvb, 0, 0,
p_tcaphash_context->last_frame,
"End of session in frame %u",
p_tcaphash_context->last_frame);
proto_item_set_generated(pi);
}
}
return p_tcaphash_context;
}
/*
* Try to find a TCAP session according to the source and destination
* Identifier given in the TC_CONT
* If nothing is found, it is probably a session in opening state, so try to find
* a tcap session registered with a TC_BEGIN "key", matching the destination Id of the TC_CONT
* Then associate the TC_CONT "key" to the TCAP context, and create a TC_END "key"
* and display the available info for the TCAP context
*/
static struct tcaphash_context_t *
tcaphash_cont_matching(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
struct tcapsrt_info_t *p_tcapsrt_info)
{
struct tcaphash_context_t *p_tcaphash_context=NULL;
struct tcaphash_contcall_t *p_tcaphash_contcall;
struct tcaphash_cont_info_key_t tcaphash_cont_key;
struct tcaphash_begin_info_key_t tcaphash_begin_key;
struct tcaphash_begincall_t *p_tcaphash_begincall;
struct tcaphash_end_info_key_t tcaphash_end_key;
proto_item *pi;
proto_item *stat_item=NULL;
proto_tree *stat_tree=NULL;
gboolean use_dst = FALSE;
#ifdef DEBUG_TCAPSRT
dbg(51,"src %s srcTid %lx dst %s dstTid %lx ", address_to_str(pinfo->pool, &pinfo->src), p_tcapsrt_info->src_tid, address_to_str(pinfo->pool, &pinfo->dst), p_tcapsrt_info->dst_tid);
dbg(10,"\n Hcont #%u ", pinfo->num);
#endif
/* look only for matching request, if matching conversation is available. */
tcaphash_cont_key.src_tid = p_tcapsrt_info->src_tid;
tcaphash_cont_key.dst_tid = p_tcapsrt_info->dst_tid;
if (pinfo->src.type == ss7pc_address_type && pinfo->dst.type == ss7pc_address_type)
{
/* We have MTP3 PCs (so we can safely do this cast) */
tcaphash_cont_key.opc_hash = mtp3_pc_hash((const mtp3_addr_pc_t *)pinfo->src.data);
tcaphash_cont_key.dpc_hash = mtp3_pc_hash((const mtp3_addr_pc_t *)pinfo->dst.data);
} else {
/* Don't have MTP3 PCs (have SCCP GT ?) */
tcaphash_cont_key.opc_hash = g_str_hash(address_to_str(pinfo->pool, &pinfo->src));
tcaphash_cont_key.dpc_hash = g_str_hash(address_to_str(pinfo->pool, &pinfo->dst));
}
tcaphash_cont_key.hashKey=tcaphash_cont_calchash(&tcaphash_cont_key);
#ifdef DEBUG_TCAPSRT
dbg(11,"Ckey %lx ", tcaphash_cont_key.hashKey);
dbg(51,"addr %s %s ", address_to_str(pinfo->pool, &pinfo->src), address_to_str(pinfo->pool, &pinfo->dst));
dbg(51,"Tid %lx %lx \n",tcaphash_cont_key.src_tid, tcaphash_cont_key.dst_tid);
#endif
p_tcaphash_contcall = find_tcaphash_cont(&tcaphash_cont_key, pinfo);
if(p_tcaphash_contcall) {
#ifdef DEBUG_TCAPSRT
dbg(12,"CFound ");
#endif
p_tcaphash_context=p_tcaphash_contcall->context;
} else { /* cont not found */
#ifdef DEBUG_TCAPSRT
dbg(12,"CnotFound ");
#endif
/* Find the TCAP transaction according to the TC_BEGIN (from dtid,dst) */
tcaphash_begin_key.tid = p_tcapsrt_info->dst_tid;
if (pinfo->src.type == ss7pc_address_type && pinfo->dst.type == ss7pc_address_type)
{
/* We have MTP3 PCs (so we can safely do this cast) */
tcaphash_begin_key.pc_hash = mtp3_pc_hash((const mtp3_addr_pc_t *)pinfo->dst.data);
} else {
/* Don't have MTP3 PCs (have SCCP GT ?) */
tcaphash_begin_key.pc_hash = g_str_hash(address_to_str(pinfo->pool, &pinfo->dst));
}
tcaphash_begin_key.hashKey=tcaphash_begin_calchash(&tcaphash_begin_key);
#ifdef DEBUG_TCAPSRT
dbg(11,"Bkey %lx ", tcaphash_begin_key.hashKey);
dbg(51,"addr %s ", address_to_str(pinfo->pool, &pinfo->dst));
dbg(51,"Tid %lx \n",tcaphash_begin_key.tid);
#endif
p_tcaphash_begincall = find_tcaphash_begin(&tcaphash_begin_key, pinfo, FALSE);
if(!p_tcaphash_begincall){
try_src:
/* can this actually happen? */
#ifdef DEBUG_TCAPSRT
dbg(12,"BNotFound trying stid,src");
#endif
/* Do we have a continue from the same source? (stid,src) */
use_dst = TRUE;
tcaphash_begin_key.tid = p_tcapsrt_info->src_tid;
if (pinfo->src.type == ss7pc_address_type && pinfo->dst.type == ss7pc_address_type)
{
/* We have MTP3 PCs (so we can safely do this cast) */
tcaphash_begin_key.pc_hash = mtp3_pc_hash((const mtp3_addr_pc_t *)pinfo->src.data);
} else {
/* Don't have MTP3 PCs (have SCCP GT ?) */
tcaphash_begin_key.pc_hash = g_str_hash(address_to_str(pinfo->pool, &pinfo->src));
}
tcaphash_begin_key.hashKey=tcaphash_begin_calchash(&tcaphash_begin_key);
#ifdef DEBUG_TCAPSRT
dbg(11,"Bkey %lx ", tcaphash_begin_key.hashKey);
dbg(51,"addr %s ", address_to_str(pinfo->pool, &pinfo->src));
dbg(51,"Tid %lx \n",tcaphash_begin_key.tid);
#endif
p_tcaphash_begincall = find_tcaphash_begin(&tcaphash_begin_key, pinfo,FALSE);
}
if(p_tcaphash_begincall &&
!p_tcaphash_begincall->context->contcall ) {
#ifdef DEBUG_TCAPSRT
dbg(12,"BFound \n");
#endif
p_tcaphash_context=p_tcaphash_begincall->context;
p_tcaphash_context->responded=TRUE;
#ifdef DEBUG_TCAPSRT
dbg(10,"New Ckey %lx ",tcaphash_cont_key.hashKey);
dbg(11,"Frame reqlink #%u \n", pinfo->num);
#endif
create_tcaphash_cont(&tcaphash_cont_key,
p_tcaphash_begincall->context);
/* Create END for (stid,src) or (dtid,dst) */
tcaphash_end_key.tid = use_dst ? p_tcapsrt_info->dst_tid : p_tcapsrt_info->src_tid;
if (pinfo->src.type == ss7pc_address_type && pinfo->dst.type == ss7pc_address_type)
{
/* We have MTP3 PCs (so we can safely do this cast) */
tcaphash_end_key.dpc_hash = mtp3_pc_hash((const mtp3_addr_pc_t *)(use_dst ? pinfo->dst.data : pinfo->src.data));
tcaphash_end_key.opc_hash = mtp3_pc_hash((const mtp3_addr_pc_t *)(use_dst ? pinfo->src.data : pinfo->dst.data));
} else {
/* Don't have MTP3 PCs (have SCCP GT ?) */
tcaphash_end_key.dpc_hash = g_str_hash(address_to_str(pinfo->pool, use_dst ? &pinfo->dst : &pinfo->src));
tcaphash_end_key.opc_hash = g_str_hash(address_to_str(pinfo->pool, use_dst ? &pinfo->src : &pinfo->dst));
}
tcaphash_end_key.hashKey=tcaphash_end_calchash(&tcaphash_end_key);
#ifdef DEBUG_TCAPSRT
dbg(10,"New Ekey %lx ",tcaphash_end_key.hashKey);
dbg(51,"addr %s ", address_to_str(pinfo->pool, use_dst ? &pinfo->dst : &pinfo->src));
dbg(51,"Tid %lx ",tcaphash_end_key.tid);
dbg(11,"Frame reqlink #%u ", pinfo->num);
#endif
create_tcaphash_end(&tcaphash_end_key,
p_tcaphash_begincall->context);
} else { /* Begin not found */
#ifdef DEBUG_TCAPSRT
dbg(12,"BnotFound ");
#endif
if (!use_dst) {
/* make another try with src tid / address */
goto try_src;
}
} /* begin found */
} /* cont found */
/* display tcap session, if available */
if (gtcap_DisplaySRT && tree &&
p_tcaphash_context &&
p_tcaphash_context->session_id) {
stat_tree = proto_tree_add_subtree(tree, tvb, 0, -1, ett_tcap_stat, &stat_item, "Stat");
proto_item_set_generated(stat_item);
pi = proto_tree_add_uint(stat_tree, hf_tcapsrt_SessionId, tvb, 0,0, p_tcaphash_context->session_id);
proto_item_set_generated(pi);
}
return p_tcaphash_context;
}
/*
* Try to find a TCAP session according to the destination Identifier given in the TC_END/TC_ABORT
* If nothing is found,
* - either it is a session in opening state,
* - or the session is closed/aborted by the remote, ( so we switch the src and dst tid )
* so try to find a tcap session registered with a TC_BEGIN "key",
* matching the destination Id of the TC_END
* Then associate the TC_CONT "key" to the TCAP context
* and display the available info for the TCAP context
*/
static struct tcaphash_context_t *
tcaphash_end_matching(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
struct tcapsrt_info_t *p_tcapsrt_info)
{
struct tcaphash_context_t *p_tcaphash_context=NULL;
struct tcaphash_end_info_key_t tcaphash_end_key;
struct tcaphash_endcall_t *p_tcaphash_endcall=NULL;
struct tcaphash_begin_info_key_t tcaphash_begin_key;
struct tcaphash_begincall_t *p_tcaphash_begincall=NULL;
proto_item *pi;
nstime_t delta;
proto_item *stat_item=NULL;
proto_tree *stat_tree=NULL;
#ifdef DEBUG_TCAPSRT
dbg(51,"src %s dst %s dstTid %lx ", address_to_str(pinfo->pool, &pinfo->src), address_to_str(pinfo->pool, &pinfo->dst), p_tcapsrt_info->dst_tid);
dbg(10,"\n Hend #%u ", pinfo->num);
#endif
/* look only for matching request, if matching conversation is available. */
tcaphash_end_key.tid = p_tcapsrt_info->dst_tid;
if (pinfo->src.type == ss7pc_address_type && pinfo->dst.type == ss7pc_address_type)
{
/* We have MTP3 PCs (so we can safely do this cast) */
tcaphash_end_key.opc_hash = mtp3_pc_hash((const mtp3_addr_pc_t *)pinfo->src.data);
tcaphash_end_key.dpc_hash = mtp3_pc_hash((const mtp3_addr_pc_t *)pinfo->dst.data);
} else {
/* Don't have MTP3 PCs (have SCCP GT ?) */
tcaphash_end_key.opc_hash = g_str_hash(address_to_str(pinfo->pool, &pinfo->src));
tcaphash_end_key.dpc_hash = g_str_hash(address_to_str(pinfo->pool, &pinfo->dst));
}
tcaphash_end_key.hashKey=tcaphash_end_calchash(&tcaphash_end_key);
#ifdef DEBUG_TCAPSRT
dbg(11,"Ekey %lx ",tcaphash_end_key.hashKey);
dbg(11,"addr %s ", address_to_str(pinfo->pool, &pinfo->dst));
dbg(51,"Tid %lx ",tcaphash_end_key.tid);
#endif
p_tcaphash_endcall = find_tcaphash_end(&tcaphash_end_key, pinfo,TRUE);
if(!p_tcaphash_endcall) {
#ifdef DEBUG_TCAPSRT
dbg(12,"EnotFound ");
#endif
tcaphash_begin_key.tid = p_tcapsrt_info->dst_tid;
if (pinfo->src.type == ss7pc_address_type && pinfo->dst.type == ss7pc_address_type)
{
/* We have MTP3 PCs (so we can safely do this cast) */
tcaphash_begin_key.pc_hash = mtp3_pc_hash((const mtp3_addr_pc_t *)pinfo->dst.data);
} else {
/* Don't have MTP3 PCs (have SCCP GT ?) */
tcaphash_begin_key.pc_hash = g_str_hash(address_to_str(pinfo->pool, &pinfo->dst));
}
tcaphash_begin_key.hashKey=tcaphash_begin_calchash(&tcaphash_begin_key);
#ifdef DEBUG_TCAPSRT
dbg(11,"Bkey %lx ", tcaphash_begin_key.hashKey);
dbg(51,"addr %s ", address_to_str(pinfo->pool, &pinfo->dst));
dbg(51,"Tid %lx ",tcaphash_begin_key.tid);
#endif
p_tcaphash_begincall = find_tcaphash_begin(&tcaphash_begin_key, pinfo,FALSE);
if(!p_tcaphash_begincall) {
#ifdef DEBUG_TCAPSRT
dbg(12,"BnotFound ");
#endif
}
}
if (p_tcaphash_endcall) {
/* Use the TC_BEGIN Destination reference */
p_tcaphash_context=p_tcaphash_endcall->context;
} else if (p_tcaphash_begincall) {
/* Use the TC_BEGIN Source reference */
p_tcaphash_context=p_tcaphash_begincall->context;
}
if (p_tcaphash_context) {
#ifdef DEBUG_TCAPSRT
dbg(12,"Found, req=%d ",p_tcaphash_context->first_frame);
#endif
if (gtcap_DisplaySRT && tree) {
stat_tree = proto_tree_add_subtree(tree, tvb, 0, -1, ett_tcap_stat, &stat_item, "Stat");
proto_item_set_generated(stat_item);
pi = proto_tree_add_uint(stat_tree, hf_tcapsrt_SessionId, tvb, 0,0, p_tcaphash_context->session_id);
proto_item_set_generated(pi);
}
#ifdef DEBUG_TCAPSRT
dbg(20,"Display framereqlink %d ",p_tcaphash_context->first_frame);
#endif
/* Indicate the frame to which this is a reply. */
if (gtcap_DisplaySRT && stat_tree) {
pi = proto_tree_add_uint_format(stat_tree, hf_tcapsrt_EndSession, tvb, 0, 0,
p_tcaphash_context->first_frame,
"Begin of session in frame %u",
p_tcaphash_context->first_frame);
proto_item_set_generated(pi);
/* Calculate Service Response Time */
nstime_delta(&delta, &pinfo->abs_ts, &p_tcaphash_context->begin_time);
/* display Service Response Time and make it filterable */
pi = proto_tree_add_time(stat_tree, hf_tcapsrt_SessionTime, tvb, 0, 0, &delta);
proto_item_set_generated(pi);
}
/* Close the context and remove it (if needed) */
tcapsrt_close(p_tcaphash_context,pinfo);
} else {/* context present */
#ifdef DEBUG_TCAPSRT
dbg(12,"Context notFound ");
#endif
}
return p_tcaphash_context;
}
/*
* ANSI PART
* Create the record identifiying the TCAP transaction
* When the identifier for the transaction is reused, check
* the following criteria before to append a new record:
* - a timeout corresponding to a message retransmission is detected,
* - a message hast been lost
* - or the previous transaction has been be closed
*/
static struct tcaphash_context_t *
tcaphash_ansi_matching(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
struct tcapsrt_info_t *p_tcapsrt_info)
{
struct tcaphash_context_t *p_tcaphash_context=NULL;
struct tcaphash_context_key_t tcaphash_context_key;
struct tcaphash_ansicall_t *p_tcaphash_ansicall, *p_new_tcaphash_ansicall;
struct tcaphash_ansi_info_key_t tcaphash_ansi_key;
proto_item *pi;
nstime_t delta;
gboolean isResponse=FALSE;
proto_tree * stat_tree=NULL;
proto_item * stat_item=NULL;
/* prepare the key data */
tcaphash_ansi_key.tid = p_tcapsrt_info->src_tid;
if (pinfo->src.type == ss7pc_address_type && pinfo->dst.type == ss7pc_address_type)
{
/* We have MTP3 PCs (so we can safely do this cast) */
tcaphash_ansi_key.opc_hash = mtp3_pc_hash((const mtp3_addr_pc_t *)pinfo->src.data);
tcaphash_ansi_key.dpc_hash = mtp3_pc_hash((const mtp3_addr_pc_t *)pinfo->dst.data);
} else {
/* Don't have MTP3 PCs (have SCCP GT ?) */
tcaphash_ansi_key.opc_hash = g_str_hash(address_to_str(pinfo->pool, &pinfo->src));
tcaphash_ansi_key.dpc_hash = g_str_hash(address_to_str(pinfo->pool, &pinfo->dst));
}
tcaphash_ansi_key.hashKey=tcaphash_ansi_calchash(&tcaphash_ansi_key);
/* look up the request */
#ifdef DEBUG_TCAPSRT
dbg(10,"\n Hansi #%u ", pinfo->num);
dbg(11,"key %lx ",tcaphash_ansi_key.hashKey);
dbg(51,"PC %s %s ",address_to_str(pinfo->pool, &pinfo->src), address_to_str(pinfo->pool, &pinfo->dst));
dbg(51,"Tid %lx ",tcaphash_ansi_key.tid);
#endif
p_tcaphash_ansicall = (struct tcaphash_ansicall_t *)
wmem_map_lookup(tcaphash_ansi, &tcaphash_ansi_key);
if (p_tcaphash_ansicall) {
/* Walk through list of transaction with identical keys */
do {
/* Check if the request with this reqSeqNum has been seen */
if (pinfo->num == p_tcaphash_ansicall->context->first_frame) {
/* We have seen this request before -> do nothing */
#ifdef DEBUG_TCAPSRT
dbg(22,"Request already seen ");
#endif
isResponse=FALSE;
p_tcaphash_context=p_tcaphash_ansicall->context;
break;
}
/* Check if the response with this reqSeqNum has been seen */
if (pinfo->num == p_tcaphash_ansicall->context->last_frame) {
/* We have seen this response before -> do nothing */
#ifdef DEBUG_TCAPSRT
dbg(22,"Response already seen ");
#endif
isResponse=TRUE;
p_tcaphash_context=p_tcaphash_ansicall->context;
break;
}
/* Check for the first Request without Response
received before this frame */
if ( pinfo->num > p_tcaphash_ansicall->context->first_frame &&
p_tcaphash_ansicall->context->last_frame==0 ) {
/* Take it, and update the context */
#ifdef DEBUG_TCAPSRT
dbg(12,"Update key %lx ",tcaphash_ansi_key.hashKey);
#endif
p_tcaphash_ansicall->context->last_frame = pinfo->num;
p_tcaphash_ansicall->context->responded = TRUE;
p_tcaphash_ansicall->context->closed = TRUE;
p_tcaphash_context=p_tcaphash_ansicall->context;
isResponse=TRUE;
if (gtcap_DisplaySRT && tree) {
stat_tree = proto_tree_add_subtree(tree, tvb, 0, -1, ett_tcap_stat, &stat_item, "Stat");
proto_item_set_generated(stat_item);
pi = proto_tree_add_uint(stat_tree, hf_tcapsrt_SessionId, tvb, 0,0, p_tcaphash_context->session_id);
proto_item_set_generated(pi);
#ifdef DEBUG_TCAPSRT
dbg(20,"Display framereqlink %d ",p_tcaphash_context->first_frame);
#endif
/* Indicate the frame to which this is a reply. */
pi = proto_tree_add_uint_format(stat_tree, hf_tcapsrt_EndSession, tvb, 0, 0,
p_tcaphash_context->first_frame,
"Begin of session in frame %u",
p_tcaphash_context->first_frame);
proto_item_set_generated(pi);
/* Calculate Service Response Time */
nstime_delta(&delta, &pinfo->abs_ts, &p_tcaphash_context->begin_time);
/* display Service Response Time and make it filterable */
pi = proto_tree_add_time(stat_tree, hf_tcapsrt_SessionTime, tvb, 0, 0, &delta);
proto_item_set_generated(pi);
}
break;
} /* Lastframe=0, so take it */
/* If the last record for Tcap transaction with identifier has been reached */
if (!p_tcaphash_ansicall->next_ansicall) {
/* check if we have to create a new record or not */
/* if last request has been responded (response number in known)
and this request appears after last response (has bigger frame number)
and last request occurred after the timeout for repetition,
or
if last request hasn't been responded (so number unknown)
and this request appears after last request (has bigger frame number)
and this request occurred after the timeout for message lost */
if ( ( p_tcaphash_ansicall->context->last_frame != 0
&& pinfo->num > p_tcaphash_ansicall->context->first_frame
&& (guint) pinfo->abs_ts.secs > (guint)(p_tcaphash_ansicall->context->begin_time.secs + gtcap_RepetitionTimeout)
) ||
( p_tcaphash_ansicall->context->last_frame == 0
&& pinfo->num > p_tcaphash_ansicall->context->first_frame
&& (guint)pinfo->abs_ts.secs > (guint)(p_tcaphash_ansicall->context->begin_time.secs + gtcap_LostTimeout)
)
)
{
/* we decide that we have a new request */
/* Append new record to the list */
#ifdef DEBUG_TCAPSRT
dbg(12,"(timeout) Append key %lx ",tcaphash_ansi_key.hashKey);
dbg(12,"Frame %u rsp %u ",pinfo->num,p_tcaphash_ansicall->context->last_frame );
#endif
tcaphash_context_key.session_id = tcapsrt_global_SessionId++;
p_tcaphash_context = new_tcaphash_context(&tcaphash_context_key, pinfo);
p_new_tcaphash_ansicall = append_tcaphash_ansicall(p_tcaphash_ansicall,
p_tcaphash_context,
pinfo);
#ifdef DEBUG_TCAPSRT
dbg(12,"Update key %lx ",tcaphash_ansi_key.hashKey);
#endif
update_tcaphash_ansicall(p_new_tcaphash_ansicall, pinfo);
p_tcaphash_ansicall=p_new_tcaphash_ansicall;
} else {
/* If the Tid is reused for a closed Transaction */
if ( p_tcaphash_ansicall->context->closed) {
#ifdef DEBUG_TCAPSRT
dbg(12,"(closed) Append key %lu ",tcaphash_ansi_key.hashKey);
dbg(12,"Frame %u rsp %u ",pinfo->num,p_tcaphash_ansicall->context->last_frame );
#endif
tcaphash_context_key.session_id = tcapsrt_global_SessionId++;
p_tcaphash_context = new_tcaphash_context(&tcaphash_context_key, pinfo);
p_new_tcaphash_ansicall = append_tcaphash_ansicall(p_tcaphash_ansicall,
p_tcaphash_context,
pinfo);
#ifdef DEBUG_TCAPSRT
dbg(12,"Update key %lu ",tcaphash_ansi_key.hashKey);
#endif
update_tcaphash_ansicall(p_new_tcaphash_ansicall, pinfo);
p_tcaphash_ansicall=p_new_tcaphash_ansicall;
} else {
/* the Tid is reused for an opened Transaction */
/* so, this is the reply to the request of our context */
p_tcaphash_context=p_tcaphash_ansicall->context;
#ifdef DEBUG_TCAPSRT
dbg(12,"Found, req=%d ",p_tcaphash_context->first_frame);
#endif
if (gtcap_DisplaySRT && tree) {
stat_tree = proto_tree_add_subtree(tree, tvb, 0, -1, ett_tcap_stat, &stat_item, "Stat");
proto_item_set_generated(stat_item);
pi = proto_tree_add_uint(stat_tree, hf_tcapsrt_SessionId, tvb, 0,0, p_tcaphash_context->session_id);
proto_item_set_generated(pi);
#ifdef DEBUG_TCAPSRT
dbg(20,"Display framereqlink %d ",p_tcaphash_context->first_frame);
#endif
/* Indicate the frame to which this is a reply. */
pi = proto_tree_add_uint_format(stat_tree, hf_tcapsrt_EndSession, tvb, 0, 0,
p_tcaphash_context->first_frame,
"Begin of session in frame %u",
p_tcaphash_context->first_frame);
proto_item_set_generated(pi);
/* Calculate Service Response Time */
nstime_delta(&delta, &pinfo->abs_ts, &p_tcaphash_context->begin_time);
/* display Service Response Time and make it filterable */
pi = proto_tree_add_time(stat_tree, hf_tcapsrt_SessionTime, tvb, 0, 0, &delta);
proto_item_set_generated(pi);
}
p_tcaphash_context=p_tcaphash_ansicall->context;
} /* test with Timeout */
} /* closed */
break;
} /* Next call is NULL */
p_tcaphash_ansicall = p_tcaphash_ansicall->next_ansicall;
} while (p_tcaphash_ansicall != NULL );
/*
* New TCAP context
*/
} else { /* p_tcaphash_ansicall has not been found */
#ifdef DEBUG_TCAPSRT
dbg(10,"New key %lx ",tcaphash_ansi_key.hashKey);
#endif
tcaphash_context_key.session_id = tcapsrt_global_SessionId++;
p_tcaphash_context = new_tcaphash_context(&tcaphash_context_key, pinfo);
p_tcaphash_ansicall = new_tcaphash_ansi(&tcaphash_ansi_key, p_tcaphash_context);
#ifdef DEBUG_TCAPSRT
dbg(11,"Update key %lx ",tcaphash_ansi_key.hashKey);
dbg(11,"Frame reqlink #%u ", pinfo->num);
#endif
update_tcaphash_ansicall(p_tcaphash_ansicall, pinfo);
}
/* display tcap session, if available */
if ( gtcap_DisplaySRT && tree &&
p_tcaphash_context &&
p_tcaphash_context->session_id) {
stat_tree = proto_tree_add_subtree(tree, tvb, 0, -1, ett_tcap_stat, &stat_item, "Stat");
proto_item_set_generated(stat_item);
pi = proto_tree_add_uint(stat_tree, hf_tcapsrt_SessionId, tvb, 0,0, p_tcaphash_context->session_id);
proto_item_set_generated(pi);
}
/* add link to response frame, if available */
if( gtcap_DisplaySRT && stat_tree &&
p_tcaphash_ansicall->context->last_frame != 0){
if (!isResponse) { /* Request */
#ifdef DEBUG_TCAPSRT
dbg(20,"Display_frameRsplink %d ",p_tcaphash_ansicall->context->last_frame);
#endif
pi = proto_tree_add_uint_format(stat_tree, hf_tcapsrt_BeginSession, tvb, 0, 0,
p_tcaphash_ansicall->context->last_frame,
"End of session in frame %u",
p_tcaphash_ansicall->context->last_frame);
proto_item_set_generated(pi);
} else { /* Response */
#ifdef DEBUG_TCAPSRT
dbg(20,"Display framereqlink %d ",p_tcaphash_context->first_frame);
#endif
/* Indicate the frame to which this is a reply. */
if (gtcap_DisplaySRT) {
pi = proto_tree_add_uint_format(stat_tree, hf_tcapsrt_EndSession, tvb, 0, 0,
p_tcaphash_context->first_frame,
"Begin of session in frame %u",
p_tcaphash_context->first_frame);
proto_item_set_generated(pi);
/* Calculate Service Response Time */
nstime_delta(&delta, &pinfo->abs_ts, &p_tcaphash_context->begin_time);
/* display Service Response Time and make it filterable */
pi = proto_tree_add_time(stat_tree, hf_tcapsrt_SessionTime, tvb, 0, 0, &delta);
proto_item_set_generated(pi);
}
} /* Request or Response */
}
return p_tcaphash_context;
}
/*
* Service Response Time analyze
* Called just after dissector call
* Associate a TCAP context to a tcap session and display session related infomations
* like the first frame, the last, the session duration,
* and a uniq session identifier for the filtering
*
* For ETSI tcap, the TCAP context can be reached through three keys
* - a key (BEGIN) identifying the session according to the tcap source identifier
* - a key (CONT) identifying the established session (src_id and dst_id)
* - a key (END) identifying the session according to the tcap destination identifier
*
* For ANSI tcap, the TCAP context is reached through a uniq key
* - a key (ANSI) identifying the session according to the tcap identifier
*/
struct tcaphash_context_t *
tcapsrt_call_matching(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
struct tcapsrt_info_t *p_tcapsrt_info)
{
struct tcaphash_context_t *tcap_context=NULL;
/* if this packet isn't loaded because of a read filter, don't output anything */
if(pinfo == NULL || pinfo->num == 0) {
return NULL;
}
switch (p_tcapsrt_info->ope) {
case TC_BEGIN:
#ifdef DEBUG_TCAPSRT
dbg(1,"\nTC_BEGIN ");
#endif
tcap_context=tcaphash_begin_matching(tvb, pinfo, tree, p_tcapsrt_info);
break;
case TC_CONT:
#ifdef DEBUG_TCAPSRT
dbg(1,"\nTC_CONT ");
#endif
tcap_context=tcaphash_cont_matching(tvb, pinfo, tree, p_tcapsrt_info);
break;
case TC_ABORT:
#ifdef DEBUG_TCAPSRT
dbg(1,"\nTC_ABORT ");
#endif
tcap_context=tcaphash_end_matching(tvb, pinfo, tree, p_tcapsrt_info);
break;
case TC_END:
#ifdef DEBUG_TCAPSRT
dbg(1,"\nTC_END ");
#endif
tcap_context=tcaphash_end_matching(tvb, pinfo, tree, p_tcapsrt_info);
break;
case TC_ANSI_ALL:
case TC_ANSI_ABORT:
#ifdef DEBUG_TCAPSRT
dbg(1,"\nTC_ANSI ");
#endif
tcap_context=tcaphash_ansi_matching(tvb, pinfo, tree, p_tcapsrt_info);
break;
default:
#ifdef DEBUG_TCAPSRT
dbg(1,"\nUnknown %d ", p_tcapsrt_info->ope);
#endif
break;
} /* switch tcapop */
#ifdef DEBUG_TCAPSRT
if (tcap_context)
dbg(1,"session %d ", tcap_context->session_id);
#endif
return tcap_context;
}
/*
* Initialize the Message Info used by the main dissector
* Data are linked to a TCAP transaction
*/
struct tcapsrt_info_t *
tcapsrt_razinfo(void)
{
struct tcapsrt_info_t *p_tcapsrt_info ;
/* Global buffer for packet extraction */
tcapsrt_global_current++;
if(tcapsrt_global_current==MAX_TCAP_INSTANCE){
tcapsrt_global_current=0;
}
p_tcapsrt_info=&tcapsrt_global_info[tcapsrt_global_current];
memset(p_tcapsrt_info,0,sizeof(struct tcapsrt_info_t));
return p_tcapsrt_info;
}
void
tcapsrt_close(struct tcaphash_context_t *p_tcaphash_context,
packet_info *pinfo)
{
#ifdef DEBUG_TCAPSRT
dbg(60,"Force close ");
#endif
if (p_tcaphash_context) {
p_tcaphash_context->responded=TRUE;
p_tcaphash_context->last_frame = pinfo->num;
p_tcaphash_context->end_time = pinfo->abs_ts;
p_tcaphash_context->closed=TRUE;
/* If the endkey is present */
if (p_tcaphash_context->endcall
&& !gtcap_PersistentSRT) {
if (p_tcaphash_context->endcall->next_endcall) {
if (p_tcaphash_context->endcall->previous_endcall ) {
#ifdef DEBUG_TCAPSRT
dbg(20,"deplace Ehash ");
#endif
p_tcaphash_context->endcall->previous_endcall->next_endcall
= p_tcaphash_context->endcall->next_endcall;
p_tcaphash_context->endcall->next_endcall->previous_endcall
= p_tcaphash_context->endcall->previous_endcall;
wmem_map_remove(tcaphash_end, p_tcaphash_context->endcall->endkey);
} else {
/* cannot remove the father */
#ifdef DEBUG_TCAPSRT
dbg(20,"father Ehash ");
#endif
} /* no previous link, so father */
} else if (!gtcap_PersistentSRT) {
#ifdef DEBUG_TCAPSRT
dbg(20,"remove Ehash ");
#endif
wmem_map_remove(tcaphash_end, p_tcaphash_context->endcall->endkey);
} /* endcall without chained string */
} /* no endcall */
/* If the contkey is present */
if (p_tcaphash_context->contcall
&& !gtcap_PersistentSRT) {
if (p_tcaphash_context->contcall->next_contcall) {
if (p_tcaphash_context->contcall->previous_contcall ) {
#ifdef DEBUG_TCAPSRT
dbg(20,"deplace Chash ");
#endif
p_tcaphash_context->contcall->previous_contcall->next_contcall
= p_tcaphash_context->contcall->next_contcall;
p_tcaphash_context->contcall->next_contcall->previous_contcall
= p_tcaphash_context->contcall->previous_contcall;
wmem_map_remove(tcaphash_cont, p_tcaphash_context->contcall->contkey);
} else {
/* cannot remove the father */
#ifdef DEBUG_TCAPSRT
dbg(20,"father Chash ");
#endif
} /* no previous link, so father */
} else if (!gtcap_PersistentSRT) {
#ifdef DEBUG_TCAPSRT
dbg(20,"remove Chash ");
#endif
wmem_map_remove(tcaphash_cont, p_tcaphash_context->contcall->contkey);
} /* contcall without chained string */
} /* no contcall */
/* If the beginkey is present */
if (p_tcaphash_context->begincall
&& !gtcap_PersistentSRT) {
if (p_tcaphash_context->begincall->next_begincall) {
if (p_tcaphash_context->begincall->previous_begincall ) {
#ifdef DEBUG_TCAPSRT
dbg(20,"deplace Bhash ");
#endif
p_tcaphash_context->begincall->previous_begincall->next_begincall
= p_tcaphash_context->begincall->next_begincall;
p_tcaphash_context->begincall->next_begincall->previous_begincall
= p_tcaphash_context->begincall->previous_begincall;
wmem_map_remove(tcaphash_begin, p_tcaphash_context->begincall->beginkey);
} else {
/* cannot remove the father */
#ifdef DEBUG_TCAPSRT
dbg(20,"father Bhash ");
#endif
}
} else if (!gtcap_PersistentSRT) {
#ifdef DEBUG_TCAPSRT
dbg(20,"remove Bhash ");
#endif
wmem_map_remove(tcaphash_begin, p_tcaphash_context->begincall->beginkey);
} /* begincall without chained string */
} /* no begincall */
/* If the ansikey is present */
if (p_tcaphash_context->ansicall
&& !gtcap_PersistentSRT) {
if (p_tcaphash_context->ansicall->next_ansicall) {
if (p_tcaphash_context->ansicall->previous_ansicall ) {
#ifdef DEBUG_TCAPSRT
dbg(20,"deplace Ahash ");
#endif
p_tcaphash_context->ansicall->previous_ansicall->next_ansicall
= p_tcaphash_context->ansicall->next_ansicall;
p_tcaphash_context->ansicall->next_ansicall->previous_ansicall
= p_tcaphash_context->ansicall->previous_ansicall;
wmem_map_remove(tcaphash_ansi, p_tcaphash_context->ansicall->ansikey);
} else {
/* cannot remove the father */
#ifdef DEBUG_TCAPSRT
dbg(20,"father Ahash ");
#endif
}
} else if (!gtcap_PersistentSRT) {
#ifdef DEBUG_TCAPSRT
dbg(20,"remove Ahash ");
#endif
wmem_map_remove(tcaphash_ansi, p_tcaphash_context->ansicall->ansikey);
} /* ansicall without chained string */
} /* no ansicall */
if (!gtcap_PersistentSRT) {
#ifdef DEBUG_TCAPSRT
dbg(20,"remove context ");
#endif
wmem_map_remove(tcaphash_context, p_tcaphash_context->key);
}
} else { /* no context */
#ifdef DEBUG_TCAPSRT
dbg(20,"No context to remove ");
#endif
}
}
const value_string tcap_component_type_str[] = {
{ TCAP_COMP_INVOKE, "Invoke" },
{ TCAP_COMP_RRL, "Return Result(L)" },
{ TCAP_COMP_RE, "Return Error" },
{ TCAP_COMP_REJECT, "Reject" },
{ TCAP_COMP_RRN, "Return Result(NL)" },
{ 0, NULL }
};
static int
dissect_tcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data _U_)
{
proto_item *item=NULL;
proto_tree *tree=NULL;
struct tcaphash_context_t * p_tcap_context;
dissector_handle_t subdissector_handle;
asn1_ctx_t asn1_ctx;
gint8 ber_class;
bool pc;
gint tag;
struct tcap_private_t *p_tcap_private;
/* Check if ANSI TCAP and call the ANSI TCAP dissector if that's the case
* PackageType ::= CHOICE { unidirectional [PRIVATE 1] IMPLICIT UniTransactionPDU,
* queryWithPerm [PRIVATE 2] IMPLICIT TransactionPDU,
* queryWithoutPerm [PRIVATE 3] IMPLICIT TransactionPDU,
* response [PRIVATE 4] IMPLICIT TransactionPDU,
* conversationWithPerm [PRIVATE 5] IMPLICIT TransactionPDU,
* conversationWithoutPerm [PRIVATE 6] IMPLICIT TransactionPDU,
* abort [PRIVATE 22] IMPLICIT Abort
* }
*
*
*/
get_ber_identifier(tvb, 0, &ber_class, &pc, &tag);
if(ber_class == BER_CLASS_PRI){
switch (tag){
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 22:
return call_dissector(ansi_tcap_handle, tvb, pinfo, parent_tree);
default:
return tvb_captured_length(tvb);
}
}
/* ITU TCAP */
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
tcap_top_tree = parent_tree;
tcap_stat_tree = NULL;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "TCAP");
/* create display subtree for the protocol */
if(parent_tree){
item = proto_tree_add_item(parent_tree, proto_tcap, tvb, 0, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_tcap);
tcap_stat_tree=tree;
}
cur_oid = NULL;
tcapext_oid = NULL;
p_tcap_private = wmem_new0(pinfo->pool, struct tcap_private_t);
asn1_ctx.value_ptr = p_tcap_private;
gp_tcapsrt_info=tcapsrt_razinfo();
tcap_subdissector_used=FALSE;
gp_tcap_context=NULL;
dissect_tcap_TCMessage(FALSE, tvb, 0, &asn1_ctx, tree, -1);
if (!tcap_subdissector_used ) {
p_tcap_context=tcapsrt_call_matching(tvb, pinfo, tcap_stat_tree, gp_tcapsrt_info);
p_tcap_private->context=p_tcap_context;
/* If the current message is TCAP only,
* save the Application Context Name for the next messages
*/
if ( p_tcap_context && cur_oid && !p_tcap_context->oid_present ) {
/* Save the application context and the sub dissector */
(void) g_strlcpy(p_tcap_context->oid, cur_oid, sizeof(p_tcap_context->oid));
p_tcap_context->oid_present=TRUE;
if ( (subdissector_handle = dissector_get_string_handle(ber_oid_dissector_table, cur_oid)) ) {
p_tcap_context->subdissector_handle=subdissector_handle;
p_tcap_context->subdissector_present=TRUE;
}
}
if (p_tcap_context && p_tcap_context->callback) {
/* Callback fonction for the upper layer */
(p_tcap_context->callback)(tvb, pinfo, tcap_stat_tree, p_tcap_context);
}
}
return tvb_captured_length(tvb);
}
void
proto_reg_handoff_tcap(void)
{
data_handle = find_dissector("data");
ansi_tcap_handle = find_dissector_add_dependency("ansi_tcap", proto_tcap);
ber_oid_dissector_table = find_dissector_table("ber.oid");
ss7pc_address_type = address_type_get_by_name("AT_SS7PC");
#include "packet-tcap-dis-tab.c"
}
static void init_tcap(void);
static void cleanup_tcap(void);
void
proto_register_tcap(void)
{
/* Setup list of header fields See Section 1.6.1 for details*/
static hf_register_info hf[] = {
{ &hf_tcap_tag,
{ "Tag",
"tcap.msgtype",
FT_UINT8, BASE_HEX, NULL, 0,
NULL, HFILL }
},
{ &hf_tcap_length,
{ "Length",
"tcap.len",
FT_UINT8, BASE_DEC, NULL, 0,
NULL, HFILL }
},
{ &hf_tcap_data,
{ "Data",
"tcap.data",
FT_BYTES, BASE_NONE, NULL, 0,
NULL, HFILL }
},
{ &hf_tcap_tid,
{ "Transaction Id",
"tcap.tid",
FT_BYTES, BASE_NONE, NULL, 0,
NULL, HFILL }
},
{ &hf_tcap_constructor_eoc,
{ "CONSTRUCTOR EOC",
"tcap.constructor_eoc",
FT_UINT16, BASE_HEX, NULL, 0,
NULL, HFILL }
},
/* Tcap Service Response Time */
{ &hf_tcapsrt_SessionId,
{ "Session Id",
"tcap.srt.session_id",
FT_UINT32, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
{ &hf_tcapsrt_BeginSession,
{ "Begin Session",
"tcap.srt.begin",
FT_FRAMENUM, BASE_NONE, NULL, 0x0,
"SRT Begin of Session", HFILL }
},
{ &hf_tcapsrt_EndSession,
{ "End Session",
"tcap.srt.end",
FT_FRAMENUM, BASE_NONE, NULL, 0x0,
"SRT End of Session", HFILL }
},
{ &hf_tcapsrt_SessionTime,
{ "Session duration",
"tcap.srt.sessiontime",
FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
"Duration of the TCAP session", HFILL }
},
{ &hf_tcapsrt_Duplicate,
{ "Session Duplicate",
"tcap.srt.duplicate",
FT_FRAMENUM, BASE_NONE, NULL, 0x0,
"SRT Duplicated with Session", HFILL }
},
#include "packet-tcap-hfarr.c"
};
/* Setup protocol subtree array */
static gint *ett[] = {
&ett_tcap,
&ett_param,
&ett_otid,
&ett_dtid,
&ett_tcap_stat,
#include "packet-tcap-ettarr.c"
};
/*static enum_val_t tcap_options[] = {
{ "itu", "ITU", ITU_TCAP_STANDARD },
{ "ansi", "ANSI", ANSI_TCAP_STANDARD },
{ NULL, NULL, 0 }
};*/
module_t *tcap_module;
/* Register the protocol name and description */
proto_tcap = proto_register_protocol(PNAME, PSNAME, PFNAME);
/* Required function calls to register the header fields and subtrees used */
proto_register_field_array(proto_tcap, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
ansi_sub_dissectors = register_dissector_table("ansi_tcap.ssn", "ANSI SSN", proto_tcap, FT_UINT8, BASE_DEC);
itu_sub_dissectors = register_dissector_table("itu_tcap.ssn", "ITU SSN", proto_tcap, FT_UINT8, BASE_DEC);
tcap_module = prefs_register_protocol(proto_tcap, NULL);
#if 0
prefs_register_enum_preference(tcap_module, "standard", "ITU TCAP standard",
"The SS7 standard used in ITU TCAP packets",
&tcap_standard, tcap_options, FALSE);
#else
prefs_register_obsolete_preference(tcap_module, "standard");
#endif
#if 0
prefs_register_bool_preference(tcap_module, "lock_info_col", "Lock Info column",
"Always show TCAP in Info column",
&lock_info_col);
#else
prefs_register_obsolete_preference(tcap_module, "lock_info_col");
#endif
/* Set default SSNs */
range_convert_str(wmem_epan_scope(), &global_ssn_range, "", MAX_SSN);
prefs_register_range_preference(tcap_module, "ssn", "SCCP SSNs",
"SCCP (and SUA) SSNs to decode as TCAP",
&global_ssn_range, MAX_SSN);
prefs_register_obsolete_preference(tcap_module, "srt");
prefs_register_bool_preference(tcap_module, "persistentsrt",
"Persistent stats for SRT",
"Statistics for Response Time",
>cap_PersistentSRT);
prefs_register_uint_preference(tcap_module, "repetitiontimeout",
"Repetition timeout",
"Maximal delay for message repetition",
10, >cap_RepetitionTimeout);
prefs_register_uint_preference(tcap_module, "losttimeout",
"Lost timeout",
"Maximal delay for message lost",
10, >cap_LostTimeout);
/* 'globally' register dissector */
tcap_handle = register_dissector("tcap", dissect_tcap, proto_tcap);
/* hash-tables for SRT */
tcaphash_context = wmem_map_new_autoreset(wmem_epan_scope(), wmem_file_scope(), tcaphash_context_calchash, tcaphash_context_equal);
tcaphash_begin = wmem_map_new_autoreset(wmem_epan_scope(), wmem_file_scope(), tcaphash_begin_calchash, tcaphash_begin_equal);
tcaphash_cont = wmem_map_new_autoreset(wmem_epan_scope(), wmem_file_scope(), tcaphash_cont_calchash, tcaphash_cont_equal);
tcaphash_end = wmem_map_new_autoreset(wmem_epan_scope(), wmem_file_scope(), tcaphash_end_calchash, tcaphash_end_equal);
tcaphash_ansi = wmem_map_new_autoreset(wmem_epan_scope(), wmem_file_scope(), tcaphash_ansi_calchash, tcaphash_ansi_equal);
register_init_routine(&init_tcap);
register_cleanup_routine(&cleanup_tcap);
}
static void range_delete_callback(guint32 ssn, gpointer ptr _U_)
{
if ( ssn && !get_ansi_tcap_subdissector(ssn) && !get_itu_tcap_subdissector(ssn) ) {
dissector_delete_uint("sccp.ssn", ssn, tcap_handle);
}
}
static void range_add_callback(guint32 ssn, gpointer ptr _U_)
{
if (ssn && !get_ansi_tcap_subdissector(ssn) && !get_itu_tcap_subdissector(ssn) ) {
dissector_add_uint("sccp.ssn", ssn, tcap_handle);
}
}
static void init_tcap(void)
{
ssn_range = range_copy(wmem_epan_scope(), global_ssn_range);
range_foreach(ssn_range, range_add_callback, NULL);
/* Reset the session counter */
tcapsrt_global_SessionId=1;
/* Display of SRT is enabled
* 1) For wireshark only if Persistent Stat is enabled
* 2) For tshark, if the CLI SRT tap is registered
*/
gtcap_DisplaySRT=gtcap_PersistentSRT || gtcap_StatSRT;
}
static void cleanup_tcap(void)
{
range_foreach(ssn_range, range_delete_callback, NULL);
wmem_free(wmem_epan_scope(), ssn_range);
}
static int
dissect_tcap_param(asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset)
{
gint tag_offset, saved_offset, len_offset;
tvbuff_t *next_tvb;
proto_tree *subtree;
gint8 ber_class;
bool pc;
gint32 tag;
guint32 len;
guint32 tag_length;
guint32 len_length;
bool ind_field;
while (tvb_reported_length_remaining(tvb, offset) > 0)
{
saved_offset = offset;
offset = get_ber_identifier(tvb, offset, &ber_class, &pc, &tag);
tag_offset = offset;
offset = get_ber_length(tvb, offset, &len, &ind_field);
len_offset = offset;
tag_length = tag_offset - saved_offset;
len_length = len_offset - tag_offset;
if (pc)
{
subtree = proto_tree_add_subtree(tree, tvb, saved_offset,
len + (len_offset - saved_offset), ett_param, NULL,
"CONSTRUCTOR");
proto_tree_add_uint_format(subtree, hf_tcap_tag, tvb,
saved_offset, tag_length, tag,
"CONSTRUCTOR Tag");
proto_tree_add_uint(subtree, hf_tcap_tag, tvb, saved_offset,
tag_length, ber_class);
proto_tree_add_uint(subtree, hf_tcap_length, tvb, tag_offset,
len_length, len);
if (len-(2*ind_field)) /*should always be positive unless we get an empty contructor pointless? */
{
next_tvb = tvb_new_subset_length(tvb, offset, len-(2*ind_field));
dissect_tcap_param(actx, subtree,next_tvb,0);
}
if (ind_field)
proto_tree_add_item(subtree, hf_tcap_constructor_eoc, tvb, offset+len-2, 2, ENC_BIG_ENDIAN);
offset += len;
}
else
{
subtree = proto_tree_add_subtree_format(tree, tvb, saved_offset,
len + (len_offset - saved_offset), ett_param, NULL,
"Parameter (0x%.2x)", tag);
proto_tree_add_uint(subtree, hf_tcap_tag, tvb, saved_offset,
tag_length, tag);
proto_tree_add_uint(subtree, hf_tcap_length, tvb,
saved_offset+tag_length, len_length, len);
if (len) /* check for NULLS */
{
next_tvb = tvb_new_subset_length(tvb, offset, len);
dissect_ber_octet_string(TRUE, actx, tree, next_tvb, 0,
hf_tcap_data, NULL);
}
offset += len;
}
}
return offset;
}
/*
* Call ITU Subdissector to decode the Tcap Component
*/
static bool
dissect_tcap_ITU_ComponentPDU(bool implicit_tag _U_, tvbuff_t *tvb, int offset _U_, asn1_ctx_t *actx, proto_tree *tree, int hf_index _U_)
{
dissector_handle_t subdissector_handle=NULL;
gboolean is_subdissector=FALSE;
struct tcaphash_context_t * p_tcap_context=NULL;
struct tcap_private_t *p_tcap_private = (struct tcap_private_t*)actx->value_ptr;
/*
* ok lets look at the oid and ssn and try and find a dissector, otherwise lets decode it.
*/
/*
* Handle The TCAP Service Response Time
*/
if (!tcap_subdissector_used) {
p_tcap_context=tcapsrt_call_matching(tvb, actx->pinfo, tcap_stat_tree, gp_tcapsrt_info);
tcap_subdissector_used=TRUE;
gp_tcap_context=p_tcap_context;
p_tcap_private->context=p_tcap_context;
} else {
/* Take the last TCAP context */
p_tcap_context = gp_tcap_context;
p_tcap_private->context=p_tcap_context;
}
if (p_tcap_context) {
if (cur_oid) {
if (p_tcap_context->oid_present) {
/* We have already an Application Context, check if we have
to fallback to a lower version */
if (strncmp(p_tcap_context->oid, cur_oid, sizeof(p_tcap_context->oid)) != 0) {
/* ACN, changed, Fallback to lower version
* and update the subdissector (purely formal)
*/
(void) g_strlcpy(p_tcap_context->oid, cur_oid, sizeof(p_tcap_context->oid));
if ((subdissector_handle = dissector_get_string_handle(ber_oid_dissector_table, cur_oid))) {
p_tcap_context->subdissector_handle = subdissector_handle;
p_tcap_context->subdissector_present = TRUE;
}
}
} else {
/* We do not have the OID in the TCAP context, so store it */
(void) g_strlcpy(p_tcap_context->oid, cur_oid, sizeof(p_tcap_context->oid));
p_tcap_context->oid_present = TRUE;
/* Try to find a subdissector according to OID */
if ((subdissector_handle
= dissector_get_string_handle(ber_oid_dissector_table, cur_oid))) {
p_tcap_context->subdissector_handle = subdissector_handle;
p_tcap_context->subdissector_present = TRUE;
} else {
/* Not found, so try to find a subdissector according to SSN */
if ((subdissector_handle = get_itu_tcap_subdissector(actx->pinfo->match_uint))) {
/* Found according to SSN */
p_tcap_context->subdissector_handle = subdissector_handle;
p_tcap_context->subdissector_present = TRUE;
}
}
} /* context OID */
} else {
/* Copy the OID from the TCAP context to the current oid */
if (p_tcap_context->oid_present) {
p_tcap_private->oid = (void*)p_tcap_context->oid;
p_tcap_private->acv = TRUE;
}
} /* no OID */
} /* no TCAP context */
if (p_tcap_context
&& p_tcap_context->subdissector_present) {
/* Take the subdissector from the context */
subdissector_handle = p_tcap_context->subdissector_handle;
is_subdissector = TRUE;
}
/* Have SccpUsersTable protocol taking precedence over sccp.ssn table */
if (!is_subdissector && requested_subdissector_handle) {
is_subdissector = TRUE;
subdissector_handle = requested_subdissector_handle;
}
if (!is_subdissector) {
/*
* If we do not currently know the subdissector, we have to find it
* - first, according to the OID
* - then according to the SSN
* - and at least, take the default Data handler
*/
if (ber_oid_dissector_table && cur_oid) {
/* Search if we can find the sub protocol according to the A.C.N */
if ((subdissector_handle
= dissector_get_string_handle(ber_oid_dissector_table, cur_oid))) {
/* found */
is_subdissector = TRUE;
} else {
/* Search if we can found the sub protocol according to the SSN table */
if ((subdissector_handle
= get_itu_tcap_subdissector(actx->pinfo->match_uint))) {
/* Found according to SSN */
is_subdissector = TRUE;
} else {
/* Nothing found, take the Data handler */
subdissector_handle = data_handle;
is_subdissector = TRUE;
} /* SSN */
} /* ACN */
} else {
/* There is no A.C.N for this transaction, so search in the SSN table */
if ((subdissector_handle = get_itu_tcap_subdissector(actx->pinfo->match_uint))) {
/* Found according to SSN */
is_subdissector = TRUE;
} else {
subdissector_handle = data_handle;
is_subdissector = TRUE;
}
} /* OID */
} else {
/* We have it already */
}
/* Call the sub dissector if present, and not already called */
if (is_subdissector) {
gboolean is_active = call_dissector_only(subdissector_handle, tvb, actx->pinfo, tree, actx->value_ptr);
col_set_fence(actx->pinfo->cinfo, COL_INFO);
if(!is_active){
return FALSE;
}
}
return TRUE;
}
void
call_tcap_dissector(dissector_handle_t handle, tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree)
{
requested_subdissector_handle = handle;
TRY {
dissect_tcap(tvb, pinfo, tree, NULL);
} CATCH_ALL {
requested_subdissector_handle = NULL;
RETHROW;
} ENDTRY;
requested_subdissector_handle = NULL;
}
/*
* Editor modelines
*
* Local Variables:
* c-basic-offset: 2
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* ex: set shiftwidth=2 tabstop=8 expandtab:
* :indentSize=2:tabSize=8:noTabs=true:
*/ |
C/C++ | wireshark/epan/dissectors/asn1/tcap/packet-tcap-template.h | /* packet-tcap.h
*
* Copyright 2004, Tim Endean <[email protected]>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_tcap_H
#define PACKET_tcap_H
#include "ws_symbol_export.h"
/* TCAP component type */
#define TCAP_COMP_INVOKE 0xa1
#define TCAP_COMP_RRL 0xa2
#define TCAP_COMP_RE 0xa3
#define TCAP_COMP_REJECT 0xa4
#define TCAP_COMP_RRN 0xa7
#define ANSI_TC_INVOKE_L 0xe9
#define ANSI_TC_RRL 0xea
#define ANSI_TC_RE 0xeb
#define ANSI_TC_REJECT 0xec
#define ANSI_TC_INVOKE_N 0xed
#define ANSI_TC_RRN 0xee
#define TCAP_SEQ_TAG 0x30
#define TCAP_SET_TAG 0x31
#define TCAP_INVOKE_ID_TAG 0x02
#define TCAP_LINKED_ID_TAG 0x80
#define TCAP_EOC_LEN 2
#define TCAP_CONSTRUCTOR(TCtag) (TCtag & 0x20)
#define TC_BEGIN 1
#define TC_CONT 2
#define TC_END 3
#define TC_ABORT 4
#define TC_ANSI_ABORT 5
#define TC_ANSI_ALL 6
struct tcap_private_t {
gboolean acv; /* Is the Application Context Version present */
const void * oid;
guint32 session_id;
void * context;
gchar *TransactionID_str;
guint32 src_tid;
guint32 dst_tid;
};
/** @file
* lists and hash tables used in wireshark's tcap dissector
* for calculation of delays in tcap-calls
*/
#define LENGTH_OID 23
struct tcaphash_context_t {
struct tcaphash_context_key_t * key;
guint32 session_id;
guint32 first_frame;
guint32 last_frame;
nstime_t begin_time; /**< time of arrival of TC_BEGIN */
nstime_t end_time; /**< time of closing message */
gboolean responded; /**< true, if request has been responded */
gboolean closed;
gboolean upper_dissector;
gboolean oid_present;
gchar oid[LENGTH_OID+1];
gboolean subdissector_present;
dissector_handle_t subdissector_handle;
void (* callback) (tvbuff_t *,packet_info *, proto_tree *, struct tcaphash_context_t *);
struct tcaphash_begincall_t * begincall;
struct tcaphash_contcall_t * contcall;
struct tcaphash_endcall_t * endcall;
struct tcaphash_ansicall_t * ansicall;
};
struct tcaphash_begincall_t {
struct tcaphash_begin_info_key_t * beginkey;
struct tcaphash_context_t * context;
gboolean father;
struct tcaphash_begincall_t * next_begincall;
struct tcaphash_begincall_t * previous_begincall;
};
struct tcaphash_contcall_t {
struct tcaphash_cont_info_key_t * contkey;
struct tcaphash_context_t * context;
gboolean father;
struct tcaphash_contcall_t * next_contcall;
struct tcaphash_contcall_t * previous_contcall;
};
struct tcaphash_endcall_t {
struct tcaphash_end_info_key_t * endkey;
struct tcaphash_context_t * context;
gboolean father;
struct tcaphash_endcall_t * next_endcall;
struct tcaphash_endcall_t * previous_endcall;
};
struct tcaphash_ansicall_t {
struct tcaphash_ansi_info_key_t * ansikey;
struct tcaphash_context_t * context;
gboolean father;
struct tcaphash_ansicall_t * next_ansicall;
struct tcaphash_ansicall_t * previous_ansicall;
};
/** The Key for the hash table is the TCAP origine transaction identifier
of the TC_BEGIN containing the InitialDP */
struct tcaphash_context_key_t {
guint32 session_id;
};
struct tcaphash_begin_info_key_t {
guint32 hashKey;
guint32 tid;
guint32 pc_hash;
};
struct tcaphash_cont_info_key_t {
guint32 hashKey;
guint32 src_tid;
guint32 dst_tid;
guint32 opc_hash;
guint32 dpc_hash;
};
struct tcaphash_end_info_key_t {
guint32 hashKey;
guint32 tid;
guint32 opc_hash;
guint32 dpc_hash;
};
struct tcaphash_ansi_info_key_t {
guint32 hashKey;
guint32 tid;
guint32 opc_hash;
guint32 dpc_hash;
};
/** List of infos to store for the analyse */
struct tcapsrt_info_t {
guint32 tcap_session_id;
guint32 src_tid;
guint32 dst_tid;
guint8 ope;
};
/**
* Initialize the Message Info used by the main dissector
* Data are linked to a TCAP transaction
*/
struct tcapsrt_info_t * tcapsrt_razinfo(void);
void tcapsrt_close(struct tcaphash_context_t * p_tcaphash_context,
packet_info * pinfo _U_);
/**
* Service Response Time analyze
* Called just after dissector call
* Associate a TCAP context to a tcap session and display session related infomations
* like the first frame, the last, the session duration,
* and a uniq session identifier for the filtering
*
* For ETSI tcap, the TCAP context can be reached through three keys
* - a key (BEGIN) identifying the session according to the tcap source identifier
* - a key (CONT) identifying the established session (src_id and dst_id)
* - a key (END) identifying the session according to the tcap destination identifier
*
* For ANSI tcap, the TCAP context is reached through a uniq key
* - a key (ANSI) identifying the session according to the tcap identifier
*/
struct tcaphash_context_t * tcapsrt_call_matching(tvbuff_t *tvb,
packet_info * pinfo _U_,
proto_tree *tree,
struct tcapsrt_info_t * p_tcap_info);
WS_DLL_PUBLIC gboolean gtcap_StatSRT;
extern gint tcap_standard;
extern const value_string tcap_component_type_str[];
void proto_reg_handoff_tcap(void);
void proto_register_tcap(void);
extern dissector_handle_t get_itu_tcap_subdissector(guint32 ssn);
dissector_handle_t get_ansi_tcap_subdissector(guint32 ssn);
extern void add_ansi_tcap_subdissector(guint32 ssn, dissector_handle_t dissector);
WS_DLL_PUBLIC void add_itu_tcap_subdissector(guint32 ssn, dissector_handle_t dissector);
extern void delete_ansi_tcap_subdissector(guint32 ssn, dissector_handle_t dissector);
WS_DLL_PUBLIC void delete_itu_tcap_subdissector(guint32 ssn, dissector_handle_t dissector);
extern void call_tcap_dissector(dissector_handle_t, tvbuff_t*, packet_info*, proto_tree*);
#include "packet-tcap-exp.h"
#endif /* PACKET_tcap_H */ |
ASN.1 | wireshark/epan/dissectors/asn1/tcap/TC-Notation-Extensions.asn | -- Module TC-Notation-Extensions (Q.775:06/1997)
TC-Notation-Extensions {itu-t recommendation q 775 modules(2)
notation-extension(4) version1(1)} DEFINITIONS ::=
BEGIN
IMPORTS
TCMessage{}
FROM TCAPMessages {itu-t recommendation q 773 modules(2) messages(1)
version3(3)}
Bind{}, Unbind{}
FROM Remote-Operations-Generic-ROS-PDUs {joint-iso-itu-t
remote-operations(4) generic-ROS-PDUs(6) version1(0)}
AllOperations{}, ConsumerPerforms{}, SupplierPerforms{}, combine{}
FROM Remote-Operations-Useful-Definitions {joint-iso-itu-t
remote-operations(4) useful-definitions(7) version1(0)}
CONTRACT, OPERATION-PACKAGE
FROM Remote-Operations-Information-Objects {joint-iso-itu-t
remote-operations(4) informationObjects(5) version1(0)}
UniDialoguePDU, uniDialogue-as-id
FROM UnidialoguePDUs {itu-t recommendation q 773 modules(2)
unidialoguePDUs(3) version1(1)}
DialoguePDU, dialogue-as-id
FROM DialoguePDUs {itu-t recommendation q 773 modules(2) dialoguePDUs(2)
version1(1)};
APPLICATION-CONTEXT ::= CLASS {
&associationContract CONTRACT,
&dialogueMode DialogueMode,
&termination Termination OPTIONAL,
&componentGrouping BOOLEAN DEFAULT TRUE,
&dialogueAndComponentGrouping BOOLEAN DEFAULT TRUE,
&AdditionalASEs OBJECT IDENTIFIER OPTIONAL,
&AbstractSyntaxes ABSTRACT-SYNTAX,
&applicationContextName OBJECT IDENTIFIER UNIQUE
}
WITH SYNTAX {
CONTRACT &associationContract
DIALOGUE MODE &dialogueMode
[TERMINATION &termination]
[COMPONENT GROUPING ALLOWED &componentGrouping]
[DIALOGUE WITH COMPONENTS ALLOWED &dialogueAndComponentGrouping]
[ADDITIONAL ASES &AdditionalASEs]
ABSTRACT SYNTAXES &AbstractSyntaxes
APPLICATION CONTEXT NAME &applicationContextName
}
DialogueMode ::= ENUMERATED {structured(1), unstructured(2)}
Termination ::= ENUMERATED {basic(1), prearranged(2)}
dialogue-abstract-syntax ABSTRACT-SYNTAX ::= {
DialoguePDU
IDENTIFIED BY dialogue-as-id
}
uniDialogue-abstract-syntax ABSTRACT-SYNTAX ::= {
UniDialoguePDU
IDENTIFIED BY uniDialogue-as-id
}
TCSingleAS{OPERATION-PACKAGE:package} ::=
TCMessage{{AllOperations {package}}, {AllOperations {package}}}
TCConsumerAS{OPERATION-PACKAGE:package} ::=
TCMessage{{ConsumerPerforms {package}}, {ConsumerPerforms {package}}}
TCSupplierAS{OPERATION-PACKAGE:package} ::=
TCMessage{{SupplierPerforms {package}}, {SupplierPerforms {package}}}
AllPackagesAS{APPLICATION-CONTEXT:ac} ::=
TCSingleAS
{combine{{ac.&associationContract.&OperationsOf |
ac.&associationContract.&InitiatorConsumerOf |
ac.&associationContract.&InitiatorSupplierOf},
{...}, --was illegaly empty, needs to be changed
{ -- Information Object of class OPERATION-PACKAGE to be defined --}}}
ConnectionAS{APPLICATION-CONTEXT:ac} ::= CHOICE {
bind Bind{ac.&associationContract.&connection.&bind},
unbind Unbind{ac.&associationContract.&connection.&unbind}
}
END
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
ASN.1 | wireshark/epan/dissectors/asn1/tcap/tcap.asn | TCAPMessages {itu-t recommendation q 773 modules(2) messages(1) version3(3)}
DEFINITIONS ::=
BEGIN
--EXPORTS OPERATION, ERROR, Component, InvokeId Type;
-- WS stuff
ExternalPDU ::= [UNIVERSAL 8] IMPLICIT SEQUENCE
{
oid OBJECT IDENTIFIER,
dialog [0] IMPLICIT Dialog1
}
Dialog1 ::= OCTET STRING
-- End WS
-- Transaction Portion fields
TCMessage ::= CHOICE {
unidirectional [APPLICATION 1] IMPLICIT Unidirectional,
begin [APPLICATION 2] IMPLICIT Begin,
end [APPLICATION 4] IMPLICIT End,
continue [APPLICATION 5] IMPLICIT Continue,
abort [APPLICATION 7] IMPLICIT Abort
}
Unidirectional ::= SEQUENCE{
dialoguePortion DialoguePortion OPTIONAL,
components ComponentPortion
}
Begin ::= SEQUENCE{
otid OrigTransactionID,
dialoguePortion DialoguePortion OPTIONAL,
components ComponentPortion OPTIONAL
}
End ::= SEQUENCE{
dtid DestTransactionID,
dialoguePortion DialoguePortion OPTIONAL,
components ComponentPortion OPTIONAL
}
Continue ::= SEQUENCE {
otid OrigTransactionID,
dtid DestTransactionID,
dialoguePortion DialoguePortion OPTIONAL,
components ComponentPortion OPTIONAL
}
Abort ::= SEQUENCE{
dtid DestTransactionID,
reason Reason OPTIONAL
}
Reason ::= CHOICE{
p-abortCause P-AbortCause,
u-abortCause DialoguePortion
}
-- NOTE - When the Abort Message is generated by the Transaction sublayer, a p-Abort Cause may be
-- present. The u-abortCause may be generated by the component sublayer in which case it is an ABRT
-- APDU, or by the TC-User in which case it could be either an ABRT APDU or data in some user-defined
-- abstract syntax.
--DialoguePortion ::= [APPLICATION 11] EXPLICIT EXTERNAL
-- WS adaptation
DialoguePortion ::= [APPLICATION 11] IMPLICIT DialogueOC
DialogueOC ::= OCTET STRING
-- The dialogue portion carries the dialogue control PDUs as value of the external data type.
-- The direct reference should be set to { ccitt recommendation q 773 as (1) dialogue-as (1) version (1) }
-- if structured dialogue is used and to { ccitt recommendation q 773 as (1) unidialogue-as (2) version (1) }
-- if unstructured dialogue is used or any user defined abstract syntax name when only user information
-- is carried (e.g. when user information is sent in a 1988 Abort message).
OrigTransactionID ::= [APPLICATION 8] IMPLICIT OCTET STRING (SIZE (1..4) )
DestTransactionID ::=[APPLICATION 9] IMPLICIT OCTET STRING (SIZE (1..4) )
P-AbortCause ::= [APPLICATION 10] IMPLICIT INTEGER {
unrecognizedMessageType (0),
unrecognizedTransactionID (1),
badlyFormattedTransactionPortion (2),
incorrectTransactionPortion (3),
resourceLimitation (4)}(0..127)
-- COMPONENT PORTION. The last field in the transaction portion of the TCAP message is the Component Portion.
-- The Component Portion may be absent.
ComponentPortion ::= [APPLICATION 12] IMPLICIT SEQUENCE SIZE (1..MAX) OF Component
-- Component Portion fields
-- Recommendation X.880 defines four Application Protocol Data Units (APDUs) for invoking
-- operations, returning results or error, and for the rejection of invalid PDUs.
-- TCAP adds returnResultNotLast to allow for the segmentation of a result.
Component ::= CHOICE {
invoke [1] IMPLICIT Invoke,
returnResultLast [2] IMPLICIT ReturnResult,
returnError [3] IMPLICIT ReturnError,
reject [4] IMPLICIT Reject,
returnResultNotLast [7] IMPLICIT ReturnResult
}
-- The Components are sequences of data elements.
Invoke ::= SEQUENCE {
invokeID InvokeIdType,
linkedID [0] IMPLICIT InvokeIdType OPTIONAL,
opCode OPERATION,
parameter Parameter OPTIONAL }
Parameter ::= ANY
-- ANY is filled by the single ASN.1 data type following the keyword PARAMETER or the keyword ARGUMENT
-- in the type definition of a particular operation.
ReturnResult ::= SEQUENCE {
invokeID InvokeIdType,
resultretres SEQUENCE {
opCode OPERATION,
parameter Parameter OPTIONAL
} OPTIONAL
}
-- ANY is filled by the single ASN.1 data type following the keyword RESULT in the type definition
-- of a particular operation.
ReturnError ::= SEQUENCE {
invokeID InvokeIdType,
errorCode ErrorCode,
parameter Parameter OPTIONAL }
-- ANY is filled by the single ASN.1 data type following the keyword PARAMETER in the type definition
-- of a particular error.
Reject ::= SEQUENCE {
invokeIDRej CHOICE {
derivable InvokeIdType,
not-derivable NULL },
problem CHOICE {
generalProblem [0] IMPLICIT GeneralProblem,
invokeProblem [1] IMPLICIT InvokeProblem,
returnResultProblem [2] IMPLICIT ReturnResultProblem,
returnErrorProblem [3] IMPLICIT ReturnErrorProblem } }
InvokeIdType ::= INTEGER (-128..127)
OPERATION ::= CHOICE {
localValue INTEGER,
globalValue OBJECT IDENTIFIER }
ERROR ::= CHOICE {
localValue INTEGER,
globalValue OBJECT IDENTIFIER }
-- OPERATIONS
-- Operations are specified with the OPERATION MACRO.
-- When an operation is specified, the valid parameter set, results, and errors for that operation are indicated.
-- Default values and optional parameters are permitted.
--OPERATION MACRO ::=
--BEGIN
-- TYPE NOTATION ::= Parameter Result Errors LinkedOperations
-- VALUE NOTATION ::= value (VALUE CHOICE {
-- localValue INTEGER,
-- globalValue OBJECT IDENTIFIER } )
-- Parameter ::= ArgKeyword NamedType | empty
-- ArgKeyword ::= "ARGUMENT" | "PARAMETER"
-- Result ::= "RESULT" ResultType | empty
-- Errors ::= "ERRORS" "{"ErrorNames"}" | empty
-- LinkedOperations ::= "LINKED" "{"LinkedOperationNames"}" | empty
-- ResultType ::= NamedType | empty
-- ErrorNames ::= ErrorList | empty
-- ErrorList ::= Error | ErrorList "," Error
-- Error ::= value (ERROR)
-- shall reference an error value
--| type shall reference an error type
-- if no error value is specified
-- LinkedOperationNames ::= OperationList | empty
-- OperationList ::= Operation | OperationList "," Operation
-- Operation ::= value (OPERATION)
-- shall reference an operation value
-- | type shall reference an operation type if
-- no operation value is specified
-- NamedType ::= identifier type | type
--END
-- ERRORS
-- Errors are specified with the ERROR MACRO.
-- When an error is specified, the valid parameters for that error are indicated.
-- Default values and optional parameters are permitted.
--ERROR MACRO ::=
--
--BEGIN
-- TYPE NOTATION ::= Parameter
-- VALUE NOTATION ::= value (VALUE CHOICE {
-- localValue INTEGER,
-- globalValue OBJECT IDENTIFIER } )
-- Parameter ::= "PARAMETER" NamedType | empty
-- NamedType ::= identifier type | type
--END
-- PROBLEMS
GeneralProblem ::= INTEGER { unrecognizedComponent (0),
mistypedComponent (1),
badlyStructuredComponent (2) }
InvokeProblem ::= INTEGER { duplicateInvokeID (0),
unrecognizedOperation (1),
mistypedParameter (2),
resourceLimitation (3),
initiatingRelease (4),
unrecognizedLinkedID (5),
linkedResponseUnexpected (6),
unexpectedLinkedOperation (7) }
ReturnResultProblem ::= INTEGER { unrecognizedInvokeID (0),
returnResultUnexpected (1),
mistypedParameter (2) }
ReturnErrorProblem ::= INTEGER { unrecognizedInvokeID (0),
returnErrorUnexpected (1),
unrecognizedError (2),
unexpectedError (3),
mistypedParameter (4) }
ErrorCode ::= CHOICE
{
nationaler [PRIVATE 19] IMPLICIT INTEGER (-32768..32767),
privateer [PRIVATE 20] IMPLICIT INTEGER
}
END -- end of the TCAP Package Module |
Configuration | wireshark/epan/dissectors/asn1/tcap/tcap.cnf | # tcap.cnf
# tcap conformation file
#.OMIT_ASSIGNMENT
RLRQ-apdu
RLRE-apdu
Release-request-reason
Release-response-reason
ERROR
#.END
#.MODULE_IMPORT
#.EXPORTS
DialoguePDU
UniDialoguePDU
#.REGISTER
DialoguePDU B "0.0.17.773.1.1.1" "id-as-dialogue"
UniDialoguePDU B "0.0.17.773.1.2.1" "id-as-uniDialogue"
#.PDU
#.NO_EMIT ONLY_VALS
TCMessage
#.NO_EMIT
#.TYPE_RENAME
AUDT-apdu/_untag/protocol-version AUDT_protocol_version
AARQ-apdu/_untag/protocol-version AARQ_protocol_version
AARE-apdu/_untag/protocol-version AARE_protocol_version
AARE-apdu/_untag/application-context-name AARE_application_context_name
AARQ-apdu/_untag/application-context-name AARQ_application_context_name
AUDT-apdu/_untag/application-context-name AUDT_application_context_name
AARQ-apdu/_untag/user-information AARQ_user_information
AARE-apdu/_untag/user-information AARE_user_information
ABRT-apdu/_untag/user-information ABRT_user_information
AUDT-apdu/_untag/user-information AUDT_user_information
#.FIELD_RENAME
AUDT-apdu/_untag/protocol-version audt_protocol_version
AARQ-apdu/_untag/protocol-version aarq_protocol_version
AARE-apdu/_untag/protocol-version aare_protocol_version
AARQ-apdu/_untag/application-context-name aarq_application_context_name
AARE-apdu/_untag/application-context-name aare_application_context_name
AUDT-apdu/_untag/application-context-name audt_application_context_name
AARQ-apdu/_untag/user-information aarq_user_information
AARE-apdu/_untag/user-information aare_user_information
AUDT-apdu/_untag/user-information audt_user_information
ABRT-apdu/_untag/user-information abrt_user_information
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY DialogueOC
offset = dissect_tcap_ExternalPDU(FALSE /*implicit_tag*/, tvb, offset, actx, tree, -1);
#----------------------------------------------------------------------------------------
#.FN_BODY ExternalPDU
%(DEFAULT_BODY)s
#----------------------------------------------------------------------------------------
#.FN_BODY Dialog1
offset = dissect_tcap_DialoguePDU(TRUE, tvb, offset, actx, tree, -1);
#----------------------------------------------------------------------------------------
#.FN_BODY Parameter
offset = dissect_tcap_param(actx,tree,tvb,offset);
#----------------------------------------------------------------------------------------
#.FN_BODY Component
tvbuff_t *next_tvb;
gint8 ber_class;
bool pc;
gint tag;
guint32 len, comp_offset;
volatile guint32 _offset;
bool ind_field;
comp_offset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &ber_class, &pc, &tag);
comp_offset = dissect_ber_length(actx->pinfo, tree, tvb, comp_offset, &len, &ind_field);
/* we can believe the length now */
next_tvb = tvb_new_subset_length(tvb, offset, len+comp_offset-offset);
if (!next_tvb)
return comp_offset;
if(dissect_tcap_ITU_ComponentPDU(implicit_tag, next_tvb, 0, actx, tcap_top_tree, hf_index)){
return comp_offset;
}
_offset = offset;
TRY {
_offset = dissect_ber_choice(actx, tree, tvb, _offset,
Component_choice, hf_index, ett_tcap_Component,
NULL);
}
CATCH_NONFATAL_ERRORS {
show_exception(tvb, actx->pinfo, tree, EXCEPT_CODE, GET_MESSAGE);
}
ENDTRY;
offset = _offset;
/* return comp_offset+len; or return offset (will be automatically added) */
#----------------------------------------------------------------------------------------
#.FN_BODY AUDT-apdu/_untag/application-context-name FN_VARIANT = _str VAL_PTR = &cur_oid
struct tcap_private_t *p_tcap_private = (struct tcap_private_t*)actx->value_ptr;
%(DEFAULT_BODY)s
if (p_tcap_private) {
p_tcap_private->oid= (const void*) cur_oid;
p_tcap_private->acv=TRUE;
}
#----------------------------------------------------------------------------------------
#.FN_BODY AARQ-apdu/_untag/application-context-name FN_VARIANT = _str VAL_PTR = &cur_oid
struct tcap_private_t *p_tcap_private = (struct tcap_private_t*)actx->value_ptr;
%(DEFAULT_BODY)s
if (p_tcap_private) {
p_tcap_private->oid= (const void*) cur_oid;
p_tcap_private->acv=TRUE;
}
#----------------------------------------------------------------------------------------
#.FN_BODY AARE-apdu/_untag/application-context-name FN_VARIANT = _str VAL_PTR = &cur_oid
struct tcap_private_t *p_tcap_private = (struct tcap_private_t*)actx->value_ptr;
%(DEFAULT_BODY)s
if (p_tcap_private) {
p_tcap_private->oid= (const void*) cur_oid;
p_tcap_private->acv=TRUE;
}
#----------------------------------------------------------------------------------------
#.FN_BODY OrigTransactionID
tvbuff_t *parameter_tvb;
guint8 len, i;
proto_tree *subtree;
int saved_offset;
struct tcap_private_t *p_tcap_private = (struct tcap_private_t*)actx->value_ptr;
hf_index = hf_tcap_tid;
saved_offset = offset;
%(DEFAULT_BODY)s
proto_item_set_generated(actx->created_item);
offset = saved_offset;
subtree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_otid, NULL, "Source Transaction ID");
offset = dissect_ber_octet_string(implicit_tag, actx, subtree, tvb, offset, hf_tcap_otid,
¶meter_tvb);
if (parameter_tvb) {
len = tvb_reported_length_remaining(parameter_tvb, 0);
switch(len) {
case 1:
gp_tcapsrt_info->src_tid=tvb_get_guint8(parameter_tvb, 0);
break;
case 2:
gp_tcapsrt_info->src_tid=tvb_get_ntohs(parameter_tvb, 0);
break;
case 3:
gp_tcapsrt_info->src_tid=tvb_get_ntoh24(parameter_tvb, 0);
break;
case 4:
gp_tcapsrt_info->src_tid=tvb_get_ntohl(parameter_tvb, 0);
break;
default:
gp_tcapsrt_info->src_tid=0;
break;
}
if (p_tcap_private)
p_tcap_private->src_tid = gp_tcapsrt_info->src_tid;
if (len) {
col_append_str(actx->pinfo->cinfo, COL_INFO, "otid(");
for (i = 0; i < len; i++) {
col_append_fstr(actx->pinfo->cinfo, COL_INFO, "%%02x",tvb_get_guint8(parameter_tvb,i));
}
col_append_str(actx->pinfo->cinfo, COL_INFO, ") ");
}
}
#----------------------------------------------------------------------------------------
#.FN_BODY DestTransactionID
tvbuff_t *parameter_tvb;
guint8 len , i;
proto_tree *subtree;
int saved_offset;
struct tcap_private_t *p_tcap_private = (struct tcap_private_t*)actx->value_ptr;
hf_index = hf_tcap_tid;
saved_offset = offset;
%(DEFAULT_BODY)s
proto_item_set_generated(actx->created_item);
offset = saved_offset;
subtree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_dtid, NULL, "Destination Transaction ID");
offset = dissect_ber_octet_string(implicit_tag, actx, subtree, tvb, offset, hf_tcap_dtid,
¶meter_tvb);
if (parameter_tvb) {
len = tvb_reported_length_remaining(parameter_tvb, 0);
switch(len) {
case 1:
gp_tcapsrt_info->dst_tid=tvb_get_guint8(parameter_tvb, 0);
break;
case 2:
gp_tcapsrt_info->dst_tid=tvb_get_ntohs(parameter_tvb, 0);
break;
case 3:
gp_tcapsrt_info->dst_tid=tvb_get_ntoh24(parameter_tvb, 0);
break;
case 4:
gp_tcapsrt_info->dst_tid=tvb_get_ntohl(parameter_tvb, 0);
break;
default:
gp_tcapsrt_info->dst_tid=0;
break;
}
if (p_tcap_private)
p_tcap_private->dst_tid = gp_tcapsrt_info->dst_tid;
if (len) {
col_append_str(actx->pinfo->cinfo, COL_INFO, "dtid(");
for(i = 0; i < len; i++) {
col_append_fstr(actx->pinfo->cinfo, COL_INFO, "%%02x",tvb_get_guint8(parameter_tvb,i));
}
col_append_str(actx->pinfo->cinfo, COL_INFO, ") ");
}
}
#.FN_HDR Begin
gp_tcapsrt_info->ope=TC_BEGIN;
/* Do not change col_add_str() to col_append_str() here: we _want_ this call
* to overwrite whatever's currently in the INFO column (e.g., "UDT" from
* the SCCP dissector).
*
* If there's something there that should not be overwritten, whoever
* put that info there should call col_set_fence() to protect it.
*/
col_set_str(actx->pinfo->cinfo, COL_INFO, "Begin ");
#.END
#.FN_HDR End
gp_tcapsrt_info->ope=TC_END;
col_set_str(actx->pinfo->cinfo, COL_INFO, "End ");
#.END
#.FN_HDR Continue
gp_tcapsrt_info->ope=TC_CONT;
col_set_str(actx->pinfo->cinfo, COL_INFO, "Continue ");
#.END
#.FN_HDR Abort
gp_tcapsrt_info->ope=TC_ABORT;
col_set_str(actx->pinfo->cinfo, COL_INFO, "Abort ");
#.END
#
# Editor modelines - https://www.wireshark.org/tools/modelines.html
#
# Local variables:
# c-basic-offset: 2
# tab-width: 8
# indent-tabs-mode: nil
# End:
#
# vi: set shiftwidth=2 tabstop=8 expandtab:
# :indentSize=2:tabSize=8:noTabs=true:
# |
ASN.1 | wireshark/epan/dissectors/asn1/tcap/TCAPMessages.asn | -- Generated by Asnp, the pretty-printer of France Telecom R&D (http://asn1.elibel.tm.fr/asnp/)
TCAPMessages {itu-t recommendation q 773 modules(2) messages(1) version3(3)}
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- EXPORTS everything
-- Transaction Portion fields.
IMPORTS
ROS{}, InvokeId
FROM Remote-Operations-Generic-ROS-PDUs {joint-iso-itu-t
remote-operations(4) generic-ROS-PDUs(6) version1(0)}
OPERATION
FROM Remote-Operations-Information-Objects {joint-iso-itu-t
remote-operations(4) informationObjects(5) version1(0)};
TCMessage{OPERATION:Invokable, OPERATION:Returnable} ::= CHOICE {
unidirectional [APPLICATION 1] Unidirectional{{Invokable}, {Returnable}},
begin [APPLICATION 2] Begin{{Invokable}, {Returnable}},
end [APPLICATION 4] End{{Invokable}, {Returnable}},
continue [APPLICATION 5] Continue{{Invokable}, {Returnable}},
abort [APPLICATION 7] Abort
}
Unidirectional{OPERATION:Invokable, OPERATION:Returnable} ::= SEQUENCE {
dialoguePortion DialoguePortion OPTIONAL,
components ComponentPortion{{Invokable}, {Returnable}}
}
Begin{OPERATION:Invokable, OPERATION:Returnable} ::= SEQUENCE {
otid OrigTransactionID,
dialoguePortion DialoguePortion OPTIONAL,
components ComponentPortion{{Invokable}, {Returnable}} OPTIONAL
}
End{OPERATION:Invokable, OPERATION:Returnable} ::= SEQUENCE {
dtid DestTransactionID,
dialoguePortion DialoguePortion OPTIONAL,
components ComponentPortion{{Invokable}, {Returnable}} OPTIONAL
}
Continue{OPERATION:Invokable, OPERATION:Returnable} ::= SEQUENCE {
otid OrigTransactionID,
dtid DestTransactionID,
dialoguePortion DialoguePortion OPTIONAL,
components ComponentPortion{{Invokable}, {Returnable}} OPTIONAL
}
Abort ::= SEQUENCE {
dtid DestTransactionID,
reason CHOICE {p-abortCause P-AbortCause,
u-abortCause DialoguePortion} OPTIONAL
}
-- NOTE - When the Abort Message is generated by the Transaction sublayer, a p-Abort Cause may be
-- present. The u-abortCause may be generated by the component sublayer in which case it is an ABRT
-- APDU, or by the TC-User in which case it could be either an ABRT APDU or data in some user-defined
-- abstract syntax.
DialoguePortion ::= [APPLICATION 11] EXPLICIT EXTERNAL
-- The dialogue portion carries the dialogue control PDUs as value of the external data type. The direct
-- reference should be set to {itu-t recommendation q 773 as(1) dialogue-as(1) version1(1)} if structured
-- dialogue is used and to {itu-t recommendation q 773 as(1) unidialogue-as(2) version1(1)} if unstructured
-- dialogue is used.
OrigTransactionID ::= [APPLICATION 8] OCTET STRING(SIZE (1..4))
DestTransactionID ::= [APPLICATION 9] OCTET STRING(SIZE (1..4))
P-AbortCause ::= [APPLICATION 10] INTEGER {
unrecognizedMessageType(0), unrecognizedTransactionID(1),
badlyFormattedTransactionPortion(2), incorrectTransactionPortion(3),
resourceLimitation(4)}(0..127)
-- COMPONENT PORTION. The last field in the transaction portion of the TCAP message is the
-- component portion. The component portion may be absent.
ComponentPortion{OPERATION:Invokable, OPERATION:Returnable} ::=
[APPLICATION 12]
SEQUENCE SIZE (1..MAX) OF Component{{Invokable}, {Returnable}}
-- Component Portion fields
-- Recommendation X.880 defines four Application Protocol Data Units (APDUs) for invoking
-- operations, returning results or error, and for the rejection of invalid PDUs.
-- TCAP adds returnResultNotLast to allow for the segmentation of a result.
Component{OPERATION:Invokable, OPERATION:Returnable} ::= CHOICE {
basicROS ROS{{TCInvokeIdSet}, {Invokable}, {Returnable}},
returnResultNotLast
[7] returnResult < ROS{{TCInvokeIdSet}, {Invokable}, {Returnable}}
}
TCInvokeIdSet ::= InvokeId(WITH COMPONENTS {
present (-128..127)
})
END -- TCAPMessages
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
ASN.1 | wireshark/epan/dissectors/asn1/tcap/UnidialoguePDUs.asn | -- Generated by Asnp, the pretty-printer of France Telecom R&D (http://asn1.elibel.tm.fr/asnp/)
UnidialoguePDUs {itu-t recommendation q 773 modules(2) unidialoguePDUs(3)
version1(1)} DEFINITIONS ::=
BEGIN
EXPORTS uniDialogue-as-id, UniDialoguePDU;
-- Abstract syntax name for unstructured dialogue APDUs
uniDialogue-as-id OBJECT IDENTIFIER ::=
{itu-t recommendation q 773 as(1) unidialogue-as(2) version1(1)}
UniDialoguePDU ::= CHOICE {unidialoguePDU AUDT-apdu
}
AUDT-apdu ::= [APPLICATION 0] IMPLICIT SEQUENCE {
protocol-version
[0] IMPLICIT BIT STRING {version1(0)} DEFAULT {version1},
application-context-name [1] OBJECT IDENTIFIER,
user-information [30] IMPLICIT SEQUENCE OF EXTERNAL OPTIONAL
}
END -- UNIDialoguePDU
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
Text | wireshark/epan/dissectors/asn1/tcg-cp-oids/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME tcg-cp-oids )
set( PROTO_OPT )
set( EXPORT_FILES
${PROTOCOL_NAME}-exp.cnf
)
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
tcg-cp-oids.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
set( EXTRA_CNF
)
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/tcg-cp-oids/packet-tcg-cp-oids-template.c | /* packet-tcg-cp-oids.c
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/oids.h>
#include <epan/asn1.h>
#include "packet-tcg-cp-oids.h"
#include "packet-ber.h"
#include "packet-pkix1explicit.h"
#include "packet-pkix1implicit.h"
#define PNAME "TCG_CP_OIDS"
#define PSNAME "TCG_CP_OIDS"
#define PFNAME "tcg_cp_oids"
void proto_register_tcg_cp_oids(void);
void proto_reg_handoff_tcg_cp_oids(void);
/* Initialize the protocol and registered fields */
static int proto_tcg_cp_oids = -1;
#include "packet-tcg-cp-oids-hf.c"
static int hf_tcg_cp_oids_UTF8String_PDU = -1;
/* Initialize the subtree pointers */
#include "packet-tcg-cp-oids-ett.c"
#include "packet-tcg-cp-oids-fn.c"
/*--- proto_register_tcg_cp_oids ----------------------------------------------*/
void proto_register_tcg_cp_oids(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_tcg_cp_oids_UTF8String_PDU,
{ "UTF8String", "tcg-cp-oids.UTF8String",
FT_STRING, BASE_NONE, NULL, 0,
NULL, HFILL }},
#include "packet-tcg-cp-oids-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
#include "packet-tcg-cp-oids-ettarr.c"
};
/* Register protocol */
proto_tcg_cp_oids = proto_register_protocol(PNAME, PSNAME, PFNAME);
/* Register fields and subtrees */
proto_register_field_array(proto_tcg_cp_oids, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
}
/* to be able to register OIDs for UTF8String */
static int
dissect_tcg_cp_oids_UTF8String_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t actx;
asn1_ctx_init(&actx, ASN1_ENC_BER, TRUE, pinfo);
offset = dissect_ber_restricted_string(FALSE, BER_UNI_TAG_UTF8String, &actx, tree, tvb, offset, hf_tcg_cp_oids_UTF8String_PDU, NULL);
return offset;
}
/*--- proto_reg_handoff_tcg_cp_oids -------------------------------------------*/
void proto_reg_handoff_tcg_cp_oids(void) {
#include "packet-tcg-cp-oids-dis-tab.c"
oid_add_from_string("tcg","2.23.133");
oid_add_from_string("tcg-attribute","2.23.133.2");
oid_add_from_string("tcg-protocol","2.23.133.3");
oid_add_from_string("tcg-algorithm","2.23.133.4");
oid_add_from_string("tcg-ce","2.23.133.6");
oid_add_from_string("tcg-kp","2.23.133.8");
/* TCG Spec Version OIDs */
oid_add_from_string("tcg-sv-tpm12","2.23.133.1.1");
oid_add_from_string("tcg-sv-tpm20","2.23.133.1.2");
/* TCG Attribute OIDs */
oid_add_from_string("tcg-at-securityQualities","2.23.133.2.10");
/* TCG Algorithm OIDs */
oid_add_from_string("tcg-algorithm-null","2.23.133.4.1");
/* TCG Key Purposes OIDs */
oid_add_from_string("tcg-kp-EKCertificate","2.23.133.8.1");
oid_add_from_string("tcg-kp-PlatformCertificate","2.23.133.8.2");
oid_add_from_string("tcg-kp-AIKCertificate","2.23.133.8.3");
/* TCG Protocol OIDs */
oid_add_from_string("tcg-prt-tpmIdProtocol","2.23.133.3.1");
register_ber_oid_dissector("2.23.133.2.1", dissect_tcg_cp_oids_UTF8String_PDU, proto_tcg_cp_oids, "tcg-at-tpmManufacturer");
register_ber_oid_dissector("2.23.133.2.2", dissect_tcg_cp_oids_UTF8String_PDU, proto_tcg_cp_oids, "tcg-at-tpmModel");
register_ber_oid_dissector("2.23.133.2.3", dissect_tcg_cp_oids_UTF8String_PDU, proto_tcg_cp_oids, "tcg-at-tpmVersion");
register_ber_oid_dissector("2.23.133.2.4", dissect_tcg_cp_oids_UTF8String_PDU, proto_tcg_cp_oids, "tcg-at-platformManufacturer");
register_ber_oid_dissector("2.23.133.2.5", dissect_tcg_cp_oids_UTF8String_PDU, proto_tcg_cp_oids, "tcg-at-platformModel");
register_ber_oid_dissector("2.23.133.2.6", dissect_tcg_cp_oids_UTF8String_PDU, proto_tcg_cp_oids, "tcg-at-platformVersion");
register_ber_oid_dissector("2.23.133.2.15", dissect_tcg_cp_oids_UTF8String_PDU, proto_tcg_cp_oids, "tcg-at-tpmIdLabel");
} |
C/C++ | wireshark/epan/dissectors/asn1/tcg-cp-oids/packet-tcg-cp-oids-template.h | /* packet-tcg-cp-oids.h
* Routines for TCG Certificate Profile OIDs
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_TCG_CP_OIDS_H
#define PACKET_TCG_CP_OIDS_H
#include "packet-tcg-cp-oids-exp.h"
#endif /* PACKET_TCG_CP_OIDS_H */ |
ASN.1 | wireshark/epan/dissectors/asn1/tcg-cp-oids/tcg-cp-oids.asn | --
-- ASN.1 extracted from
-- TCG EK Credential Profile
-- For TPM Family 2.0; Level 0
-- Specification Version 2.0
-- Revision 14
-- 4 November 2014
-- https://www.trustedcomputinggroup.org/wp-content/uploads/Credential_Profile_EK_V2.0_R14_published.pdf
-- on 2018-10-02, and heavily polished + bug fixed for asn2wrs
TCG DEFINITIONS::=
BEGIN
IMPORTS
-- Additional IMPORT for Wireshark
AlgorithmIdentifier
FROM PKIX1Explicit88 {iso(1) identified-organization(3)
dod(6) internet(1) security(5) mechanisms(5) pkix(7)
id-mod(0) id-pkix1-explicit-88(1)};
-- TCG specific OIDs
-- tcg OBJECT IDENTIFIER ::= { joint-iso-itu-t(2) international-organizations(23) tcg(133) }
-- tcg-tcpaSpecVersion OBJECT IDENTIFIER ::= {tcg 1}
-- tcg-attribute OBJECT IDENTIFIER ::= {tcg 2}
-- tcg-protocol OBJECT IDENTIFIER ::= {tcg 3}
-- tcg-algorithm OBJECT IDENTIFIER ::= {tcg 4}
-- tcg-ce OBJECT IDENTIFIER ::= {tcg 6}
-- tcg-kp OBJECT IDENTIFIER ::= {tcg 8}
-- TCG Spec Version OIDs
-- tcg-sv-tpm12 OBJECT IDENTIFIER ::= { tcg-tcpaSpecVersion 1}
-- tcg-sv-tpm20 OBJECT IDENTIFIER ::= { tcg-tcpaSpecVersion 2}
-- TCG Attribute OIDs
-- tcg-at-tpmManufacturer OBJECT IDENTIFIER ::= {tcg-attribute 1}
-- tcg-at-tpmModel OBJECT IDENTIFIER ::= {tcg-attribute 2}
-- tcg-at-tpmVersion OBJECT IDENTIFIER ::= {tcg-attribute 3}
-- tcg-at-platformManufacturer OBJECT IDENTIFIER ::= {tcg-attribute 4}
-- tcg-at-platformModel OBJECT IDENTIFIER ::= {tcg-attribute 5}
-- tcg-at-platformVersion OBJECT IDENTIFIER ::= {tcg-attribute 6}
-- tcg-at-securityQualities OBJECT IDENTIFIER ::= {tcg-attribute 10}
-- tcg-at-tpmProtectionProfile OBJECT IDENTIFIER ::= {tcg-attribute 11}
-- tcg-at-tpmSecurityTarget OBJECT IDENTIFIER ::= {tcg-attribute 12}
-- tcg-at-tbbProtectionProfile OBJECT IDENTIFIER ::= {tcg-attribute 13}
-- tcg-at-tbbSecurityTarget OBJECT IDENTIFIER ::= {tcg-attribute 14}
-- tcg-at-tpmIdLabel OBJECT IDENTIFIER ::= {tcg-attribute 15}
-- tcg-at-tpmSpecification OBJECT IDENTIFIER ::= {tcg-attribute 16}
-- tcg-at-tcgPlatformSpecification OBJECT IDENTIFIER ::= {tcg-attribute 17}
-- tcg-at-tpmSecurityAssertions OBJECT IDENTIFIER ::= {tcg-attribute 18}
-- tcg-at-tbbSecurityAssertions OBJECT IDENTIFIER ::= {tcg-attribute 19}
-- TCG Algorithm OIDs
-- tcg-algorithm-null OBJECT IDENTIFIER ::= {tcg-algorithm 1}
-- TCG Key Purposes OIDs
-- tcg-kp-EKCertificate OBJECT IDENTIFIER ::= {tcg-kp 1}
-- tcg-kp-PlatformCertificate OBJECT IDENTIFIER ::= {tcg-kp 2}
-- tcg-kp-AIKCertificate OBJECT IDENTIFIER ::= {tcg-kp 3}
-- TCG Certificate Extensions
-- tcg-ce-relevantCredentials OBJECT IDENTIFIER ::= {tcg-ce 2}
-- tcg-ce-relevantManifests OBJECT IDENTIFIER ::= {tcg-ce 3}
-- tcg-ce-virtualPlatformAttestationService OBJECT IDENTIFIER ::= {tcg-ce 4}
-- tcg-ce-migrationControllerAttestationService OBJECT IDENTIFIER ::= {tcg-ce 5}
-- tcg-ce-migrationControllerRegistrationService OBJECT IDENTIFIER ::= {tcg-ce 6}
-- tcg-ce-virtualPlatformBackupService OBJECT IDENTIFIER ::= {tcg-ce 7}
-- TCG Protocol OIDs
-- tcg-prt-tpmIdProtocol OBJECT IDENTIFIER ::= {tcg-protocol 1}
-- tcg specification attributes for tpm and platform
-- tPMSpecification ATTRIBUTE ::= {
-- WITH SYNTAX TPMSpecification
-- ID tcg-at-tpmSpecification }
TPMSpecification ::= SEQUENCE {
family UTF8String, -- (SIZE (1..STRMAX)),
level INTEGER,
revision INTEGER }
-- tCGPlatformSpecification ATTRIBUTE ::= {
-- WITH SYNTAX TCGPlatformSpecification
-- ID tcg-at-tcgPlatformSpecification }
TCGSpecificationVersion ::= SEQUENCE {
majorVersion INTEGER,
minorVersion INTEGER,
revision INTEGER }
TCGPlatformSpecification ::= SEQUENCE {
version TCGSpecificationVersion,
platformClass OCTET STRING } -- SIZE(4) }
-- tcpa tpm specification attribute (deprecated)
-- tCPASpecVersion ATTRIBUTE ::= {
-- WITH SYNTAX TCPASpecVersion
-- ID tcg-tcpaSpecVersion }
TCPASpecVersion ::= SEQUENCE {
major INTEGER,
minor INTEGER }
-- manufacturer implementation model and version attributes
-- TPMManufacturer ATTRIBUTE ::= {
-- WITH SYNTAX UTF8String (SIZE (1..STRMAX))
-- ID tcg-at-tpmManufacturer }
-- TPMModel ATTRIBUTE ::= {
-- WITH SYNTAX UTF8String (SIZE (1..STRMAX))
-- ID tcg-at-tpmModel }
-- TPMVersion ATTRIBUTE ::= {
-- WITH SYNTAX UTF8String (SIZE (1..STRMAX))
-- ID tcg-at-tpmVersion }
-- PlatformManufacturer ATTRIBUTE ::= {
-- WITH SYNTAX UTF8String (SIZE (1..STRMAX))
-- ID tcg-at-platformManufacturer }
-- PlatformModel ATTRIBUTE ::= {
-- WITH SYNTAX UTF8String (SIZE (1..STRMAX))
-- ID tcg-at-platformModel }
-- PlatformVersion ATTRIBUTE ::= {
-- WITH SYNTAX UTF8String (SIZE (1..STRMAX))
-- ID tcg-at-platformVersion }
-- tpm and platform tbb security assertions
-- TODO: Wireshark dissection of version could be added
Version ::= INTEGER -- { v1(0) }
-- tPMSecurityAssertions ATTRIBUTE ::= {
-- WITH SYNTAX TPMSecurityAssertions
-- ID tcg—at-tpmSecurityAssertions
-- }
TPMSecurityAssertions ::= SEQUENCE {
version Version DEFAULT v1,
fieldUpgradable BOOLEAN DEFAULT FALSE,
ekGenerationType [0] IMPLICIT EKGenerationType OPTIONAL,
ekGenerationLocation [1] IMPLICIT EKGenerationLocation OPTIONAL,
ekCertificateGenerationLocation [2] IMPLICIT
EKCertificateGenerationLocation OPTIONAL,
ccInfo [3] IMPLICIT CommonCriteriaMeasures OPTIONAL,
fipsLevel [4] IMPLICIT FIPSLevel OPTIONAL,
iso9000Certified [5] IMPLICIT BOOLEAN DEFAULT FALSE,
iso9000Uri IA5String OPTIONAL } -- (SIZE (1..URIMAX)) OPTIONAL }
-- tBBSecurityAssertions ATTRIBUTE ::= {
-- WITH SYNTAX TBBSecurityAssertions
-- ID tcg—at-tbbSecurityAssertions }
TBBSecurityAssertions ::= SEQUENCE {
version Version DEFAULT v1,
ccInfo [0] IMPLICIT CommonCriteriaMeasures OPTIONAL,
fipsLevel [1] IMPLICIT FIPSLevel OPTIONAL,
rtmType [2] IMPLICIT MeasurementRootType OPTIONAL,
iso9000Certified BOOLEAN DEFAULT FALSE,
iso9000Uri IA5String OPTIONAL } -- (SIZE (1..URIMAX)) OPTIONAL }
EKGenerationType ::= ENUMERATED {
internal (0),
injected (1),
internalRevocable(2),
injectedRevocable(3) }
EKGenerationLocation ::= ENUMERATED {
tpmManufacturer (0),
platformManufacturer (1),
ekCertSigner (2) }
EKCertificateGenerationLocation ::= ENUMERATED {
tpmManufacturer (0),
platformManufacturer (1),
ekCertSigner (2) }
-- V1.1 of this specification adds hybrid and physical.
-- Hybrid means the measurement root is capable of static AND dynamic
-- Physical means that the root is anchored by a physical TPM
-- Virtual means the TPM is virtualized (possibly running in a VMM)
-- TPMs or RTMs might leverage other lower layer RTMs to virtualize the
-- the capabilities of the platform.
MeasurementRootType ::= ENUMERATED {
static (0),
dynamic (1),
nonHost (2),
hybrid (3),
physical (4),
virtual (5) }
-- common criteria evaluation
CommonCriteriaMeasures ::= SEQUENCE {
version IA5String, -- (SIZE (1..STRMAX)), “2.2” or “3.1”; future syntax defined by CC
assurancelevel EvaluationAssuranceLevel,
evaluationStatus EvaluationStatus,
plus BOOLEAN DEFAULT FALSE,
strengthOfFunction [0] IMPLICIT StrengthOfFunction OPTIONAL,
profileOid [1] IMPLICIT OBJECT IDENTIFIER OPTIONAL,
profileUri [2] IMPLICIT URIReference OPTIONAL,
targetOid [3] IMPLICIT OBJECT IDENTIFIER OPTIONAL,
targetUri [4] IMPLICIT URIReference OPTIONAL }
EvaluationAssuranceLevel ::= ENUMERATED {
levell (1),
level2 (2),
level3 (3),
level4 (4),
level5 (5),
level6 (6),
level7 (7) }
StrengthOfFunction ::= ENUMERATED {
basic (0),
medium (1),
high (2) }
URIReference ::= SEQUENCE {
uniformResourceIdentifier IA5String, -- (SIZE (1..URIMAX)),
hashAlgorithm AlgorithmIdentifier OPTIONAL,
hashValue BIT STRING OPTIONAL }
EvaluationStatus ::= ENUMERATED {
designedToMeet (0),
evaluationInProgress (1),
evaluationCompleted (2) }
-- fips evaluation
FIPSLevel ::= SEQUENCE {
version IA5String, -- (SIZE (1..STRMAX)), “140-1” or “140-2”
level SecurityLevel,
plus BOOLEAN DEFAULT FALSE }
SecurityLevel ::= ENUMERATED {
level1 (1),
level2 (2),
level3 (3),
level4 (4) }
-- aik certificate label from tpm owner
--TPMIdLabel OTHER-NAME ::= {UTF8String IDENTIFIED BY {tcg-at-tpmIdLabel} }
-- the following are deprecated but may be present for compatibility with TCPA
-- TPMProtectionProfile ATTRIBUTE ::= {
-- WITH SYNTAX ProtectionProfile
-- ID tcg-at-tpmProtectionProfile }
-- TPMSecurityTarget ATTRIBUTE ::= {
-- WITH SYNTAX SecurityTarget
-- ID tcg-at-tpmSecurityTarget }
--
-- TBBProtectionProfile ATTRIBUTE ::= {
-- WITH SYNTAX ProtectionProfile
-- ID tcg-at-tbbProtectionProfile }
-- TBBSecurityTarget ATTRIBUTE ::= {
-- WITH SYNTAX SecurityTarget
-- ID tcg-at-tbbSecurityTarget }
ProtectionProfile ::= OBJECT IDENTIFIER
SecurityTarget ::= OBJECT IDENTIFIER
-- V1.1 addition for enabling references to other credentials or
-- XML-based Reference Manifests. These data objects are included
-- in X.509 extensions using the new tcg-ce-[relevantCredentials,
-- relevantManifests] OIDs.
HashAlgAndValue ::= SEQUENCE {
hashAlg AlgorithmIdentifier,
hashValue OCTET STRING }
HashedSubjectInfoURI ::= SEQUENCE {
documentURI IA5String, -- (SIZE (1..URIMAX)),
documentAccessInfo OBJECT IDENTIFIER OPTIONAL,
documentHashInfo HashAlgAndValue OPTIONAL }
-- Use of SubjectInfoURIList is not specified anywhere, therefore commented out for Wireshark in cnf file
SubjectInfoURIList ::=
SEQUENCE -- SIZE (1..REFMAX) -- OF HashedSubjectInfoURI
TCGRelevantCredentials::=
SEQUENCE -- SIZE (1..REFMAX) -- OF HashedSubjectInfoURI
TCGRelevantManifests::=
SEQUENCE -- SIZE (1..REFMAX) -- OF HashedSubjectInfoURI
-- V1.2 addition of virtualization oriented credential extensions.
-- This extension indicates how a remote challenger can contact the (deep) attestation service below the current credential holder in order to attest the layer below.
-- Using this model allows the credential of each virtualization layer to reference the attestation service for the layer below it.
-- A remote challenger could traverse the layer hierarchy using this extension until reaching the physical trusted platform rooted attestation.
-- The following URI is optionally included in a certificate for a virtual machine associated with the tcg-ce-virtualPlatformAttestationService extension OID.
-- These URI are associated with the tcg-ce-[virtualPlatformAttestationService,
-- migrationControllerAttestationService, migrationControllerRegistrationService, virtualPlatformBackupService] OIDs respectively:
VirtualPlatformAttestationServiceURI ::= IA5String -- (SIZE (1..URIMAX)
MigrationControllerAttestationServiceURI ::= IA5String -- (SIZE (1..URIMAX)
MigrationControllerRegistrationServiceURI ::= IA5String -- (SIZE (1..URIMAX)
VirtualPlatformBackupServiceURI ::= SEQUENCE {
restoreAllowed BOOLEAN DEFAULT FALSE,
backupServiceURI IA5String }
END |
Configuration | wireshark/epan/dissectors/asn1/tcg-cp-oids/tcg-cp-oids.cnf | # tcg-cp-OID.cnf
# Trusted Computing Group Certificate Profile OIDs conformation file
#.MODULE_IMPORT
PKIX1Explicit88 pkix1explicit
#.INCLUDE ../pkix1explicit/pkix1explicit_exp.cnf
#.OMIT_ASSIGNMENT
SubjectInfoURIList
#.END
#.EXPORTS
#.REGISTER
TCPASpecVersion B "2.23.133.1" "tcg-tcpaSpecVersion"
ProtectionProfile B "2.23.133.2.11" "tcg-at-tpmProtectionProfile"
SecurityTarget B "2.23.133.2.12" "tcg-at-tpmSecurityTarget"
ProtectionProfile B "2.23.133.2.13" "tcg-at-tbbProtectionProfile"
SecurityTarget B "2.23.133.2.14" "tcg-at-tbbSecurityTarget"
TPMSpecification B "2.23.133.2.16" "tcg-at-tpmSpecification"
TCGPlatformSpecification B "2.23.133.2.17" "tcg-at-tcgPlatformSpecification"
TPMSecurityAssertions B "2.23.133.2.18" "tcg-at-tpmSecurityAssertions"
TBBSecurityAssertions B "2.23.133.2.19" "tcg-at-tbbSecurityAssertions"
# TCG Certificate Extensions
# this is a guess for SubjectInfoURIList, whose use is not specified anywhere
#SubjectInfoURIList B "2.23.133.6.1" "tcg-ce-subjectInfoURIList"
TCGRelevantCredentials B "2.23.133.6.2" "tcg-ce-relevantCredentials"
TCGRelevantManifests B "2.23.133.6.3" "tcg-ce-relevantManifests"
VirtualPlatformAttestationServiceURI B "2.23.133.6.4" "tcg-ce-virtualPlatformAttestationService"
MigrationControllerAttestationServiceURI B "2.23.133.6.5" "tcg-ce-migrationControllerAttestationService"
MigrationControllerRegistrationServiceURI B "2.23.133.6.6" "tcg-ce-migrationControllerRegistrationService"
VirtualPlatformBackupServiceURI B "2.23.133.6.7" "tcg-ce-virtualPlatformBackupService"
#.NO_EMIT
#.TYPE_RENAME
#.FIELD_RENAME
HashAlgAndValue/hashValue hash_alg_and_value_hashvalue
URIReference/hashValue uri_reference_hashvalue
TPMSpecification/level tpm_specification_level
FIPSLevel/level fips_security_level
TPMSecurityAssertions/version security_assertions_version
TBBSecurityAssertions/version security_assertions_version
TCGPlatformSpecification/version tcg_specification_vesion
CommonCriteriaMeasures/version cc_measures_version_string
FIPSLevel/version fips_level_version_string
#.END |
Text | wireshark/epan/dissectors/asn1/tetra/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME tetra )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
${PROTOCOL_NAME}.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -u )
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/tetra/packet-tetra-template.c | /* packet-tetra.c
* Routines for TETRA packet dissection
*
* Copyright (c) 2007 - 2011 Professional Mobile Communication Research Group,
* Beijing Institute of Technology, China
* Copyright (c) 2011 Holger Hans Peter Freyther
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* REF: ETSI EN 300 392-2 V3.2.1
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/expert.h>
#include <epan/prefs.h>
#include <epan/oids.h>
#include <epan/conversation.h>
#include <epan/asn1.h>
#include "packet-per.h"
#include "packet-tetra.h"
#define PROTO_TAG_tetra "TETRA"
void proto_register_tetra(void);
void proto_reg_handoff_tetra(void);
/* Wireshark ID of the tetra protocol */
static int proto_tetra = -1;
static dissector_handle_t tetra_handle;
#define TETRA_UDP_PORT 7074 /* Not IANA assigned */
/* Whether the capture data include carrier numbers */
static gboolean include_carrier_number = TRUE;
/* The following hf_* variables are used to hold the Wireshark IDs of
* our header fields; they are filled out when we call
* proto_register_field_array() in proto_register_tetra()
*/
/** Kts attempt at defining the protocol */
static gint hf_tetra = -1;
static gint hf_tetra_header = -1;
static gint hf_tetra_channels = -1;
static gint hf_tetra_channel1 = -1;
static gint hf_tetra_channel2 = -1;
static gint hf_tetra_channel3 = -1;
static gint hf_tetra_txreg = -1;
static gint hf_tetra_timer = -1;
static gint hf_tetra_pdu = -1;
static gint hf_tetra_rvstr = -1;
static gint hf_tetra_carriernumber = -1;
static gint hf_tetra_rxchannel1 = -1;
static gint hf_tetra_rxchannel2 = -1;
static gint hf_tetra_rxchannel3 = -1;
static gint hf_tetra_crc = -1;
static gint hf_tetra_len0 = -1;
#include "packet-tetra-hf.c"
/* Initialize the subtree pointers */
/* These are the ids of the subtrees that we may be creating */
static gint ett_tetra = -1;
static gint ett_tetra_header = -1;
static gint ett_tetra_length = -1;
static gint ett_tetra_txreg = -1;
static gint ett_tetra_text = -1;
#include "packet-tetra-ett.c"
static expert_field ei_tetra_channels_incorrect = EI_INIT;
#include "packet-tetra-fn.c"
static const value_string channeltypenames[] = {
{ 0, "Reserved" },
{ 1, "AACH" },
{ 2, "SCH/F" },
{ 3, "SCH/HD" },
{ 4, "Unknown" },
{ 5, "BSCH" },
{ 6, "BNCH" },
{ 7, "TCH/F" },
{ 8, "TCH/H" },
{ 9, "TCH4.8"},
{ 10, "TCH7.2"},
{ 11, "STCH"},
{ 0, NULL }
};
static const value_string recvchanneltypenames[] = {
{ 0, "Reserved" },
{ 1, "AACH" },
{ 2, "SCH/F" },
{ 3, "SCH/HD" },
{ 4, "Unknown" },
{ 5, "BSCH" },
{ 6, "BNCH" },
{ 7, "TCH/F" },
{ 8, "TCH/H" },
{ 9, "TCH4.8"},
{ 10, "TCH7.2"},
{ 11, "STCH"},
{ 15, "SCH/HU"},
{ 0, NULL }
};
/* Get the length of received pdu */
static gint get_rx_pdu_length(guint32 channel_type)
{
gint len = 0;
switch(channel_type) {
case TETRA_CHAN_AACH:
len = 14;
break;
case TETRA_CHAN_SCH_F:
len = 268;
break;
case TETRA_CHAN_SCH_D:
len = 124; ;
break;
case TETRA_CHAN_BSCH:
len = 60;
break;
case TETRA_CHAN_BNCH:
len = 124;
break;
case TETRA_CHAN_TCH_F:
len = 274;
break;
case TETRA_CHAN_TCH_H:
len = 137;
break;
case TETRA_CHAN_TCH_2_4:
len = 144;
break;
case TETRA_CHAN_TCH_4_8:
len = 288;
break;
case TETRA_CHAN_STCH:
len = 124;
break;
case TETRA_CHAN_SCH_HU:
len = 92;
break;
default:
len = 0;
break;
}
return len;
}
/* Get the length of transmitted pdu */
static gint get_tx_pdu_length(guint32 channel_type)
{
gint len = 0;
switch(channel_type) {
case TETRA_CHAN_AACH:
len = 14;
break;
case TETRA_CHAN_SCH_F:
len = 268;
break;
case TETRA_CHAN_SCH_D:
len = 124;
break;
case TETRA_CHAN_BSCH:
len = 60;
break;
case TETRA_CHAN_BNCH:
len = 124;
break;
case TETRA_CHAN_TCH_F:
len = 274;
break;
case TETRA_CHAN_TCH_H:
len = 137;
break;
case TETRA_CHAN_TCH_2_4:
len = 144;
break;
case TETRA_CHAN_TCH_4_8:
len = 288;
break;
case TETRA_CHAN_STCH:
len = 124;
break;
}
return len;
}
void tetra_dissect_pdu(int channel_type, int dir, tvbuff_t *pdu, proto_tree *tree, packet_info *pinfo)
{
proto_item *tetra_sub_item;
proto_tree *tetra_sub_tree;
guint8 p;
tetra_sub_item = proto_tree_add_item(tree, hf_tetra_pdu,
pdu, 0, tvb_captured_length(pdu), ENC_NA);
tetra_sub_tree = proto_item_add_subtree(tetra_sub_item, ett_tetra);
switch(channel_type) {
case TETRA_CHAN_AACH:
dissect_AACH_PDU(pdu, pinfo, tetra_sub_tree, NULL);
break;
case TETRA_CHAN_SCH_F:
p = tvb_get_guint8(pdu, 0);
switch(p >> 6) {
case 0:
if (dir == TETRA_DOWNLINK)
dissect_MAC_RESOURCE_PDU(pdu, pinfo, tetra_sub_tree, NULL);
else
dissect_MAC_DATA_PDU(pdu, pinfo, tetra_sub_tree, NULL);
break;
case 1: /* MAC-FRAG or MAC-END */
if((p >> 5) == 3) {
if (dir == TETRA_DOWNLINK)
dissect_MAC_END_DOWNLINK_PDU(pdu, pinfo, tetra_sub_tree, NULL);
else
dissect_MAC_END_UPLINK_PDU(pdu, pinfo, tetra_sub_tree, NULL);
} else
dissect_MAC_FRAG_PDU(pdu, pinfo, tetra_sub_tree, NULL);
break;
case 2:
dissect_MAC_ACCESS_DEFINE_PDU(pdu, pinfo, tetra_sub_tree, NULL);
break;
}
break;
case TETRA_CHAN_SCH_D:
p = tvb_get_guint8(pdu, 0);
switch(p >> 6) {
case 0:
dissect_MAC_RESOURCE_PDU(pdu, pinfo, tetra_sub_tree, NULL);
break;
case 1: /* MAC-FRAG or MAC-END */
if((p >> 5) == 3)
dissect_MAC_END_DOWN111_PDU(pdu, pinfo, tetra_sub_tree, NULL);
else
dissect_MAC_FRAG120_PDU(pdu, pinfo, tetra_sub_tree, NULL);
break;
case 2:
dissect_MAC_ACCESS_DEFINE_PDU(pdu, pinfo, tetra_sub_tree, NULL);
break;
}
break;
case TETRA_CHAN_SCH_HU:
p = tvb_get_guint8(pdu, 0);
switch(p >> 7) {
case 0: /* MAC-ACCESS */
dissect_MAC_ACCESS_PDU(pdu, pinfo, tetra_sub_tree, NULL);
break;
case 1: /* MAC-END-HU */
dissect_MAC_END_HU_PDU(pdu, pinfo, tetra_sub_tree, NULL);
break;
}
break;
case TETRA_CHAN_BSCH:
col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "BSCH");
dissect_BSCH_PDU(pdu, pinfo, tetra_sub_tree, NULL);
break;
case TETRA_CHAN_BNCH:
col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "BNCH");
dissect_BNCH_PDU(pdu, pinfo, tetra_sub_tree, NULL);
break;
case TETRA_CHAN_STCH:
p = tvb_get_guint8(pdu, 0);
switch(p >> 6) {
case 0:
dissect_MAC_RESOURCE_PDU(pdu, pinfo, tetra_sub_tree, NULL);
break;
case 1: /* MAC-FRAG or MAC-END */
if((p >> 5) == 3) {
if (dir == TETRA_DOWNLINK)
dissect_MAC_END_DOWN111_PDU(pdu, pinfo, tetra_sub_tree, NULL);
else
dissect_MAC_END_UP114_PDU(pdu, pinfo, tetra_sub_tree, NULL);
} else
dissect_MAC_FRAG120_PDU(pdu, pinfo, tetra_sub_tree, NULL);
break;
case 2:
dissect_MAC_ACCESS_DEFINE_PDU(pdu, pinfo, tetra_sub_tree, NULL);
break;
}
break;
case TETRA_CHAN_TCH_F:
col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "Voice");
break;
}
}
static void dissect_tetra_UNITDATA_IND(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tetra_tree, int offset)
{
guint32 rxreg = 0;
guint32 channels = 0, i;
guint32 channel_type;
gint pdu_offset = 0;
proto_item *tetra_sub_item;
proto_tree *tetra_header_tree = NULL;
tvbuff_t *payload_tvb;
/* Length */
rxreg = tvb_get_letohl(tvb, offset);
proto_tree_add_uint(tetra_tree, hf_tetra_len0, tvb, offset, 4, rxreg);
/* RvSteR */
offset += 4;
rxreg = tvb_get_letohl(tvb, offset);
proto_tree_add_uint(tetra_tree, hf_tetra_rvstr, tvb, offset, 4, rxreg);
/* Logical channels */
channels = rxreg & 0x3;
tetra_sub_item = proto_tree_add_uint( tetra_tree, hf_tetra_channels, tvb, offset, 4, channels );
tetra_header_tree = proto_item_add_subtree(tetra_sub_item, ett_tetra);
if (channels > 3) {
expert_add_info(pinfo, tetra_sub_item, &ei_tetra_channels_incorrect);
channels = 3;
}
pdu_offset = offset + 4;
for(i = 0; i < channels; i++) {
gint byte_len, bits_len, remaining_bits;
gint hf_channel[3];
hf_channel[0] = hf_tetra_rxchannel1;
hf_channel[1] = hf_tetra_rxchannel2;
hf_channel[2] = hf_tetra_rxchannel3;
/* Channel type */
channel_type = (rxreg >> ((i + 1) * 4) ) & 0xf;
proto_tree_add_uint( tetra_header_tree, hf_channel[i], tvb, offset, 4, channel_type);
/* CRC */
proto_tree_add_boolean( tetra_header_tree, hf_tetra_crc, tvb, offset, 4, !(rxreg >> (i + 2) & 0x01));
/* PDU */
bits_len = get_rx_pdu_length(channel_type);
byte_len = bits_len >> 3;
remaining_bits = bits_len % 8;
if ((remaining_bits)!=0)
byte_len++;
payload_tvb = tvb_new_subset_length(tvb, pdu_offset, byte_len);
tetra_dissect_pdu(channel_type, TETRA_UPLINK, payload_tvb, tetra_header_tree, pinfo);
if ((remaining_bits)!=0)
byte_len--;
pdu_offset += byte_len;
}
}
static void dissect_tetra_UNITDATA_REQ(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tetra_tree, int offset)
{
guint32 txreg = 0;
guint32 channels = 0, i;
guint32 channel_type;
gint pdu_offset = 0;
proto_item *tetra_sub_item = NULL;
proto_tree *tetra_header_tree = NULL;
tvbuff_t *payload_tvb;
/* TxR */
txreg = tvb_get_letohl(tvb, offset);
proto_tree_add_uint(tetra_tree, hf_tetra_txreg, tvb, offset, 4, txreg);
/* Logical channels */
channels = (txreg & 0x3) + 1;
tetra_sub_item = proto_tree_add_uint( tetra_tree, hf_tetra_channels, tvb, offset, 4, channels );
tetra_header_tree = proto_item_add_subtree(tetra_sub_item, ett_tetra);
txreg >>= 2;
/* Skip 0000B */
if(channels == 2)
txreg >>= 4;
if (channels > 3) {
expert_add_info(pinfo, tetra_sub_item, &ei_tetra_channels_incorrect);
channels = 3;
}
pdu_offset = offset + 4;
for(i = 0; i < channels; i++) {
gint byte_len, bits_len, remaining_bits;
gint hf_channel[3];
hf_channel[0] = hf_tetra_channel1;
hf_channel[1] = hf_tetra_channel2;
hf_channel[2] = hf_tetra_channel3;
channel_type = txreg & 0xf;
proto_tree_add_uint( tetra_header_tree, hf_channel[i], tvb, offset, 4, channel_type);
txreg >>= 4;
/* PDU */
bits_len = get_tx_pdu_length(channel_type);
byte_len = bits_len >> 3;
remaining_bits = bits_len % 8;
if ((remaining_bits)!=0)
byte_len++;
payload_tvb = tvb_new_subset_length(tvb, pdu_offset, byte_len);
tetra_dissect_pdu(channel_type, TETRA_DOWNLINK, payload_tvb, tetra_header_tree, pinfo);
pdu_offset += byte_len;
}
}
static int
dissect_tetra(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
{
proto_item *tetra_item = NULL;
proto_item *tetra_sub_item = NULL;
proto_tree *tetra_tree = NULL;
proto_tree *tetra_header_tree = NULL;
guint16 type = 0;
guint8 carriernumber = -1;
col_set_str(pinfo->cinfo, COL_PROTOCOL, PROTO_TAG_tetra);
/* Clear out stuff in the info column */
col_clear(pinfo->cinfo,COL_INFO);
/*
* This is not a good way of dissecting packets. The tvb length should
* be sanity checked so we aren't going past the actual size of the buffer.
*/
type = tvb_get_guint8(tvb, 0);
if(include_carrier_number) {
carriernumber = tvb_get_guint8(tvb, 1);
}
switch(type) {
case 1:
if(include_carrier_number)
col_add_fstr(pinfo->cinfo, COL_INFO, "Tetra-UNITDATA-REQ, Carrier: %d",
carriernumber);
else
col_add_fstr(pinfo->cinfo, COL_INFO, "Tetra-UNITDATA-REQ");
break;
case 2:
if(include_carrier_number)
col_add_fstr(pinfo->cinfo, COL_INFO, "Tetra-UNITDATA-IND, Carrier: %d",
carriernumber);
else
col_add_fstr(pinfo->cinfo, COL_INFO, "Tetra-UNITDATA-IND");
break;
case 3:
if(include_carrier_number)
col_add_fstr(pinfo->cinfo, COL_INFO, "MAC-Timer, Carrier: %d",
carriernumber);
else
col_add_fstr(pinfo->cinfo, COL_INFO, "MAC-Timer");
break;
case 127:
if(include_carrier_number)
col_add_fstr(pinfo->cinfo, COL_INFO, "Tetra-UNITDATA-IND Done, Carrier: %d",
carriernumber);
else
col_add_fstr(pinfo->cinfo, COL_INFO, "Tetra-UNITDATA-IND Done");
break;
case 128:
if(include_carrier_number)
col_add_fstr(pinfo->cinfo, COL_INFO, "Tetra-UNITDATA-REQ Done, Carrier: %d",
carriernumber);
else
col_add_fstr(pinfo->cinfo, COL_INFO, "Tetra-UNITDATA-REQ Done");
break;
default:
col_add_fstr(pinfo->cinfo, COL_INFO, "Unknown command: %d", type);
break;
}
/* if (tree) */ { /* we are being asked for details */
guint32 offset = 0;
guint32 txtimer = 0;
guint32 tslot = 0;
tetra_item = proto_tree_add_item(tree, proto_tetra, tvb, 0, -1, ENC_NA);
tetra_tree = proto_item_add_subtree(tetra_item, ett_tetra);
offset ++;
/* Carrier number */
if(include_carrier_number) {
proto_tree_add_uint(tetra_tree, hf_tetra_carriernumber, tvb, offset, 1, carriernumber);
offset ++;
}
/* Registers */
tetra_sub_item = proto_tree_add_item( tetra_tree, hf_tetra_header, tvb, offset, -1, ENC_NA );
tetra_header_tree = proto_item_add_subtree(tetra_sub_item, ett_tetra);
/* Timer */
txtimer = tvb_get_letohl(tvb, offset);
tetra_sub_item = proto_tree_add_item(tetra_header_tree, hf_tetra_timer, tvb, offset, 4, ENC_LITTLE_ENDIAN);
tslot = ((txtimer & 0x7800) >> 11);
if(tslot==4)
tslot = 3;
if(tslot==8)
tslot = 4;
proto_item_append_text(tetra_sub_item, " (Multiple frame: %d, Frame: %d, Slot: %d)",
txtimer & 0x3F, (txtimer & 0x7c0) >> 6,
tslot);
offset += 4;
switch(type) {
case 1: /* tetra-UNITDATA-REQ */
case 128: /* tetra-UNITDATA-REQ Done */
dissect_tetra_UNITDATA_REQ(tvb, pinfo, tetra_header_tree, offset);
break;
case 2: /* tetra-UNITDATA-IND */
case 127: /* tetra-UNITDATA-IND Done */
dissect_tetra_UNITDATA_IND(tvb, pinfo, tetra_header_tree, offset);
break;
case 3: /* MAC-Timer */
break;
default:
break;
}
}
return tvb_captured_length(tvb);
}
void proto_reg_handoff_tetra(void)
{
dissector_add_uint_with_preference("udp.port", TETRA_UDP_PORT, tetra_handle);
}
void proto_register_tetra (void)
{
module_t *tetra_module;
expert_module_t* expert_tetra;
/*
* A header field is something you can search/filter on.
*
* We create a structure to register our fields. It consists of an
* array of hf_register_info structures, each of which are of the format
* {&(field id), {name, abbrev, type, display, strings, bitmask, blurb, HFILL}}.
*/
static hf_register_info hf[] = {
{ &hf_tetra,
{ "Data", "tetra.data", FT_NONE, BASE_NONE, NULL, 0x0,
"tetra PDU", HFILL }},
{ &hf_tetra_header,
{ "Registers", "tetra.header", FT_NONE, BASE_NONE, NULL, 0x0,
"TETRA Registers", HFILL }},
{ &hf_tetra_channels,
{ "Logical Channels", "tetra.channels", FT_UINT8, BASE_DEC, NULL, 0x0,
"The amount of logical channels", HFILL }},
{ &hf_tetra_channel1,
{ "Channel 1", "tetra.txchannel1", FT_UINT8, BASE_DEC, VALS(channeltypenames), 0x0,
"Logical channels type", HFILL }},
{ &hf_tetra_channel2,
{ "Channel 2", "tetra.txchannel2", FT_UINT8, BASE_DEC, VALS(channeltypenames), 0x0,
"Logical channels type", HFILL }},
{ &hf_tetra_channel3,
{ "Channel 3", "tetra.txchannel3", FT_UINT8, BASE_DEC, VALS(channeltypenames), 0x0,
"Logical channels type", HFILL }},
{ &hf_tetra_txreg,
{ "TxR", "tetra.txreg", FT_UINT32, BASE_HEX, NULL, 0x0,
"TX Register", HFILL }},
{ &hf_tetra_rvstr,
{ "RvSteR", "tetra.rvster", FT_UINT32, BASE_HEX, NULL, 0x0,
"Receive Status Register", HFILL }},
{ &hf_tetra_carriernumber,
{ "Carrier Number", "tetra.carrier", FT_UINT8, BASE_DEC, NULL, 0x0,
NULL, HFILL }},
{ &hf_tetra_rxchannel1,
{ "Channel 1", "tetra.rxchannel1", FT_UINT8, BASE_DEC, VALS(recvchanneltypenames), 0x0,
"Logical channels type", HFILL }},
{ &hf_tetra_rxchannel2,
{ "Channel 2", "tetra.rxchannel2", FT_UINT8, BASE_DEC, VALS(recvchanneltypenames), 0x0,
"Logical channels type", HFILL }},
{ &hf_tetra_rxchannel3,
{ "Channel 3", "tetra.rxchannel3", FT_UINT8, BASE_DEC, VALS(recvchanneltypenames), 0x0,
"Logical channels type", HFILL }},
{ &hf_tetra_timer,
{ "Timer", "tetra.timer", FT_UINT32, BASE_HEX, NULL, 0x0,
"Timer Register", HFILL }},
{ &hf_tetra_crc,
{ "CRC", "tetra.crc", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"CRC result", HFILL }},
{ &hf_tetra_len0,
{ "Length", "tetra.len0", FT_UINT32, BASE_DEC, NULL, 0x0,
"Length of the PDU", HFILL }},
{ &hf_tetra_pdu,
{ "PDU", "tetra.pdu", FT_BYTES, BASE_NONE, NULL, 0x0,
NULL, HFILL }} ,
#include "packet-tetra-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_tetra,
&ett_tetra_header,
&ett_tetra_length,
&ett_tetra_txreg,
&ett_tetra_text,
#include "packet-tetra-ettarr.c"
};
static ei_register_info ei[] = {
{ &ei_tetra_channels_incorrect, { "tetra.channels.incorrect", PI_MALFORMED, PI_WARN, "Channel count incorrect, must be <= 3", EXPFILL }},
};
proto_tetra = proto_register_protocol("TETRA Protocol", "TETRA", "tetra");
proto_register_field_array (proto_tetra, hf, array_length (hf));
proto_register_subtree_array (ett, array_length (ett));
tetra_handle = register_dissector("tetra", dissect_tetra, proto_tetra);
expert_tetra = expert_register_protocol(proto_tetra);
expert_register_field_array(expert_tetra, ei, array_length(ei));
tetra_module = prefs_register_protocol(proto_tetra, NULL);
prefs_register_bool_preference(tetra_module, "include_carrier_number",
"The data include carrier numbers",
"Whether the captured data include carrier number",
&include_carrier_number);
} |
C/C++ | wireshark/epan/dissectors/asn1/tetra/packet-tetra-template.h | /* packet-tetra.h
* Routines for TETRA packet dissection
*
* Copyright (c) 2007 - 2011 Professional Mobile Communication Research Group,
* Beijing Institute of Technology, China
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* REF: ETSI EN 300 392-2 V3.2.1
*/
#ifndef PACKET_TETRA_H
#define PACKET_TETRA_H
enum {
TETRA_CHAN_AACH = 1,
TETRA_CHAN_SCH_F = 2,
TETRA_CHAN_SCH_D = 3,
TETRA_CHAN_BSCH = 5,
TETRA_CHAN_BNCH = 6,
TETRA_CHAN_TCH_F = 7,
TETRA_CHAN_TCH_H = 8,
TETRA_CHAN_TCH_2_4 = 9,
TETRA_CHAN_TCH_4_8 = 10,
TETRA_CHAN_STCH = 11,
TETRA_CHAN_SCH_HU = 15
};
enum {
TETRA_UPLINK,
TETRA_DOWNLINK
};
void tetra_dissect_pdu(int channel_type, int dir, tvbuff_t *pdu, proto_tree *head, packet_info *pinfo);
/*#include "packet-tetra-exp.h"*/
#endif /* PACKET_TETRA_H */ |
ASN.1 | wireshark/epan/dissectors/asn1/tetra/tetra.asn | -- TETRA packet dissection
-- Copyright (c) 2007 - 2013 Professional Mobile Communication Research Group,
-- Beijing Institute of Technology, China
--
UMAC-MODULE DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
AACH ::= SEQUENCE
{
function INTEGER(0..3),
field1 INTEGER(0..63),
field2 INTEGER(0..63)
}
BSCH ::= SEQUENCE
{
system-code System-Code,
colour-code Colour-Code,
timeslot-number Timeslot-Number,
frame-number Frame-Number,
multiple-frame-number Multiple-Frame-Number,
sharing-mod Sharing-Mod,
ts-reserved-frames TS-Reserved-Frames,
u-plane-dtx U-Plane-DTX,
frame-18-extension Frame-18-Extension,
reserved Reserved ,
tm-sdu MLE-Sync
}
System-Code ::= ENUMERATED
{
ets-300-392-2(0),
ets-300-392-2anden-300-392-7(1),
en-300-392-2-v2-3-2orlateranden-300-392-7(2),
v-d-reserved(3),
v-d-reserved(4),
v-d-reserved(5),
v-d-reserved(6),
v-d-reserved(7),
reserved(8),
reserved(9),
direct-mode-operation(10),
direct-mode-operation(11),
direct-mode-operation(12),
direct-mode-operation(13),
direct-mode-operation(14),
direct-mode-operation(15)
}
Colour-Code ::= ENUMERATED
{
pre-defined(0),
operator-defined(1),
operator-defined(2),
operator-defined(3),
operator-defined(4),
operator-defined(5),
operator-defined(6),
operator-defined(7),
operator-defined(8),
operator-defined(9),
operator-defined(10),
operator-defined(11),
operator-defined(12),
operator-defined(13),
operator-defined(14),
operator-defined(15),
operator-defined(16),
operator-defined(17),
operator-defined(18),
operator-defined(19),
operator-defined(20),
operator-defined(21),
operator-defined(22),
operator-defined(23),
operator-defined(24),
operator-defined(25),
operator-defined(26),
operator-defined(27),
operator-defined(28),
operator-defined(29),
operator-defined(30),
operator-defined(31),
operator-defined(32),
operator-defined(33),
operator-defined(34),
operator-defined(35),
operator-defined(36),
operator-defined(37),
operator-defined(38),
operator-defined(39),
operator-defined(40),
operator-defined(41),
operator-defined(42),
operator-defined(43),
operator-defined(44),
operator-defined(45),
operator-defined(46),
operator-defined(47),
operator-defined(48),
operator-defined(49),
operator-defined(50),
operator-defined(51),
operator-defined(52),
operator-defined(53),
operator-defined(54),
operator-defined(55),
operator-defined(56),
operator-defined(57),
operator-defined(58),
operator-defined(59),
operator-defined(60),
operator-defined(61),
operator-defined(62),
operator-defined(63)
}
Timeslot-Number ::= ENUMERATED
{
timeslot-1(0),
timeslot-2(1),
timeslot-3(2),
timeslot-4(3)
}
Frame-Number ::= ENUMERATED
{
reserved(0),
frame-1(1),
frame-2(2),
frame-3(3),
frame-4(4),
frame-5(5),
frame-6(6),
frame-7(7),
frame-8(8),
frame-9(9),
frame-10(10),
frame-11(11),
frame-12(12),
frame-13(13),
frame-14(14),
frame-15(15),
frame-16(16),
frame-17(17),
frame-18(18),
reserved(19),
reserved(20),
reserved(21),
reserved(22),
reserved(23),
reserved(24),
reserved(25),
reserved(26),
reserved(27),
reserved(28),
reserved(29),
reserved(30),
reserved(31)
}
Multiple-Frame-Number ::= ENUMERATED
{
reserved(0),
multiframe-1(1),
multiframe-2(2),
multiframe-3(3),
multiframe-4(4),
multiframe-5(5),
multiframe-6(6),
multiframe-7(7),
multiframe-8(8),
multiframe-9(9),
multiframe-10(10),
multiframe-11(11),
multiframe-12(12),
multiframe-13(13),
multiframe-14(14),
multiframe-15(15),
multiframe-16(16),
multiframe-17(17),
multiframe-18(18),
multiframe-19(19),
multiframe-20(20),
multiframe-21(21),
multiframe-22(22),
multiframe-23(23),
multiframe-24(24),
multiframe-25(25),
multiframe-26(26),
multiframe-27(27),
multiframe-28(28),
multiframe-29(29),
multiframe-30(30),
multiframe-31(31),
multiframe-32(32),
multiframe-33(33),
multiframe-34(34),
multiframe-35(35),
multiframe-36(36),
multiframe-37(37),
multiframe-38(38),
multiframe-39(39),
multiframe-40(40),
multiframe-41(41),
multiframe-42(42),
multiframe-43(43),
multiframe-44(44),
multiframe-45(45),
multiframe-46(46),
multiframe-47(47),
multiframe-48(48),
multiframe-49(49),
multiframe-50(50),
multiframe-51(51),
multiframe-52(52),
multiframe-53(53),
multiframe-54(54),
multiframe-55(55),
multiframe-56(56),
multiframe-57(57),
multiframe-58(58),
multiframe-59(59),
multiframe-60(60),
reserved(61),
reserved(62),
reserved(63)
}
Sharing-Mod ::= ENUMERATED
{
continuous-transmission(0),
carrier-sharing(1),
mcch-sharing(2),
traffic-carrier-sharing(3)
}
TS-Reserved-Frames ::= ENUMERATED
{
frame-reserved-1(0),
frames-reserved-2(1),
frames-reserved-3(2),
frames-reserved-4(3),
frames-reserved-6(4),
frames-reserved-9(5),
frames-reserved-12(6),
frames-reserved-18(7)
}
U-Plane-DTX ::= ENUMERATED
{
not-allowed(0),
allowed(1)
}
Frame-18-Extension ::= ENUMERATED
{
not-allowed(0),
allowed(1)
}
Reserved ::= ENUMERATED
{
default(0),
not-used(1)
}
MLE-Sync ::= SEQUENCE
{
mcc INTEGER(0..1023),
mnc INTEGER(0..16383),
neighbour-cell-broadcast INTEGER(0..3),
cell-service-level INTEGER(0..3),
late-entry-information INTEGER(0..1)
}
BNCH ::= SEQUENCE
{
pdu-type INTEGER(0..3),
broadcast-type INTEGER(0..3),
main-carrier INTEGER(0..4095),
frequency-band INTEGER(0..15),
offset Offset,
duplex-spacing INTEGER(0..7),
reverse-operation Reverse-Operation,
sencond-ctl-carrier Sencond-Ctl-Carrier,
ms-txpwr-max-cell MS-TXPWR-MAX-CELL,
rxlev-access-min RXLEV-ACCESS-MIN ,
access-parameter ACCESS-PARAMETER,
radio-downlink-timeout RADIO-DOWNLINK-TIMEOUT,
hyperframe-or-cck CHOICE
{
hyperframe INTEGER(0..65535),
cckid INTEGER(0..65535)
},
optional-params CHOICE
{
even-multiframe TS-COMMON-FRAMES,
odd-multiframe TS-COMMON-FRAMES,
access-a-code Default-Code-A,
extend-service Extended-Services-Broadcast
},
la INTEGER(0..16383),
subscriber-class Subscriber-class,
registriation INTEGER(0..1),
de-registration INTEGER(0..1),
priority-cell INTEGER(0..1),
minimum-mode-service INTEGER(0..1),
migration INTEGER(0..1),
system-wide-service INTEGER(0..1),
tetra-voice-service INTEGER(0..1),
circuit-mode-data-service INTEGER(0..1),
reserved INTEGER(0..1),
sndcp-service INTEGER(0..1),
air-interface-encryption INTEGER(0..1),
advanced-link-support INTEGER(0..1)
}
Offset ::= ENUMERATED
{
offset-0(0),
offset-positive-6-point-25(1),
offset-minus-6-point-25(2),
offset-12-point-5(3)
}
Reverse-Operation ::= ENUMERATED
{
normal(0),
reverse(1)
}
Sencond-Ctl-Carrier ::= ENUMERATED
{
none(0),
timeslot-2(1),
timeslots-2and3(2),
timeslots-2and3and4(3)
}
MS-TXPWR-MAX-CELL ::= ENUMERATED
{
reserved(0),
dbm-15(1),
dbm-20(2),
dbm-25(3),
dbm-30(4),
dbm-35(5),
dbm-40(6),
dbm-45(7)
}
RXLEV-ACCESS-MIN ::= ENUMERATED
{
dbm-125(0),
dbm-120(1),
dbm-115(2),
dbm-110(3),
dbm-105(4),
dbm-100(5),
dbm-95(6),
dnm-90(7),
dbm-85(8),
dbm-80(9),
dbm-75(10),
dbm-70(11),
dbm-65(12),
dbm-60(13),
dbm-55(14),
dbm-50(15)
}
ACCESS-PARAMETER ::= ENUMERATED
{
dbm-53(0),
dbm-51(1),
dbm-49(2),
dbm-47(3),
dbm-45(4),
dbm-43(5),
dbm-41(6),
dbm-39(7),
dbm-37(8),
dbm-35(9),
dbm-33(10),
dbm-31(11),
dbm-29(12),
dbm-27(13),
dbm-25(14),
dbm-23(15)
}
RADIO-DOWNLINK-TIMEOUT ::= ENUMERATED
{
disable(0),
timeslots-144(1),
timeslots-288(2),
timeslots-432(3),
timeslots-576(4),
timeslots-720(5),
timeslots-864(6),
timeslots-1008(7),
timeslots-1152(8),
timeslots-1296(9),
timeslots-1440(10),
timeslots-1584(11),
timeslots-1728(12),
timeslots-1872(13),
timeslots-2016(14),
timeslots-2160(15)
}
TS-COMMON-FRAMES ::= SEQUENCE
{
frame1 FRAME,
frame2 FRAME,
frame3 FRAME,
frame4 FRAME,
frame5 FRAME,
frame6 FRAME,
frame7 FRAME,
frame8 FRAME,
frame9 FRAME,
frame10 FRAME,
frame11 FRAME,
frame12 FRAME,
frame13 FRAME,
frame14 FRAME,
frame15 FRAME,
frame16 FRAME,
frame17 FRAME,
frame18 FRAME
}
FRAME ::= ENUMERATED
{
not-common(0),
common(1)
}
Default-Code-A ::= SEQUENCE
{
imm IMM,
wt WT,
nu NU,
frame-len-factor Frame-Len-Factor,
timeslot-pointer Timeslot-Pointer,
min-pdu-priority Min-Pdu-Priority
}
IMM ::= ENUMERATED
{
always-randomize(0),
randomize-after-imm-tdma(1),
randomize-after-imm-tdma(2),
randomize-after-imm-tdma(3),
randomize-after-imm-tdma(4),
randomize-after-imm-tdma(5),
randomize-after-imm-tdma(6),
randomize-after-imm-tdma(7),
randomize-after-imm-tdma(8),
randomize-after-imm-tdma(9),
randomize-after-imm-tdma(10),
randomize-after-imm-tdma(11),
randomize-after-imm-tdma(12),
randomize-after-imm-tdma(13),
randomize-after-imm-tdma(14),
immediate-access-allowed(15)
}
WT ::= ENUMERATED
{
reserved(0),
response-within-wt-downlink(1),
response-within-wt-downlink(2),
response-within-wt-downlink(3),
response-within-wt-downlink(4),
response-within-wt-downlink(5),
response-within-wt-downlink(6),
response-within-wt-downlink(7),
response-within-wt-downlink(8),
response-within-wt-downlink(9),
response-within-wt-downlink(10),
response-within-wt-downlink(11),
response-within-wt-downlink(12),
response-within-wt-downlink(13),
response-within-wt-downlink(14),
response-within-wt-downlink(15)
}
NU ::= ENUMERATED
{
no-random(0),
random-1(1),
random-2(2),
random-3(3),
random-4(4),
random-5(5),
random-6(6),
random-7(7),
random-8(8),
random-9(9),
random-10(10),
random-11(11),
random-12(12),
random-13(13),
random-14(14),
random-15(15)
}
Frame-Len-Factor ::= ENUMERATED
{
multiply-1(0),
multiply-4(1)
}
Timeslot-Pointer ::= ENUMERATED
{
same-as-downlink(0),
timeslot-4(1),
timeslot-bit-map(2),
timeslot-bit-map(3),
timeslot-bit-map(4),
timeslot-bit-map(5),
timeslot-bit-map(6),
timeslot-bit-map(7),
timeslot-bit-map(8),
timeslot-bit-map(9),
timeslot-bit-map(10),
timeslot-bit-map(11),
timeslot-bit-map(12),
timeslot-bit-map(13),
timeslot-bit-map(14),
all-four-timeslots(15)
}
Min-Pdu-Priority ::= ENUMERATED
{
priority-0(0),
priority-1(1),
priority-2(2),
priority-3(3),
priority-4(4),
priority-5(5),
priority-6(6),
priority-7(7)
}
Extended-Services-Broadcast ::= SEQUENCE
{
security-information INTEGER(0..255),
sds-tl-addressing-method SDS-TL-Addressing-Method,
gck-supported INTEGER(0..1),
section CHOICE
{
present-1 PRESENT1,
present-2 INTEGER(0..127),
present-3 INTEGER(0..127),
present-4 INTEGER(0..127)
}
}
SDS-TL-Addressing-Method ::= ENUMERATED
{
reserved(0),
service-centre(1),
never-use-service-centre(2),
ms-choice-to-use-service-centre(3)
}
PRESENT1 ::=SEQUENCE
{
data-priority-supported Data-Priority-Supported,
reserved INTEGER(0..7),
section-2-information Section-Information,
section-3-information Section-Information,
section-4-information Section-Information
}
Data-Priority-Supported ::=ENUMERATED
{
not-supported(0),
supported(1)
}
Section-Information ::=ENUMERATED
{
no-information(0),
futher-information(1)
}
MAC-ACCESS ::= SEQUENCE
{
pdu-type INTEGER(0..1),
fill-bit-indication Fill-Bit-Indication,
encrypted-flag Encrypted-Flag,
address Address,
data CHOICE
{
sdu1 U-LLC-PDU,
sdu2 ComplexSDU
}
}
Address ::= CHOICE
{
ssi INTEGER(0..16777215),
eventLabel INTEGER(0..1023),
ussi INTEGER(0..16777215),
smi INTEGER(0..16777215)
}
U-LLC-PDU ::= CHOICE
{
bl-adata U-BL-ADATA,
bl-data U-BL-DATA,
bl-udata U-MLE-PDU,
bl-ack U-BL-ACK,
bl-adata-fcs U-BL-ADATA-FCS,
bl-data-fcs U-BL-DATA-FCS,
bl-udata-fcs U-MLE-PDU-FCS,
bl-ack-fcs U-BL-ACK-FCS,
al-setup NULL,
al-data NULL,
al-udata NULL,
al-ack NULL,
al-reconnect NULL,
reserve1 NULL,
reserve2 NULL,
al-disc NULL
}
U-BL-ACK-FCS ::= SEQUENCE
{
nr INTEGER(0..1),
tl-sdu U-MLE-PDU,
fcs OCTET STRING(SIZE(4))
}
U-MLE-PDU-FCS ::= SEQUENCE
{
u-mle-pdu U-MLE-PDU,
fcs OCTET STRING(SIZE(4))
}
U-BL-DATA-FCS ::= SEQUENCE
{
ns INTEGER(0..1),
tl-sdu U-MLE-PDU,
fcs OCTET STRING(SIZE(4))
}
U-BL-ADATA-FCS ::= SEQUENCE
{
nr INTEGER(0..1),
ns INTEGER(0..1),
tl-sdu U-MLE-PDU,
fcs OCTET STRING(SIZE(4))
}
U-MLE-PDU ::= CHOICE
{
u-mle-reserved1 NULL,
mm U-MM-PDU,
cmce U-CMCE-PDU,
u-mle-reserved2 NULL,
sndcp NULL,
mle UMLE-PDU,
tetra-management-entity-protocol NULL,
u-mle-reserved3 NULL
}
ComplexSDU ::= SEQUENCE
{
lengthIndicationOrCapacityRequest CHOICE
{
lengthIndication LengthIndication,
capacityRequest FRAG
},
tm-sdu U-LLC-PDU
}
FRAG ::= SEQUENCE
{
frag Frag1,
reservation-requirement SLOT-APPLY
}
LengthIndication ::= ENUMERATED
{
null(0),
reserved-1(1),
reserved-2(2),
bits-24(3),
bits-32(4),
bits-40(5),
bits-48(6),
bits-56(7),
bits-64(8),
bits-72(9),
bits-80(10),
bits-88(11),
bits-96(12),
reserved-13(13),
reserved-14(14),
reserved-15(15),
reserved-16(16),
reserved-17(17),
reserved-18(18),
reserved-19(19),
reserved-20(20),
reserved-21(21),
reserved-22(22),
reserved-23(23),
reserved-24(24),
reserved-25(25),
reserved-26(26),
reserved-27(27),
reserved-28(28),
reserved-29(29),
reserved-30(30),
reserved-31(31)
}
SLOT-APPLY ::= ENUMERATED
{
subslot(0),
slot-1(1),
slot-2(2),
slot-3(3),
slot-4(4),
slot-5(5),
slot-6(6),
slot-8(7),
slot-10(8),
slot-13(9),
slot-17(10),
slot-24(11),
slot-34(12),
slot-51(13),
slot-68(14),
more-than-68(15)
}
Frag1 ::= ENUMERATED
{
not-fragmented(0),
start-of-fragmentation(1)
}
MAC-DATA ::= SEQUENCE
{
pdu-type INTEGER(0..3),
fill-bit-indication Fill-Bit-Indication,
encrypted-flag Encrypted-Flag,
address Address,
lengthIndicationOrCapacityRequest CHOICE
{
lengthIndication LengthIndicationMacData,
capacityRequest FRAG6
},
tm-sdu U-LLC-PDU
}
Fill-Bit-Indication ::= ENUMERATED
{
no-present(0),
present(1)
}
Encrypted-Flag ::= ENUMERATED
{
not-encrypted(0),
encrypted(1)
}
LengthIndicationMacData ::= ENUMERATED
{
null(0),
reserved-1(1),
reserved-2(2),
bits-24(3),
bits-32(4),
bits-40(5),
bits-48(6),
bits-56(7),
bits-64(8),
bits-72(9),
bits-80(10),
bits-88(11),
bits-96(12),
bits-104(13),
bits-112(14),
bits-120(15),
bits-128(16),
bits-136(17),
bits-144(18),
bits-152(19),
bits-160(20),
bits-168(21),
bits-176(22),
bits-184(23),
bits-192(24),
bits-200(25),
bits-208(26),
bits-216(27),
bits-224(28),
bits-232(29),
bits-240(30),
bits-248(31),
bits-256(32),
bits-264(33),
bits-272(34),
reserved-35(35),
reserved-36(36),
reserved-37(37),
reserved-38(38),
reserved-39(39),
reserved-40(40),
reserved-41(41),
reserved-42(42),
reserved-43(43),
reserved-44(44),
reserved-45(45),
reserved-46(46),
reserved-47(47),
reserved-48(48),
reserved-49(49),
reserved-50(50),
reserved-51(51),
reserved-52(52),
reserved-53(53),
reserved-54(54),
reserved-55(55),
reserved-56(56),
reserved-57(57),
reserved-58(58),
reserved-59(59),
reserved-60(60),
reserved-61(61),
second-halfslot-stolen(62),
start-frag(63)
}
FRAG6 ::= SEQUENCE
{
frag Frag1,
reservation-requirement SLOT-APPLY,
reserved INTEGER(0..1)
}
MAC-FRAG ::= SEQUENCE
{
pdu-type INTEGER(0..3),
sub-type INTEGER(0..1),
fill-bit-indication Fill-Bit-Indication,
tm-sdu BIT STRING(SIZE(264))
}
MAC-FRAG120 ::= SEQUENCE
{
pdu-type INTEGER(0..3),
sub-type INTEGER(0..1),
fill-bit-indication Fill-Bit-Indication,
tm-sdu BIT STRING(SIZE(120))
}
MAC-END-UPLINK ::= SEQUENCE
{
pdu-type INTEGER(0..3),
sub-type INTEGER(0..1),
fill-bit-indication Fill-Bit-Indication,
lengthInd-ReservationReq LengthIndOrReservationReq,
tm-sdu BIT STRING(SIZE(258))
}
MAC-END-UP114 ::= SEQUENCE
{
pdu-type INTEGER(0..3),
pdu-subtype INTEGER(0..1),
fill-bit-indication Fill-Bit-Indication,
lengthInd-ReservationReq LengthIndOrReservationReq,
tm-sdu BIT STRING(SIZE(114))
}
LengthIndOrReservationReq ::= ENUMERATED
{
reserved-0(0),
reserved-1(1),
bits-16(2),
bits-24(3),
bits-32(4),
bits-40(5),
bits-48(6),
bits-56(7),
bits-64(8),
bits-72(9),
bits-80(10),
bits-88(11),
bits-96(12),
bits-104(13),
bits-112(14),
bits-120(15),
bits-128(16),
bits-136(17),
bits-144(18),
bits-152(19),
bits-160(20),
bits-168(21),
bits-176(22),
bits-184(23),
bits-192(24),
bits-200(25),
bits-208(26),
bits-216(27),
bits-224(28),
bits-232(29),
bits-240(30),
bits-248(31),
bits-256(32),
bits-264(33),
bits-272(34),
reserved-35(35),
reserved-36(36),
reserved-37(37),
reserved-38(38),
reserved-39(39),
reserved-40(40),
reserved-41(41),
reserved-42(42),
reserved-43(43),
reserved-44(44),
reserved-45(45),
reserved-46(46),
reserved-47(47),
subslot(48),
slot-1(49),
slot-2(50),
slot-3(51),
slot-4(52),
slot-5(53),
slot-6(54),
slot-8(55),
slot-10(56),
slot-13(57),
slot-17(58),
slot-24(59),
slot-34(60),
slot-51(61),
slot-68(62),
more-than-68(63)
}
MAC-END-HU ::= SEQUENCE
{
pdu-type INTEGER(0..1),
fill-bit-indication Fill-Bit-Indication,
lengthInd-ReservationReq CHOICE
{
lengthInd LengthIndMacHu,
reservation-requirement SLOT-APPLY
},
tm-sdu BIT STRING(SIZE(85))
}
LengthIndMacHu ::= ENUMERATED
{
reserved-0(0),
bits-8(1),
bits-16(2),
bits-24(3),
bits-32(4),
bits-40(5),
bits-48(6),
bits-56(7),
bits-64(8),
bits-72(9),
bits-80(10),
bits-88(11),
bits-96(12),
reserved-13(13),
reserved-14(14),
reserved-15(15)
}
MAC-END-DOWNLINK ::= SEQUENCE
{
pdu-type INTEGER(0..3),
sub-type INTEGER(0..1),
fill-bit-indication Fill-Bit-Indication,
position-of-grant Position-Of-Grant,
lengthIndication LengthIndicationMacEndDl,
slot-granting CHOICE
{
none NULL,
slot-granting-param SlotGranting
},
channel-allocation CHOICE
{
none NULL,
channel-allocation-element ChannelAllocation
},
tm-sdu BIT STRING(SIZE(255))
}
SlotGranting ::= SEQUENCE
{
capacity-allocation Capacity-Allocation,
granting-delay Granting-delay
}
Capacity-Allocation ::= ENUMERATED
{
first-subslot(0),
slot-allocated-1(1),
slot-allocated-2(2),
slot-allocated-3(3),
slot-allocated-4(4),
slot-allocated-5(5),
slot-allocated-6(6),
slot-allocated-8(7),
slot-allocated-10(8),
slot-allocated-13(9),
slot-allocated-17(10),
slot-allocated-24(11),
slot-allocated-34(12),
lot-allocated-51(13),
slot-allocated-68(14),
second-subslot(15)
}
Granting-delay ::= ENUMERATED
{
capacity-allocation-at-next-opportunity(0),
number-of-opportunities-delay(1),
number-of-opportunities-delay(2),
number-of-opportunities-delay(3),
number-of-opportunities-delay(4),
number-of-opportunities-delay(5),
number-of-opportunities-delay(6),
number-of-opportunities-delay(7),
number-of-opportunities-delay(8),
number-of-opportunities-delay(9),
number-of-opportunities-delay(10),
number-of-opportunities-delay(11),
number-of-opportunities-delay(12),
number-of-opportunities-delay(13),
allocation-starts-at-frame-18(14),
wait(15)
}
ChannelAllocation ::= SEQUENCE
{
allocation-type ENUMERATED {replace(0), add(1), quit(2), reserved(3)},
timeslot-assigned Timeslot-Assigned,
up-down-assigned ENUMERATED {reserve(0), downlink-only(1), uplink-only(2), uplink-downlink(3)},
clch-permission CLCH-permission,
cell-change Cell-change-flag,
carrier-number INTEGER(0..4095),
extend-carrier-flag CHOICE{none NULL,extended Extended-carrier-flag} ,
monitoring-pattern CHOICE{one Monitoring-pattern,none1 NULL,none2 NULL,none3 NULL}
}
Timeslot-Assigned ::= ENUMERATED
{
go-to-control-channel(0),
timeslot-4(1),
timeslot-bit-map(2),
timeslot-bit-map(3),
timeslot-bit-map(4),
timeslot-bit-map(5),
timeslot-bit-map(6),
timeslot-bit-map(7),
timeslot-bit-map(8),
timeslot-bit-map(9),
timeslot-bit-map(10),
timeslot-bit-map(11),
timeslot-bit-map(12),
timeslot-bit-map(13),
timeslot-bit-map(14),
all-four-timeslots(15)
}
CLCH-permission ::= ENUMERATED
{
no-permission(0),
permission(1)
}
Cell-change-flag ::= ENUMERATED
{
no-change(0),
change(1)
}
Extended-carrier-flag ::= SEQUENCE
{
frequency-band INTEGER(0..15),
offset INTEGER(0..3),
duplex-spacing INTEGER(0..7),
reverse-operation ENUMERATED{normal(0),reverse(1)}
}
Monitoring-pattern ::= ENUMERATED
{
no(0),
one(1),
two(2),
three(3)
}
MAC-END-DOWN111 ::= SEQUENCE
{
pdu-type INTEGER(0..7),
fill-bit-ind BOOLEAN,
position-of-grant INTEGER(0..1),
lengthIndication LengthIndicationMacEndDl,
slot-granting CHOICE
{
none NULL,
slot-granting-param SlotGranting
},
channel-allocation CHOICE
{
none NULL,
channel-allocation-element ChannelAllocation
},
tm-sdu BIT STRING(SIZE(111))
}
LengthIndicationMacEndDl ::= ENUMERATED
{
reserved-0(0),
reserved-1(1),
bits-16(2),
bits-24(3),
bits-32(4),
bits-40(5),
bits-48(6),
bits-56(7),
bits-64(8),
bits-72(9),
bits-80(10),
bits-88(11),
bits-96(12),
bits-104(13),
bits-112(14),
bits-120(15),
bits-128(16),
bits-136(17),
bits-144(18),
bits-152(19),
bits-160(20),
bits-168(21),
bits-176(22),
bits-184(23),
bits-192(24),
bits-200(25),
bits-208(26),
bits-216(27),
bits-224(28),
bits-232(29),
bits-240(30),
bits-248(31),
bits-256(32),
bits-264(33),
bits-272(34),
reserved-35(35),
reserved-36(36),
reserved-37(37),
reserved-38(38),
reserved-39(39),
reserved-40(40),
reserved-41(41),
reserved-42(42),
reserved-43(43),
reserved-44(44),
reserved-45(45),
reserved-46(46),
reserved-47(47),
reserved-48(48),
reserved-49(49),
reserved-50(50),
reserved-51(51),
reserved-52(52),
reserved-53(53),
reserved-54(54),
reserved-55(55),
reserved-56(56),
reserved-57(57),
reserved-58(58),
reserved-59(59),
reserved-60(60),
reserved-61(61),
reserved-62(62),
reserved-63(63)
}
MAC-RESOURCE ::= SEQUENCE
{
pdu-type INTEGER(0..3),
fill-bit-indication Fill-Bit-Indication,
position-of-grant Position-Of-Grant,
encryption-mode INTEGER(0..3),
access-ack ENUMERATED{undefined(0),random-access-acknowledged(1)},
lengthIndication LengthIndicationMacResource,
address AddressMacResource
}
OTHER-DATA ::= SEQUENCE
{
power-control CHOICE
{
none NULL,
powerParameters PowerControl
},
slot-granting CHOICE
{
none NULL,
slot-granting-param SlotGranting
},
channel-allocation CHOICE
{
none NULL,
channel-allocation-element ChannelAllocation
},
tm-sdu D-LLC-PDU
}
Position-Of-Grant ::= ENUMERATED
{
on-current(0),
on-allocated(1)
}
AddressMacResource ::= CHOICE
{
null-pdu NULL,
ssi SSI-NEED,
eventLabel EVENT-NEED,
ussi USSI-NEED,
smi SMI-NEED,
ssi-eventLabel SSI-EVENT-NEED,
ssi-usage-maker SSI-USAGE-NEED,
smi-eventLabel SMI-EVENT-NEED
}
SSI-NEED ::= SEQUENCE
{
ssi INTEGER(0..16777215),
other OTHER-DATA
}
EVENT-NEED ::= SEQUENCE
{
eventlabel INTEGER(0..1023),
other OTHER-DATA
}
USSI-NEED ::= SEQUENCE
{
ussi INTEGER(0..16777215),
other OTHER-DATA
}
SMI-NEED ::= SEQUENCE
{
smi INTEGER(0..16777215),
other OTHER-DATA
}
SSI-EVENT-NEED ::= SEQUENCE
{
ssi INTEGER(0..16777215),
ventlabel INTEGER(0..1023),
other OTHER-DATA
}
SSI-USAGE-NEED ::= SEQUENCE
{
ssi INTEGER(0..16777215),
usage-maker INTEGER(0..63),
other OTHER-DATA
}
SMI-EVENT-NEED ::= SEQUENCE
{
smi-eventlabel BIT STRING(SIZE(34)),
other OTHER-DATA
}
LengthIndicationMacResource ::= ENUMERATED
{
reserved-0(0),
reserved-1(1),
null-pdu(2),
reserved(3),
bits-32(4),
bits-40(5),
bits-48(6),
bits-56(7),
bits-64(8),
bits-72(9),
bits-80(10),
bits-88(11),
bits-96(12),
bits-104(13),
bits-112(14),
bits-120(15),
bits-128(16),
bits-136(17),
bits-144(18),
bits-152(19),
bits-160(20),
bits-168(21),
bits-176(22),
bits-184(23),
bits-192(24),
bits-200(25),
bits-208(26),
bits-216(27),
bits-224(28),
bits-232(29),
bits-240(30),
bits-248(31),
bits-256(32),
bits-264(33),
bits-272(34),
reserved-35(35),
reserved-36(36),
reserved-37(37),
reserved-38(38),
reserved-39(39),
reserved-40(40),
reserved-41(41),
reserved-42(42),
reserved-43(43),
reserved-44(44),
reserved-45(45),
reserved-46(46),
reserved-47(47),
reserved-48(48),
reserved-49(49),
reserved-50(50),
reserved-51(51),
reserved-52(52),
reserved-53(53),
reserved-54(54),
reserved-55(55),
reserved-56(56),
reserved-57(57),
reserved-58(58),
reserved-59(59),
reserved-60(60),
reserved-61(61),
second-halfslot-stolen(62),
start-frag(63)
}
PowerControl ::= ENUMERATED
{
no-change(0),
increase-1(1),
increase-2(2),
increase-3(3),
increase-4(4),
increase-5(5),
increase-6(6),
maximum-xceeded(7),
revert-open-loop-control(8),
decrease-1(9),
decrease-2(10),
decrease-3(11),
decrease-4(12),
decrease-5(13),
decrease-6(14),
radio-uplink-failure(15)
}
ExtendCarrier ::= SEQUENCE
{
freq-band INTEGER(0..15),
offset INTEGER(0..3),
duplex-spacing INTEGER(0..7),
reverse-operation BOOLEAN
}
MAC-ACCESS-DEFINE ::= SEQUENCE
{
pdu-type INTEGER(0..3),
broadcast-type INTEGER(0..3),
broadcast-channel INTEGER(0..1),
access-code INTEGER(0..3),
imm INTEGER(0..15),
wt INTEGER(0..15),
nu INTEGER(0..15),
frame-len-factor INTEGER(0..1),
timeslot-pointer INTEGER(0..15),
min-priority INTEGER(0..7),
optional-field CHOICE
{
none NULL,
class-bitmap INTEGER(0..65535),
gssi INTEGER(0..33554431),
reserved NULL
},
filler-bits INTEGER(0..7)
}
D-LLC-PDU ::= CHOICE
{
bl-adata D-BL-ADATA,
bl-data D-BL-DATA,
bl-udata D-MLE-PDU,
bl-ack D-BL-ACK,
bl-adata-fcs D-BL-ADATA-FCS,
bl-data-fcs D-BL-DATA-FCS,
bl-udata-fcs D-MLE-PDU-FCS,
bl-ack-fcs D-BL-ACK-FCS,
al-setup NULL,
al-data NULL,
al-udata NULL,
al-ack NULL,
al-reconnect NULL,
reserve1 NULL,
reserve2 NULL,
al-disc NULL
}
D-BL-ACK-FCS ::= SEQUENCE
{
nr INTEGER(0..1),
tl-sdu D-MLE-PDU,
fcs OCTET STRING(SIZE(4))
}
D-MLE-PDU-FCS ::= SEQUENCE
{
d-mle-pdu D-MLE-PDU,
fcs OCTET STRING(SIZE(4))
}
D-BL-ADATA-FCS ::= SEQUENCE
{
nr INTEGER(0..1),
ns INTEGER(0..1),
tl-sdu D-MLE-PDU,
fcs OCTET STRING(SIZE(4))
}
D-BL-DATA-FCS ::= SEQUENCE
{
ns INTEGER(0..1),
tl-sdu D-MLE-PDU,
fcs OCTET STRING(SIZE(4))
}
U-BL-ACK ::= SEQUENCE
{
nr INTEGER(0..1),
tl-sdu U-MLE-PDU
}
D-BL-ACK ::= SEQUENCE
{
nr INTEGER(0..1),
tl-sdu D-MLE-PDU
}
U-BL-DATA ::= SEQUENCE
{
ns INTEGER(0..1),
tl-sdu U-MLE-PDU
}
D-BL-DATA ::= SEQUENCE
{
ns INTEGER(0..1),
tl-sdu D-MLE-PDU
}
U-BL-ADATA ::= SEQUENCE
{
nr INTEGER(0..1),
ns INTEGER(0..1),
tl-sdu U-MLE-PDU
}
D-BL-ADATA ::= SEQUENCE
{
nr INTEGER(0..1),
ns INTEGER(0..1),
tl-sdu D-MLE-PDU
}
D-MLE-PDU ::= CHOICE
{
u-mle-reserved1 NULL,
mm D-MM-PDU,
cmce D-CMCE-PDU,
u-mle-reserved2 NULL,
sndcp NULL,
mle DMLE-PDU,
tetra-management-entity-protocol NULL,
u-mle-reserved3 NULL
}
UMLE-PDU ::= CHOICE
{
u-prepare U-PREPARE,
umle-reserved1 NULL,
umle-reserved2 NULL,
umle-reserved3 NULL,
u-restore U-RESTORE,
umle-reserved4 NULL,
umle-reserved5 NULL,
umle-reserved6 NULL
}
DMLE-PDU ::= CHOICE
{
d-new-cell D-NEW-CELL,
d-prepare-fail D-PREPARE-FAIL,
d-nwrk-broadcast D-NWRK-BRDADCAST,
dmle-reserved1 NULL,
d-restore-ack D-RESTORE-ACK,
d-restore-fail D-RESTORE-FAIL,
dmle-reserved2 NULL,
dmle-reserved3 NULL
}
U-PREPARE ::= SEQUENCE
{
pdu-type INTEGER(0..7),
optional-elements CHOICE
{
no-type2 NULL,
type2-parameters SEQUENCE {
cell-number CHOICE{none NULL, cell-number INTEGER(0..65535)},
sdu BIT STRING
}
}
}
U-RESTORE ::= SEQUENCE
{
pdu-type INTEGER(0..7),
optional-elements CHOICE {
no-type2 NULL,
type2-parameters SEQUENCE {
mcc CHOICE{none NULL,mcc INTEGER(0..1023)},
mnc CHOICE{none NULL,mnc INTEGER(0..16383)},
la CHOICE{none NULL,la INTEGER(0..16383)},
sdu BIT STRING
}
}
}
D-NEW-CELL ::= SEQUENCE
{
pdu-type INTEGER(0..7),
channel-command-valid INTEGER(0..3),
optional-elements CHOICE {
no-type2 NULL,
sdu BIT STRING
}
}
D-PREPARE-FAIL ::= SEQUENCE
{
pdu-type INTEGER(0..7),
fail-cause INTEGER(0..3),
optional-elements CHOICE {
no-type2 NULL,
sdu BIT STRING
}
}
D-NWRK-BRDADCAST ::= SEQUENCE
{
pdu-type INTEGER(0..7),
cell-re-select-parameters INTEGER(0..65535),
cell-service-level INTEGER(0..3),
optional-elements CHOICE {
no-type2 NULL,
type2-parameters SEQUENCE {
tetra-network-time CHOICE{none NULL, tetra-network-time TETRA-NETWORK-TIME},
number-of-neighbour-cells CHOICE{none NULL, number-of-neighbour-cells INTEGER(0..7)}
}
}
}
TETRA-NETWORK-TIME ::= SEQUENCE
{
network-time INTEGER(SIZE(24)),
local-time-offset-sign INTEGER(0..1),
local-time-offset INTEGER(0..63),
year INTEGER(0..63),
reserved INTEGER(SIZE(11))
}
D-RESTORE-ACK ::= SEQUENCE
{
pdu-type INTEGER(0..7),
sdu BIT STRING
}
D-RESTORE-FAIL ::= SEQUENCE
{
pdu-type INTEGER(0..7),
fail-cause INTEGER(0..3)
}
U-MM-PDU ::= CHOICE
{
u-Authentication NULL,
u-Itsi-Detach NULL,
u-Location-Update-Demand U-LOCATION-UPDATE-DEMAND,
u-MM-Status U-MM-STATUS,
u-MM-reserved1 NULL,
u-WK NULL,
u-MM-reserved3 NULL,
u-Attach-Detach-Group-Identity U-ATTACH-DETACH-GROUP-IDENTITY,
u-Attach-Detach-Group-Identity-Ack U-ATTACH-DETACH-GROUP-IDENTITY-ACK,
u-TEI-Provide NULL,
u-MM-reserved6 NULL,
u-Disabled-Status NULL,
u-MM-reserved7 NULL,
u-MM-reserved8 NULL,
u-MM-reserved9 NULL,
u-MM-Function-Not-Support NULL
}
D-MM-PDU ::= CHOICE
{
d-Otar NULL,
d-Authentication NULL,
d-Authentication-Reject NULL,
d-Disable NULL,
d-Enable NULL,
d-Location-Update-Accept D-LOCATION-UPDATE-ACCEPT,
d-Location-Update-Command NULL,
d-Location-Update-Reject D-LOCATION-UPDATE-REJECT,
d-MM-reserved2 NULL,
d-Location-Update-Proceeding NULL,
d-Attach-Detach-Group-Identity D-ATTACH-DETACH-GROUP-IDENTITY,
d-Attach-Detach-Group-Identity-Ack D-ATTACH-DETACH-GROUP-IDENTITY-ACK,
d-MM-Status D-MM-STATUS,
d-MM-reserved5 NULL,
d-MM-reserved6 NULL,
d-MM-Function-Not-Support NULL
}
UPDATE-TYPE ::= ENUMERATED
{
roaming-location-updating(0),
temporary-registration(1),
periodic-location-updating(2),
itsi-attach(3),
call-restoration-roaming(4),
migrating-or-call-restoration-migrating(5),
demand-location-updating(6),
disabled-MS-updating(7)
}
TYPE3-IDENTIFIER ::= ENUMERATED
{
reserved(0),
default-group-attachment-lifetime(1),
new-registered-area(2),
group-identity-location-demand(3),
group-report-response(4),
group-identity-location-accept(5),
dm-ms-address(6),
group-identity-downlink(7),
group-identity-uplink(8),
authentication-uplink(9),
authentication-downlink(10),
reserved(11),
reserved1(12),
reserved2(13),
reserved3(14),
proprietary(15)
}
GROUP-IDENTITY-DOWNLINK ::= SEQUENCE
{
attach-detach-identifier CHOICE{
attach SEQUENCE{
lifetime INTEGER(0..3),
class-of-usage INTEGER(0..7)
},
detach SEQUENCE{
detach-downlike ENUMERATED{
unknow-gssi(0),
temporary-detachment1(1),
temporary-detachment2(2),
permanent-detachment(3)
}
}
},
address-type CHOICE{
gssi OCTET STRING(SIZE(3)),
gssi-extension SEQUENCE{ gssi OCTET STRING(SIZE(3)), extension OCTET STRING(SIZE(3))},
vgssi OCTET STRING(SIZE(3))
}
}
GROUP-IDENTITY-UPLINK ::= SEQUENCE
{
attach-detach-identifier CHOICE{
attach SEQUENCE{
class-of-usage INTEGER(0..7)
},
detach SEQUENCE{
detach-uplike ENUMERATED{
unknow-gssi(0),
invalid-cipher(1),
user-intitial(2),
reserved(3)
}
}
},
address-type CHOICE{
gssi OCTET STRING(SIZE(3)),
gssi-extension SEQUENCE{ gssi OCTET STRING(SIZE(3)), extension OCTET STRING(SIZE(3))},
vgssi OCTET STRING(SIZE(3))
}
}
D-LOCATION-UPDATE-ACCEPT ::= SEQUENCE
{
location-update-type UPDATE-TYPE,
optional-elements CHOICE
{
no-type2 NULL,
type2-parameters SEQUENCE
{
ssi CHOICE{none NULL,ssi OCTET STRING(SIZE(3))},
address-extension CHOICE{none NULL,address-extension OCTET STRING(SIZE(3))},
subscriber-class CHOICE{none NULL,subscriber-class Subscriber-class},
energy-saving-mode CHOICE{none NULL,energy-saving-mode INTEGER(0..7)},
scch-info CHOICE{none NULL,scch-info INTEGER(0..16383)},
type3 CHOICE{
no-type3 NULL,
type3-elements SEQUENCE
{
type2-existance BOOLEAN,
type3-identifier TYPE3-IDENTIFIER,
new-ra CHOICE{none NULL,new-ra INTEGER(0..3)},
group-identity-location-accept CHOICE{none NULL,group-identity-location-accept INTEGER(0..3)},
group-predefined-lifetime CHOICE{none NULL,group-predefined-lifetime INTEGER(0..3)},
group-identity-downlink CHOICE{none NULL,group-identity-downlink INTEGER(0..15)},
proprietary CHOICE{none NULL,proprietary INTEGER(0..7) }
}
}
}
}
}
D-LOCATION-UPDATE-REJECT ::= SEQUENCE
{
location-update-type UPDATE-TYPE,
reject-cause INTEGER(0..31),
cipher-control BOOLEAN
}
U-MM-STATUS ::= SEQUENCE
{
status-uplink INTEGER(0..63),
scanning-on-off ENUMERATED{on(0),off(1)}
}
D-MM-STATUS ::= SEQUENCE
{
status-downlink INTEGER(0..63)
}
Subscriber-class ::= BIT STRING(SIZE(16))
U-CMCE-PDU ::= CHOICE
{
u-Alert U-ALERT,
reserved1 NULL,
u-Connect U-CONNECT,
reserved2 NULL,
u-Disconnect U-DISCONNECT,
u-Info U-INFO,
u-Release U-RELEASE,
u-Setup U-SETUP,
u-Status U-STATUS,
u-Tx-Ceased U-TX-CEASED,
u-Tx-Demand U-TX-DEMAND,
reserved3 NULL,
reserved4 NULL,
reserved5 NULL,
u-Call-Restore U-CALL-RESTORE,
u-SDS-Data U-SDS-DATA,
u-Facility NULL
}
U-RELEASE ::= SEQUENCE
{
call-identifier INTEGER(0..16383),
disconnect-cause INTEGER(0..31)
}
U-SDS-DATA ::= SEQUENCE
{
area-selection INTEGER(0..15),
called-party-type-identifier CHOICE{
sna INTEGER(0..255),
ssi INTEGER(0..16777215),
ssi-extension BIT STRING(SIZE(48)),
none NULL
},
short-data-type-identifier CHOICE{
data-1 INTEGER(0..65535),
data-2 OCTET STRING(SIZE(4)),
data-3 BIT STRING(SIZE(64)),
length-indicator-data-4 INTEGER(0..4194304)
}
}
U-STATUS ::= SEQUENCE
{
area-selection INTEGER(0..15),
called-party-type-identifier CHOICE
{
short-number-address INTEGER(0..255),
ssi INTEGER(0..16777215),
called-ssi-called-extension BIT STRING(SIZE(48)),
none NULL
},
pre-coded-status INTEGER(0..65535)
}
U-INFO ::= SEQUENCE
{
call-id INTEGER(0..16383),
poll-response INTEGER(0..1)
}
D-CMCE-PDU ::= CHOICE
{
d-Alert D-ALERT,
d-Call-Proceeding D-CALL-PROCEEDING,
d-Connect D-CONNECT,
d-Connect-Ack D-CONNECT-ACK,
d-Disconnect D-DISCONNECT,
d-Info D-INFO,
d-Release D-RELEASE,
d-Setup D-SETUP,
d-Status D-STATUS,
d-Tx-Ceased D-TX-CEASED,
d-Tx-Continue D-TX-CONTINUE,
d-Tx-Granted D-TX-GRANTED,
d-Tx-Wait D-TX-WAIT,
d-Tx-Interrupt NULL,
d-Call-Restore D-CALL-RESTORE,
d-SDS-Data D-SDS-DATA,
d-Facility NULL
}
D-SDS-DATA ::= SEQUENCE
{
calling-party-type-identifier CHOICE{
none1 NULL,
ssi INTEGER(0..16777215),
ssi-extension OCTET STRING(SIZE(6)),
none2 NULL
},
short-data-type-identifier CHOICE{
data-1 INTEGER(0..65535),
data-2 OCTET STRING(SIZE(4)),
data-3 OCTET STRING(SIZE(8)),
length-indicator-data-4 INTEGER(0..4194304)
}
}
D-STATUS ::= SEQUENCE
{
calling-party-type-identifier CHOICE{
none1 NULL,
calling-party-address-SSI INTEGER(0..16777215),
ssi-extension OCTET STRING(SIZE(6)),
none2 NULL
},
pre-coded-status INTEGER(0..65535)
}
D-DISCONNECT ::= SEQUENCE
{
call-identifier INTEGER(0..16383),
disconnect-cause INTEGER(0..31)
}
D-INFO ::= SEQUENCE
{
call-identifier INTEGER(0..16383),
reset-call-time-out-timer INTEGER(0..1),
poll-request INTEGER(0..1)
}
D-TX-WAIT ::= SEQUENCE
{
call-identifier INTEGER(0..16383),
transmission-request-permission INTEGER(0..1)
}
D-TX-CONTINUE ::= SEQUENCE
{
call-identifier INTEGER(0..16383),
continue INTEGER(0..1),
transmission-request-permission INTEGER(0..1)
}
U-LOCATION-UPDATE-DEMAND ::= SEQUENCE
{
location-update-type UPDATE-TYPE,
request-to-append-LA BOOLEAN,
cipher-control CHOICE{no-cipher NULL,ciphering-parameters INTEGER(0..1023)},
optional-elements CHOICE{
no-type2 NULL,
type2-parameters SEQUENCE
{
class-of-MS CHOICE{none NULL, class-of-MS INTEGER(0..16777215)},
energy-saving-mode CHOICE{none NULL,energy-saving-mode INTEGER(0..7)},
la-information CHOICE{none NULL,la-information INTEGER(0..16383)},
ssi CHOICE{none NULL,ssi OCTET STRING(SIZE(3))},
address-extension CHOICE{none NULL,address-extension OCTET STRING(SIZE(3))},
type3 CHOICE
{
no-type3 NULL,
type3-elements SEQUENCE
{
type3-identifier TYPE3-IDENTIFIER,
group-identity-location-demand CHOICE{none NULL,group-identity-location-demand INTEGER(0..3)},
group-report-response CHOICE{none NULL,group-report-response BOOLEAN},
group-identity-uplink CHOICE{none NULL,group-identity-uplink INTEGER(0..15)},
proprietary CHOICE{none NULL,proprietary INTEGER(0..7) }
}
}
}
}
}
U-ATTACH-DETACH-GROUP-IDENTITY ::=SEQUENCE
{
group-identity-report BOOLEAN,
group-identity-attach-detach-mode BOOLEAN,
optional-elements CHOICE{
no-type2 NULL,
type2-element SEQUENCE{
type3 CHOICE
{
no-type3 NULL,
type3-elements SEQUENCE
{
type3-identifier TYPE3-IDENTIFIER,
length INTEGER(0..2047),
repeat-num INTEGER(0..63),
group-identity-uplink GROUP-IDENTITY-UPLINK
--group-report-response CHOICE{none NULL,group-report-response INTEGER(0..7)},
--group-identity-uplink CHOICE{none NULL,group-identity-uplink INTEGER(0..15)},
-- proprietary CHOICE{none NULL,proprietary INTEGER(0..7)}
}
}
}
}
}
U-ATTACH-DETACH-GROUP-IDENTITY-ACK ::=SEQUENCE
{
group-identity-ack-type BOOLEAN,
group-identity-attach-detach-mode BOOLEAN,
optional-elements CHOICE{
no-type2 NULL,
type2-element SEQUENCE{
type3 CHOICE{
no-type3 NULL,
type3-elements SEQUENCE
{
type3-identifier TYPE3-IDENTIFIER,
length INTEGER(0..2047),
repeat-num INTEGER(0..63),
group-identity-uplink GROUP-IDENTITY-UPLINK
--group-identity-uplink CHOICE{none NULL,group-identity-uplink INTEGER(0..15)},
-- proprietary CHOICE{none NULL,proprietary INTEGER(0..7) }
}
}
}
}
}
U-SETUP ::= SEQUENCE{
area-selection INTEGER ( 0..15 ),
hook-method-selection BOOLEAN,
simple-duplex-selection ENUMERATED {simplex(0), duplex(1)},
basic-service-information Basic-service-information,
request-transmit-send-data INTEGER ( 0..1 ),
call-priority INTEGER ( 0..15 ),
clir-control INTEGER ( 0..3 ),
called-party-address Called-party-address-type,
optional-elements CHOICE
{
no-type2 NULL,
type2-parameters SEQUENCE {
external-subscriber-number [14] CHOICE { none NULL, external-subscriber-number [14] INTEGER (0..31)},
prop [15] CHOICE {none NULL, prop [15] Proprietary }
}
}
}
Basic-service-information ::= SEQUENCE
{
circuit-mode CIRCUIT,
encryption INTEGER(0..1),
communication INTEGER(0..3),
slots-or-speech INTEGER(0..3)
}
CIRCUIT ::= ENUMERATED {
speech-tch-s(0),
unprotected-tch-7-2(1),
low-protection-tch-4-8(2),
low-protection-tch-4-8(3),
low-protection-tch-4-8(4),
high-protection-tch-2-4(5),
high-protection-tch-2-4(6),
high-protection-tch-2-4(7)
}
U-ALERT::=
SEQUENCE{
call-identifier INTEGER ( 0..1023 ),
reserved INTEGER ( 0..1 ),
simplex-duplex-selection ENUMERATED {simplex(0), duplex(1)},
optional-elements CHOICE {
no-type2 NULL,
type2-parameters SEQUENCE {
basic-service-information CHOICE{none NULL, basic-service-information Basic-service-information},
prop [15] CHOICE {none NULL, prop [15] Proprietary }
}
}
}
U-CONNECT ::=
SEQUENCE{
call-identifier INTEGER (0..1023),
hook-method-selection BOOLEAN,
simplex-duplex-selection ENUMERATED {simplex(0), duplex(1)},
optional-elements CHOICE {
no-type2 NULL,
type2-parameters SEQUENCE {
basic-service-information CHOICE{none NULL, basic-service-information Basic-service-information},
prop [15] CHOICE {none NULL, prop [15] Proprietary }
}
}
}
U-TX-CEASED::=
SEQUENCE{
call-identifier INTEGER ( 0..1023 ),
optional-elements CHOICE {
no-type2 NULL,
type2-parameters SEQUENCE {
prop [15] CHOICE {none NULL, prop [15] Proprietary }
}
}
}
U-TX-DEMAND::=
SEQUENCE{
call-identifier INTEGER ( 0..1023 ),
tx-demand-priority INTEGER ( 0..3),
encryption-control INTEGER ( 0..1 ),
reserved INTEGER ( 0..1 ),
optional-elements CHOICE {
no-type2 NULL,
type2-parameters SEQUENCE {
prop [15] CHOICE {none NULL, prop [15] Proprietary }
}
}
}
U-DISCONNECT ::=
SEQUENCE{
call-identifier INTEGER ( 0..1023 ),
disconnect-cause INTEGER ( 0..31 ),
optional-elements CHOICE{
no-type2 NULL,
type2-parameters SEQUENCE {
prop [15] CHOICE {none NULL, prop [15] Proprietary }
}
}
}
U-CALL-RESTORE::=
SEQUENCE{
call-identifier INTEGER ( 0..1023 ),
request-to-transmit-send-data INTEGER ( 0..1 ),
other-party-address Other-party-address-type,
basic-service-information Basic-service-information,
optional-elements CHOICE{
no-type2 NULL,
type2-parameters SEQUENCE {
prop [15] CHOICE {none NULL, prop [15] Proprietary }
}
}
}
D-SETUP ::= SEQUENCE{
call-identifier INTEGER (0..16383 ),
call-time-out INTEGER (0..15 ),
hook-method-selection INTEGER(0..1),
simplex-duplex-selection ENUMERATED {simplex(0), duplex(1)},
basic-service-information Basic-service-information,
transmission-grant INTEGER (0..3 ),
transmission-request-permission INTEGER (0..1 ),
call-priority INTEGER (0..15),
optional-elements CHOICE {
no-type2 NULL ,
type2-parameters SEQUENCE {
calling-party-address CHOICE { none NULL, calling-party-address Calling-party-address-type},
external-subscriber-number [14] CHOICE { none NULL, external-subscriber-number [14] INTEGER (0..15)},
prop [15] CHOICE {none NULL, prop [15] Proprietary }
}
}
}
D-CALL-PROCEEDING ::=
SEQUENCE{
call-identifier INTEGER (0..1023),
call-time-out-setup-phase INTEGER (0..7),
hook-method-selection BOOLEAN ,
simplex-duplex-selection INTEGER (0..1),
optional-elements CHOICE {
no-type2 NULL,
type2-parameters SEQUENCE {
basic-service-information CHOICE{none NULL, basic-service-information Basic-service-information},
call-status CHOICE{none NULL, call-status INTEGER (0..7)},
notification-indicator CHOICE{none NULL, notification-indicator INTEGER (0..63) },
prop [15] CHOICE {none NULL, prop [15] Proprietary }
}
}
}
D-ALERT ::= SEQUENCE{
call-identifier INTEGER ( 0..1023 ),
call-time-out-setup-phase INTEGER ( 0..7 ),
reserved INTEGER ( 0..1 ),
simplex-duplex-selection ENUMERATED {simplex(0), duplex(1)},
call-queued BOOLEAN,
optional-elements CHOICE
{
no-type2 NULL,
type2-parameters SEQUENCE {
basic-service-infomation CHOICE{none NULL, basic-service-infomation Basic-service-information},
notification-indicator CHOICE{none NULL, notification-indicator INTEGER (0..63) },
prop [15] CHOICE {none NULL, prop [15] Proprietary }
}
}
}
D-CONNECT::=
SEQUENCE{
call-identifier INTEGER (0..1023),
call-time-out INTEGER (0..31),
hook-method-selection BOOLEAN,
simplex-duplex-selection ENUMERATED {simplex(0), duplex(1)},
transmission-grant INTEGER (0..3),
transmission-request-permission INTEGER (0..1) ,
call-ownership INTEGER (0..1) ,
optional-elements CHOICE{
no-type2 NULL,
type2-parameters SEQUENCE {
call-priority CHOICE{none NULL, call-priority INTEGER (0..15)},
basic-service-information CHOICE{none NULL, basic-service-information Basic-service-information},
temporary-address CHOICE { none NULL, temporary-address Calling-party-address-type},
notification-indicator CHOICE { none NULL, notification-indicator INTEGER (0..63)},
prop [15] CHOICE {none NULL, prop [15] Proprietary }
}
}
}
D-CONNECT-ACK::=
SEQUENCE{
call-identifier INTEGER (0..1023),
call-time-out INTEGER (0..15),
transmission-grant INTEGER (0..3),
transmission-request-permission INTEGER (0..1),
optional-elements CHOICE{
no-type2 NULL,
type2-parameters SEQUENCE {
notification-indicator CHOICE { none NULL, notification-indicator INTEGER (0..63)},
prop [15] CHOICE {none NULL, prop [15] Proprietary }
}
}
}
D-RELEASE::=
SEQUENCE{
call-identifier INTEGER ( 0..16383 ),
disconnect-cause INTEGER ( 0..31 ),
optional-elements CHOICE{
no-type2 NULL,
type2-parameters SEQUENCE {
notification-indicator CHOICE {none NULL, notification-indicator INTEGER (0..63) },
prop [15] CHOICE {none NULL, prop [15] Proprietary }
}
}
}
D-CALL-RESTORE::=
SEQUENCE{
call-identifier INTEGER ( 0..1023 ),
transmission-grant INTEGER ( 0..3 ),
transmission-request-permission INTEGER( 0..1 ),
reset-call-time-out INTEGER ( 0..1 ),
optional-elements CHOICE{
no-type2 NULL,
type2-parameters SEQUENCE {
new-call-identifier CHOICE{none NULL, new-call-identifier INTEGER (0..1023)},
call-time-out CHOICE{none NULL, call-time-out INTEGER ( 0..7 )},
call-status CHOICE { none NULL, call-status INTEGER ( 0..7 )},
modify CHOICE { none NULL, modify Modify-type},
notification-indicator CHOICE { none NULL, notification-indicator INTEGER (0..63)},
prop [15] CHOICE {none NULL, prop [15] Proprietary }
}
}
}
D-TX-CEASED::=
SEQUENCE{
call-identifier INTEGER ( 0..1023 ),
transmission-request-permission INTEGER ( 0..1 ),
optional-elements CHOICE{
no-type2 NULL,
type2-parameters SEQUENCE {
notification-indicator CHOICE {none NULL, notification-indicator INTEGER (0..63) },
prop [15] CHOICE {none NULL, prop [15] Proprietary }
}
}
}
D-TX-GRANTED ::=
SEQUENCE {
call-identifier INTEGER ( 0..1023 ),
transmission-grant INTEGER ( 0..3 ),
transmission-request-permission INTEGER ( 0..1 ),
encryption-control INTEGER ( 0..1 ),
reserved INTEGER ( 0..1 )
}
D-ATTACH-DETACH-GROUP-IDENTITY ::=SEQUENCE
{
group-identity-report BOOLEAN,
group-identity-ack-request BOOLEAN,
group-identity-attach-detach-mode BOOLEAN,
optional-elements CHOICE{
no-type2 NULL,
type2-element SEQUENCE{
type3 CHOICE{
no-type3 NULL,
type3-elements SEQUENCE
{type3-identifier TYPE3-IDENTIFIER,
length INTEGER(0..2047),
repeat-num INTEGER(0..63),
group-identity-downlink GROUP-IDENTITY-DOWNLINK
--proprietary CHOICE{none NULL,proprietary INTEGER(0..7)},
--group-report-response CHOICE{none NULL,group-report-response INTEGER(0..7)},
-- group-identity-downlink CHOICE{none NULL,group-identity-downlink INTEGER(0..15)}
}
}
}
}
}
D-ATTACH-DETACH-GROUP-IDENTITY-ACK ::=SEQUENCE
{
group-identity-attach-detach-accept BOOLEAN,
reserved INTEGER ( 0..1 ),
optional-elements CHOICE{
no-type2 NULL,
type2-element SEQUENCE{
type3 CHOICE{
no-type3 NULL,
type3-elements SEQUENCE
{
type3-identifier TYPE3-IDENTIFIER,
length INTEGER(0..2047),
repeat-num INTEGER(0..63),
group-identity-downlink GROUP-IDENTITY-DOWNLINK
-- proprietary CHOICE{none NULL,proprietary INTEGER(0..7) },
-- group-identity-downlink CHOICE{none NULL,group-identity-downlink INTEGER(0..15)}
}
}
}
}
}
SPEECHMODE ::= SEQUENCE
{
encryption-flag INTEGER ( 0..1 ),
communication-type CALLMODE,
speech-service INTEGER (0..3)
}
DATAMODE ::= SEQUENCE
{
encryption-flag INTEGER ( 0..1 ),
communication-type INTEGER ( 0..3 ),
slots-per-frame INTEGER (0..3)
}
CALLMODE ::= ENUMERATED
{
single-call(0),
group-call(1),
reserve(2),
broadcase(3)
}
Calling-party-address-type ::= CHOICE {
called-party-sna [0] INTEGER ( 0..255 ),
called-party-ssi [1] INTEGER ( 0..16777215 ),
-- WS modification: fix misspelling
called-party-ssi-extension [2] SEQUENCE {
-- End WS modification
called-party-ssi INTEGER ( 0..16777215 ),
-- WS modification: fix misspelling
called-party-extention INTEGER ( 0..16777215 )
-- End WS modification
}
}
Called-party-address-type ::= Calling-party-address-type
Other-party-address-type ::= Calling-party-address-type
Proprietary ::= [15] SEQUENCE {
-- element identifier is 15 as defined in table 212
-- the length is encoded in 11 bits (table E.1)
data CHOICE
{
element1 Type1,
element Type2
}
}
Proprietary-element-owner ::= INTEGER(0..255)
Type1 ::= SEQUENCE
{
proprietary-element-owner Proprietary-element-owner,
proprietary-element-owner-extension BIT STRING
}
Type2 ::= SEQUENCE
{
proprietary-element-owner Proprietary-element-owner
}
Modify-type ::= SEQUENCE{
simplex-duplex-selection ENUMERATED {simplex(0), duplex(1)},
basic-service-information Basic-service-information
}
END |
Configuration | wireshark/epan/dissectors/asn1/tetra/tetra.cnf | # umac.cnf
# umac conformation file
#.OPT
-u
#.MODULE_IMPORT
#.OMIT_ASSIGNMENT
ExtendCarrier
SPEECHMODE
DATAMODE
CALLMODE
#.EXPORTS
#U-ALERT
#U-CONNECT
#U-DISCONNECT
#U-INFO
#U-RELEASE
#U-SETUP
#U-STATUS
#U-TX-CEASED
#U-TX-DEMAND
#U-CALL-RESTORE
#U-SDS-DATA
#D-ALERT
#D-CALL-PROCEEDING
#D-CONNECT
#D-CONNECT-ACK
#D-DISCONNECT
#D-INFO
#D-RELEASE
#D-SETUP
#D-STATUS
#D-TX-CEASED
#D-TX-GRANTED
#D-CALL-RESTORE
#D-SDS-DATA
#D-TX-WAIT
#D-TX-CONTINUE
#D-ATTACH-DETACH-GROUP-IDENTITY
#D-ATTACH-DETACH-GROUP-IDENTITY-ACK
#U-LOCATION-UPDATE-DEMAND
#U-ATTACH-DETACH-GROUP-IDENTITY
#U-ATTACH-DETACH-GROUP-IDENTITY-ACK
#U-MM-STATUS
#D-LOCATION-UPDATE-ACCEPT
#D-LOCATION-UPDATE-REJECT
#D-MM-STATUS
#.END
#.PDU
AACH
MAC-FRAG
MAC-FRAG120
MAC-END-UPLINK
MAC-END-UP114
MAC-END-HU
MAC-END-DOWNLINK
MAC-END-DOWN111
MAC-ACCESS-DEFINE
MAC-RESOURCE
MAC-ACCESS
BSCH
BNCH
MAC-DATA
#.FN_BODY U-RELEASE
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-RELEASE");
#.END
#.FN_BODY D-RELEASE
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-RELEASE");
#.END
#.FN_BODY D-CALL-PROCEEDING
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-CALL-PROCEEDING");
#.END
#.FN_BODY D-SETUP
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-SETUP");
#.END
#.FN_BODY U-LOCATION-UPDATE-DEMAND
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-LOCATION-UPDATE-DEMAND");
#.END
#.FN_BODY D-LOCATION-UPDATE-ACCEPT
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-LOCATION-UPDATE-ACCEPT");
#.END
#.FN_BODY D-CONNECT
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-CONNECT");
#.END
#.FN_BODY D-CONNECT-ACK
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-CONNECT-ACK");
#.END
#.FN_BODY D-INFO
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-INFO");
#.END
#.FN_BODY D-DISCONNECT
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-DISCONNECT");
#.END
#.FN_BODY D-ALERT
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-ALERT");
#.END
#.FN_BODY D-TX-CEASED
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-TX-CEASED");
#.END
#.FN_BODY D-STATUS
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-STATUS");
#.END
#.FN_BODY D-TX-CONTINUE
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-TX-CONTINUE");
#.END
#.FN_BODY D-TX-GRANTED
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-TX-GRANTED");
#.END
#.FN_BODY D-TX-WAIT
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-TX-WAIT");
#.END
#.FN_BODY D-CALL-RESTORE
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-CALL-RESTORE");
#.END
#.FN_BODY D-SDS-DATA
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-SDS-DATA");
#.END
#.FN_BODY D-TX-WAIT
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-TX-WAIT");
#.END
#.FN_BODY U-ALERT
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-ALERT");
#.END
#.FN_BODY U-CONNECT
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-CONNECT");
#.END
#.FN_BODY U-DISCONNECT
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-DISCONNECT");
#.END
#.FN_BODY U-RELEASE
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-RELEASE");
#.END
#.FN_BODY U-SETUP
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-SETUP");
#.END
#.FN_BODY U-STATUS
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-STATUS");
#.END
#.FN_BODY U-SDS-DATA
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-SDS-DATA");
#.END
#.FN_BODY U-CALL-RESTORE
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-CALL-RESTORE");
#.END
#.FN_BODY U-TX-DEMAND
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-TX-DEMAND");
#.END
#.FN_BODY U-TX-CEASED
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-TX-CEASED");
#.END
#.FN_BODY U-MM-STATUS
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-MM-STATUS");
#.END
#.FN_BODY D-MM-STATUS
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-MM-STATUS");
#.END
#.FN_BODY U-ATTACH-DETACH-GROUP-IDENTITY
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-ATTACH-DETACH-GROUP-IDENTITY");
#.END
#.FN_BODY U-ATTACH-DETACH-GROUP-IDENTITY-ACK
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-ATTACH-DETACH-GROUP-IDENTITY-ACK");
#.END
#.FN_BODY D-LOCATION-UPDATE-REJECT
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-LOCATION-UPDATE-REJECT");
#.END
#.FN_BODY D-ATTACH-DETACH-GROUP-IDENTITY
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-ATTACH-DETACH-GROUP-IDENTITY");
#.END
#.FN_BODY D-ATTACH-DETACH-GROUP-IDENTITY-ACK
%(DEFAULT_BODY)s
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "U-ATTACH-DETACH-GROUP-IDENTITY-ACK");
#.END |
Text | wireshark/epan/dissectors/asn1/ulp/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME ulp )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
ULP.asn
SUPL.asn
ULP-Components.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS )
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/ulp/packet-ulp-template.c | /* packet-ulp.c
* Routines for OMA UserPlane Location Protocol packet dissection
* Copyright 2006, Anders Broman <[email protected]>
* Copyright 2014-2019, Pascal Quantin <[email protected]>
* Copyright 2020, Stig Bjorlykke <[email protected]>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* ref OMA-TS-ULP-V2_0_5-20191028-A
* http://www.openmobilealliance.org
*/
#include "config.h"
#include "math.h"
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/asn1.h>
#include "packet-per.h"
#include "packet-tcp.h"
#include "packet-gsm_map.h"
#include "packet-e164.h"
#include "packet-e212.h"
#define PNAME "OMA UserPlane Location Protocol"
#define PSNAME "ULP"
#define PFNAME "ulp"
void proto_register_ulp(void);
static dissector_handle_t rrlp_handle;
static dissector_handle_t lpp_handle;
/* IANA Registered Ports
* oma-ulp 7275/tcp OMA UserPlane Location
* oma-ulp 7275/udp OMA UserPlane Location
*/
#define ULP_PORT 7275
/* Initialize the protocol and registered fields */
static int proto_ulp = -1;
#define ULP_HEADER_SIZE 2
static gboolean ulp_desegment = TRUE;
#include "packet-ulp-hf.c"
static int hf_ulp_mobile_directory_number = -1;
static int hf_ulp_ganssTimeModels_bit0 = -1;
static int hf_ulp_ganssTimeModels_bit1 = -1;
static int hf_ulp_ganssTimeModels_bit2 = -1;
static int hf_ulp_ganssTimeModels_bit3 = -1;
static int hf_ulp_ganssTimeModels_bit4 = -1;
static int hf_ulp_ganssTimeModels_spare = -1;
/* Initialize the subtree pointers */
static gint ett_ulp = -1;
static gint ett_ulp_setid = -1;
static gint ett_ulp_thirdPartyId = -1;
static gint ett_ulp_ganssTimeModels = -1;
#include "packet-ulp-ett.c"
static dissector_handle_t ulp_tcp_handle;
static dissector_handle_t ulp_pdu_handle;
static const value_string ulp_ganss_id_vals[] = {
{ 0, "Galileo"},
{ 1, "SBAS"},
{ 2, "Modernized GPS"},
{ 3, "QZSS"},
{ 4, "GLONASS"},
{ 5, "BDS"},
{ 0, NULL},
};
static const value_string ulp_ganss_sbas_id_vals[] = {
{ 0, "WAAS"},
{ 1, "EGNOS"},
{ 2, "MSAS"},
{ 3, "GAGAN"},
{ 0, NULL},
};
static void
ulp_ganssDataBitInterval_fmt(gchar *s, guint32 v)
{
if (v == 15) {
snprintf(s, ITEM_LABEL_LENGTH, "Time interval is not specified (15)");
} else {
double interval = (0.1*pow(2, (double)v));
snprintf(s, ITEM_LABEL_LENGTH, "%gs (%u)", interval, v);
}
}
static void
ulp_ExtendedEphemeris_validity_fmt(gchar *s, guint32 v)
{
snprintf(s, ITEM_LABEL_LENGTH, "%uh (%u)", 4*v, v);
}
static void
ulp_PositionEstimate_latitude_fmt(gchar *s, guint32 v)
{
double latitude = ((double)v*90)/pow(2,23);
snprintf(s, ITEM_LABEL_LENGTH, "%g degrees (%u)", latitude, v);
}
static void
ulp_PositionEstimate_longitude_fmt(gchar *s, guint32 v)
{
double longitude = ((double)(gint32)v*360)/pow(2,24);
snprintf(s, ITEM_LABEL_LENGTH, "%g degrees (%u)", longitude, v);
}
static void
ulp_NMRelement_rxLev_fmt(gchar *s, guint32 v)
{
if (v == 0) {
snprintf(s, ITEM_LABEL_LENGTH, "RxLev < -110dBm (0)");
} else if (v == 63) {
snprintf(s, ITEM_LABEL_LENGTH, "RxLev >= -48dBm (63)");
} else {
snprintf(s, ITEM_LABEL_LENGTH, "%ddBm <= RxLev < %ddBm (%u)", -111+v, -110+v, v);
}
}
static void
ulp_UTRA_CarrierRSSI_fmt(gchar *s, guint32 v)
{
if (v == 0) {
snprintf(s, ITEM_LABEL_LENGTH, "RSSI < -100dBm (0)");
} else if (v == 76) {
snprintf(s, ITEM_LABEL_LENGTH, "RSSI >= -25dBm (76)");
} else if (v > 76) {
snprintf(s, ITEM_LABEL_LENGTH, "Spare (%u)", v);
} else {
snprintf(s, ITEM_LABEL_LENGTH, "%ddBm <= RSSI < %ddBm (%u)", -101+v, -100+v, v);
}
}
static void
ulp_PrimaryCCPCH_RSCP_fmt(gchar *s, guint32 v)
{
if (v == 0) {
snprintf(s, ITEM_LABEL_LENGTH, "RSCP < -115dBm (0)");
} else if (v == 91) {
snprintf(s, ITEM_LABEL_LENGTH, "RSCP >= -25dBm (91)");
} else if (v > 91) {
snprintf(s, ITEM_LABEL_LENGTH, "Spare (%u)", v);
} else {
snprintf(s, ITEM_LABEL_LENGTH, "%ddBm <= RSCP < %ddBm (%u)", -116+v, -115+v, v);
}
}
static void
ulp_CPICH_Ec_N0_fmt(gchar *s, guint32 v)
{
if (v == 0) {
snprintf(s, ITEM_LABEL_LENGTH, "CPICH Ec/N0 < -24dB (0)");
} else if (v == 49) {
snprintf(s, ITEM_LABEL_LENGTH, "CPICH Ec/N0 >= 0dB (49)");
} else if (v > 49) {
snprintf(s, ITEM_LABEL_LENGTH, "Spare (%u)", v);
} else {
snprintf(s, ITEM_LABEL_LENGTH, "%.1fdB <= CPICH Ec/N0 < %.1fdB (%u)", -24.5+((float)v/2), -24+((float)v/2), v);
}
}
static void
ulp_CPICH_RSCP_fmt(gchar *s, guint32 v)
{
if (v == 123) {
snprintf(s, ITEM_LABEL_LENGTH, "CPICH RSCP < -120dBm (123)");
} else if (v > 123) {
snprintf(s, ITEM_LABEL_LENGTH, "%ddBm <= CPICH RSCP < %ddBm (%u)", -244+v, -243+v, v);
} else if (v == 91) {
snprintf(s, ITEM_LABEL_LENGTH, "CPICH RSCP >= -25dBm (91)");
} else if (v < 91) {
snprintf(s, ITEM_LABEL_LENGTH, "%ddBm < CPICH RSCP <= %ddBm (%u)", -116+v, -115+v, v);
} else {
snprintf(s, ITEM_LABEL_LENGTH, "Spare (%u)", v);
}
}
static void
ulp_QoP_horacc_fmt(gchar *s, guint32 v)
{
double uncertainty = 10*(pow(1.1, (double)v)-1);
if (uncertainty < 1000) {
snprintf(s, ITEM_LABEL_LENGTH, "%fm (%u)", uncertainty, v);
} else {
snprintf(s, ITEM_LABEL_LENGTH, "%fkm (%u)", uncertainty/1000, v);
}
}
static void
ulp_QoP_veracc_fmt(gchar *s, guint32 v)
{
double uncertainty = 45*(pow(1.025, (double)v)-1);
snprintf(s, ITEM_LABEL_LENGTH, "%fm (%u)", uncertainty, v);
}
static void
ulp_QoP_delay_fmt(gchar *s, guint32 v)
{
snprintf(s, ITEM_LABEL_LENGTH, "%gs (%u)", pow(2, (double)v), v);
}
static const true_false_string ulp_vertical_dir_val = {
"Downward",
"Upward"
};
static void
ulp_RelativeTime_fmt(gchar *s, guint32 v)
{
snprintf(s, ITEM_LABEL_LENGTH, "%.2fs (%u)", 0.01*v, v);
}
static void
ulp_RSRP_Range_fmt(gchar *s, guint32 v)
{
if (v == 0) {
snprintf(s, ITEM_LABEL_LENGTH, "RSRP < -140dBm (0)");
} else if (v == 97) {
snprintf(s, ITEM_LABEL_LENGTH, "RSRP >= -44dBm (97)");
} else {
snprintf(s, ITEM_LABEL_LENGTH, "%ddBm <= RSRP < %ddBm (%u)", -141+v, -140+v, v);
}
}
static void
ulp_RSRQ_Range_fmt(gchar *s, guint32 v)
{
if (v == 0) {
snprintf(s, ITEM_LABEL_LENGTH, "RSRQ < -19.5dB (0)");
} else if (v == 64) {
snprintf(s, ITEM_LABEL_LENGTH, "RSRQ >= -3dB (34)");
} else {
snprintf(s, ITEM_LABEL_LENGTH, "%.1fdB <= RSRQ < %.1fdB (%u)", -20+((float)v/2), -19.5+((float)v/2), v);
}
}
static void
ulp_SignalDelta_fmt(gchar *s, guint32 v)
{
snprintf(s, ITEM_LABEL_LENGTH, "%sdB (%u)", v ? "0.5" : "0", v);
}
static void
ulp_locationAccuracy_fmt(gchar *s, guint32 v)
{
snprintf(s, ITEM_LABEL_LENGTH, "%.1fm (%u)", 0.1*v, v);
}
static void
ulp_WimaxRTD_fmt(gchar *s, guint32 v)
{
snprintf(s, ITEM_LABEL_LENGTH, "%.2fus (%u)", 0.01*v, v);
}
static void
ulp_WimaxNMR_rssi_fmt(gchar *s, guint32 v)
{
snprintf(s, ITEM_LABEL_LENGTH, "%.2fdBm (%u)", -103.75+(0.25*v), v);
}
static void
ulp_UTRAN_gpsReferenceTimeUncertainty_fmt(gchar *s, guint32 v)
{
double uncertainty = 0.0022*(pow(1.18, (double)v)-1);
snprintf(s, ITEM_LABEL_LENGTH, "%fus (%u)", uncertainty, v);
}
static const value_string ulp_ganss_time_id_vals[] = {
{ 0, "Galileo"},
{ 1, "QZSS"},
{ 2, "GLONASS"},
{ 3, "BDS"},
{ 0, NULL},
};
static void
ulp_utran_GANSSTimingOfCell_fmt(gchar *s, guint32 v)
{
snprintf(s, ITEM_LABEL_LENGTH, "%.2fus (%u)", 0.25*v, v);
}
static void
ulp_Coordinate_latitude_fmt(gchar *s, guint32 v)
{
snprintf(s, ITEM_LABEL_LENGTH, "%f degrees (%u)",
((float)v/8388607.0)*90, v);
}
static void
ulp_Coordinate_longitude_fmt(gchar *s, guint32 v)
{
gint32 longitude = (gint32) v;
snprintf(s, ITEM_LABEL_LENGTH, "%f degrees (%d)",
((float)longitude/8388608.0)*180, longitude);
}
/* Include constants */
#include "packet-ulp-val.h"
typedef struct
{
guint8 notif_enc_type;
guint8 ganss_req_gen_data_ganss_id;
} ulp_private_data_t;
static ulp_private_data_t* ulp_get_private_data(asn1_ctx_t *actx)
{
if (actx->private_data == NULL) {
actx->private_data = wmem_new0(actx->pinfo->pool, ulp_private_data_t);
}
return (ulp_private_data_t*)actx->private_data;
}
#include "packet-ulp-fn.c"
static guint
get_ulp_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset, void *data _U_)
{
/* PDU length = Message length */
return tvb_get_ntohs(tvb,offset);
}
static int
dissect_ulp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
{
tcp_dissect_pdus(tvb, pinfo, tree, ulp_desegment, ULP_HEADER_SIZE,
get_ulp_pdu_len, dissect_ULP_PDU_PDU, data);
return tvb_captured_length(tvb);
}
void proto_reg_handoff_ulp(void);
/*--- proto_register_ulp -------------------------------------------*/
void proto_register_ulp(void) {
/* List of fields */
static hf_register_info hf[] = {
#include "packet-ulp-hfarr.c"
{ &hf_ulp_mobile_directory_number,
{ "Mobile Directory Number", "ulp.mobile_directory_number",
FT_STRING, BASE_NONE, NULL, 0,
NULL, HFILL }},
{ &hf_ulp_ganssTimeModels_bit0,
{ "GPS", "ulp.ganssTimeModels.gps",
FT_BOOLEAN, 16, TFS(&tfs_yes_no), 0x8000,
NULL, HFILL }},
{ &hf_ulp_ganssTimeModels_bit1,
{ "Galileo", "ulp.ganssTimeModels.galileo",
FT_BOOLEAN, 16, TFS(&tfs_yes_no), 0x4000,
NULL, HFILL }},
{ &hf_ulp_ganssTimeModels_bit2,
{ "QZSS", "ulp.ganssTimeModels.qzss",
FT_BOOLEAN, 16, TFS(&tfs_yes_no), 0x2000,
NULL, HFILL }},
{ &hf_ulp_ganssTimeModels_bit3,
{ "GLONASS", "ulp.ganssTimeModels.glonass",
FT_BOOLEAN, 16, TFS(&tfs_yes_no), 0x1000,
NULL, HFILL }},
{ &hf_ulp_ganssTimeModels_bit4,
{ "BDS", "ulp.ganssTimeModels.bds",
FT_BOOLEAN, 16, TFS(&tfs_yes_no), 0x0800,
NULL, HFILL }},
{ &hf_ulp_ganssTimeModels_spare,
{ "Spare", "ulp.ganssTimeModels.spare",
FT_UINT16, BASE_HEX, NULL, 0x07ff,
NULL, HFILL }},
};
/* List of subtrees */
static gint *ett[] = {
&ett_ulp,
&ett_ulp_setid,
&ett_ulp_thirdPartyId,
&ett_ulp_ganssTimeModels,
#include "packet-ulp-ettarr.c"
};
module_t *ulp_module;
/* Register protocol */
proto_ulp = proto_register_protocol(PNAME, PSNAME, PFNAME);
ulp_tcp_handle = register_dissector("ulp", dissect_ulp_tcp, proto_ulp);
ulp_pdu_handle = register_dissector("ulp.pdu", dissect_ULP_PDU_PDU, proto_ulp);
/* Register fields and subtrees */
proto_register_field_array(proto_ulp, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
ulp_module = prefs_register_protocol(proto_ulp, NULL);
prefs_register_bool_preference(ulp_module, "desegment_ulp_messages",
"Reassemble ULP messages spanning multiple TCP segments",
"Whether the ULP dissector should reassemble messages spanning multiple TCP segments."
" To use this option, you must also enable \"Allow subdissectors to reassemble TCP streams\" in the TCP protocol settings.",
&ulp_desegment);
}
/*--- proto_reg_handoff_ulp ---------------------------------------*/
void
proto_reg_handoff_ulp(void)
{
rrlp_handle = find_dissector_add_dependency("rrlp", proto_ulp);
lpp_handle = find_dissector_add_dependency("lpp", proto_ulp);
dissector_add_string("media_type","application/oma-supl-ulp", ulp_pdu_handle);
dissector_add_string("media_type","application/vnd.omaloc-supl-init", ulp_pdu_handle);
dissector_add_uint_with_preference("tcp.port", ULP_PORT, ulp_tcp_handle);
dissector_add_uint_with_preference("udp.port", ULP_PORT, ulp_pdu_handle);
} |
ASN.1 | wireshark/epan/dissectors/asn1/ulp/SUPL.asn | -- SUPL.asn
-- Taken from OMA UserPlane Location Protocol
-- http://member.openmobilealliance.org/ftp/Public_documents/LOC/Permanent_documents/OMA-TS-ULP-V2_0_5-20191028-A.zip
--
-- 11.2 Message Specific Part
--
--
-- 11.2.1 SUPL INIT
--
SUPL-INIT DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS SUPLINIT, Notification;
IMPORTS
SLPAddress, QoP, PosMethod
FROM ULP-Components
Ver2-SUPL-INIT-extension
FROM ULP-Version-2-message-extensions
Ver2-Notification-extension
FROM ULP-Version-2-parameter-extensions;
SUPLINIT ::= SEQUENCE {
posMethod PosMethod,
notification Notification OPTIONAL,
sLPAddress SLPAddress OPTIONAL,
qoP QoP OPTIONAL,
sLPMode SLPMode,
mac MAC OPTIONAL, -- included for backwards compatibility
keyIdentity KeyIdentity OPTIONAL, -- included for backwards compatibility
...,
-- version 2 extension element
ver2-SUPL-INIT-extension Ver2-SUPL-INIT-extension OPTIONAL}
Notification ::= SEQUENCE {
notificationType NotificationType,
encodingType EncodingType OPTIONAL,
requestorId OCTET STRING(SIZE (1..maxReqLength)) OPTIONAL,
requestorIdType FormatIndicator OPTIONAL,
clientName OCTET STRING(SIZE (1..maxClientLength)) OPTIONAL,
clientNameType FormatIndicator OPTIONAL,
...,
ver2-Notification-extension Ver2-Notification-extension OPTIONAL}
NotificationType ::= ENUMERATED {
noNotificationNoVerification(0), notificationOnly(1),
notificationAndVerficationAllowedNA(2),
notificationAndVerficationDeniedNA(3), privacyOverride(4), ...}
EncodingType ::= ENUMERATED {ucs2(0), gsmDefault(1), utf8(2), ...}
maxReqLength INTEGER ::= 50
maxClientLength INTEGER ::= 50
FormatIndicator ::= ENUMERATED {
logicalName(0), e-mailAddress(1), msisdn(2), url(3), sipUrl(4), min(5),
mdn(6), iMSPublicidentity(7), ...}
SLPMode ::= ENUMERATED {proxy(0), nonProxy(1)}
MAC ::= BIT STRING(SIZE (64)) -- empty placeholder required for SUPL 1.0 backwards compatibility
KeyIdentity ::= BIT STRING(SIZE (128)) -- empty placeholder required for SUPL 1.0 backwards compatibility
END
--
-- 11.2.2 SUPL START
--
SUPL-START DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS SUPLSTART, SETCapabilities;
IMPORTS
LocationId, QoP
FROM ULP-Components
Ver2-SUPL-START-extension
FROM ULP-Version-2-message-extensions
Ver2-SETCapabilities-extension, Ver2-PosProtocol-extension, Ver2-PosTechnology-extension
FROM ULP-Version-2-parameter-extensions;
SUPLSTART ::= SEQUENCE {
sETCapabilities SETCapabilities,
locationId LocationId,
qoP QoP OPTIONAL,
...,
-- version 2 extension element
ver2-SUPL-START-extension Ver2-SUPL-START-extension OPTIONAL}
SETCapabilities ::= SEQUENCE {
posTechnology PosTechnology,
prefMethod PrefMethod,
posProtocol PosProtocol,
...,
ver2-SETCapabilities-extension Ver2-SETCapabilities-extension OPTIONAL}
PosTechnology ::= SEQUENCE {
agpsSETassisted BOOLEAN,
agpsSETBased BOOLEAN,
autonomousGPS BOOLEAN,
aflt BOOLEAN,
ecid BOOLEAN,
eotd BOOLEAN,
otdoa BOOLEAN,
...,
ver2-PosTechnology-extension Ver2-PosTechnology-extension OPTIONAL}
PrefMethod ::= ENUMERATED {
agpsSETassistedPreferred, agpsSETBasedPreferred, noPreference}
-- To achieve compatibility with ULP V1.0 the names of the enumerations are
-- kept the same as in ULP V1.0. agps shall be interpreted as agnss.
PosProtocol ::= SEQUENCE {
tia801 BOOLEAN,
rrlp BOOLEAN,
rrc BOOLEAN,
...,
ver2-PosProtocol-extension Ver2-PosProtocol-extension OPTIONAL}
END
--
-- 11.2.3 SUPL RESPONSE
--
SUPL-RESPONSE DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS SUPLRESPONSE;
IMPORTS
PosMethod, SLPAddress
FROM ULP-Components
Ver2-SUPL-RESPONSE-extension
FROM ULP-Version-2-message-extensions;
SUPLRESPONSE ::= SEQUENCE {
posMethod PosMethod,
sLPAddress SLPAddress OPTIONAL,
sETAuthKey SETAuthKey OPTIONAL, -- included for backwards compatibility
keyIdentity4 KeyIdentity4 OPTIONAL, -- included for backwards compatibility
...,
-- version 2 extension element
ver2-SUPL-RESPONSE-extension Ver2-SUPL-RESPONSE-extension OPTIONAL}
SETAuthKey ::= CHOICE {
shortKey BIT STRING(SIZE (128)),
longKey BIT STRING(SIZE (256)),
...}
KeyIdentity4 ::= BIT STRING(SIZE (128))
END
--
-- 11.2.4 SUPL POS INIT
--
SUPL-POS-INIT DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS SUPLPOSINIT;
IMPORTS
SUPLPOS
FROM SUPL-POS
SETCapabilities
FROM SUPL-START
LocationId, Position, Ver
FROM ULP-Components
Ver2-SUPL-POS-INIT-extension
FROM ULP-Version-2-message-extensions
Ver2-RequestedAssistData-extension
FROM ULP-Version-2-parameter-extensions;
SUPLPOSINIT ::= SEQUENCE {
sETCapabilities SETCapabilities,
requestedAssistData RequestedAssistData OPTIONAL,
locationId LocationId,
position Position OPTIONAL,
suplpos SUPLPOS OPTIONAL,
ver Ver OPTIONAL,
...,
-- version 2 extension element
ver2-SUPL-POS-INIT-extension Ver2-SUPL-POS-INIT-extension OPTIONAL}
RequestedAssistData ::= SEQUENCE {
almanacRequested BOOLEAN,
utcModelRequested BOOLEAN,
ionosphericModelRequested BOOLEAN,
dgpsCorrectionsRequested BOOLEAN,
referenceLocationRequested BOOLEAN, -- Note: Used also for GANSS
referenceTimeRequested BOOLEAN,
acquisitionAssistanceRequested BOOLEAN,
realTimeIntegrityRequested BOOLEAN,
navigationModelRequested BOOLEAN,
navigationModelData NavigationModel OPTIONAL,
...,
ver2-RequestedAssistData-extension Ver2-RequestedAssistData-extension OPTIONAL}
NavigationModel ::= SEQUENCE {
gpsWeek INTEGER(0..1023),
gpsToe INTEGER(0..167),
nsat INTEGER(0..31),
toeLimit INTEGER(0..10),
satInfo SatelliteInfo OPTIONAL,
...}
-- Further information on this fields can be found
-- in [3GPP RRLP]and [3GPP 49.031]
SatelliteInfo ::= SEQUENCE (SIZE (1..31)) OF SatelliteInfoElement
SatelliteInfoElement ::= SEQUENCE {
satId INTEGER(0..63),
iode INTEGER(0..255),
...}
END
--
-- 11.2.5 SUPL POS
--
SUPL-POS DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS SUPLPOS;
IMPORTS
Velocity
FROM ULP-Components
Ver2-SUPL-POS-extension
FROM ULP-Version-2-message-extensions
Ver2-PosPayLoad-extension
FROM ULP-Version-2-parameter-extensions;
SUPLPOS ::= SEQUENCE {
posPayLoad PosPayLoad,
velocity Velocity OPTIONAL,
...,
-- version 2 extension element
ver2-SUPL-POS-extension Ver2-SUPL-POS-extension OPTIONAL}
PosPayLoad ::= CHOICE {
tia801payload OCTET STRING(SIZE (1..8192)),
rrcPayload OCTET STRING(SIZE (1..8192)),
rrlpPayload OCTET STRING(SIZE (1..8192)),
...,
ver2-PosPayLoad-extension Ver2-PosPayLoad-extension}
END
--
-- 11.2.6 SUPL END
--
SUPL-END DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS SUPLEND;
IMPORTS
StatusCode, Position, Ver
FROM ULP-Components
Ver2-SUPL-END-extension
FROM ULP-Version-2-message-extensions;
SUPLEND ::= SEQUENCE {
position Position OPTIONAL,
statusCode StatusCode OPTIONAL,
ver Ver OPTIONAL,
...,
-- version 2 extension element
ver2-SUPL-END-extension Ver2-SUPL-END-extension OPTIONAL}
END
--
-- 11.2.7 SUPL AUTH REQ
--
SUPL-AUTH-REQ DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS SUPLAUTHREQ;
IMPORTS
Ver
FROM ULP-Components
SETCapabilities
FROM SUPL-START;
SUPLAUTHREQ ::= SEQUENCE {
ver Ver OPTIONAL,
sETCapabilities SETCapabilities OPTIONAL,
...}
END
--
-- 11.2.8 SUPL AUTH RESP
--
SUPL-AUTH-RESP DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS SUPLAUTHRESP;
IMPORTS
SPCSETKey, SPCTID, SPCSETKeylifetime
FROM Ver2-ULP-Components;
SUPLAUTHRESP ::= SEQUENCE {
sPCSETKey SPCSETKey,
spctid SPCTID,
sPCSETKeylifetime SPCSETKeylifetime OPTIONAL,
...}
END
--
-- 11.2.9 SUPL NOTIFY
--
SUPL-NOTIFY DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS Ver2-SUPLNOTIFY;
IMPORTS
Notification
FROM SUPL-INIT;
Ver2-SUPLNOTIFY ::= SEQUENCE {
notification Notification,
...}
END
--
-- 11.2.10 SUPL NOTIFY RESPONSE
--
SUPL-NOTIFY-RESPONSE DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS Ver2-SUPLNOTIFYRESPONSE;
Ver2-SUPLNOTIFYRESPONSE ::= SEQUENCE {
notificationResponse NotificationResponse OPTIONAL,
...}
NotificationResponse ::= ENUMERATED {allowed(0), notAllowed(1), ...}
END
--
-- 11.2.11 SUPL SET INIT
--
SUPL-SET-INIT DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS Ver2-SUPLSETINIT;
IMPORTS
SETId, QoP
FROM ULP-Components
ApplicationID
FROM Ver2-ULP-Components;
Ver2-SUPLSETINIT ::= SEQUENCE {
targetSETID SETId, --Target SETid identifies the target SET to be located
qoP QoP OPTIONAL,
applicationID ApplicationID OPTIONAL,
...}
END
--
-- 11.2.12 SUPL TRIGGERED START
--
SUPL-TRIGGERED-START DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS Ver2-SUPLTRIGGEREDSTART, TriggerType, TriggerParams, maxNumGeoArea, maxAreaId, maxAreaIdList;
IMPORTS
LocationId, QoP, Ver, Position
FROM ULP-Components
MultipleLocationIds, CauseCode, ThirdParty, ApplicationID, ReportingCap, Coordinate, CircularArea, EllipticalArea, PolygonArea
FROM Ver2-ULP-Components
SETCapabilities
FROM SUPL-START;
Ver2-SUPLTRIGGEREDSTART ::= SEQUENCE {
sETCapabilities SETCapabilities,
locationId LocationId,
ver Ver OPTIONAL,
qoP QoP OPTIONAL,
multipleLocationIds MultipleLocationIds OPTIONAL,
thirdParty ThirdParty OPTIONAL,
applicationID ApplicationID OPTIONAL,
triggerType TriggerType OPTIONAL,
triggerParams TriggerParams OPTIONAL,
position Position OPTIONAL,
reportingCap ReportingCap OPTIONAL,
causeCode CauseCode OPTIONAL,
...}
TriggerType ::= ENUMERATED {
periodic(0), areaEvent(1),
...}
TriggerParams ::= CHOICE {
periodicParams PeriodicParams,
areaEventParams AreaEventParams,
...}
PeriodicParams ::= SEQUENCE{
numberOfFixes INTEGER(1.. 8639999),
intervalBetweenFixes INTEGER(1.. 8639999),
startTime INTEGER(0..2678400) OPTIONAL,
...}
-- intervalBetweenFixes and startTime are in seconds.
-- numberOfFixes * intervalBetweenFixes shall not exceed 8639999
-- (100 days in seconds) for compatibility with OMA MLP and RLP
-- startTime is in relative time in units of seconds measured from "now"
-- a value of 0 signifies "now", a value of "startTime" signifies startTime
-- seconds from "now"
AreaEventParams ::= SEQUENCE {
areaEventType AreaEventType,
locationEstimate BOOLEAN,
repeatedReportingParams RepeatedReportingParams OPTIONAL,
startTime INTEGER(0..2678400) OPTIONAL,
stopTime INTEGER(0..11318399) OPTIONAL,
geographicTargetAreaList GeographicTargetAreaList OPTIONAL,
areaIdLists SEQUENCE (SIZE (1..maxAreaIdList)) OF AreaIdList OPTIONAL,
...}
-- startTime and stopTime are in seconds.
-- startTime and stop Time are in relative time in units of seconds measured
-- from "now"
-- a value of 0 signifies "now"
-- stopTime must be > startTime
-- stopTime - startTime shall not exceed 8639999
-- (100 days in seconds) for compatibility with OMA MLP and RLP
AreaEventType ::= ENUMERATED {enteringArea(0), insideArea(1), outsideArea(2), leavingArea(3), ...}
RepeatedReportingParams ::= SEQUENCE {
minimumIntervalTime INTEGER (1..604800), -- time in seconds
maximumNumberOfReports INTEGER (1..1024),
...}
GeographicTargetAreaList ::= SEQUENCE (SIZE (1..maxNumGeoArea)) OF GeographicTargetArea
GeographicTargetArea ::= CHOICE {
circularArea CircularArea,
ellipticalArea EllipticalArea,
polygonArea PolygonArea,
...}
AreaIdList ::= SEQUENCE {
areaIdSet AreaIdSet,
areaIdSetType AreaIdSetType OPTIONAL,
geoAreaMappingList GeoAreaMappingList OPTIONAL}
AreaIdSet ::= SEQUENCE SIZE (1..maxAreaId) OF AreaId
AreaId ::= CHOICE {
gSMAreaId GSMAreaId,
wCDMAAreaId WCDMAAreaId, -- For TD-SCDMA networks, this parameter indicates a TD-SCDMA Area ID
cDMAAreaId CDMAAreaId,
hRPDAreaId HRPDAreaId,
uMBAreaId UMBAreaId,
lTEAreaId LTEAreaId,
wLANAreaId WLANAreaId,
wiMAXAreaId WimaxAreaId,
...,
nRAreaId NRAreaId }
GSMAreaId ::= SEQUENCE {
refMCC INTEGER(0..999) OPTIONAL, -- Mobile Country Code
refMNC INTEGER(0..999) OPTIONAL, -- Mobile Network Code
refLAC INTEGER(0..65535) OPTIONAL, -- Location Area Code
refCI INTEGER(0..65535) OPTIONAL, -- Cell Id
...}
-- only one of the following four combinations are allowed: (1) refMCC, (2) refMCC+refMNC, (3) refMCC+refMNC+refLAC or (4) refMCC+refMNC+refLAC+refCI
WCDMAAreaId ::= SEQUENCE {
refMCC INTEGER(0..999) OPTIONAL, -- Mobile Country Code
refMNC INTEGER(0..999) OPTIONAL, -- Mobile Network Code
refLAC INTEGER(0..65535) OPTIONAL, -- Location Area Code
refUC INTEGER(0..268435455) OPTIONAL, -- Cell identity
...}
-- only one of the following four combinations are allowed: (1) refMCC, (2) refMCC+refMNC, (3) refMCC+refMNC+refLAC, or (4) refMCC+refMNC+refLAC+refUC
CDMAAreaId::= SEQUENCE {
refSID INTEGER(0..65535) OPTIONAL, -- System Id
refNID INTEGER(0..32767) OPTIONAL, -- Network Id
refBASEID INTEGER(0..65535) OPTIONAL, -- Base Station Id
...}
-- only one of the following three combinations are allowed: (1) refSID, (2) refSID+refNID, or (3) refSID+refNID+refBASEID
HRPDAreaId::= SEQUENCE {
refSECTORID BIT STRING(SIZE (128)), -- HRPD Sector Id
...}
UMBAreaId::= SEQUENCE {
refMCC INTEGER(0..999) OPTIONAL, -- Mobile Country Code
refMNC INTEGER(0..999) OPTIONAL, -- Mobile Network Code
refSECTORID BIT STRING(SIZE (128)) OPTIONAL, -- UMB Sector Id
...}
LTEAreaId::= SEQUENCE {
refMCC INTEGER(0..999) OPTIONAL, -- Mobile Country Code
refMNC INTEGER(0..999) OPTIONAL, -- Mobile Network Code
refCI BIT STRING(SIZE (29)) OPTIONAL, -- LTE Cell-Id
...}
-- only one of the following three combinations are allowed: (1) refMCC, (2) refMCC+refMNC, or (3) refMCC+refMNC+refCI
-- The LTE Cell-Id is encoded in the 28 Least Significant Bits of refCI
-- The Most Significant Bit of refCI shall be ignored
WLANAreaId::= SEQUENCE {
apMACAddress BIT STRING(SIZE (48)), -- AP MAC Address
...}
WimaxAreaId ::= SEQUENCE {
bsID-MSB BIT STRING (SIZE(24)) OPTIONAL,
bsID-LSB BIT STRING (SIZE(24)) }
-- if only LSB is present, MSB is assumed to be identical to the current serving BS or clamped on network value
NRAreaId ::= SEQUENCE {
refMCC INTEGER(0..999) OPTIONAL, -- Mobile Country Code
refMNC INTEGER(0..999) OPTIONAL, -- Mobile Network Code
refCI BIT STRING(SIZE (36)) OPTIONAL, -- NR Cell-Id
...}
-- only one of the following three combinations are allowed: (1) refMCC, (2)
-- refMCC+refMNC, or (3) refMCC+refMNC+refCI
AreaIdSetType ::= ENUMERATED {border(0), within(1), ...}
GeoAreaMappingList ::= SEQUENCE (SIZE (1..maxNumGeoArea)) OF GeoAreaIndex
GeoAreaIndex ::= INTEGER (1..maxNumGeoArea)
maxNumGeoArea INTEGER ::= 32
maxAreaId INTEGER ::= 256
maxAreaIdList INTEGER ::= 32
END
--
-- 11.2.13 SUPL TRIGGERED RESPONSE
--
SUPL-TRIGGERED-RESPONSE DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS Ver2-SUPLTRIGGEREDRESPONSE;
IMPORTS
PosMethod, SLPAddress
FROM ULP-Components
SupportedNetworkInformation, SPCSETKey, SPCTID, SPCSETKeylifetime, GNSSPosTechnology
FROM Ver2-ULP-Components
TriggerParams
FROM SUPL-TRIGGERED-START;
Ver2-SUPLTRIGGEREDRESPONSE::= SEQUENCE{
posMethod PosMethod,
triggerParams TriggerParams OPTIONAL,
sLPAddress SLPAddress OPTIONAL,
supportedNetworkInformation SupportedNetworkInformation OPTIONAL,
reportingMode ReportingMode OPTIONAL,
sPCSETKey SPCSETKey OPTIONAL,
spctid SPCTID OPTIONAL,
sPCSETKeylifetime SPCSETKeylifetime OPTIONAL,
gnssPosTechnology GNSSPosTechnology OPTIONAL,
...}
ReportingMode ::= SEQUENCE {
repMode RepModee,
batchRepConditions BatchRepConditions OPTIONAL, -- only used for batch reporting
batchRepType BatchRepType OPTIONAL, -- only used for batch reporting
...}
RepModee ::= ENUMERATED {realtime(1), quasirealtime(2), batch(3), ...}
BatchRepConditions ::= CHOICE {
num-interval INTEGER (1..1024), -- number of periodic fixes/measurements after which the batch report is sent to the SLP
num-minutes INTEGER (1..2048), -- number of minutes after which the batch report is sent to the SLP
endofsession NULL, -- if selected batch report is to be sent at the end of the session
...}
BatchRepType ::= SEQUENCE {
reportPosition BOOLEAN, -- set to "true" if reporting of position is allowed
reportMeasurements BOOLEAN, -- set to "true" if reporting of measurements is allowed
intermediateReports BOOLEAN, -- set to "true" if the SET is allowed to send intermediate reports if it runs out of memory
discardOldest BOOLEAN OPTIONAL, -- set to "true" if the SET should discard the oldest positions or measurements of the batch report in order to save memory, set to "false" the SET should discard the latest positions or measurements
...}
END
--
-- 11.2.14 SUPL REPORT
--
SUPL-REPORT DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS Ver2-SUPLREPORT;
IMPORTS
SETCapabilities
FROM SUPL-START
Position, PosMethod, SessionID, Ver
FROM ULP-Components
MultipleLocationIds, GNSSPosTechnology, GANSSSignals
FROM Ver2-ULP-Components
maxGANSS
FROM ULP-Version-2-parameter-extensions;
Ver2-SUPLREPORT ::= SEQUENCE {
sessionList SessionList OPTIONAL,
sETCapabilities SETCapabilities OPTIONAL,
reportDataList ReportDataList OPTIONAL,
ver Ver OPTIONAL,
moreComponents NULL OPTIONAL,
...}
SessionList ::= SEQUENCE SIZE (1..maxnumSessions) OF SessionInformation
SessionInformation ::= SEQUENCE {
sessionID SessionID,
...}
maxnumSessions INTEGER ::= 64
ReportDataList ::= SEQUENCE SIZE (1.. 1024) OF ReportData
ReportData ::= SEQUENCE {
positionData PositionData OPTIONAL,
multipleLocationIds MultipleLocationIds OPTIONAL,
resultCode ResultCode OPTIONAL,
timestamp TimeStamp OPTIONAL,
...}
PositionData ::= SEQUENCE {
position Position,
posMethod PosMethod OPTIONAL,
gnssPosTechnology GNSSPosTechnology OPTIONAL,
ganssSignalsInfo GANSSsignalsInfo OPTIONAL,
...}
GANSSsignalsInfo ::= SEQUENCE SIZE (1..maxGANSS) OF GANSSSignalsDescription
GANSSSignalsDescription ::= SEQUENCE {
ganssId INTEGER(0..15), -- coding according to parameter definition in section 10.10
gANSSSignals GANSSSignals,
...}
ResultCode ::= ENUMERATED {outofradiocoverage(1), noposition(2), nomeasurement(3), nopositionnomeasurement(4), outofmemory(5), outofmemoryintermediatereporting(6), other(7), ...}
TimeStamp ::= CHOICE {
absoluteTime UTCTime,
relativeTime INTEGER (0..31536000)} -- relative time to when the SUPL REPORT message is sent in units of 1 sec, where 0 signifies "now" and n signifies n seconds in the past
END
--
-- 11.2.15 SUPL TRIGGERED STOP
--
SUPL-TRIGGERED-STOP DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS Ver2-SUPLTRIGGEREDSTOP;
IMPORTS
StatusCode
FROM ULP-Components;
Ver2-SUPLTRIGGEREDSTOP::= SEQUENCE{
statusCode StatusCode OPTIONAL,
...}
END
--
-- 11.3 Messsage Extensions (SUPL Version 2)
--
ULP-Version-2-message-extensions DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS
Ver2-SUPL-INIT-extension, Ver2-SUPL-START-extension, Ver2-SUPL-RESPONSE-extension, Ver2-SUPL-POS-INIT-extension, Ver2-SUPL-POS-extension, Ver2-SUPL-END-extension;
IMPORTS
SLPAddress, Position, Ver
FROM ULP-Components
SETCapabilities
FROM SUPL-START
SupportedNetworkInformation, GNSSPosTechnology, MultipleLocationIds, UTRAN-GPSReferenceTimeResult, UTRAN-GANSSReferenceTimeResult, UTRAN-GPSReferenceTimeAssistance, UTRAN-GANSSReferenceTimeAssistance, SPCSETKey, SPCTID, SPCSETKeylifetime, ThirdParty, ApplicationID
FROM Ver2-ULP-Components
TriggerType
FROM SUPL-TRIGGERED-START
Ver2-HighAccuracyPosition
FROM Ver2-ULP-Components;
Ver2-SUPL-INIT-extension ::= SEQUENCE {
notificationMode NotificationMode OPTIONAL,
supportedNetworkInformation SupportedNetworkInformation OPTIONAL,
triggerType TriggerType OPTIONAL,
e-SLPAddress SLPAddress OPTIONAL,
historicReporting HistoricReporting OPTIONAL,
protectionLevel ProtectionLevel OPTIONAL,
gnssPosTechnology GNSSPosTechnology OPTIONAL,
minimumMajorVersion INTEGER (0..255) OPTIONAL,
...}
NotificationMode ::= ENUMERATED {normal(0), basedOnLocation(1), ...}
HistoricReporting ::= SEQUENCE {
allowedReportingType AllowedReportingType,
reportingCriteria ReportingCriteria OPTIONAL, ...}
AllowedReportingType ::= ENUMERATED {
positionsOnly(0), measurementsOnly(1), positionsAndMeasurements(2), ...}
ReportingCriteria ::= SEQUENCE {
timeWindow TimeWindow OPTIONAL,
maxNumberofReports INTEGER(1..65536) OPTIONAL,
minTimeInterval INTEGER(1..86400) OPTIONAL,
...}
TimeWindow ::= SEQUENCE {
startTime INTEGER(-525600..-1), -- Time in minutes
stopTime INTEGER(-525599..0)} -- Time in minutes
ProtectionLevel ::= SEQUENCE {
protlevel ProtLevel,
basicProtectionParams BasicProtectionParams OPTIONAL,
...}
ProtLevel ::= ENUMERATED {
nullProtection(0), basicProtection(1), ...}
BasicProtectionParams ::= SEQUENCE {
keyIdentifier OCTET STRING(SIZE (8)),
basicReplayCounter INTEGER(0..65535),
basicMAC BIT STRING(SIZE (32)),
...}
Ver2-SUPL-START-extension ::= SEQUENCE {
multipleLocationIds MultipleLocationIds OPTIONAL,
thirdParty ThirdParty OPTIONAL,
applicationID ApplicationID OPTIONAL,
position Position OPTIONAL,
...}
Ver2-SUPL-RESPONSE-extension ::= SEQUENCE {
supportedNetworkInformation SupportedNetworkInformation OPTIONAL,
sPCSETKey SPCSETKey OPTIONAL,
spctid SPCTID OPTIONAL,
sPCSETKeylifetime SPCSETKeylifetime OPTIONAL,
initialApproximateposition Position OPTIONAL,
gnssPosTechnology GNSSPosTechnology OPTIONAL,
...}
Ver2-SUPL-POS-INIT-extension ::= SEQUENCE {
multipleLocationIds MultipleLocationIds OPTIONAL,
utran-GPSReferenceTimeResult UTRAN-GPSReferenceTimeResult OPTIONAL,
utran-GANSSReferenceTimeResult UTRAN-GANSSReferenceTimeResult OPTIONAL,
...}
Ver2-SUPL-POS-extension ::= SEQUENCE {
utran-GPSReferenceTimeAssistance UTRAN-GPSReferenceTimeAssistance OPTIONAL,
utran-GPSReferenceTimeResult UTRAN-GPSReferenceTimeResult OPTIONAL,
utran-GANSSReferenceTimeAssistance UTRAN-GANSSReferenceTimeAssistance OPTIONAL,
utran-GANSSReferenceTimeResult UTRAN-GANSSReferenceTimeResult OPTIONAL,
...}
Ver2-SUPL-END-extension ::= SEQUENCE {
sETCapabilities SETCapabilities OPTIONAL,
...,
ver2-HighAccuracyPosition Ver2-HighAccuracyPosition OPTIONAL}
END
--
-- 11.4 Parameter Extensions (SUPL Version 2)
--
ULP-Version-2-parameter-extensions DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS
maxGANSS, Ver2-Notification-extension, Ver2-SETCapabilities-extension, Ver2-PosProtocol-extension, Ver2-PosTechnology-extension, Ver2-RequestedAssistData-extension, Ver2-PosPayLoad-extension;
IMPORTS
GANSSSignals, ReportingCap
FROM Ver2-ULP-Components
maxNumGeoArea, maxAreaId, maxAreaIdList
FROM SUPL-TRIGGERED-START;
Ver2-Notification-extension ::= SEQUENCE {
emergencyCallLocation NULL OPTIONAL,
...}
Ver2-SETCapabilities-extension ::= SEQUENCE {
serviceCapabilities ServiceCapabilities OPTIONAL,
...,
supportedBearers SupportedBearers OPTIONAL}
ServiceCapabilities ::= SEQUENCE {
servicesSupported ServicesSupported,
reportingCapabilities ReportingCap OPTIONAL,
eventTriggerCapabilities EventTriggerCapabilities OPTIONAL,
sessionCapabilities SessionCapabilities,
...}
ServicesSupported ::= SEQUENCE {
periodicTrigger BOOLEAN,
areaEventTrigger BOOLEAN,
...}
EventTriggerCapabilities ::= SEQUENCE {
geoAreaShapesSupported GeoAreaShapesSupported,
maxNumGeoAreaSupported INTEGER (0..maxNumGeoArea) OPTIONAL,
maxAreaIdListSupported INTEGER (0..maxAreaIdList) OPTIONAL,
maxAreaIdSupportedPerList INTEGER (0..maxAreaId) OPTIONAL,
...}
GeoAreaShapesSupported ::= SEQUENCE {
ellipticalArea BOOLEAN,
polygonArea BOOLEAN,
...}
SessionCapabilities ::= SEQUENCE {
maxNumberTotalSessions INTEGER (1..128),
maxNumberPeriodicSessions INTEGER (1..32),
maxNumberTriggeredSessions INTEGER (1..32),
...}
SupportedBearers ::= SEQUENCE {
gsm BOOLEAN,
wcdma BOOLEAN,
lte BOOLEAN,
cdma BOOLEAN,
hprd BOOLEAN,
umb BOOLEAN,
wlan BOOLEAN,
wiMAX BOOLEAN,
...,
nr BOOLEAN OPTIONAL}
Ver2-PosProtocol-extension ::= SEQUENCE {
lpp BOOLEAN,
posProtocolVersionRRLP PosProtocolVersion3GPP OPTIONAL,
posProtocolVersionRRC PosProtocolVersion3GPP OPTIONAL,
posProtocolVersionTIA801 PosProtocolVersion3GPP2 OPTIONAL,
posProtocolVersionLPP PosProtocolVersion3GPP OPTIONAL,
...,
lppe BOOLEAN OPTIONAL,
posProtocolVersionLPPe PosProtocolVersionOMA OPTIONAL}
PosProtocolVersion3GPP ::= SEQUENCE {
majorVersionField INTEGER(0..255),
technicalVersionField INTEGER(0..255),
editorialVersionField INTEGER(0..255),
...}
PosProtocolVersion3GPP2 ::= SEQUENCE (SIZE(1..8)) OF Supported3GPP2PosProtocolVersion
Supported3GPP2PosProtocolVersion ::= SEQUENCE {
revisionNumber BIT STRING(SIZE (6)), -- the location standard revision number the SET supports coded according to 3GPP2 C.S0022
pointReleaseNumber INTEGER(0..255),
internalEditLevel INTEGER(0..255),
...}
PosProtocolVersionOMA ::= SEQUENCE {
majorVersionField INTEGER(0..255),
minorVersionField INTEGER(0..255),
...}
Ver2-PosTechnology-extension ::= SEQUENCE {
gANSSPositionMethods GANSSPositionMethods OPTIONAL,
...,
additionalPositioningMethods AdditionalPositioningMethods OPTIONAL}
GANSSPositionMethods ::= SEQUENCE (SIZE(1..16)) OF GANSSPositionMethod
GANSSPositionMethod ::= SEQUENCE {
ganssId INTEGER(0..15), -- coding according to parameter definition in section 10.10
ganssSBASid BIT STRING(SIZE(3)) OPTIONAL, --coding according to parameter definition in section 10.10
gANSSPositioningMethodTypes GANSSPositioningMethodTypes,
gANSSSignals GANSSSignals,
...,
rtk RTK OPTIONAL}
RTK ::= SEQUENCE {
osr BOOLEAN,
...}
GANSSPositioningMethodTypes ::= SEQUENCE {
setAssisted BOOLEAN,
setBased BOOLEAN,
autonomous BOOLEAN,
...}
AdditionalPositioningMethods ::= SEQUENCE (SIZE(1..8)) OF AddPosSupport-Element
AddPosSupport-Element ::= SEQUENCE {
addPosID ENUMERATED {
mBS,
...
},
addPosMode BIT STRING {
standalone (0),
setBased (1),
setAssisted (2)} (SIZE (1..8)) OPTIONAL,
...}
Ver2-RequestedAssistData-extension ::= SEQUENCE {
ganssRequestedCommonAssistanceDataList GanssRequestedCommonAssistanceDataList OPTIONAL,
ganssRequestedGenericAssistanceDataList GanssRequestedGenericAssistanceDataList OPTIONAL,
extendedEphemeris ExtendedEphemeris OPTIONAL,
extendedEphemerisCheck ExtendedEphCheck OPTIONAL,
...}
GanssRequestedCommonAssistanceDataList ::= SEQUENCE {
ganssReferenceTime BOOLEAN,
ganssIonosphericModel BOOLEAN,
ganssAdditionalIonosphericModelForDataID00 BOOLEAN,
ganssAdditionalIonosphericModelForDataID11 BOOLEAN,
ganssEarthOrientationParameters BOOLEAN,
...,
ganssAdditionalIonosphericModelForDataID01 BOOLEAN OPTIONAL}
GanssRequestedGenericAssistanceDataList ::= SEQUENCE(SIZE(1..maxGANSS)) OF GanssReqGenericData
GanssReqGenericData ::= SEQUENCE {
ganssId INTEGER(0..15), -- coding according to parameter definition in section 10.10
ganssSBASid BIT STRING(SIZE(3)) OPTIONAL, --coding according to parameter definition in section 10.10
ganssRealTimeIntegrity BOOLEAN,
ganssDifferentialCorrection DGANSS-Sig-Id-Req OPTIONAL,
ganssAlmanac BOOLEAN,
ganssNavigationModelData GanssNavigationModelData OPTIONAL,
ganssTimeModels BIT STRING(SIZE(16)) OPTIONAL,
ganssReferenceMeasurementInfo BOOLEAN,
ganssDataBits GanssDataBits OPTIONAL,
ganssUTCModel BOOLEAN,
ganssAdditionalDataChoices GanssAdditionalDataChoices OPTIONAL,
ganssAuxiliaryInformation BOOLEAN,
ganssExtendedEphemeris ExtendedEphemeris OPTIONAL,
ganssExtendedEphemerisCheck GanssExtendedEphCheck OPTIONAL,
...,
bds-DifferentialCorrection BDS-Sig-Id-Req OPTIONAL,
bds-GridModelReq BOOLEAN OPTIONAL}
DGANSS-Sig-Id-Req ::= BIT STRING (SIZE(8)) -- coding according to parameter definition in section 10.9
BDS-Sig-Id-Req ::= BIT STRING (SIZE(8)) -- coding according to parameter definition in section 10.9
GanssNavigationModelData ::= SEQUENCE {
ganssWeek INTEGER(0..4095),
ganssToe INTEGER(0..167),
t-toeLimit INTEGER(0..15),
satellitesListRelatedDataList SatellitesListRelatedDataList OPTIONAL,
...}
SatellitesListRelatedDataList ::= SEQUENCE(SIZE(0..maxGANSSSat)) OF SatellitesListRelatedData
SatellitesListRelatedData ::= SEQUENCE {
satId INTEGER(0..63),
iod INTEGER(0..1023),
...}
maxGANSS INTEGER ::= 16
maxGANSSSat INTEGER ::= 32
GanssDataBits ::= SEQUENCE {
ganssTODmin INTEGER (0..59),
reqDataBitAssistanceList ReqDataBitAssistanceList,
...}
ReqDataBitAssistanceList ::= SEQUENCE {
gnssSignals GANSSSignals,
ganssDataBitInterval INTEGER (0..15),
ganssDataBitSatList SEQUENCE (SIZE(1..maxGANSSSat)) OF INTEGER (0..63) OPTIONAL,
...}
GanssAdditionalDataChoices ::= SEQUENCE {
orbitModelID INTEGER(0..7) OPTIONAL,
clockModelID INTEGER(0..7) OPTIONAL,
utcModelID INTEGER(0..7) OPTIONAL,
almanacModelID INTEGER(0..7) OPTIONAL,
...}
ExtendedEphemeris ::= SEQUENCE {
validity INTEGER (1..256), -- Requested validity in 4 hour steps
...}
ExtendedEphCheck ::= SEQUENCE {
beginTime GPSTime, -- Begin time of ephemeris extension held by SET
endTime GPSTime, -- End time of ephemeris extension held by SET
...}
GanssExtendedEphCheck ::= SEQUENCE {
beginTime GANSSextEphTime, -- Begin time of ephemeris extension held by SET
endTime GANSSextEphTime, -- End time of ephemeris extension held by SET
...}
GPSTime ::= SEQUENCE {
gPSWeek INTEGER (0..1023),
gPSTOWhour INTEGER (0..167),
...}
GANSSextEphTime ::= SEQUENCE {
gANSSday INTEGER (0..8191),
gANSSTODhour INTEGER (0..23),
...}
Ver2-PosPayLoad-extension ::= SEQUENCE {
lPPPayload SEQUENCE (SIZE (1..3)) OF OCTET STRING(SIZE (1..60000)) OPTIONAL,
tia801Payload SEQUENCE (SIZE(1..3)) OF OCTET STRING(SIZE (1..60000)) OPTIONAL,
...}
END |
ASN.1 | wireshark/epan/dissectors/asn1/ulp/ULP-Components.asn | -- ULP-Components.asn
-- Taken from OMA UserPlane Location Protocol
-- http://member.openmobilealliance.org/ftp/Public_documents/LOC/Permanent_documents/OMA-TS-ULP-V2_0_5-20191028-A.zip
--
-- 11.5 Common elements (SUPL Version 1)
--
ULP-Components DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS Version, SessionID, IPAddress, SLPAddress, LocationId, Position, StatusCode, Velocity, QoP, PosMethod, Ver, SETId, PrimaryCPICH-Info, CellParametersID, FQDN;
IMPORTS
Ver2-CellInfo-extension
FROM Ver2-ULP-Components;
-- protocol version expressed as x.y.z (e.g., 5.1.0)
Version ::= SEQUENCE {
maj INTEGER(0..255),
min INTEGER(0..255),
servind INTEGER(0..255)}
SessionID ::= SEQUENCE {
setSessionID SetSessionID OPTIONAL, -- the semantics of OPTIONAL applies to the encoding only. The parameter itself is MANDATORY. This is introduced only to minimize bandwidth for the SUPL INIT message. Since the setSessionID is allocated by the SET, there is no setSessionID to be transmitted in the SUPL INIT message.
slpSessionID SlpSessionID OPTIONAL -- the semantics of OPTIONAL applies to the encoding only. The parameter itself is MANDATORY. This is introduced only to minimize bandwidth for the SUPL START, SUPL TRIGGERED START and SUPL SET INIT messages. Since the slpSessionID is allocated by the SLP, there is no slpSessionID to be transmitted in these messages (with the exception described in section 10.14).
}
SetSessionID ::= SEQUENCE {sessionId INTEGER(0..65535),
setId SETId}
SETId ::= CHOICE {
msisdn OCTET STRING(SIZE (8)),
mdn OCTET STRING(SIZE (8)),
min BIT STRING(SIZE (34)), -- coded according to TIA-553
imsi OCTET STRING(SIZE (8)),
nai IA5String(SIZE (1..1000)),
iPAddress IPAddress,
...,
ver2-imei OCTET STRING(SIZE(8))}
-- msisdn, mnd, imsi and imei are a BCD (Binary Coded Decimal) string
-- represent digits from 0 through 9,
-- two digits per octet, each digit encoded 0000 to 1001 (0 to 9)
-- bits 8765 of octet n encoding digit 2n
-- bits 4321 of octet n encoding digit 2(n-1) +1
-- not used digits in the string shall be filled with 1111
-- imei SHALL NOT be used unless the SLP indicates support for SUPL ver 2.0.3
-- or greater
SlpSessionID ::= SEQUENCE {
sessionID OCTET STRING(SIZE (4)),
slpId SLPAddress}
IPAddress ::= CHOICE {
ipv4Address OCTET STRING(SIZE (4)),
ipv6Address OCTET STRING(SIZE (16))}
SLPAddress ::= CHOICE {iPAddress IPAddress,
fqdn FQDN,
...}
FQDN ::=
VisibleString(FROM ("a".."z" | "A".."Z" | "0".."9" |".-"))(SIZE (1..255))
Ver ::= BIT STRING(SIZE (64))
LocationId ::= SEQUENCE {cellInfo CellInfo,
status Status,
...}
Status ::= ENUMERATED {stale(0), current(1), unknown(2), ...}
CellInfo ::= CHOICE {
gsmCell GsmCellInformation,
wcdmaCell WcdmaCellInformation, --WCDMA Cell Information/TD-SCDMA Cell Information
cdmaCell CdmaCellInformation,
...,
ver2-CellInfo-extension Ver2-CellInfo-extension}
Position ::= SEQUENCE {
timestamp UTCTime, -- shall include seconds and shall use UTC time.
positionEstimate PositionEstimate,
velocity Velocity OPTIONAL,
...}
PositionEstimate ::= SEQUENCE {
latitudeSign ENUMERATED {north, south},
latitude INTEGER(0..8388607),
longitude INTEGER(-8388608..8388607),
uncertainty
SEQUENCE {uncertaintySemiMajor INTEGER(0..127),
uncertaintySemiMinor INTEGER(0..127),
orientationMajorAxis INTEGER(0..180)} OPTIONAL, -- angle in degree between major axis and North
confidence INTEGER(0..100) OPTIONAL,
altitudeInfo AltitudeInfo OPTIONAL,
...} -- Coding as in [3GPP GAD]
AltitudeInfo ::= SEQUENCE {
altitudeDirection ENUMERATED {height, depth},
altitude INTEGER(0..32767),
altUncertainty INTEGER(0..127),
... } -- based on [3GPP GAD]
CdmaCellInformation ::= SEQUENCE {
refNID INTEGER(0..65535), -- Network Id
refSID INTEGER(0..32767), -- System Id
refBASEID INTEGER(0..65535), -- Base Station Id
refBASELAT INTEGER(0..4194303), -- Base Station Latitude
reBASELONG INTEGER(0..8388607), -- Base Station Longitude
refREFPN INTEGER(0..511), -- Base Station PN Code
refWeekNumber INTEGER(0..65535), -- GPS Week Number
refSeconds INTEGER(0..4194303), -- GPS Seconds
...}
GsmCellInformation ::= SEQUENCE {
refMCC INTEGER(0..999), -- Mobile Country Code
refMNC INTEGER(0..999), -- Mobile Network Code
refLAC INTEGER(0..65535), -- Location area code
refCI INTEGER(0..65535), -- Cell identity
nmr NMR OPTIONAL,
ta INTEGER(0..255) OPTIONAL, --Timing Advance
...}
WcdmaCellInformation ::= SEQUENCE {
refMCC INTEGER(0..999), -- Mobile Country Code
refMNC INTEGER(0..999), -- Mobile Network Code
refUC INTEGER(0..268435455), -- Cell identity
frequencyInfo FrequencyInfo OPTIONAL,
primaryScramblingCode INTEGER(0..511) OPTIONAL, -- Not applicable for TDD
measuredResultsList MeasuredResultsList OPTIONAL,
...,
cellParametersId INTEGER(0..127) OPTIONAL, -- Not applicable for FDD
timingAdvance TimingAdvance OPTIONAL -- Not applicable for FDD
}
TimingAdvance ::= SEQUENCE {
ta INTEGER (0..8191),
tAResolution TAResolution OPTIONAL, --If missing, resolution is 0.125 chips
chipRate ChipRate OPTIONAL, --If missing, chip rate is 1.28 Mchip/s
...}
TAResolution ::= ENUMERATED {res10chip(0),res05chip(1),res0125chip(2), ...} -- Corresponding to 1.0-chip, 0.5-chip and 0.125-chip resolutions, respectively
ChipRate ::= ENUMERATED {tdd128(0),tdd384(1), tdd768(2), ...} --Corresponding to 1.28-Mchips/s, 3.84-Mchips/s and 7.68-Mchips/s chip rates, respectively
FrequencyInfo ::= SEQUENCE {
modeSpecificInfo CHOICE {fdd FrequencyInfoFDD,
tdd FrequencyInfoTDD,
...},
...}
FrequencyInfoFDD ::= SEQUENCE {
uarfcn-UL UARFCN OPTIONAL,
uarfcn-DL UARFCN,
...}
FrequencyInfoTDD ::= SEQUENCE {uarfcn-Nt UARFCN,
...}
UARFCN ::= INTEGER(0..16383)
NMR ::= SEQUENCE (SIZE (1..15)) OF NMRelement
NMRelement ::= SEQUENCE {
arfcn INTEGER(0..1023),
bsic INTEGER(0..63),
rxLev INTEGER(0..63),
...}
MeasuredResultsList ::= SEQUENCE (SIZE (1..maxFreq)) OF MeasuredResults
MeasuredResults ::= SEQUENCE {
frequencyInfo FrequencyInfo OPTIONAL,
utra-CarrierRSSI UTRA-CarrierRSSI OPTIONAL,
cellMeasuredResultsList CellMeasuredResultsList OPTIONAL}
CellMeasuredResultsList ::=
SEQUENCE (SIZE (1..maxCellMeas)) OF CellMeasuredResults
-- SPARE: UTRA-CarrierRSSI, Max = 76
-- Values above Max are spare
UTRA-CarrierRSSI ::= INTEGER(0..127)
CellMeasuredResults ::= SEQUENCE {
cellIdentity INTEGER(0..268435455) OPTIONAL,
modeSpecificInfo
CHOICE {fdd
SEQUENCE {primaryCPICH-Info PrimaryCPICH-Info,
cpich-Ec-N0 CPICH-Ec-N0 OPTIONAL,
cpich-RSCP CPICH-RSCP OPTIONAL,
pathloss Pathloss OPTIONAL},
tdd
SEQUENCE {cellParametersID CellParametersID,
proposedTGSN TGSN OPTIONAL,
primaryCCPCH-RSCP PrimaryCCPCH-RSCP OPTIONAL,
pathloss Pathloss OPTIONAL,
timeslotISCP-List TimeslotISCP-List OPTIONAL --NOTE: TimeSlotISCP measurement list cannot be interpreted without the knowledge of Cell Info as defined in [3GPP RRC]
}}}
CellParametersID ::= INTEGER(0..127)
TGSN ::= INTEGER(0..14)
PrimaryCCPCH-RSCP ::= INTEGER(0..127)
-- SPARE: TimeslotISCP, Max = 91
-- Values above Max are spare
TimeslotISCP ::= INTEGER(0..127)
TimeslotISCP-List ::= SEQUENCE (SIZE (1..maxTS)) OF TimeslotISCP
PrimaryCPICH-Info ::= SEQUENCE {primaryScramblingCode INTEGER(0..511)}
-- SPARE: CPICH-Ec-No, Max = 49
-- Values above Max are spare
CPICH-Ec-N0 ::= INTEGER(0..63)
-- SPARE: CPICH- RSCP, data range from 0 to 91 and from 123 to 127.
-- Values from 92 to 122 are spare
-- the encoding of cpich-RSCP is (as per [3GPP RRC] V5.11.0)
-- cpich-RSCP = 123 CPICH RSCP <-120 dBm
-- cpich-RSCP = 124 -120 ? CPICH RSCP < -119 dBm
-- cpich-RSCP = 125 -119 ? CPICH RSCP < -118 dBm
-- cpich-RSCP = 126 -118 ? CPICH RSCP < -117 dBm
-- cpich-RSCP = 127 -117 ? CPICH RSCP < -116 dBm
-- cpich-RSCP = 0 -116 ? CPICH RSCP < -115 dBm
-- cpich-RSCP = 1 -115 ? CPICH RSCP < -114 dBm
-- ... ... ...
-- cpich-RSCP = 89 -27 ? CPICH RSCP < -26 dBm
-- cpich-RSCP = 90 -26 ? CPICH RSCP < -25 dBm
-- cpich-RSCP = 91 -25 ? CPICH RSCP dBm
CPICH-RSCP ::= INTEGER(0..127)
-- SPARE: Pathloss, Max = 158
-- Values above Max are spare
Pathloss ::= INTEGER(46..173)
maxCellMeas INTEGER ::= 32
maxFreq INTEGER ::= 8
maxTS INTEGER ::= 14
StatusCode ::= ENUMERATED {
unspecified(0), systemFailure(1), unexpectedMessage(2), protocolError(3),
dataMissing(4), unexpectedDataValue(5), posMethodFailure(6),
posMethodMismatch(7), posProtocolMismatch(8), targetSETnotReachable(9),
versionNotSupported(10), resourceShortage(11), invalidSessionId(12),
nonProxyModeNotSupported(13), proxyModeNotSupported(14),
positioningNotPermitted(15), authNetFailure(16), authSuplinitFailure(17), consentDeniedByUser(100), consentGrantedByUser(101), ..., ver2-incompatibleProtectionLevel(18), ver2-serviceNotSupported(19), ver2-insufficientInterval(20), ver2-noSUPLCoverage(21), ver2-sessionStopped(102), ver2-appIdDenied(103)}
QoP ::= SEQUENCE {
horacc INTEGER(0..127),
veracc INTEGER(0..127) OPTIONAL, -- as defined in [3GPP GAD] "uncertainty altitude"
maxLocAge INTEGER(0..65535) OPTIONAL,
delay INTEGER(0..7) OPTIONAL, -- as defined in [3GPP RRLP]
...,
ver2-responseTime INTEGER (1..128) OPTIONAL}
Velocity ::= CHOICE { -- velocity definition as per [3GPP GAD]
horvel Horvel,
horandvervel Horandvervel,
horveluncert Horveluncert,
horandveruncert Horandveruncert,
...}
Horvel ::= SEQUENCE {
bearing BIT STRING(SIZE (9)),
horspeed BIT STRING(SIZE (16)),
...}
Horandvervel ::= SEQUENCE {
verdirect BIT STRING(SIZE (1)),
bearing BIT STRING(SIZE (9)),
horspeed BIT STRING(SIZE (16)),
verspeed BIT STRING(SIZE (8)),
...}
Horveluncert ::= SEQUENCE {
bearing BIT STRING(SIZE (9)),
horspeed BIT STRING(SIZE (16)),
uncertspeed BIT STRING(SIZE (8)),
...}
Horandveruncert ::= SEQUENCE {
verdirect BIT STRING(SIZE (1)),
bearing BIT STRING(SIZE (9)),
horspeed BIT STRING(SIZE (16)),
verspeed BIT STRING(SIZE (8)),
horuncertspeed BIT STRING(SIZE (8)),
veruncertspeed BIT STRING(SIZE (8)),
...}
PosMethod ::= ENUMERATED {
agpsSETassisted(0), agpsSETbased(1), agpsSETassistedpref(2), agpsSETbasedpref(3), autonomousGPS(4), aflt(5), ecid(6), eotd(7), otdoa(8), noPosition(9), ..., ver2-historicalDataRetrieval(10), ver2-agnssSETassisted(11), ver2-agnssSETbased(12), ver2-agnssSETassistedpref(13), ver2-agnssSETbasedpref(14), ver2-autonomousGNSS(15), ver2-sessioninfoquery(16), ver2-mbs(17)}
END
--
-- 11.6 Common elements (SUPL Version 2)
--
Ver2-ULP-Components DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS Ver2-CellInfo-extension, MultipleLocationIds, SupportedNetworkInformation, CauseCode, UTRAN-GPSReferenceTimeAssistance, UTRAN-GPSReferenceTimeResult, SPCSETKey, SPCTID, SPCSETKeylifetime, UTRAN-GANSSReferenceTimeAssistance, UTRAN-GANSSReferenceTimeResult, GNSSPosTechnology, GANSSSignals, ThirdParty, ApplicationID, ReportingCap, Coordinate, CircularArea, EllipticalArea, PolygonArea, Ver2-HighAccuracyPosition;
IMPORTS
LocationId, PrimaryCPICH-Info, CellParametersID, FQDN, Velocity
FROM ULP-Components;
MultipleLocationIds ::= SEQUENCE SIZE (1..maxLidSize) OF LocationIdData
LocationIdData ::= SEQUENCE {
locationId LocationId,
relativetimestamp RelativeTime OPTIONAL, -- if relativetimestamp is present, then data represents historical measurement, if absent, data represents current measurements
servingFlag BOOLEAN, -- if "true" measurements represent serving cell
...}
RelativeTime ::= INTEGER (0..65535) -- relative time to "current" Location Id in multiples of 0.01sec
maxLidSize INTEGER ::= 64
SupportedNetworkInformation ::= SEQUENCE {
wlan BOOLEAN,
supportedWLANInfo SupportedWLANInfo OPTIONAL,
supportedWLANApsList SupportedWLANApsList OPTIONAL,
gsm BOOLEAN,
wcdma BOOLEAN,
supportedWCDMAInfo SupportedWCDMAInfo OPTIONAL,
cdma BOOLEAN,
hrdp BOOLEAN,
umb BOOLEAN,
lte BOOLEAN,
wimax BOOLEAN,
historic BOOLEAN,
nonServing BOOLEAN,
uTRANGPSReferenceTime BOOLEAN,
uTRANGANSSReferenceTime BOOLEAN,
...,
nr BOOLEAN OPTIONAL}
SupportedWLANInfo ::= SEQUENCE {
apTP BOOLEAN, -- AP transmit power
apAG BOOLEAN, -- AP antenna gain
apSN BOOLEAN, -- AP S/N received at SET
apDevType BOOLEAN, -- Device type
apRSSI BOOLEAN, -- AP signal strength at SET
apChanFreq BOOLEAN, -- AP channel/frequency of Tx/Rx
apRTD BOOLEAN, -- Round Trip Delay between SET and AP
setTP BOOLEAN, -- SET transmit power
setAG BOOLEAN, -- SET antenna gain
setSN BOOLEAN, -- SET S/N received at AP
setRSSI BOOLEAN, -- SET signal strength at AP
apRepLoc BOOLEAN, -- AP Location as reported by AP (legacy encoding)
...,
apRL BOOLEAN OPTIONAL, -- AP Location as reported by AP (as per IEEE802.11)
opClass BOOLEAN OPTIONAL, -- operating class as defined in IEEE 802.11
apSSID BOOLEAN OPTIONAL, -- SSID of the wireless network served by AP
apPHYType BOOLEAN OPTIONAL, -- AP PHY Type as defined in IEEE 802.11
setMACAddress BOOLEAN OPTIONAL -- SET MAC Address as known to the WLAN AP
}
maxWLANApDataSize INTEGER ::= 128
SupportedWLANApsList ::= SEQUENCE {
supportedWLANApDataList SEQUENCE (SIZE (1..maxWLANApDataSize)) OF SupportedWLANApData,
supportedWLANapsChannel11a SupportedWLANApsChannel11a OPTIONAL,
supportedWLANapsChannel11bg SupportedWLANApsChannel11bg OPTIONAL,
...
}
SupportedWLANApsChannel11a ::= SEQUENCE {
ch34 BOOLEAN,
ch36 BOOLEAN,
ch38 BOOLEAN,
ch40 BOOLEAN,
ch42 BOOLEAN,
ch44 BOOLEAN,
ch46 BOOLEAN,
ch48 BOOLEAN,
ch52 BOOLEAN,
ch56 BOOLEAN,
ch60 BOOLEAN,
ch64 BOOLEAN,
ch149 BOOLEAN,
ch153 BOOLEAN,
ch157 BOOLEAN,
ch161 BOOLEAN
}
SupportedWLANApsChannel11bg ::= SEQUENCE {
ch1 BOOLEAN,
ch2 BOOLEAN,
ch3 BOOLEAN,
ch4 BOOLEAN,
ch5 BOOLEAN,
ch6 BOOLEAN,
ch7 BOOLEAN,
ch8 BOOLEAN,
ch9 BOOLEAN,
ch10 BOOLEAN,
ch11 BOOLEAN,
ch12 BOOLEAN,
ch13 BOOLEAN,
ch14 BOOLEAN
}
SupportedWLANApData ::= SEQUENCE {
apMACAddress BIT STRING (SIZE (48)),
apDevType ENUMERATED {wlan802-11a(0), wlan802-11b(1), wlan802-11g(2), ...},
...}
SupportedWCDMAInfo ::= SEQUENCE {
mrl BOOLEAN, -- Measured Results List
...}
Ver2-CellInfo-extension ::= CHOICE {
hrpdCell HrpdCellInformation,
umbCell UmbCellInformation,
lteCell LteCellInformation,
wlanAP WlanAPInformation,
wimaxBS WimaxBSInformation,
...,
nrCell NRCellInformation}
HrpdCellInformation ::= SEQUENCE {
refSECTORID BIT STRING(SIZE (128)) OPTIONAL, -- HRPD Sector Id
refBASELAT INTEGER(0..4194303), -- Base Station Latitude
reBASELONG INTEGER(0..8388607), -- Base Station Longitude
refWeekNumber INTEGER(0..65535), -- GPS Week Number
refSeconds INTEGER(0..4194303), -- GPS Seconds
...}
UmbCellInformation ::= SEQUENCE {
refSECTORID BIT STRING(SIZE (128)), -- UMB Sector Id
refMCC INTEGER(0..999), -- Mobile Country Code
refMNC INTEGER(0..999), -- Mobile Network Code
refBASELAT INTEGER(0..4194303), -- Base Station Latitude
reBASELONG INTEGER(0..8388607), -- Base Station Longitude
refWeekNumber INTEGER(0..65535), -- GPS Week Number
refSeconds INTEGER(0..4194303), -- GPS Seconds
...}
-- LTE Cell info per 3GPP TS 36.331.
-- If not otherwise stated info is related to serving cell
LteCellInformation ::= SEQUENCE {
cellGlobalIdEUTRA CellGlobalIdEUTRA,
physCellId PhysCellId,
trackingAreaCode TrackingAreaCode,
rsrpResult RSRP-Range OPTIONAL,
rsrqResult RSRQ-Range OPTIONAL,
ta INTEGER(0..1282) OPTIONAL, -- Currently used Timing Advance value (N_TA/16 as per [3GPP 36.213])
measResultListEUTRA MeasResultListEUTRA OPTIONAL, --Neighbour measurements
...,
earfcn INTEGER(0..65535) OPTIONAL, -- see Table 37
earfcn-ext INTEGER (65536..262143) OPTIONAL, -- see Table 37
rsrpResult-ext RSRP-Range-Ext OPTIONAL,
rsrqResult-ext RSRQ-Range-Ext OPTIONAL,
rs-sinrResult RS-SINR-Range OPTIONAL,
servingInformation5G ServingInformation5G OPTIONAL
}
-- If rsrpResult-ext is included, rsrpResult shall be excluded or set to 0
-- If rsrqResult-ext is included and in the range 0 to 34, rsrqResult shall
-- be included and set equal to rsrqResult-ext
-- If rsrqResult-ext is included and outside the range 0 to 34, rsrqResult shall
-- be excluded or set to 0 when rsrqResult-ext is negative or to 34 when
-- rsrqResult-ext is positive
-- servingInformation5G shall be included for a serving cell connected to 5GCN
-- Measured results of neighbours cells per 3GPP TS 36.331
MeasResultListEUTRA ::= SEQUENCE (SIZE (1..maxCellReport)) OF MeasResultEUTRA
MeasResultEUTRA ::= SEQUENCE {
physCellId PhysCellId,
cgi-Info SEQUENCE {
cellGlobalId CellGlobalIdEUTRA,
trackingAreaCode TrackingAreaCode
} OPTIONAL,
measResult SEQUENCE {
rsrpResult RSRP-Range OPTIONAL, -- Mapping to measured values
rsrqResult RSRQ-Range OPTIONAL, -- in 3GPP TS 36.133
...,
earfcn INTEGER(0..65535) OPTIONAL, -- see Table 37
earfcn-ext INTEGER (65536..262143) OPTIONAL, -- see Table 37
rsrpResult-ext RSRP-Range-Ext OPTIONAL,
rsrqResult-ext RSRQ-Range-Ext OPTIONAL,
rs-sinrResult RS-SINR-Range OPTIONAL,
neighbourInformation5G NeighbourInformation5G OPTIONAL
}
}
-- If rsrpResult-ext is included, rsrpResult shall be excluded or set to 0
-- If rsrqResult-ext is included and in the range 0 to 34, rsrqResult shall
-- be included and set equal to rsrqResult-ext
-- If rsrqResult-ext is included and outside the range 0 to 34, rsrqResult shall
-- be excluded or set to 0 when rsrqResult-ext is negative or to 34 when
-- rsrqResult-ext is positive
-- neighbourInformation5G may only be included for a cell connected to 5GCN
PhysCellId ::= INTEGER (0..503)
TrackingAreaCode ::= BIT STRING (SIZE (16))
CellGlobalIdEUTRA ::= SEQUENCE {
plmn-Identity PLMN-Identity,
cellIdentity CellIdentity,
...
}
PLMN-Identity ::= SEQUENCE {
mcc MCC OPTIONAL,
mnc MNC
}
CellIdentity ::= BIT STRING (SIZE (28))
MCC ::= SEQUENCE (SIZE (3)) OF MCC-MNC-Digit
MNC ::= SEQUENCE (SIZE (2..3)) OF MCC-MNC-Digit
MCC-MNC-Digit ::= INTEGER (0..9)
RSRP-Range ::= INTEGER(0..97)
RSRQ-Range ::= INTEGER(0..34)
RSRP-Range-Ext ::= INTEGER(-17..-1)
RSRQ-Range-Ext ::= INTEGER(-30..46)
RS-SINR-Range ::= INTEGER(0..127)
ServingInformation5G ::= SEQUENCE {
trackingAreaCode TrackingAreaCodeNR,
...
}
NeighbourInformation5G ::= SEQUENCE {
trackingAreaCode TrackingAreaCodeNR OPTIONAL,
...
}
maxCellReport INTEGER ::= 8
WlanAPInformation ::= SEQUENCE { -- as per [IEEE 802.11]
apMACAddress BIT STRING(SIZE (48)), -- AP MAC Address
apTransmitPower INTEGER(-127..128) OPTIONAL, -- AP transmit power in dbm
apAntennaGain INTEGER(-127..128) OPTIONAL, -- AP antenna gain in dBi
apSignaltoNoise INTEGER(-127..128) OPTIONAL, -- AP S/N received at SET
apDeviceType ENUMERATED {wlan802-11a(0), wlan802-11b(1), wlan802-11g(2), ..., wlan802-11n(3), wlan802-11ac(4), wlan802-11ad(5)} OPTIONAL,
apSignalStrength INTEGER(-127..128) OPTIONAL, -- AP signal strength at SET
apChannelFrequency INTEGER(0..256) OPTIONAL, -- AP channel/frequency of Tx/Rx
apRoundTripDelay RTD OPTIONAL, -- Round Trip Delay between SET and AP
setTransmitPower INTEGER(-127..128) OPTIONAL, -- SET transmit power in dBm
setAntennaGain INTEGER (-127..128) OPTIONAL, -- SET antenna gain in dBi
setSignaltoNoise INTEGER (-127..128) OPTIONAL, -- SET S/N received at AP
setSignalStrength INTEGER(-127..128) OPTIONAL, -- SET signal strength at AP
apReportedLocation ReportedLocation OPTIONAL, -- AP Location reported by AP (legacy encoding)
...,
apRepLocation RepLocation OPTIONAL, -- AP Location reported by AP
apSignalStrengthDelta INTEGER (0..1) OPTIONAL, -- see Table 41
apSignaltoNoiseDelta INTEGER (0..1) OPTIONAL, -- see Table 41
setSignalStrengthDelta INTEGER (0..1) OPTIONAL, -- see Table 41
setSignaltoNoiseDelta INTEGER (0..1) OPTIONAL, -- see Table 41
operatingClass INTEGER (0..255) OPTIONAL,
apSSID OCTET STRING (SIZE (1..32)) OPTIONAL,
apPHYType ENUMERATED {unknown(0), any(1), fhss(2), dsss(3), irbaseband(4), ofdm(5), hrdsss(6), erp(7), ht(8), ihv(9), ...} OPTIONAL,
setMACAddress BIT STRING(SIZE (48)) OPTIONAL -- MAC Address used by SET to connect to AP
}
RTD ::= SEQUENCE { -- as per [IEEE 802.11]
rTDValue INTEGER(0..16777216), -- measured RTD value corresponding to
-- about 500km in units of 1/10 of nanoseconds
rTDUnits RTDUnits, -- units of RTD
rTDAccuracy INTEGER(0..255) OPTIONAL, -- RTD accuracy
...}
RTDUnits ::= ENUMERATED {
microseconds(0), hundredsofnanoseconds(1), tensofnanoseconds(2), nanoseconds(3), tenthsofnanoseconds(4), ...}
ReportedLocation ::= SEQUENCE { -- as per [IEEE 802.11v]
locationEncodingDescriptor LocationEncodingDescriptor,
locationData LocationData, -- location data field
...}
LocationEncodingDescriptor ::= ENUMERATED {
lci(0), asn1(1), ...}
LocationData ::= SEQUENCE {
locationAccuracy INTEGER(0..4294967295) OPTIONAL,
locationValue OCTET STRING (SIZE(1..128)),
...}
RepLocation ::= CHOICE {
lciLocData LciLocData, -- location data field as per [IEEE 802.11] and [RFC 3825]
... -- future formats may be added here
}
LciLocData ::= SEQUENCE {
locationDataLCI LocationDataLCI OPTIONAL,
...}
LocationDataLCI ::= SEQUENCE {
latitudeResolution BIT STRING (SIZE (6)),
latitude BIT STRING (SIZE (34)),
longitudeResolution BIT STRING (SIZE (6)),
longitude BIT STRING (SIZE (34)),
altitudeType BIT STRING (SIZE (4)),
altitudeResolution BIT STRING (SIZE (6)),
altitude BIT STRING (SIZE (30)),
datum BIT STRING (SIZE (8)),
...}
WimaxBSInformation ::= SEQUENCE {
wimaxBsID WimaxBsID, -- WiMax serving base station ID
wimaxRTD WimaxRTD OPTIONAL, -- Round Trip Delay measurements
wimaxNMRList WimaxNMRList OPTIONAL, -- Network measurements
...}
WimaxBsID ::= SEQUENCE {
bsID-MSB BIT STRING (SIZE(24)) OPTIONAL,
bsID-LSB BIT STRING (SIZE(24)),
...}
-- if only LSB is present, MSB is assumed to be identical to the current serving BS or clamped on network value
WimaxRTD ::= SEQUENCE {
rtd INTEGER (0..65535), -- Round trip delay of serving BS in units of 10 ns
rTDstd INTEGER (0..1023) OPTIONAL, -- Standard deviation of round trip delay in units of 10 ns
...}
WimaxNMRList ::= SEQUENCE (SIZE (1..maxWimaxBSMeas)) OF WimaxNMR
WimaxNMR ::= SEQUENCE {
wimaxBsID WimaxBsID, -- WiMax BS ID for the measurement
relDelay INTEGER (-32768..32767) OPTIONAL, -- Relative delay for this neighbouring BSs to the serving cell in units of 10 ns
relDelaystd INTEGER (0..1023) OPTIONAL, -- Standard deviation of Relative delay in units of 10 ns
rssi INTEGER (0..255) OPTIONAL, -- RSSI in 0.25 dBm steps, starting from -103.75 dBm
rSSIstd INTEGER (0..63) OPTIONAL, -- Standard deviation of RSSI in dB
bSTxPower INTEGER (0..255) OPTIONAL, -- BS transmit power in 0.25 dBm steps, starting from -103.75 dBm
cinr INTEGER (0..255) OPTIONAL, -- in dB
cINRstd INTEGER (0..63) OPTIONAL, -- Standard deviation of CINR in dB
bSLocation ReportedLocation OPTIONAL, -- Reported location of the BS
...}
maxWimaxBSMeas INTEGER ::= 32
NRCellInformation ::= SEQUENCE {
servingCellInformation ServingCellInformationNR, --Serving cell information
measuredResultsListNR MeasResultListNR OPTIONAL, --Neighbour measurements
...
}
-- Information for serving cells per 3GPP TS 38.331
ServingCellInformationNR ::= SEQUENCE (SIZE (1..maxNRServingCell)) OF ServCellNR
-- The first listed serving cell shall be the primary cell
ServCellNR ::= SEQUENCE {
physCellId PhysCellIdNR,
arfcn-NR ARFCN-NR,
cellGlobalId CellGlobalIdNR,
trackingAreaCode TrackingAreaCodeNR,
ssb-Measurements NR-Measurements OPTIONAL,
csi-rs-Measurements NR-Measurements OPTIONAL,
ta INTEGER(0..3846) OPTIONAL, --Timing Advance value
...
}
-- Measured results of neighbours cells per 3GPP TS 38.331
MeasResultListNR ::= SEQUENCE (SIZE (1..maxCellReportNR)) OF MeasResultNR
MeasResultNR ::= SEQUENCE {
physCellId PhysCellIdNR,
arfcn-NR ARFCN-NR,
cellGlobalId CellGlobalIdNR OPTIONAL,
trackingAreaCode TrackingAreaCodeNR OPTIONAL,
ssb-Measurements NR-Measurements OPTIONAL,
csi-rs-Measurements NR-Measurements OPTIONAL,
...
}
PhysCellIdNR ::= INTEGER (0..1007)
ARFCN-NR ::= INTEGER (0.. 3279165)
TrackingAreaCodeNR ::= BIT STRING (SIZE (24))
CellGlobalIdNR ::= SEQUENCE {
plmn-Identity PLMN-Identity,
cellIdentityNR CellIdentityNR,
...
}
CellIdentityNR ::= BIT STRING (SIZE (36))
NR-Measurements ::= SEQUENCE {
rsrp-Range INTEGER (0..127) OPTIONAL,
rsrq-Range INTEGER (0..127) OPTIONAL,
sinr-Range INTEGER (0..127) OPTIONAL,
...
}
maxNRServingCell INTEGER ::= 32
maxCellReportNR INTEGER ::= 32
UTRAN-GPSReferenceTimeAssistance ::= SEQUENCE {
utran-GPSReferenceTime UTRAN-GPSReferenceTime,
gpsReferenceTimeUncertainty INTEGER (0..127) OPTIONAL,
utranGPSDriftRate UTRANGPSDriftRate OPTIONAL}
UTRAN-GPSReferenceTime ::= SEQUENCE {
-- For utran-GPSTimingOfCell values above 2322431999999 are not used in this version of the specification. Actual value utran-GPSTimingOfCell = (ms-part * 4294967296) + ls-part used on the downlink i.e. sent from the SLP to the SET
utran-GPSTimingOfCell SEQUENCE {
ms-part INTEGER (0..1023),
ls-part INTEGER (0..4294967295)},
modeSpecificInfo CHOICE {
fdd SEQUENCE {
referenceIdentity PrimaryCPICH-Info},
tdd SEQUENCE {
referenceIdentity CellParametersID}} OPTIONAL,
sfn INTEGER (0..4095)}
UTRANGPSDriftRate ::= ENUMERATED {
utran-GPSDrift0, utran-GPSDrift1, utran-GPSDrift2,
utran-GPSDrift5, utran-GPSDrift10, utran-GPSDrift15,
utran-GPSDrift25, utran-GPSDrift50, utran-GPSDrift-1,
utran-GPSDrift-2, utran-GPSDrift-5, utran-GPSDrift-10,
utran-GPSDrift-15, utran-GPSDrift-25, utran-GPSDrift-50}
UTRAN-GPSReferenceTimeResult ::= SEQUENCE {
-- For ue-GPSTimingOfCell values above 37158911999999 are not used in this version of the specification. Actual value utran-GPSTimingOfCell = (ms-part * 4294967296) + ls-part used on the uplink i.e. reported by the SET to the SLP
set-GPSTimingOfCell SEQUENCE {
ms-part INTEGER (0.. 16383),
ls-part INTEGER (0..4294967295)},
modeSpecificInfo CHOICE {
fdd SEQUENCE {
referenceIdentity PrimaryCPICH-Info},
tdd SEQUENCE {
referenceIdentity CellParametersID}} OPTIONAL,
sfn INTEGER (0..4095),
gpsReferenceTimeUncertainty INTEGER (0..127) OPTIONAL,
...}
UTRAN-GANSSReferenceTimeAssistance ::= SEQUENCE {
ganssDay INTEGER (0..8191) OPTIONAL,
ganssTimeID INTEGER (0..15),
utran-GANSSReferenceTime UTRAN-GANSSReferenceTime,
utranGANSSDriftRate UTRANGANSSDriftRate OPTIONAL}
UTRAN-GANSSReferenceTime ::= SEQUENCE {
ganssTOD INTEGER (0..86399),
utran-GANSSTimingOfCell INTEGER (0..3999999)OPTIONAL,
modeSpecificInfo CHOICE {
fdd SEQUENCE {
referenceIdentity PrimaryCPICH-Info},
tdd SEQUENCE {
referenceIdentity CellParametersID}} OPTIONAL,
sfn INTEGER (0..4095),
ganss-TODUncertainty INTEGER (0..127) OPTIONAL,
...}
UTRANGANSSDriftRate ::= ENUMERATED {
utran-GANSSDrift0, utran-GANSSDrift1, utran-GANSSDrift2,
utran-GANSSDrift5, utran-GANSSDrift10, utran-GANSSDrift15,
utran-GANSSDrift25, utran-GANSSDrift50, utran-GANSSDrift-1,
utran-GANSSDrift-2, utran-GANSSDrift-5, utran-GANSSDrift-10,
utran-GANSSDrift-15, utran-GANSSDrift-25, utran-GANSSDrift-50}
UTRAN-GANSSReferenceTimeResult ::= SEQUENCE {
ganssTimeID INTEGER (0..15),
set-GANSSReferenceTime SET-GANSSReferenceTime,
...}
SET-GANSSReferenceTime ::= SEQUENCE {
-- Actual value [ns] = (ms-Part * 4294967296 + ls-Part) * 250
-- Actual values [ns] > 86399999999750 are reserved and are considered a
-- protocol error
set-GANSSTimingOfCell SEQUENCE {
ms-part INTEGER (0..80),
ls-part INTEGER (0..4294967295)} OPTIONAL,
modeSpecificInfo CHOICE {
fdd SEQUENCE {
referenceIdentity PrimaryCPICH-Info},
tdd SEQUENCE {
referenceIdentity CellParametersID}} OPTIONAL,
sfn INTEGER (0..4095),
ganss-TODUncertainty INTEGER (0..127) OPTIONAL,
...}
GNSSPosTechnology ::= SEQUENCE {
gps BOOLEAN,
galileo BOOLEAN,
sbas BOOLEAN,
modernized-gps BOOLEAN,
qzss BOOLEAN,
glonass BOOLEAN,
...,
bds BOOLEAN OPTIONAL,
rtk-osr BOOLEAN OPTIONAL}
-- indicates MS support for particular GANSS signals and frequencies coding according to parameter definition in section 10.9
GANSSSignals ::= BIT STRING {
signal1 (0),
signal2 (1),
signal3 (2),
signal4 (3),
signal5 (4),
signal6 (5),
signal7 (6),
signal8 (7)} (SIZE (1..8))
SPCSETKey ::= BIT STRING(SIZE (128))
SPCTID ::= SEQUENCE {
rand BIT STRING(SIZE (128)),
slpFQDN FQDN,
...}
SPCSETKeylifetime ::= INTEGER (1..24) -- units in hours
CauseCode ::= ENUMERATED {
servingNetWorkNotInAreaIdList(0), sETCapabilitiesChanged(1), noSUPLCoverage(2), ...}
ThirdParty ::= SEQUENCE (SIZE (1..64)) OF ThirdPartyID
ThirdPartyID ::= CHOICE {
logicalName IA5String(SIZE (1..1000)),
msisdn OCTET STRING(SIZE (8)),
emailaddr IA5String(SIZE (1..1000)),
-- sip-uri VisibleString(FROM ("a".."z" | "A".."Z" | "0".."9" | ":./-_~%#@?")) (SIZE (1..255)),
-- ims-public-identity VisibleString(FROM ("a".."z" | "A".."Z" | "0".."9" | ":./-_~%#@?")) (SIZE (1..255)),
-- #Â asn2wrs does not handle '%' in the restricted string
sip-uri VisibleString(FROM ("a".."z" | "A".."Z" | "0".."9" | ":./-_~#@?")) (SIZE (1..255)),
ims-public-identity VisibleString(FROM ("a".."z" | "A".."Z" | "0".."9" | ":./-_~#@?")) (SIZE (1..255)),
min BIT STRING(SIZE (34)), -- coded according to TIA-553
mdn OCTET STRING(SIZE (8)),
-- uri VisibleString(FROM ("a".."z" | "A".."Z" | "0".."9" | "./-_~%#")) (SIZE (1..255)),
uri VisibleString(FROM ("a".."z" | "A".."Z" | "0".."9" | "./-_~#")) (SIZE (1..255)),
...}
ApplicationID ::= SEQUENCE {
appProvider IA5String(SIZE (1..24)), -- The application provider
appName IA5String(SIZE (1..32)), -- The application name
appVersion IA5String(SIZE (1..8)) OPTIONAL, -- The application version
...}
ReportingCap ::= SEQUENCE {
minInt INTEGER (1..3600), -- units in seconds
maxInt INTEGER (1..1440) OPTIONAL, -- units in minutes
repMode RepMode,
batchRepCap BatchRepCap OPTIONAL, -- only used for batch and quasi real time reporting
...}
RepMode ::= SEQUENCE {
realtime BOOLEAN,
quasirealtime BOOLEAN,
batch BOOLEAN,
...}
BatchRepCap ::= SEQUENCE {
report-position BOOLEAN, -- set to "true" if reporting of position is supported
report-measurements BOOLEAN, -- set to "true" if reporting of measurements is supported
max-num-positions INTEGER (1..1024) OPTIONAL,
max-num-measurements INTEGER (1..1024) OPTIONAL,
...}
Coordinate::= SEQUENCE {
latitudeSign ENUMERATED {north(0), south(1)},
latitude INTEGER(0..8388607),
longitude INTEGER(-8388608..8388607)} -- Coding as in [3GPP GAD]
CircularArea ::= SEQUENCE {
coordinate Coordinate,
radius INTEGER(1..1000000), -- radius in meters
radius-min INTEGER(1..1000000) OPTIONAL, -- hysteresis minimum radius
radius-max INTEGER(1..1500000) OPTIONAL} -- hysteresis maximum radius
EllipticalArea ::= SEQUENCE {
coordinate Coordinate,
semiMajor INTEGER(1..1000000), -- units in meters
semiMajor-min INTEGER(1..1000000) OPTIONAL, -- hysteresis minimum semiMajor
semiMajor-max INTEGER(1..1500000) OPTIONAL, -- hysteresis maximum semiMajor
semiMinor INTEGER(1..1000000), -- units in meters
semiMinor-min INTEGER(1..1000000) OPTIONAL, -- hysteresis minimum semiMinor
semiMinor-max INTEGER(1..1500000) OPTIONAL, -- hysteresis maximum semiMinor
angle INTEGER(0.. 179)} -- units in degrees. The angle is defined as the angle between the semi-major axis and North, increasing in a clockwise direction. An angle of 0 represents an ellipse with the semi-major axis pointing North/South while an angle of 90 represents an ellipse with the semi-major axis pointing East/West.
PolygonArea ::= SEQUENCE {
polygonDescription PolygonDescription,
polygonHysteresis INTEGER(1..100000) OPTIONAL} --units in meters
PolygonDescription ::= SEQUENCE (SIZE (3..15)) OF Coordinate
Ver2-HighAccuracyPosition ::= SEQUENCE {
timestamp UTCTime, -- shall include seconds and shall use UTC time.
highAccuracyPositionEstimate HighAccuracyPositionEstimate,
velocity Velocity OPTIONAL,
...}
HighAccuracyPositionEstimate ::= SEQUENCE {
degreesLatitude INTEGER(-2147483648..2147483647),
degreesLongitude INTEGER(-2147483648..2147483647),
uncertaintySemiMajor INTEGER (0..255),
uncertaintySemiMinor INTEGER (0..255),
orientationMajorAxis INTEGER (0..179),
horizontalConfidence INTEGER (0..100),
highAccuracyAltitudeInfo HighAccuracyAltitudeInfo OPTIONAL,
...} -- Coding as in [3GPP GAD]
HighAccuracyAltitudeInfo ::= SEQUENCE {
altitude INTEGER(64000..1280000),
uncertaintyAltitude INTEGER (0..255),
verticalConfidence INTEGER (0..100),
...} -- Coding as in [3GPP GAD]
END |
ASN.1 | wireshark/epan/dissectors/asn1/ulp/ULP.asn | -- ULP.asn
-- Taken from OMA UserPlane Location Protocol
-- http://member.openmobilealliance.org/ftp/Public_documents/LOC/Permanent_documents/OMA-TS-ULP-V2_0_5-20191028-A.zip
--
-- 11.1 Common Part
--
ULP DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
IMPORTS
Version, SessionID
FROM ULP-Components
SUPLINIT
FROM SUPL-INIT
SUPLSTART
FROM SUPL-START
SUPLRESPONSE
FROM SUPL-RESPONSE
SUPLPOSINIT
FROM SUPL-POS-INIT
SUPLPOS
FROM SUPL-POS
SUPLEND
FROM SUPL-END
SUPLAUTHREQ
FROM SUPL-AUTH-REQ
SUPLAUTHRESP
FROM SUPL-AUTH-RESP
Ver2-SUPLTRIGGEREDSTART
FROM SUPL-TRIGGERED-START
Ver2-SUPLTRIGGEREDRESPONSE
FROM SUPL-TRIGGERED-RESPONSE
Ver2-SUPLREPORT
FROM SUPL-REPORT
Ver2-SUPLTRIGGEREDSTOP
FROM SUPL-TRIGGERED-STOP
Ver2-SUPLSETINIT
FROM SUPL-SET-INIT
Ver2-SUPLNOTIFY
FROM SUPL-NOTIFY
Ver2-SUPLNOTIFYRESPONSE
FROM SUPL-NOTIFY-RESPONSE;
-- general ULP PDU layout;--
ULP-PDU ::= SEQUENCE {
length INTEGER(0..65535),
version Version,
sessionID SessionID,
message UlpMessage}
UlpMessage ::= CHOICE {
msSUPLINIT SUPLINIT,
msSUPLSTART SUPLSTART,
msSUPLRESPONSE SUPLRESPONSE,
msSUPLPOSINIT SUPLPOSINIT,
msSUPLPOS SUPLPOS,
msSUPLEND SUPLEND,
msSUPLAUTHREQ SUPLAUTHREQ,
msSUPLAUTHRESP SUPLAUTHRESP,
...,
msSUPLTRIGGEREDSTART Ver2-SUPLTRIGGEREDSTART,
msSUPLTRIGGEREDRESPONSE Ver2-SUPLTRIGGEREDRESPONSE,
msSUPLTRIGGEREDSTOP Ver2-SUPLTRIGGEREDSTOP,
msSUPLNOTIFY Ver2-SUPLNOTIFY,
msSUPLNOTIFYRESPONSE Ver2-SUPLNOTIFYRESPONSE,
msSUPLSETINIT Ver2-SUPLSETINIT,
msSUPLREPORT Ver2-SUPLREPORT}
END |
Configuration | wireshark/epan/dissectors/asn1/ulp/ulp.cnf | # 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
guint32 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
guint32 val;
ulp_private_data_t *ulp_priv = ulp_get_private_data(actx);
%(DEFAULT_BODY)s
ulp_priv->notif_enc_type = (guint8) 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=&units_hours
#.TYPE_ATTR
NavigationModel/toeLimit DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&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=&units_seconds
#.TYPE_ATTR
PeriodicParams/startTime DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds
#.TYPE_ATTR
AreaEventParams/startTime DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds
#.TYPE_ATTR
AreaEventParams/stopTime DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds
#.TYPE_ATTR
RepeatedReportingParams/minimumIntervalTime DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&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=&units_seconds
#.TYPE_ATTR
ReportingCriteria/minTimeInterval DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds
#.TYPE_ATTR
TimeWindow/startTime DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_minutes
#.TYPE_ATTR
TimeWindow/stopTime DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&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
guint32 val;
ulp_private_data_t *ulp_priv = ulp_get_private_data(actx);
%(DEFAULT_BODY)s
ulp_priv->ganss_req_gen_data_ganss_id = (guint8) 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
guint32 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
guint32 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=&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);
}
#.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=&units_degree_degrees
#.TYPE_ATTR
PositionEstimate/confidence DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_percent
#.TYPE_ATTR
AltitudeInfo/altitude DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&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=&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=&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=&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=&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=&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=&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=&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=&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=&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=&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=&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=&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=&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=&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=&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=&units_dbm
#.TYPE_ATTR
WlanAPInformation/apAntennaGain DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_dbi
#.TYPE_ATTR
WlanAPInformation/apSignaltoNoise DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_decibels
#.TYPE_ATTR
WlanAPInformation/apSignalStrength DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_dbm
#.TYPE_ATTR
WlanAPInformation/setTransmitPower DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_dbm
#.TYPE_ATTR
WlanAPInformation/setAntennaGain DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_dbi
#.TYPE_ATTR
WlanAPInformation/setSignaltoNoise DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_decibels
#.TYPE_ATTR
WlanAPInformation/setSignalStrength DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&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=&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=&units_decibels
#.TYPE_ATTR
WimaxNMR/cINRstd DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&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=&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=&units_seconds
#.TYPE_ATTR
ReportingCap/maxInt DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&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=&units_meters
#.TYPE_ATTR
EllipticalArea/semiMajor DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_meters
#.TYPE_ATTR
EllipticalArea/semiMinor DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_meters
#.TYPE_ATTR
EllipticalArea/angle DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_degree_degrees
#.TYPE_ATTR
PolygonArea/polygonHysteresis DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_meters
#.END |
Text | wireshark/epan/dissectors/asn1/wlancertextn/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME wlancertextn )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
WLANCERTEXTN.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/wlancertextn/packet-wlancertextn-template.c | /* packet-wlancertextn.c
* Routines for Wireless Certificate Extension (RFC3770)
* Ronnie Sahlberg 2005
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/oids.h>
#include <epan/asn1.h>
#include "packet-ber.h"
#include "packet-wlancertextn.h"
#include "packet-x509af.h"
#include "packet-x509ce.h"
#include "packet-x509sat.h"
#define PNAME "Wlan Certificate Extension"
#define PSNAME "WLANCERTEXTN"
#define PFNAME "wlancertextn"
void proto_register_wlancertextn(void);
void proto_reg_handoff_wlancertextn(void);
/* Initialize the protocol and registered fields */
static int proto_wlancertextn = -1;
#include "packet-wlancertextn-hf.c"
/* Initialize the subtree pointers */
#include "packet-wlancertextn-ett.c"
#include "packet-wlancertextn-fn.c"
/*--- proto_register_wlancertextn ----------------------------------------------*/
void proto_register_wlancertextn(void) {
/* List of fields */
static hf_register_info hf[] = {
#include "packet-wlancertextn-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
#include "packet-wlancertextn-ettarr.c"
};
/* Register protocol */
proto_wlancertextn = proto_register_protocol(PNAME, PSNAME, PFNAME);
/* Register fields and subtrees */
proto_register_field_array(proto_wlancertextn, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
}
/*--- proto_reg_handoff_wlancertextn -------------------------------------------*/
void proto_reg_handoff_wlancertextn(void) {
#include "packet-wlancertextn-dis-tab.c"
oid_add_from_string("id-kp-eapOverPPP","1.3.6.1.5.5.7.3.13");
oid_add_from_string("id-kp-eapOverLAN","1.3.6.1.5.5.7.3.14");
} |
C/C++ | wireshark/epan/dissectors/asn1/wlancertextn/packet-wlancertextn-template.h | /* packet-wlancertextn.h
* Routines for Wireless Certificate Extensions (RFC3770) packet dissection
* Ronnie Sahlberg 2005
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_WLANCERTEXTN_H
#define PACKET_WLANCERTEXTN_H
/*#include "packet-wlancertextn-exp.h"*/
#endif /* PACKET_WLANCERTEXTN_H */ |
ASN.1 | wireshark/epan/dissectors/asn1/wlancertextn/WLANCERTEXTN.asn | -- ASN definitions taken from RFC3770
-- Copyright notice from RFC3770 follows below
--
-- RFC 3770 PPP and WLAN May 2004
--
-- 10. Full Copyright Statement
--
-- Copyright (C) The Internet Society (2004). This document is subject
-- to the rights, licenses and restrictions contained in BCP 78, and
-- except as set forth therein, the authors retain all their rights.
--
-- This document and the information contained herein are provided on an
-- "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
-- OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
-- ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
-- INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
-- INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
-- WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
--
-- Intellectual Property
--
-- The IETF takes no position regarding the validity or scope of any
-- Intellectual Property Rights or other rights that might be claimed to
-- pertain to the implementation or use of the technology described in
-- this document or the extent to which any license under such rights
-- might or might not be available; nor does it represent that it has
-- made any independent effort to identify any such rights. Information
-- on the procedures with respect to rights in RFC documents can be
-- found in BCP 78 and BCP 79.
--
-- Copies of IPR disclosures made to the IETF Secretariat and any
-- assurances of licenses to be made available, or the result of an
-- attempt made to obtain a general license or permission for the use of
-- such proprietary rights by implementers or users of this
-- specification can be obtained from the IETF on-line IPR repository at
-- http://www.ietf.org/ipr.
--
-- The IETF invites any interested party to bring to its attention any
-- copyrights, patents or patent applications, or other proprietary
-- rights that may cover technology that may be required to implement
-- this standard. Please address the information to the IETF at ietf-
-- [email protected].
--
-- Acknowledgement
--
-- Funding for the RFC Editor function is currently provided by the
-- Internet Society.
--
WLANCertExtn
{ iso(1) identified-organization(3) dod(6) internet(1)
security(5) mechanisms(5) pkix(7) id-mod(0)
id-mod-wlan-extns(24) }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- OID Arcs
id-pe OBJECT IDENTIFIER ::=
{ iso(1) identified-organization(3) dod(6) internet(1)
security(5) mechanisms(5) pkix(7) 1 }
id-kp OBJECT IDENTIFIER ::=
{ iso(1) identified-organization(3) dod(6) internet(1)
security(5) mechanisms(5) pkix(7) 3 }
id-aca OBJECT IDENTIFIER ::=
{ iso(1) identified-organization(3) dod(6) internet(1)
security(5) mechanisms(5) pkix(7) 10 }
-- Extended Key Usage Values
id-kp-eapOverPPP OBJECT IDENTIFIER ::= { id-kp 13 }
id-kp-eapOverLAN OBJECT IDENTIFIER ::= { id-kp 14 }
-- Wireless LAN SSID Extension
id-pe-wlanSSID OBJECT IDENTIFIER ::= { id-pe 13 }
SSIDList ::= SEQUENCE SIZE (1..MAX) OF SSID
SSID ::= OCTET STRING (SIZE (1..32))
-- Wireless LAN SSID Attribute Certificate Attribute
-- Uses same syntax as the certificate extension: SSIDList
id-aca-wlanSSID OBJECT IDENTIFIER ::= { id-aca 6 }
END |
Configuration | wireshark/epan/dissectors/asn1/wlancertextn/wlancertextn.cnf | # WlanCertExtn.cnf
# WlanCertExtn conformation file
#.MODULE_IMPORT
#.EXPORTS
#.REGISTER
SSIDList B "1.3.6.1.5.5.7.1.13" "id-pe-wlanSSID"
SSIDList B "1.3.6.1.5.5.7.10.6" "id-aca-wlanSSID"
#.NO_EMIT
#.TYPE_RENAME
#.FIELD_RENAME
#.END |
Text | wireshark/epan/dissectors/asn1/x2ap/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME x2ap )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
X2AP-CommonDataTypes.asn
X2AP-Constants.asn
X2AP-Containers.asn
X2AP-IEs.asn
X2AP-PDU-Contents.asn
X2AP-PDU-Descriptions.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS )
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/x2ap/packet-x2ap-template.c | /* packet-x2ap.c
* Routines for dissecting Evolved Universal Terrestrial Radio Access Network (EUTRAN);
* X2 Application Protocol (X2AP);
* 3GPP TS 36.423 packet dissection
* Copyright 2007-2014, Anders Broman <[email protected]>
* Copyright 2016-2023, Pascal Quantin <[email protected]>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* Ref:
* 3GPP TS 36.423 V17.5.0 (2023-06)
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/tfs.h>
#include <epan/asn1.h>
#include <epan/prefs.h>
#include <epan/sctpppids.h>
#include <epan/proto_data.h>
#include "packet-x2ap.h"
#include "packet-per.h"
#include "packet-e212.h"
#include "packet-lte-rrc.h"
#include "packet-nr-rrc.h"
#include "packet-ngap.h"
#include "packet-ranap.h"
#include "packet-ntp.h"
#include "packet-s1ap.h"
#include "packet-f1ap.h"
#include "packet-xnap.h"
#ifdef _MSC_VER
/* disable: "warning C4146: unary minus operator applied to unsigned type, result still unsigned" */
#pragma warning(disable:4146)
#endif
#define PNAME "EUTRAN X2 Application Protocol (X2AP)"
#define PSNAME "X2AP"
#define PFNAME "x2ap"
void proto_register_x2ap(void);
/* Dissector will use SCTP PPID 27 or SCTP port. IANA assigned port = 36422 */
#define SCTP_PORT_X2AP 36422
#include "packet-x2ap-val.h"
/* Initialize the protocol and registered fields */
static int proto_x2ap = -1;
static int hf_x2ap_transportLayerAddressIPv4 = -1;
static int hf_x2ap_transportLayerAddressIPv6 = -1;
static int hf_x2ap_ReportCharacteristics_PRBPeriodic = -1;
static int hf_x2ap_ReportCharacteristics_TNLLoadIndPeriodic = -1;
static int hf_x2ap_ReportCharacteristics_HWLoadIndPeriodic = -1;
static int hf_x2ap_ReportCharacteristics_CompositeAvailableCapacityPeriodic = -1;
static int hf_x2ap_ReportCharacteristics_ABSStatusPeriodic = -1;
static int hf_x2ap_ReportCharacteristics_RSRPMeasurementReportPeriodic = -1;
static int hf_x2ap_ReportCharacteristics_CSIReportPeriodic = -1;
static int hf_x2ap_ReportCharacteristics_Reserved = -1;
static int hf_x2ap_measurementFailedReportCharacteristics_PRBPeriodic = -1;
static int hf_x2ap_measurementFailedReportCharacteristics_TNLLoadIndPeriodic = -1;
static int hf_x2ap_measurementFailedReportCharacteristics_HWLoadIndPeriodic = -1;
static int hf_x2ap_measurementFailedReportCharacteristics_CompositeAvailableCapacityPeriodic = -1;
static int hf_x2ap_measurementFailedReportCharacteristics_ABSStatusPeriodic = -1;
static int hf_x2ap_measurementFailedReportCharacteristics_RSRPMeasurementReportPeriodic = -1;
static int hf_x2ap_measurementFailedReportCharacteristics_CSIReportPeriodic = -1;
static int hf_x2ap_measurementFailedReportCharacteristics_Reserved = -1;
static int hf_x2ap_eUTRANTraceID_TraceID = -1;
static int hf_x2ap_eUTRANTraceID_TraceRecordingSessionReference = -1;
static int hf_x2ap_interfacesToTrace_S1_MME = -1;
static int hf_x2ap_interfacesToTrace_X2 = -1;
static int hf_x2ap_interfacesToTrace_Uu = -1;
static int hf_x2ap_interfacesToTrace_F1_C = -1;
static int hf_x2ap_interfacesToTrace_E1 = -1;
static int hf_x2ap_interfacesToTrace_Reserved = -1;
static int hf_x2ap_traceCollectionEntityIPAddress_IPv4 = -1;
static int hf_x2ap_traceCollectionEntityIPAddress_IPv6 = -1;
static int hf_x2ap_encryptionAlgorithms_EEA1 = -1;
static int hf_x2ap_encryptionAlgorithms_EEA2 = -1;
static int hf_x2ap_encryptionAlgorithms_EEA3 = -1;
static int hf_x2ap_encryptionAlgorithms_Reserved = -1;
static int hf_x2ap_integrityProtectionAlgorithms_EIA1 = -1;
static int hf_x2ap_integrityProtectionAlgorithms_EIA2 = -1;
static int hf_x2ap_integrityProtectionAlgorithms_EIA3 = -1;
static int hf_x2ap_integrityProtectionAlgorithms_Reserved = -1;
static int hf_x2ap_measurementsToActivate_M1 = -1;
static int hf_x2ap_measurementsToActivate_M2 = -1;
static int hf_x2ap_measurementsToActivate_M3 = -1;
static int hf_x2ap_measurementsToActivate_M4 = -1;
static int hf_x2ap_measurementsToActivate_M5 = -1;
static int hf_x2ap_measurementsToActivate_LoggingM1FromEventTriggered = -1;
static int hf_x2ap_measurementsToActivate_M6 = -1;
static int hf_x2ap_measurementsToActivate_M7 = -1;
static int hf_x2ap_MDT_Location_Info_GNSS = -1;
static int hf_x2ap_MDT_Location_Info_E_CID = -1;
static int hf_x2ap_MDT_Location_Info_Reserved = -1;
static int hf_x2ap_MDT_transmissionModes_tm1 = -1;
static int hf_x2ap_MDT_transmissionModes_tm2 = -1;
static int hf_x2ap_MDT_transmissionModes_tm3 = -1;
static int hf_x2ap_MDT_transmissionModes_tm4 = -1;
static int hf_x2ap_MDT_transmissionModes_tm6 = -1;
static int hf_x2ap_MDT_transmissionModes_tm8 = -1;
static int hf_x2ap_MDT_transmissionModes_tm9 = -1;
static int hf_x2ap_MDT_transmissionModes_tm10 = -1;
static int hf_x2ap_NRencryptionAlgorithms_NEA1 = -1;
static int hf_x2ap_NRencryptionAlgorithms_NEA2 = -1;
static int hf_x2ap_NRencryptionAlgorithms_NEA3 = -1;
static int hf_x2ap_NRencryptionAlgorithms_Reserved = -1;
static int hf_x2ap_NRintegrityProtectionAlgorithms_NIA1 = -1;
static int hf_x2ap_NRintegrityProtectionAlgorithms_NIA2 = -1;
static int hf_x2ap_NRintegrityProtectionAlgorithms_NIA3 = -1;
static int hf_x2ap_NRintegrityProtectionAlgorithms_Reserved = -1;
static int hf_x2ap_ReportCharacteristics_ENDC_PRBPeriodic = -1;
static int hf_x2ap_ReportCharacteristics_ENDC_TNLCapacityIndPeriodic = -1;
static int hf_x2ap_ReportCharacteristics_ENDC_CompositeAvailableCapacityPeriodic = -1;
static int hf_x2ap_ReportCharacteristics_ENDC_NumberOfActiveUEs = -1;
static int hf_x2ap_ReportCharacteristics_ENDC_Reserved = -1;
static int hf_x2ap_Registration_Request_ENDC_PDU = -1;
static int hf_x2ap_ReportingPeriodicity_ENDC_PDU = -1;
static int hf_x2ap_ReportCharacteristics_ENDC_PDU = -1;
static int hf_x2ap_rAT_RestrictionInformation_LEO = -1;
static int hf_x2ap_rAT_RestrictionInformation_MEO = -1;
static int hf_x2ap_rAT_RestrictionInformation_GEO = -1;
static int hf_x2ap_rAT_RestrictionInformation_OTHERSAT = -1;
static int hf_x2ap_rAT_RestrictionInformation_Reserved = -1;
#include "packet-x2ap-hf.c"
/* Initialize the subtree pointers */
static int ett_x2ap = -1;
static int ett_x2ap_TransportLayerAddress = -1;
static int ett_x2ap_PLMN_Identity = -1;
static int ett_x2ap_TargeteNBtoSource_eNBTransparentContainer = -1;
static int ett_x2ap_RRC_Context = -1;
static int ett_x2ap_UE_HistoryInformationFromTheUE = -1;
static int ett_x2ap_ReportCharacteristics = -1;
static int ett_x2ap_measurementFailedReportCharacteristics = -1;
static int ett_x2ap_UE_RLF_Report_Container = -1;
static int ett_x2ap_UE_RLF_Report_Container_for_extended_bands = -1;
static int ett_x2ap_MeNBtoSeNBContainer = -1;
static int ett_x2ap_SeNBtoMeNBContainer = -1;
static int ett_x2ap_EUTRANTraceID = -1;
static int ett_x2ap_InterfacesToTrace = -1;
static int ett_x2ap_TraceCollectionEntityIPAddress = -1;
static int ett_x2ap_EncryptionAlgorithms = -1;
static int ett_x2ap_IntegrityProtectionAlgorithms = -1;
static int ett_x2ap_MeasurementsToActivate = -1;
static int ett_x2ap_MDT_Location_Info = -1;
static int ett_x2ap_transmissionModes = -1;
static int ett_x2ap_X2AP_Message = -1;
static int ett_x2ap_MeNBtoSgNBContainer = -1;
static int ett_x2ap_SgNBtoMeNBContainer = -1;
static int ett_x2ap_RRCContainer = -1;
static int ett_x2ap_NRencryptionAlgorithms = -1;
static int ett_x2ap_NRintegrityProtectionAlgorithms = -1;
static int ett_x2ap_measurementTimingConfiguration = -1;
static int ett_x2ap_LastVisitedNGRANCellInformation = -1;
static int ett_x2ap_LastVisitedUTRANCellInformation = -1;
static int ett_x2ap_EndcSONConfigurationTransfer = -1;
static int ett_x2ap_EPCHandoverRestrictionListContainer = -1;
static int ett_x2ap_NBIoT_RLF_Report_Container = -1;
static int ett_x2ap_anchorCarrier_NPRACHConfig = -1;
static int ett_x2ap_anchorCarrier_EDT_NPRACHConfig = -1;
static int ett_x2ap_anchorCarrier_Format2_NPRACHConfig = -1;
static int ett_x2ap_anchorCarrier_Format2_EDT_NPRACHConfig = -1;
static int ett_x2ap_non_anchorCarrier_NPRACHConfig = -1;
static int ett_x2ap_non_anchorCarrier_Format2_NPRACHConfig = -1;
static int ett_x2ap_anchorCarrier_NPRACHConfigTDD = -1;
static int ett_x2ap_non_anchorCarrier_NPRACHConfigTDD = -1;
static int ett_x2ap_Non_anchorCarrierFrequency = -1;
static int ett_x2ap_ReportCharacteristics_ENDC = -1;
static int ett_x2ap_TargetCellInNGRAN = -1;
static int ett_x2ap_TDDULDLConfigurationCommonNR = -1;
static int ett_x2ap_MDT_ConfigurationNR = -1;
static int ett_x2ap_NRCellPRACHConfig = -1;
static int ett_x2ap_IntendedTDD_DL_ULConfiguration_NR = -1;
static int ett_x2ap_UERadioCapability = -1;
static int ett_x2ap_LastVisitedPSCell_Item = -1;
static int ett_x2ap_NRRACHReportContainer = -1;
static int ett_x2ap_rAT_RestrictionInformation = -1;
#include "packet-x2ap-ett.c"
/* Forward declarations */
static int dissect_x2ap_Registration_Request_ENDC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
static int dissect_x2ap_ReportCharacteristics_ENDC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
static int dissect_x2ap_ReportingPeriodicity_ENDC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
typedef enum {
RRC_CONTAINER_TYPE_UNKNOWN,
RRC_CONTAINER_TYPE_PDCP_C_PDU,
RRC_CONTAINER_TYPE_NR_UE_MEAS_REPORT,
RRC_CONTAINER_TYPE_FAST_MCG_RECOVERY_SgNB_TO_MeNB,
RRC_CONTAINER_TYPE_FAST_MCG_RECOVERY_MeNB_TO_SgNB
} rrc_container_type_e;
enum{
INITIATING_MESSAGE,
SUCCESSFUL_OUTCOME,
UNSUCCESSFUL_OUTCOME
};
struct x2ap_private_data {
guint32 procedure_code;
guint32 protocol_ie_id;
guint32 message_type;
rrc_container_type_e rrc_container_type;
e212_number_type_t number_type;
};
enum {
X2AP_RRC_CONTEXT_LTE,
X2AP_RRC_CONTEXT_NBIOT
};
static const enum_val_t x2ap_rrc_context_vals[] = {
{"lte", "LTE", X2AP_RRC_CONTEXT_LTE},
{"nb-iot","NB-IoT", X2AP_RRC_CONTEXT_NBIOT},
{NULL, NULL, -1}
};
/* Global variables */
static gint g_x2ap_dissect_rrc_context_as = X2AP_RRC_CONTEXT_LTE;
/* Dissector tables */
static dissector_table_t x2ap_ies_dissector_table;
static dissector_table_t x2ap_extension_dissector_table;
static dissector_table_t x2ap_proc_imsg_dissector_table;
static dissector_table_t x2ap_proc_sout_dissector_table;
static dissector_table_t x2ap_proc_uout_dissector_table;
static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *);
static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *);
static int dissect_InitiatingMessageValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *);
static int dissect_SuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *);
static int dissect_UnsuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *);
static int dissect_X2AP_PDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
void proto_reg_handoff_x2ap(void);
static dissector_handle_t x2ap_handle;
static const true_false_string x2ap_tfs_failed_succeeded = {
"Failed",
"Succeeded"
};
static const true_false_string x2ap_tfs_interfacesToTrace = {
"Should be traced",
"Should not be traced"
};
static const true_false_string x2ap_tfs_activate_do_not_activate = {
"Activate",
"Do not activate"
};
static void
x2ap_Time_UE_StayedInCell_EnhancedGranularity_fmt(gchar *s, guint32 v)
{
snprintf(s, ITEM_LABEL_LENGTH, "%.1fs", ((float)v)/10);
}
static void
x2ap_handoverTriggerChange_fmt(gchar *s, guint32 v)
{
snprintf(s, ITEM_LABEL_LENGTH, "%.1fdB (%d)", ((float)v)/2, (gint32)v);
}
static void
x2ap_Threshold_RSRP_fmt(gchar *s, guint32 v)
{
snprintf(s, ITEM_LABEL_LENGTH, "%ddBm (%u)", (gint32)v-140, v);
}
static void
x2ap_Threshold_RSRQ_fmt(gchar *s, guint32 v)
{
snprintf(s, ITEM_LABEL_LENGTH, "%.1fdB (%u)", ((float)v/2)-20, v);
}
static void
x2ap_Packet_LossRate_fmt(gchar *s, guint32 v)
{
snprintf(s, ITEM_LABEL_LENGTH, "%.1f %% (%u)", (float)v/10, v);
}
static struct x2ap_private_data*
x2ap_get_private_data(packet_info *pinfo)
{
struct x2ap_private_data *x2ap_data = (struct x2ap_private_data*)p_get_proto_data(pinfo->pool, pinfo, proto_x2ap, 0);
if (!x2ap_data) {
x2ap_data = wmem_new0(pinfo->pool, struct x2ap_private_data);
p_add_proto_data(pinfo->pool, pinfo, proto_x2ap, 0, x2ap_data);
}
return x2ap_data;
}
#include "packet-x2ap-fn.c"
static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(pinfo);
return (dissector_try_uint_new(x2ap_ies_dissector_table, x2ap_data->protocol_ie_id, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0;
}
static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(pinfo);
return (dissector_try_uint_new(x2ap_extension_dissector_table, x2ap_data->protocol_ie_id, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0;
}
static int dissect_InitiatingMessageValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(pinfo);
x2ap_data->message_type = INITIATING_MESSAGE;
return (dissector_try_uint_new(x2ap_proc_imsg_dissector_table, x2ap_data->procedure_code, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0;
}
static int dissect_SuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(pinfo);
x2ap_data->message_type = SUCCESSFUL_OUTCOME;
return (dissector_try_uint_new(x2ap_proc_sout_dissector_table, x2ap_data->procedure_code, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0;
}
static int dissect_UnsuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(pinfo);
x2ap_data->message_type = UNSUCCESSFUL_OUTCOME;
return (dissector_try_uint_new(x2ap_proc_uout_dissector_table, x2ap_data->procedure_code, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0;
}
static int
dissect_x2ap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
{
proto_item *x2ap_item;
proto_tree *x2ap_tree;
/* make entry in the Protocol column on summary display */
col_set_str(pinfo->cinfo, COL_PROTOCOL, "X2AP");
col_clear_fence(pinfo->cinfo, COL_INFO);
col_clear(pinfo->cinfo, COL_INFO);
/* create the x2ap protocol tree */
x2ap_item = proto_tree_add_item(tree, proto_x2ap, tvb, 0, -1, ENC_NA);
x2ap_tree = proto_item_add_subtree(x2ap_item, ett_x2ap);
return dissect_X2AP_PDU_PDU(tvb, pinfo, x2ap_tree, data);
}
/*--- proto_register_x2ap -------------------------------------------*/
void proto_register_x2ap(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_x2ap_transportLayerAddressIPv4,
{ "transportLayerAddress(IPv4)", "x2ap.transportLayerAddressIPv4",
FT_IPv4, BASE_NONE, NULL, 0,
NULL, HFILL }},
{ &hf_x2ap_transportLayerAddressIPv6,
{ "transportLayerAddress(IPv6)", "x2ap.transportLayerAddressIPv6",
FT_IPv6, BASE_NONE, NULL, 0,
NULL, HFILL }},
{ &hf_x2ap_ReportCharacteristics_PRBPeriodic,
{ "PRBPeriodic", "x2ap.ReportCharacteristics.PRBPeriodic",
FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x80000000,
NULL, HFILL }},
{ &hf_x2ap_ReportCharacteristics_TNLLoadIndPeriodic,
{ "TNLLoadIndPeriodic", "x2ap.ReportCharacteristics.TNLLoadIndPeriodic",
FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x40000000,
NULL, HFILL }},
{ &hf_x2ap_ReportCharacteristics_HWLoadIndPeriodic,
{ "HWLoadIndPeriodic", "x2ap.ReportCharacteristics.HWLoadIndPeriodic",
FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x20000000,
NULL, HFILL }},
{ &hf_x2ap_ReportCharacteristics_CompositeAvailableCapacityPeriodic,
{ "CompositeAvailableCapacityPeriodic", "x2ap.ReportCharacteristics.CompositeAvailableCapacityPeriodic",
FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x10000000,
NULL, HFILL }},
{ &hf_x2ap_ReportCharacteristics_ABSStatusPeriodic,
{ "ABSStatusPeriodic", "x2ap.ReportCharacteristics.ABSStatusPeriodic",
FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x08000000,
NULL, HFILL }},
{ &hf_x2ap_ReportCharacteristics_RSRPMeasurementReportPeriodic,
{ "RSRPMeasurementReportPeriodic", "x2ap.ReportCharacteristics.RSRPMeasurementReportPeriodic",
FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x04000000,
NULL, HFILL }},
{ &hf_x2ap_ReportCharacteristics_CSIReportPeriodic,
{ "CSIReportPeriodic", "x2ap.ReportCharacteristics.CSIReportPeriodic",
FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x02000000,
NULL, HFILL }},
{ &hf_x2ap_ReportCharacteristics_Reserved,
{ "Reserved", "x2ap.ReportCharacteristics.Reserved",
FT_UINT32, BASE_HEX, NULL, 0x01ffffff,
NULL, HFILL }},
{ &hf_x2ap_measurementFailedReportCharacteristics_PRBPeriodic,
{ "PRBPeriodic", "x2ap.measurementFailedReportCharacteristics.PRBPeriodic",
FT_BOOLEAN, 32, TFS(&x2ap_tfs_failed_succeeded), 0x80000000,
NULL, HFILL }},
{ &hf_x2ap_measurementFailedReportCharacteristics_TNLLoadIndPeriodic,
{ "TNLLoadIndPeriodic", "x2ap.measurementFailedReportCharacteristics.TNLLoadIndPeriodic",
FT_BOOLEAN, 32, TFS(&x2ap_tfs_failed_succeeded), 0x40000000,
NULL, HFILL }},
{ &hf_x2ap_measurementFailedReportCharacteristics_HWLoadIndPeriodic,
{ "HWLoadIndPeriodic", "x2ap.measurementFailedReportCharacteristics.HWLoadIndPeriodic",
FT_BOOLEAN, 32, TFS(&x2ap_tfs_failed_succeeded), 0x20000000,
NULL, HFILL }},
{ &hf_x2ap_measurementFailedReportCharacteristics_CompositeAvailableCapacityPeriodic,
{ "CompositeAvailableCapacityPeriodic", "x2ap.measurementFailedReportCharacteristics.CompositeAvailableCapacityPeriodic",
FT_BOOLEAN, 32, TFS(&x2ap_tfs_failed_succeeded), 0x10000000,
NULL, HFILL }},
{ &hf_x2ap_measurementFailedReportCharacteristics_ABSStatusPeriodic,
{ "ABSStatusPeriodic", "x2ap.measurementFailedReportCharacteristics.ABSStatusPeriodic",
FT_BOOLEAN, 32, TFS(&x2ap_tfs_failed_succeeded), 0x08000000,
NULL, HFILL }},
{ &hf_x2ap_measurementFailedReportCharacteristics_RSRPMeasurementReportPeriodic,
{ "RSRPMeasurementReportPeriodic", "x2ap.measurementFailedReportCharacteristics.RSRPMeasurementReportPeriodic",
FT_BOOLEAN, 32, TFS(&x2ap_tfs_failed_succeeded), 0x04000000,
NULL, HFILL }},
{ &hf_x2ap_measurementFailedReportCharacteristics_CSIReportPeriodic,
{ "CSIReportPeriodic", "x2ap.measurementFailedReportCharacteristics.CSIReportPeriodic",
FT_BOOLEAN, 32, TFS(&x2ap_tfs_failed_succeeded), 0x02000000,
NULL, HFILL }},
{ &hf_x2ap_measurementFailedReportCharacteristics_Reserved,
{ "Reserved", "x2ap.measurementFailedReportCharacteristics.Reserved",
FT_UINT32, BASE_HEX, NULL, 0x01ffffff,
NULL, HFILL }},
{ &hf_x2ap_eUTRANTraceID_TraceID,
{ "TraceID", "x2ap.eUTRANTraceID.TraceID",
FT_UINT24, BASE_HEX, NULL, 0,
NULL, HFILL }},
{ &hf_x2ap_eUTRANTraceID_TraceRecordingSessionReference,
{ "TraceRecordingSessionReference", "x2ap.eUTRANTraceID.TraceRecordingSessionReference",
FT_UINT16, BASE_HEX, NULL, 0,
NULL, HFILL }},
{ &hf_x2ap_interfacesToTrace_S1_MME,
{ "S1-MME", "x2ap.interfacesToTrace.S1_MME",
FT_BOOLEAN, 8, TFS(&x2ap_tfs_interfacesToTrace), 0x80,
NULL, HFILL }},
{ &hf_x2ap_interfacesToTrace_X2,
{ "X2", "x2ap.interfacesToTrace.X2",
FT_BOOLEAN, 8, TFS(&x2ap_tfs_interfacesToTrace), 0x40,
NULL, HFILL }},
{ &hf_x2ap_interfacesToTrace_Uu,
{ "Uu", "x2ap.interfacesToTrace.Uu",
FT_BOOLEAN, 8, TFS(&x2ap_tfs_interfacesToTrace), 0x20,
NULL, HFILL }},
{ &hf_x2ap_interfacesToTrace_F1_C,
{ "F1-C", "x2ap.interfacesToTrace.F1_C",
FT_BOOLEAN, 8, TFS(&x2ap_tfs_interfacesToTrace), 0x10,
NULL, HFILL }},
{ &hf_x2ap_interfacesToTrace_E1,
{ "E1", "x2ap.interfacesToTrace.E1",
FT_BOOLEAN, 8, TFS(&x2ap_tfs_interfacesToTrace), 0x08,
NULL, HFILL }},
{ &hf_x2ap_interfacesToTrace_Reserved,
{ "Reserved", "x2ap.interfacesToTrace.Reserved",
FT_UINT8, BASE_HEX, NULL, 0x07,
NULL, HFILL }},
{ &hf_x2ap_traceCollectionEntityIPAddress_IPv4,
{ "IPv4", "x2ap.traceCollectionEntityIPAddress.IPv4",
FT_IPv4, BASE_NONE, NULL, 0,
NULL, HFILL }},
{ &hf_x2ap_traceCollectionEntityIPAddress_IPv6,
{ "IPv6", "x2ap.traceCollectionEntityIPAddress.IPv6",
FT_IPv6, BASE_NONE, NULL, 0,
NULL, HFILL }},
{ &hf_x2ap_encryptionAlgorithms_EEA1,
{ "128-EEA1", "x2ap.encryptionAlgorithms.EEA1",
FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x8000,
NULL, HFILL }},
{ &hf_x2ap_encryptionAlgorithms_EEA2,
{ "128-EEA2", "x2ap.encryptionAlgorithms.EEA2",
FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x4000,
NULL, HFILL }},
{ &hf_x2ap_encryptionAlgorithms_EEA3,
{ "128-EEA3", "x2ap.encryptionAlgorithms.EEA3",
FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x2000,
NULL, HFILL }},
{ &hf_x2ap_encryptionAlgorithms_Reserved,
{ "Reserved", "x2ap.encryptionAlgorithms.Reserved",
FT_UINT16, BASE_HEX, NULL, 0x1fff,
NULL, HFILL }},
{ &hf_x2ap_integrityProtectionAlgorithms_EIA1,
{ "128-EIA1", "x2ap.integrityProtectionAlgorithms.EIA1",
FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x8000,
NULL, HFILL }},
{ &hf_x2ap_integrityProtectionAlgorithms_EIA2,
{ "128-EIA2", "x2ap.integrityProtectionAlgorithms.EIA2",
FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x4000,
NULL, HFILL }},
{ &hf_x2ap_integrityProtectionAlgorithms_EIA3,
{ "128-EIA3", "x2ap.integrityProtectionAlgorithms.EIA3",
FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x2000,
NULL, HFILL }},
{ &hf_x2ap_integrityProtectionAlgorithms_Reserved,
{ "Reserved", "x2ap.integrityProtectionAlgorithms.Reserved",
FT_UINT16, BASE_HEX, NULL, 0x1fff,
NULL, HFILL }},
{ &hf_x2ap_measurementsToActivate_M1,
{ "M1", "x2ap.measurementsToActivate.M1",
FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x80,
NULL, HFILL }},
{ &hf_x2ap_measurementsToActivate_M2,
{ "M2", "x2ap.measurementsToActivate.M2",
FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x40,
NULL, HFILL }},
{ &hf_x2ap_measurementsToActivate_M3,
{ "M3", "x2ap.measurementsToActivate.M3",
FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x20,
NULL, HFILL }},
{ &hf_x2ap_measurementsToActivate_M4,
{ "M4", "x2ap.measurementsToActivate.M4",
FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x10,
NULL, HFILL }},
{ &hf_x2ap_measurementsToActivate_M5,
{ "M5", "x2ap.measurementsToActivate.M5",
FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x08,
NULL, HFILL }},
{ &hf_x2ap_measurementsToActivate_LoggingM1FromEventTriggered,
{ "LoggingOfM1FromEventTriggeredMeasurementReports", "x2ap.measurementsToActivate.LoggingM1FromEventTriggered",
FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x04,
NULL, HFILL }},
{ &hf_x2ap_measurementsToActivate_M6,
{ "M6", "x2ap.measurementsToActivate.M6",
FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x02,
NULL, HFILL }},
{ &hf_x2ap_measurementsToActivate_M7,
{ "M7", "x2ap.measurementsToActivate.M7",
FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x01,
NULL, HFILL }},
{ &hf_x2ap_MDT_Location_Info_GNSS,
{ "GNSS", "x2ap.MDT_Location_Info.GNSS",
FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x80,
NULL, HFILL }},
{ &hf_x2ap_MDT_Location_Info_E_CID,
{ "E-CID", "x2ap.MDT_Location_Info.E_CID",
FT_BOOLEAN, 8, TFS(&x2ap_tfs_activate_do_not_activate), 0x40,
NULL, HFILL }},
{ &hf_x2ap_MDT_Location_Info_Reserved,
{ "Reserved", "x2ap.MDT_Location_Info.Reserved",
FT_UINT8, BASE_HEX, NULL, 0x3f,
NULL, HFILL }},
{ &hf_x2ap_MDT_transmissionModes_tm1,
{ "TM1", "x2ap.MDT_Location_Info.transmissionModes.tm1",
FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x80,
NULL, HFILL }},
{ &hf_x2ap_MDT_transmissionModes_tm2,
{ "TM2", "x2ap.MDT_Location_Info.transmissionModes.tm2",
FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x40,
NULL, HFILL }},
{ &hf_x2ap_MDT_transmissionModes_tm3,
{ "TM3", "x2ap.MDT_Location_Info.transmissionModes.tm3",
FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x20,
NULL, HFILL }},
{ &hf_x2ap_MDT_transmissionModes_tm4,
{ "TM4", "x2ap.MDT_Location_Info.transmissionModes.tm4",
FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x10,
NULL, HFILL }},
{ &hf_x2ap_MDT_transmissionModes_tm6,
{ "TM6", "x2ap.MDT_Location_Info.transmissionModes.tm6",
FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x08,
NULL, HFILL }},
{ &hf_x2ap_MDT_transmissionModes_tm8,
{ "TM8", "x2ap.MDT_Location_Info.transmissionModes.tm8",
FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x04,
NULL, HFILL }},
{ &hf_x2ap_MDT_transmissionModes_tm9,
{ "TM9", "x2ap.MDT_Location_Info.transmissionModes.tm9",
FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x02,
NULL, HFILL }},
{ &hf_x2ap_MDT_transmissionModes_tm10,
{ "TM10", "x2ap.MDT_Location_Info.transmissionModes.tm10",
FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x01,
NULL, HFILL }},
{ &hf_x2ap_NRencryptionAlgorithms_NEA1,
{ "128-NEA1", "x2ap.NRencryptionAlgorithms.NEA1",
FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x8000,
NULL, HFILL }},
{ &hf_x2ap_NRencryptionAlgorithms_NEA2,
{ "128-NEA2", "x2ap.NRencryptionAlgorithms.NEA2",
FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x4000,
NULL, HFILL }},
{ &hf_x2ap_NRencryptionAlgorithms_NEA3,
{ "128-NEA3", "x2ap.NRencryptionAlgorithms.NEA3",
FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x2000,
NULL, HFILL }},
{ &hf_x2ap_NRencryptionAlgorithms_Reserved,
{ "Reserved", "x2ap.NRencryptionAlgorithms.Reserved",
FT_UINT16, BASE_HEX, NULL, 0x1fff,
NULL, HFILL }},
{ &hf_x2ap_NRintegrityProtectionAlgorithms_NIA1,
{ "128-NIA1", "x2ap.NRintegrityProtectionAlgorithms.NIA1",
FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x8000,
NULL, HFILL }},
{ &hf_x2ap_NRintegrityProtectionAlgorithms_NIA2,
{ "128-NIA2", "x2ap.NRintegrityProtectionAlgorithms.NIA2",
FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x4000,
NULL, HFILL }},
{ &hf_x2ap_NRintegrityProtectionAlgorithms_NIA3,
{ "128-NIA3", "x2ap.NRintegrityProtectionAlgorithms.NIA3",
FT_BOOLEAN, 16, TFS(&tfs_supported_not_supported), 0x2000,
NULL, HFILL }},
{ &hf_x2ap_NRintegrityProtectionAlgorithms_Reserved,
{ "Reserved", "x2ap.NRintegrityProtectionAlgorithms.Reserved",
FT_UINT16, BASE_HEX, NULL, 0x1fff,
NULL, HFILL }},
{ &hf_x2ap_ReportCharacteristics_ENDC_PRBPeriodic,
{ "PRBPeriodic", "x2ap.ReportCharacteristics_ENDC.PRBPeriodic",
FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x80000000,
NULL, HFILL }},
{ &hf_x2ap_ReportCharacteristics_ENDC_TNLCapacityIndPeriodic,
{ "TNLCapacityIndPeriodic", "x2ap.ReportCharacteristics_ENDC.TNLCapacityIndPeriodic",
FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x40000000,
NULL, HFILL }},
{ &hf_x2ap_ReportCharacteristics_ENDC_CompositeAvailableCapacityPeriodic,
{ "CompositeAvailableCapacityPeriodic", "x2ap.ReportCharacteristics_ENDC.CompositeAvailableCapacityPeriodic",
FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x20000000,
NULL, HFILL }},
{ &hf_x2ap_ReportCharacteristics_ENDC_NumberOfActiveUEs,
{ "NumberOfActiveUEs", "x2ap.ReportCharacteristics_ENDC.NumberOfActiveUEs",
FT_BOOLEAN, 32, TFS(&tfs_requested_not_requested), 0x10000000,
NULL, HFILL }},
{ &hf_x2ap_ReportCharacteristics_ENDC_Reserved,
{ "Reserved", "x2ap.ReportCharacteristics_ENDC.Reserved",
FT_UINT32, BASE_HEX, NULL, 0x0fffffff,
NULL, HFILL }},
{ &hf_x2ap_Registration_Request_ENDC_PDU,
{ "Registration-Request-ENDC", "x2ap.Registration_Request_ENDC",
FT_UINT32, BASE_DEC, VALS(x2ap_Registration_Request_ENDC_vals), 0,
NULL, HFILL }},
{ &hf_x2ap_ReportingPeriodicity_ENDC_PDU,
{ "ReportingPeriodicity-ENDC", "x2ap.ReportingPeriodicity_ENDC",
FT_UINT32, BASE_DEC, VALS(x2ap_ReportingPeriodicity_ENDC_vals), 0,
NULL, HFILL }},
{ &hf_x2ap_ReportCharacteristics_ENDC_PDU,
{ "ReportCharacteristics-ENDC", "x2ap.ReportCharacteristics_ENDC",
FT_BYTES, BASE_NONE, NULL, 0,
NULL, HFILL }},
{ &hf_x2ap_rAT_RestrictionInformation_LEO,
{ "LEO", "x2ap.rAT_RestrictionInformation.LEO",
FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x80,
NULL, HFILL }},
{ &hf_x2ap_rAT_RestrictionInformation_MEO,
{ "MEO", "x2ap.rAT_RestrictionInformation.MEO",
FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x40,
NULL, HFILL }},
{ &hf_x2ap_rAT_RestrictionInformation_GEO,
{ "GEO", "x2ap.rAT_RestrictionInformation.GEO",
FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x20,
NULL, HFILL }},
{ &hf_x2ap_rAT_RestrictionInformation_OTHERSAT,
{ "OTHERSAT", "x2ap.rAT_RestrictionInformation.OTHERSAT",
FT_BOOLEAN, 8, TFS(&tfs_restricted_not_restricted), 0x10,
NULL, HFILL }},
{ &hf_x2ap_rAT_RestrictionInformation_Reserved,
{ "Reserved", "x2ap.rAT_RestrictionInformation.Reserved",
FT_UINT8, BASE_HEX, NULL, 0x0f,
NULL, HFILL }},
#include "packet-x2ap-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_x2ap,
&ett_x2ap_TransportLayerAddress,
&ett_x2ap_PLMN_Identity,
&ett_x2ap_TargeteNBtoSource_eNBTransparentContainer,
&ett_x2ap_RRC_Context,
&ett_x2ap_UE_HistoryInformationFromTheUE,
&ett_x2ap_ReportCharacteristics,
&ett_x2ap_measurementFailedReportCharacteristics,
&ett_x2ap_UE_RLF_Report_Container,
&ett_x2ap_UE_RLF_Report_Container_for_extended_bands,
&ett_x2ap_MeNBtoSeNBContainer,
&ett_x2ap_SeNBtoMeNBContainer,
&ett_x2ap_EUTRANTraceID,
&ett_x2ap_InterfacesToTrace,
&ett_x2ap_TraceCollectionEntityIPAddress,
&ett_x2ap_EncryptionAlgorithms,
&ett_x2ap_IntegrityProtectionAlgorithms,
&ett_x2ap_MeasurementsToActivate,
&ett_x2ap_MDT_Location_Info,
&ett_x2ap_transmissionModes,
&ett_x2ap_X2AP_Message,
&ett_x2ap_MeNBtoSgNBContainer,
&ett_x2ap_SgNBtoMeNBContainer,
&ett_x2ap_RRCContainer,
&ett_x2ap_NRencryptionAlgorithms,
&ett_x2ap_NRintegrityProtectionAlgorithms,
&ett_x2ap_measurementTimingConfiguration,
&ett_x2ap_LastVisitedNGRANCellInformation,
&ett_x2ap_LastVisitedUTRANCellInformation,
&ett_x2ap_EndcSONConfigurationTransfer,
&ett_x2ap_EPCHandoverRestrictionListContainer,
&ett_x2ap_NBIoT_RLF_Report_Container,
&ett_x2ap_anchorCarrier_NPRACHConfig,
&ett_x2ap_anchorCarrier_EDT_NPRACHConfig,
&ett_x2ap_anchorCarrier_Format2_NPRACHConfig,
&ett_x2ap_anchorCarrier_Format2_EDT_NPRACHConfig,
&ett_x2ap_non_anchorCarrier_NPRACHConfig,
&ett_x2ap_non_anchorCarrier_Format2_NPRACHConfig,
&ett_x2ap_anchorCarrier_NPRACHConfigTDD,
&ett_x2ap_non_anchorCarrier_NPRACHConfigTDD,
&ett_x2ap_Non_anchorCarrierFrequency,
&ett_x2ap_ReportCharacteristics_ENDC,
&ett_x2ap_TargetCellInNGRAN,
&ett_x2ap_TDDULDLConfigurationCommonNR,
&ett_x2ap_MDT_ConfigurationNR,
&ett_x2ap_NRCellPRACHConfig,
&ett_x2ap_IntendedTDD_DL_ULConfiguration_NR,
&ett_x2ap_UERadioCapability,
&ett_x2ap_LastVisitedPSCell_Item,
&ett_x2ap_NRRACHReportContainer,
&ett_x2ap_rAT_RestrictionInformation,
#include "packet-x2ap-ettarr.c"
};
module_t *x2ap_module;
/* Register protocol */
proto_x2ap = proto_register_protocol(PNAME, PSNAME, PFNAME);
/* Register fields and subtrees */
proto_register_field_array(proto_x2ap, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
/* Register dissector */
x2ap_handle = register_dissector("x2ap", dissect_x2ap, proto_x2ap);
/* Register dissector tables */
x2ap_ies_dissector_table = register_dissector_table("x2ap.ies", "X2AP-PROTOCOL-IES", proto_x2ap, FT_UINT32, BASE_DEC);
x2ap_extension_dissector_table = register_dissector_table("x2ap.extension", "X2AP-PROTOCOL-EXTENSION", proto_x2ap, FT_UINT32, BASE_DEC);
x2ap_proc_imsg_dissector_table = register_dissector_table("x2ap.proc.imsg", "X2AP-ELEMENTARY-PROCEDURE InitiatingMessage", proto_x2ap, FT_UINT32, BASE_DEC);
x2ap_proc_sout_dissector_table = register_dissector_table("x2ap.proc.sout", "X2AP-ELEMENTARY-PROCEDURE SuccessfulOutcome", proto_x2ap, FT_UINT32, BASE_DEC);
x2ap_proc_uout_dissector_table = register_dissector_table("x2ap.proc.uout", "X2AP-ELEMENTARY-PROCEDURE UnsuccessfulOutcome", proto_x2ap, FT_UINT32, BASE_DEC);
/* Register configuration options */
x2ap_module = prefs_register_protocol(proto_x2ap, NULL);
prefs_register_enum_preference(x2ap_module, "dissect_rrc_context_as", "Dissect RRC Context as",
"Select whether RRC Context should be dissected as legacy LTE or NB-IOT",
&g_x2ap_dissect_rrc_context_as, x2ap_rrc_context_vals, FALSE);
}
/*--- proto_reg_handoff_x2ap ---------------------------------------*/
void
proto_reg_handoff_x2ap(void)
{
dissector_add_uint_with_preference("sctp.port", SCTP_PORT_X2AP, x2ap_handle);
dissector_add_uint("sctp.ppi", X2AP_PAYLOAD_PROTOCOL_ID, x2ap_handle);
#include "packet-x2ap-dis-tab.c"
} |
C/C++ | wireshark/epan/dissectors/asn1/x2ap/packet-x2ap-template.h | /* packet-x2ap.h
* Routines for E-UTRAN X2 Application Protocol (X2AP) packet dissection
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_X2AP_H
#define PACKET_X2AP_H
#include "packet-x2ap-exp.h"
#endif /* PACKET_X2AP_H */
/*
* Editor modelines
*
* Local Variables:
* c-basic-offset: 2
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* ex: set shiftwidth=2 tabstop=8 expandtab:
* :indentSize=2:tabSize=8:noTabs=true:
*/ |
ASN.1 | wireshark/epan/dissectors/asn1/x2ap/X2AP-CommonDataTypes.asn | -- 3GPP TS 36.423 V17.5.0 (2023-06)
-- 9.3.6 Common definitions
-- **************************************************************
--
-- Common definitions
--
-- **************************************************************
X2AP-CommonDataTypes {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
eps-Access (21) modules (3) x2ap (2) version1 (1) x2ap-CommonDataTypes (3) }
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
-- **************************************************************
--
-- Extension constants
--
-- **************************************************************
maxPrivateIEs INTEGER ::= 65535
maxProtocolExtensions INTEGER ::= 65535
maxProtocolIEs INTEGER ::= 65535
-- **************************************************************
--
-- Common Data Types
--
-- **************************************************************
Criticality ::= ENUMERATED { reject, ignore, notify }
Presence ::= ENUMERATED { optional, conditional, mandatory }
PrivateIE-ID ::= CHOICE {
local INTEGER (0.. maxPrivateIEs),
global OBJECT IDENTIFIER
}
ProcedureCode ::= INTEGER (0..255)
ProtocolIE-ID ::= INTEGER (0..maxProtocolIEs)
TriggeringMessage ::= ENUMERATED { initiating-message, successful-outcome, unsuccessful-outcome}
END |
ASN.1 | wireshark/epan/dissectors/asn1/x2ap/X2AP-Constants.asn | -- 3GPP TS 36.423 V17.5.0 (2023-06)
-- 9.3.7 Constant definitions
-- **************************************************************
--
-- Constant definitions
--
-- **************************************************************
X2AP-Constants {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
eps-Access (21) modules (3) x2ap (2) version1 (1) x2ap-Constants (4) }
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
IMPORTS
ProcedureCode,
ProtocolIE-ID
FROM X2AP-CommonDataTypes;
-- **************************************************************
--
-- Elementary Procedures
--
-- **************************************************************
id-handoverPreparation ProcedureCode ::= 0
id-handoverCancel ProcedureCode ::= 1
id-loadIndication ProcedureCode ::= 2
id-errorIndication ProcedureCode ::= 3
id-snStatusTransfer ProcedureCode ::= 4
id-uEContextRelease ProcedureCode ::= 5
id-x2Setup ProcedureCode ::= 6
id-reset ProcedureCode ::= 7
id-eNBConfigurationUpdate ProcedureCode ::= 8
id-resourceStatusReportingInitiation ProcedureCode ::= 9
id-resourceStatusReporting ProcedureCode ::= 10
id-privateMessage ProcedureCode ::= 11
id-mobilitySettingsChange ProcedureCode ::= 12
id-rLFIndication ProcedureCode ::= 13
id-handoverReport ProcedureCode ::= 14
id-cellActivation ProcedureCode ::= 15
id-x2Release ProcedureCode ::= 16
id-x2APMessageTransfer ProcedureCode ::= 17
id-x2Removal ProcedureCode ::= 18
id-seNBAdditionPreparation ProcedureCode ::= 19
id-seNBReconfigurationCompletion ProcedureCode ::= 20
id-meNBinitiatedSeNBModificationPreparation ProcedureCode ::= 21
id-seNBinitiatedSeNBModification ProcedureCode ::= 22
id-meNBinitiatedSeNBRelease ProcedureCode ::= 23
id-seNBinitiatedSeNBRelease ProcedureCode ::= 24
id-seNBCounterCheck ProcedureCode ::= 25
id-retrieveUEContext ProcedureCode ::= 26
id-sgNBAdditionPreparation ProcedureCode ::= 27
id-sgNBReconfigurationCompletion ProcedureCode ::= 28
id-meNBinitiatedSgNBModificationPreparation ProcedureCode ::= 29
id-sgNBinitiatedSgNBModification ProcedureCode ::= 30
id-meNBinitiatedSgNBRelease ProcedureCode ::= 31
id-sgNBinitiatedSgNBRelease ProcedureCode ::= 32
id-sgNBCounterCheck ProcedureCode ::= 33
id-sgNBChange ProcedureCode ::= 34
id-rRCTransfer ProcedureCode ::= 35
id-endcX2Setup ProcedureCode ::= 36
id-endcConfigurationUpdate ProcedureCode ::= 37
id-secondaryRATDataUsageReport ProcedureCode ::= 38
id-endcCellActivation ProcedureCode ::= 39
id-endcPartialReset ProcedureCode ::= 40
id-eUTRANRCellResourceCoordination ProcedureCode ::= 41
id-SgNBActivityNotification ProcedureCode ::= 42
id-endcX2Removal ProcedureCode ::= 43
id-dataForwardingAddressIndication ProcedureCode ::= 44
id-gNBStatusIndication ProcedureCode ::= 45
id-deactivateTrace ProcedureCode ::= 46
id-traceStart ProcedureCode ::= 47
id-endcConfigurationTransfer ProcedureCode ::= 48
id-handoverSuccess ProcedureCode ::= 49
id-conditionalHandoverCancel ProcedureCode ::= 50
id-earlyStatusTransfer ProcedureCode ::= 51
id-cellTrafficTrace ProcedureCode ::= 52
id-endcresourceStatusReporting ProcedureCode ::= 53
id-endcresourceStatusReportingInitiation ProcedureCode ::= 54
id-f1CTrafficTransfer ProcedureCode ::= 55
id-UERadioCapabilityIDMapping ProcedureCode ::= 56
id-accessAndMobilityIndication ProcedureCode ::= 57
id-procedure-code-58-not-to-be-used ProcedureCode ::= 58
id-CPC-cancel ProcedureCode ::= 59
-- **************************************************************
--
-- Lists
--
-- **************************************************************
maxEARFCN INTEGER ::= 65535
maxEARFCNPlusOne INTEGER ::= 65536
newmaxEARFCN INTEGER ::= 262143
maxInterfaces INTEGER ::= 16
maxCellineNB INTEGER ::= 256
maxnoofBands INTEGER ::= 16
maxnoofBearers INTEGER ::= 256
maxNrOfErrors INTEGER ::= 256
maxnoofPDCP-SN INTEGER ::= 16
maxnoofEPLMNs INTEGER ::= 15
maxnoofEPLMNsPlusOne INTEGER ::= 16
maxnoofForbLACs INTEGER ::= 4096
maxnoofForbTACs INTEGER ::= 4096
maxnoofBPLMNs INTEGER ::= 6
maxnoofAdditionalPLMNs INTEGER ::= 6
maxnoofNeighbours INTEGER ::= 512
maxnoofPRBs INTEGER ::= 110
maxPools INTEGER ::= 16
maxnoofCells INTEGER ::= 16
maxnoofMBSFN INTEGER ::= 8
maxFailedMeasObjects INTEGER ::= 32
maxnoofCellIDforMDT INTEGER ::= 32
maxnoofTAforMDT INTEGER ::= 8
maxnoofMBMSServiceAreaIdentities INTEGER ::= 256
maxnoofMDTPLMNs INTEGER ::= 16
maxnoofCoMPHypothesisSet INTEGER ::= 256
maxnoofCoMPCells INTEGER ::= 32
maxUEReport INTEGER ::= 128
maxCellReport INTEGER ::= 9
maxnoofPA INTEGER ::= 3
maxCSIProcess INTEGER ::= 4
maxCSIReport INTEGER ::= 2
maxSubband INTEGER ::= 14
maxofNRNeighbours INTEGER ::= 1024
maxCellinengNB INTEGER ::= 16384
-- maxnoofNRCarriers INTEGER ::= 32
maxnooftimeperiods INTEGER ::= 2
maxnoofCellIDforQMC INTEGER ::= 32
maxnoofTAforQMC INTEGER ::= 8
maxnoofPLMNforQMC INTEGER ::= 16
maxUEsinengNBDU INTEGER ::= 8192
maxnoofProtectedResourcePatterns INTEGER ::= 16
maxnoNRcellsSpectrumSharingWithE-UTRA INTEGER ::= 64
maxnoofNrCellBands INTEGER ::= 32
maxnoofBluetoothName INTEGER ::= 4
maxnoofWLANName INTEGER ::= 4
maxnoofextBPLMNs INTEGER ::= 12
maxnoofTLAs INTEGER ::= 16
maxnoofGTPTLAs INTEGER ::= 16
maxnoofTNLAssociations INTEGER ::= 32
maxnoofCellsinCHO INTEGER ::= 8
maxnoofPC5QoSFlows INTEGER ::= 2048
maxnoofSSBAreas INTEGER ::= 64
maxnoofNRSCSs INTEGER ::= 5
maxnoofNRPhysicalResourceBlocks INTEGER ::= 275
maxnoofNonAnchorCarrierFreqConfig INTEGER ::= 15
maxnoofRACHReports INTEGER ::= 64
maxnoofPSCellsPerSN INTEGER ::= 8
maxnoofPSCellsPerPrimaryCellinUEHistoryInfo INTEGER ::= 8
maxnoofReportedNRCellsPossiblyAggregated INTEGER ::= 16
maxnoofPSCellCandidates INTEGER ::= 8
maxnoofTargetSgNBs INTEGER ::= 8
maxnoofMTCItems INTEGER ::= 16
maxnoofCSIRSconfigurations INTEGER ::= 96
maxnoofCSIRSneighbourCells INTEGER ::= 16
maxnoofCSIRSneighbourCellsInMTC INTEGER ::= 16
maxnoofSensorName INTEGER ::= 3
maxnoofTargetSgNBsMinusOne INTEGER ::= 7
-- **************************************************************
--
-- IEs
--
-- **************************************************************
id-E-RABs-Admitted-Item ProtocolIE-ID ::= 0
id-E-RABs-Admitted-List ProtocolIE-ID ::= 1
id-E-RAB-Item ProtocolIE-ID ::= 2
id-E-RABs-NotAdmitted-List ProtocolIE-ID ::= 3
id-E-RABs-ToBeSetup-Item ProtocolIE-ID ::= 4
id-Cause ProtocolIE-ID ::= 5
id-CellInformation ProtocolIE-ID ::= 6
id-CellInformation-Item ProtocolIE-ID ::= 7
--WS extension
id-Unknown-8 ProtocolIE-ID ::= 8
id-New-eNB-UE-X2AP-ID ProtocolIE-ID ::= 9
id-Old-eNB-UE-X2AP-ID ProtocolIE-ID ::= 10
id-TargetCell-ID ProtocolIE-ID ::= 11
id-TargeteNBtoSource-eNBTransparentContainer ProtocolIE-ID ::= 12
id-TraceActivation ProtocolIE-ID ::= 13
id-UE-ContextInformation ProtocolIE-ID ::= 14
id-UE-HistoryInformation ProtocolIE-ID ::= 15
id-UE-X2AP-ID ProtocolIE-ID ::= 16
id-CriticalityDiagnostics ProtocolIE-ID ::= 17
id-E-RABs-SubjectToStatusTransfer-List ProtocolIE-ID ::= 18
id-E-RABs-SubjectToStatusTransfer-Item ProtocolIE-ID ::= 19
id-ServedCells ProtocolIE-ID ::= 20
id-GlobalENB-ID ProtocolIE-ID ::= 21
id-TimeToWait ProtocolIE-ID ::= 22
id-GUMMEI-ID ProtocolIE-ID ::= 23
id-GUGroupIDList ProtocolIE-ID ::= 24
id-ServedCellsToAdd ProtocolIE-ID ::= 25
id-ServedCellsToModify ProtocolIE-ID ::= 26
id-ServedCellsToDelete ProtocolIE-ID ::= 27
id-Registration-Request ProtocolIE-ID ::= 28
id-CellToReport ProtocolIE-ID ::= 29
id-ReportingPeriodicity ProtocolIE-ID ::= 30
id-CellToReport-Item ProtocolIE-ID ::= 31
id-CellMeasurementResult ProtocolIE-ID ::= 32
id-CellMeasurementResult-Item ProtocolIE-ID ::= 33
id-GUGroupIDToAddList ProtocolIE-ID ::= 34
id-GUGroupIDToDeleteList ProtocolIE-ID ::= 35
id-SRVCCOperationPossible ProtocolIE-ID ::= 36
id-Measurement-ID ProtocolIE-ID ::= 37
id-ReportCharacteristics ProtocolIE-ID ::= 38
id-ENB1-Measurement-ID ProtocolIE-ID ::= 39
id-ENB2-Measurement-ID ProtocolIE-ID ::= 40
id-Number-of-Antennaports ProtocolIE-ID ::= 41
id-CompositeAvailableCapacityGroup ProtocolIE-ID ::= 42
id-ENB1-Cell-ID ProtocolIE-ID ::= 43
id-ENB2-Cell-ID ProtocolIE-ID ::= 44
id-ENB2-Proposed-Mobility-Parameters ProtocolIE-ID ::= 45
id-ENB1-Mobility-Parameters ProtocolIE-ID ::= 46
id-ENB2-Mobility-Parameters-Modification-Range ProtocolIE-ID ::= 47
id-FailureCellPCI ProtocolIE-ID ::= 48
id-Re-establishmentCellECGI ProtocolIE-ID ::= 49
id-FailureCellCRNTI ProtocolIE-ID ::= 50
id-ShortMAC-I ProtocolIE-ID ::= 51
id-SourceCellECGI ProtocolIE-ID ::= 52
id-FailureCellECGI ProtocolIE-ID ::= 53
id-HandoverReportType ProtocolIE-ID ::= 54
id-PRACH-Configuration ProtocolIE-ID ::= 55
id-MBSFN-Subframe-Info ProtocolIE-ID ::= 56
id-ServedCellsToActivate ProtocolIE-ID ::= 57
id-ActivatedCellList ProtocolIE-ID ::= 58
id-DeactivationIndication ProtocolIE-ID ::= 59
id-UE-RLF-Report-Container ProtocolIE-ID ::= 60
id-ABSInformation ProtocolIE-ID ::= 61
id-InvokeIndication ProtocolIE-ID ::= 62
id-ABS-Status ProtocolIE-ID ::= 63
id-PartialSuccessIndicator ProtocolIE-ID ::= 64
id-MeasurementInitiationResult-List ProtocolIE-ID ::= 65
id-MeasurementInitiationResult-Item ProtocolIE-ID ::= 66
id-MeasurementFailureCause-Item ProtocolIE-ID ::= 67
id-CompleteFailureCauseInformation-List ProtocolIE-ID ::= 68
id-CompleteFailureCauseInformation-Item ProtocolIE-ID ::= 69
id-CSG-Id ProtocolIE-ID ::= 70
id-CSGMembershipStatus ProtocolIE-ID ::= 71
id-MDTConfiguration ProtocolIE-ID ::= 72
--WS extension
id-Unknown-73 ProtocolIE-ID ::= 73
id-ManagementBasedMDTallowed ProtocolIE-ID ::= 74
id-RRCConnSetupIndicator ProtocolIE-ID ::= 75
id-NeighbourTAC ProtocolIE-ID ::= 76
id-Time-UE-StayedInCell-EnhancedGranularity ProtocolIE-ID ::= 77
id-RRCConnReestabIndicator ProtocolIE-ID ::= 78
id-MBMS-Service-Area-List ProtocolIE-ID ::= 79
id-HO-cause ProtocolIE-ID ::= 80
id-TargetCellInUTRAN ProtocolIE-ID ::= 81
id-MobilityInformation ProtocolIE-ID ::= 82
id-SourceCellCRNTI ProtocolIE-ID ::= 83
id-MultibandInfoList ProtocolIE-ID ::= 84
id-M3Configuration ProtocolIE-ID ::= 85
id-M4Configuration ProtocolIE-ID ::= 86
id-M5Configuration ProtocolIE-ID ::= 87
id-MDT-Location-Info ProtocolIE-ID ::= 88
id-ManagementBasedMDTPLMNList ProtocolIE-ID ::= 89
id-SignallingBasedMDTPLMNList ProtocolIE-ID ::= 90
id-ReceiveStatusOfULPDCPSDUsExtended ProtocolIE-ID ::= 91
id-ULCOUNTValueExtended ProtocolIE-ID ::= 92
id-DLCOUNTValueExtended ProtocolIE-ID ::= 93
id-eARFCNExtension ProtocolIE-ID ::= 94
id-UL-EARFCNExtension ProtocolIE-ID ::= 95
id-DL-EARFCNExtension ProtocolIE-ID ::= 96
id-AdditionalSpecialSubframe-Info ProtocolIE-ID ::= 97
id-Masked-IMEISV ProtocolIE-ID ::= 98
id-IntendedULDLConfiguration ProtocolIE-ID ::= 99
id-ExtendedULInterferenceOverloadInfo ProtocolIE-ID ::= 100
id-RNL-Header ProtocolIE-ID ::= 101
id-x2APMessage ProtocolIE-ID ::= 102
id-ProSeAuthorized ProtocolIE-ID ::= 103
id-ExpectedUEBehaviour ProtocolIE-ID ::= 104
id-UE-HistoryInformationFromTheUE ProtocolIE-ID ::= 105
id-DynamicDLTransmissionInformation ProtocolIE-ID ::= 106
id-UE-RLF-Report-Container-for-extended-bands ProtocolIE-ID ::= 107
id-CoMPInformation ProtocolIE-ID ::= 108
id-ReportingPeriodicityRSRPMR ProtocolIE-ID ::= 109
id-RSRPMRList ProtocolIE-ID ::= 110
id-MeNB-UE-X2AP-ID ProtocolIE-ID ::= 111
id-SeNB-UE-X2AP-ID ProtocolIE-ID ::= 112
id-UE-SecurityCapabilities ProtocolIE-ID ::= 113
id-SeNBSecurityKey ProtocolIE-ID ::= 114
id-SeNBUEAggregateMaximumBitRate ProtocolIE-ID ::= 115
id-ServingPLMN ProtocolIE-ID ::= 116
id-E-RABs-ToBeAdded-List ProtocolIE-ID ::= 117
id-E-RABs-ToBeAdded-Item ProtocolIE-ID ::= 118
id-MeNBtoSeNBContainer ProtocolIE-ID ::= 119
id-E-RABs-Admitted-ToBeAdded-List ProtocolIE-ID ::= 120
id-E-RABs-Admitted-ToBeAdded-Item ProtocolIE-ID ::= 121
id-SeNBtoMeNBContainer ProtocolIE-ID ::= 122
id-ResponseInformationSeNBReconfComp ProtocolIE-ID ::= 123
id-UE-ContextInformationSeNBModReq ProtocolIE-ID ::= 124
id-E-RABs-ToBeAdded-ModReqItem ProtocolIE-ID ::= 125
id-E-RABs-ToBeModified-ModReqItem ProtocolIE-ID ::= 126
id-E-RABs-ToBeReleased-ModReqItem ProtocolIE-ID ::= 127
id-E-RABs-Admitted-ToBeAdded-ModAckList ProtocolIE-ID ::= 128
id-E-RABs-Admitted-ToBeModified-ModAckList ProtocolIE-ID ::= 129
id-E-RABs-Admitted-ToBeReleased-ModAckList ProtocolIE-ID ::= 130
id-E-RABs-Admitted-ToBeAdded-ModAckItem ProtocolIE-ID ::= 131
id-E-RABs-Admitted-ToBeModified-ModAckItem ProtocolIE-ID ::= 132
id-E-RABs-Admitted-ToBeReleased-ModAckItem ProtocolIE-ID ::= 133
id-E-RABs-ToBeReleased-ModReqd ProtocolIE-ID ::= 134
id-E-RABs-ToBeReleased-ModReqdItem ProtocolIE-ID ::= 135
id-SCGChangeIndication ProtocolIE-ID ::= 136
id-E-RABs-ToBeReleased-List-RelReq ProtocolIE-ID ::= 137
id-E-RABs-ToBeReleased-RelReqItem ProtocolIE-ID ::= 138
id-E-RABs-ToBeReleased-List-RelConf ProtocolIE-ID ::= 139
id-E-RABs-ToBeReleased-RelConfItem ProtocolIE-ID ::= 140
id-E-RABs-SubjectToCounterCheck-List ProtocolIE-ID ::= 141
id-E-RABs-SubjectToCounterCheckItem ProtocolIE-ID ::= 142
id-CoverageModificationList ProtocolIE-ID ::= 143
--WS extension
id-Unknown-144 ProtocolIE-ID ::= 144
id-ReportingPeriodicityCSIR ProtocolIE-ID ::= 145
id-CSIReportList ProtocolIE-ID ::= 146
id-UEID ProtocolIE-ID ::= 147
id-enhancedRNTP ProtocolIE-ID ::= 148
id-ProSeUEtoNetworkRelaying ProtocolIE-ID ::= 149
id-ReceiveStatusOfULPDCPSDUsPDCP-SNlength18 ProtocolIE-ID ::= 150
id-ULCOUNTValuePDCP-SNlength18 ProtocolIE-ID ::= 151
id-DLCOUNTValuePDCP-SNlength18 ProtocolIE-ID ::= 152
id-UE-ContextReferenceAtSeNB ProtocolIE-ID ::= 153
id-UE-ContextKeptIndicator ProtocolIE-ID ::= 154
id-New-eNB-UE-X2AP-ID-Extension ProtocolIE-ID ::= 155
id-Old-eNB-UE-X2AP-ID-Extension ProtocolIE-ID ::= 156
id-MeNB-UE-X2AP-ID-Extension ProtocolIE-ID ::= 157
id-SeNB-UE-X2AP-ID-Extension ProtocolIE-ID ::= 158
id-LHN-ID ProtocolIE-ID ::= 159
id-FreqBandIndicatorPriority ProtocolIE-ID ::= 160
id-M6Configuration ProtocolIE-ID ::= 161
id-M7Configuration ProtocolIE-ID ::= 162
id-Tunnel-Information-for-BBF ProtocolIE-ID ::= 163
id-SIPTO-BearerDeactivationIndication ProtocolIE-ID ::= 164
id-GW-TransportLayerAddress ProtocolIE-ID ::= 165
id-Correlation-ID ProtocolIE-ID ::= 166
id-SIPTO-Correlation-ID ProtocolIE-ID ::= 167
id-SIPTO-L-GW-TransportLayerAddress ProtocolIE-ID ::= 168
id-X2RemovalThreshold ProtocolIE-ID ::= 169
id-CellReportingIndicator ProtocolIE-ID ::= 170
id-BearerType ProtocolIE-ID ::= 171
id-resumeID ProtocolIE-ID ::= 172
id-UE-ContextInformationRetrieve ProtocolIE-ID ::= 173
id-E-RABs-ToBeSetupRetrieve-Item ProtocolIE-ID ::= 174
id-NewEUTRANCellIdentifier ProtocolIE-ID ::= 175
id-V2XServicesAuthorized ProtocolIE-ID ::= 176
id-OffsetOfNbiotChannelNumberToDL-EARFCN ProtocolIE-ID ::= 177
id-OffsetOfNbiotChannelNumberToUL-EARFCN ProtocolIE-ID ::= 178
id-AdditionalSpecialSubframeExtension-Info ProtocolIE-ID ::= 179
id-BandwidthReducedSI ProtocolIE-ID ::= 180
id-MakeBeforeBreakIndicator ProtocolIE-ID ::= 181
id-UE-ContextReferenceAtWT ProtocolIE-ID ::= 182
id-WT-UE-ContextKeptIndicator ProtocolIE-ID ::= 183
id-UESidelinkAggregateMaximumBitRate ProtocolIE-ID ::= 184
id-uL-GTPtunnelEndpoint ProtocolIE-ID ::= 185
--WS extension
id-Unknown-186 ProtocolIE-ID ::= 186
id-Unknown-187 ProtocolIE-ID ::= 187
id-Unknown-188 ProtocolIE-ID ::= 188
id-Unknown-189 ProtocolIE-ID ::= 189
id-Unknown-190 ProtocolIE-ID ::= 190
id-Unknown-191 ProtocolIE-ID ::= 191
id-Unknown-192 ProtocolIE-ID ::= 192
id-DL-scheduling-PDCCH-CCE-usage ProtocolIE-ID ::= 193
id-UL-scheduling-PDCCH-CCE-usage ProtocolIE-ID ::= 194
id-UEAppLayerMeasConfig ProtocolIE-ID ::= 195
id-extended-e-RAB-MaximumBitrateDL ProtocolIE-ID ::= 196
id-extended-e-RAB-MaximumBitrateUL ProtocolIE-ID ::= 197
id-extended-e-RAB-GuaranteedBitrateDL ProtocolIE-ID ::= 198
id-extended-e-RAB-GuaranteedBitrateUL ProtocolIE-ID ::= 199
id-extended-uEaggregateMaximumBitRateDownlink ProtocolIE-ID ::= 200
id-extended-uEaggregateMaximumBitRateUplink ProtocolIE-ID ::= 201
id-NRrestrictioninEPSasSecondaryRAT ProtocolIE-ID ::= 202
id-SgNBSecurityKey ProtocolIE-ID ::= 203
id-SgNBUEAggregateMaximumBitRate ProtocolIE-ID ::= 204
id-E-RABs-ToBeAdded-SgNBAddReqList ProtocolIE-ID ::= 205
id-MeNBtoSgNBContainer ProtocolIE-ID ::= 206
id-SgNB-UE-X2AP-ID ProtocolIE-ID ::= 207
id-RequestedSplitSRBs ProtocolIE-ID ::= 208
id-E-RABs-ToBeAdded-SgNBAddReq-Item ProtocolIE-ID ::= 209
id-E-RABs-Admitted-ToBeAdded-SgNBAddReqAckList ProtocolIE-ID ::= 210
id-SgNBtoMeNBContainer ProtocolIE-ID ::= 211
id-AdmittedSplitSRBs ProtocolIE-ID ::= 212
id-E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item ProtocolIE-ID ::= 213
id-ResponseInformationSgNBReconfComp ProtocolIE-ID ::= 214
id-UE-ContextInformation-SgNBModReq ProtocolIE-ID ::= 215
id-E-RABs-ToBeAdded-SgNBModReq-Item ProtocolIE-ID ::= 216
id-E-RABs-ToBeModified-SgNBModReq-Item ProtocolIE-ID ::= 217
id-E-RABs-ToBeReleased-SgNBModReq-Item ProtocolIE-ID ::= 218
id-E-RABs-Admitted-ToBeAdded-SgNBModAckList ProtocolIE-ID ::= 219
id-E-RABs-Admitted-ToBeModified-SgNBModAckList ProtocolIE-ID ::= 220
id-E-RABs-Admitted-ToBeReleased-SgNBModAckList ProtocolIE-ID ::= 221
id-E-RABs-Admitted-ToBeAdded-SgNBModAck-Item ProtocolIE-ID ::= 222
id-E-RABs-Admitted-ToBeModified-SgNBModAck-Item ProtocolIE-ID ::= 223
id-E-RABs-Admitted-ToBeReleased-SgNBModAck-Item ProtocolIE-ID ::= 224
id-E-RABs-ToBeReleased-SgNBModReqdList ProtocolIE-ID ::= 225
id-E-RABs-ToBeModified-SgNBModReqdList ProtocolIE-ID ::= 226
id-E-RABs-ToBeReleased-SgNBModReqd-Item ProtocolIE-ID ::= 227
id-E-RABs-ToBeModified-SgNBModReqd-Item ProtocolIE-ID ::= 228
id-E-RABs-ToBeReleased-SgNBChaConfList ProtocolIE-ID ::= 229
id-E-RABs-ToBeReleased-SgNBChaConf-Item ProtocolIE-ID ::= 230
id-E-RABs-ToBeReleased-SgNBRelReqList ProtocolIE-ID ::= 231
id-E-RABs-ToBeReleased-SgNBRelReq-Item ProtocolIE-ID ::= 232
id-E-RABs-ToBeReleased-SgNBRelConfList ProtocolIE-ID ::= 233
id-E-RABs-ToBeReleased-SgNBRelConf-Item ProtocolIE-ID ::= 234
id-E-RABs-SubjectToSgNBCounterCheck-List ProtocolIE-ID ::= 235
id-E-RABs-SubjectToSgNBCounterCheck-Item ProtocolIE-ID ::= 236
id-RRCContainer ProtocolIE-ID ::= 237
id-SRBType ProtocolIE-ID ::= 238
id-Target-SgNB-ID ProtocolIE-ID ::= 239
id-HandoverRestrictionList ProtocolIE-ID ::= 240
id-SCGConfigurationQuery ProtocolIE-ID ::= 241
id-SplitSRB ProtocolIE-ID ::= 242
id-NRUeReport ProtocolIE-ID ::= 243
id-InitiatingNodeType-EndcX2Setup ProtocolIE-ID ::= 244
id-InitiatingNodeType-EndcConfigUpdate ProtocolIE-ID ::= 245
id-RespondingNodeType-EndcX2Setup ProtocolIE-ID ::= 246
id-RespondingNodeType-EndcConfigUpdate ProtocolIE-ID ::= 247
id-NRUESecurityCapabilities ProtocolIE-ID ::= 248
id-PDCPChangeIndication ProtocolIE-ID ::= 249
id-ServedEUTRAcellsENDCX2ManagementList ProtocolIE-ID ::= 250
id-CellAssistanceInformation ProtocolIE-ID ::= 251
id-Globalen-gNB-ID ProtocolIE-ID ::= 252
id-ServedNRcellsENDCX2ManagementList ProtocolIE-ID ::= 253
id-UE-ContextReferenceAtSgNB ProtocolIE-ID ::= 254
id-SecondaryRATUsageReport ProtocolIE-ID ::= 255
id-ActivationID ProtocolIE-ID ::= 256
id-MeNBResourceCoordinationInformation ProtocolIE-ID ::= 257
id-SgNBResourceCoordinationInformation ProtocolIE-ID ::= 258
id-ServedEUTRAcellsToModifyListENDCConfUpd ProtocolIE-ID ::= 259
id-ServedEUTRAcellsToDeleteListENDCConfUpd ProtocolIE-ID ::= 260
id-ServedNRcellsToModifyListENDCConfUpd ProtocolIE-ID ::= 261
id-ServedNRcellsToDeleteListENDCConfUpd ProtocolIE-ID ::= 262
id-E-RABUsageReport-Item ProtocolIE-ID ::= 263
id-Old-SgNB-UE-X2AP-ID ProtocolIE-ID ::= 264
id-SecondaryRATUsageReportList ProtocolIE-ID ::= 265
id-SecondaryRATUsageReport-Item ProtocolIE-ID ::= 266
id-ServedNRCellsToActivate ProtocolIE-ID ::= 267
id-ActivatedNRCellList ProtocolIE-ID ::= 268
id-SelectedPLMN ProtocolIE-ID ::= 269
id-UEs-ToBeReset ProtocolIE-ID ::= 270
id-UEs-Admitted-ToBeReset ProtocolIE-ID ::= 271
id-RRCConfigIndication ProtocolIE-ID ::= 272
id-DownlinkPacketLossRate ProtocolIE-ID ::= 273
id-UplinkPacketLossRate ProtocolIE-ID ::= 274
id-SubscriberProfileIDforRFP ProtocolIE-ID ::= 275
id-serviceType ProtocolIE-ID ::= 276
id-AerialUEsubscriptionInformation ProtocolIE-ID ::= 277
id-SGNB-Addition-Trigger-Ind ProtocolIE-ID ::= 278
id-MeNBCell-ID ProtocolIE-ID ::= 279
id-RequestedSplitSRBsrelease ProtocolIE-ID ::= 280
id-AdmittedSplitSRBsrelease ProtocolIE-ID ::= 281
id-NRS-NSSS-PowerOffset ProtocolIE-ID ::= 282
id-NSSS-NumOccasionDifferentPrecoder ProtocolIE-ID ::= 283
id-ProtectedEUTRAResourceIndication ProtocolIE-ID ::= 284
id-InitiatingNodeType-EutranrCellResourceCoordination ProtocolIE-ID ::= 285
id-RespondingNodeType-EutranrCellResourceCoordination ProtocolIE-ID ::= 286
id-DataTrafficResourceIndication ProtocolIE-ID ::= 287
id-SpectrumSharingGroupID ProtocolIE-ID ::= 288
id-ListofEUTRACellsinEUTRACoordinationReq ProtocolIE-ID ::= 289
id-ListofEUTRACellsinEUTRACoordinationResp ProtocolIE-ID ::= 290
id-ListofEUTRACellsinNRCoordinationReq ProtocolIE-ID ::= 291
id-ListofNRCellsinNRCoordinationReq ProtocolIE-ID ::= 292
id-ListofNRCellsinNRCoordinationResp ProtocolIE-ID ::= 293
id-E-RABs-AdmittedToBeModified-SgNBModConfList ProtocolIE-ID ::= 294
id-E-RABs-AdmittedToBeModified-SgNBModConf-Item ProtocolIE-ID ::= 295
id-UEContextLevelUserPlaneActivity ProtocolIE-ID ::= 296
id-ERABActivityNotifyItemList ProtocolIE-ID ::= 297
id-InitiatingNodeType-EndcX2Removal ProtocolIE-ID ::= 298
id-RespondingNodeType-EndcX2Removal ProtocolIE-ID ::= 299
id-RLC-Status ProtocolIE-ID ::= 300
id-CNTypeRestrictions ProtocolIE-ID ::= 301
id-uLpDCPSnLength ProtocolIE-ID ::= 302
id-BluetoothMeasurementConfiguration ProtocolIE-ID ::= 303
id-WLANMeasurementConfiguration ProtocolIE-ID ::= 304
id-NRrestrictionin5GS ProtocolIE-ID ::= 305
id-dL-Forwarding ProtocolIE-ID ::= 306
id-E-RABs-DataForwardingAddress-List ProtocolIE-ID ::= 307
id-E-RABs-DataForwardingAddress-Item ProtocolIE-ID ::= 308
id-Subscription-Based-UE-DifferentiationInfo ProtocolIE-ID ::= 309
id-GNBOverloadInformation ProtocolIE-ID ::= 310
id-dLPDCPSnLength ProtocolIE-ID ::= 311
id-secondarysgNBDLGTPTEIDatPDCP ProtocolIE-ID ::= 312
id-secondarymeNBULGTPTEIDatPDCP ProtocolIE-ID ::= 313
id-lCID ProtocolIE-ID ::= 314
id-duplicationActivation ProtocolIE-ID ::= 315
id-ECGI ProtocolIE-ID ::= 316
id-RLCMode-transferred ProtocolIE-ID ::= 317
id-E-RABs-Admitted-ToBeReleased-SgNBRelReqAckList ProtocolIE-ID ::= 318
id-E-RABs-Admitted-ToBeReleased-SgNBRelReqAck-Item ProtocolIE-ID ::= 319
id-E-RABs-ToBeReleased-SgNBRelReqdList ProtocolIE-ID ::= 320
id-E-RABs-ToBeReleased-SgNBRelReqd-Item ProtocolIE-ID ::= 321
id-NRCGI ProtocolIE-ID ::= 322
id-MeNBCoordinationAssistanceInformation ProtocolIE-ID ::= 323
id-SgNBCoordinationAssistanceInformation ProtocolIE-ID ::= 324
id-new-drb-ID-req ProtocolIE-ID ::= 325
id-endcSONConfigurationTransfer ProtocolIE-ID ::= 326
id-NRNeighbourInfoToAdd ProtocolIE-ID ::= 327
id-NRNeighbourInfoToModify ProtocolIE-ID ::= 328
id-DesiredActNotificationLevel ProtocolIE-ID ::= 329
id-LocationInformationSgNBReporting ProtocolIE-ID ::= 330
id-LocationInformationSgNB ProtocolIE-ID ::= 331
id-LastNG-RANPLMNIdentity ProtocolIE-ID ::= 332
id-EUTRANTraceID ProtocolIE-ID ::= 333
id-additionalPLMNs-Item ProtocolIE-ID ::= 334
id-InterfaceInstanceIndication ProtocolIE-ID ::= 335
id-BPLMN-ID-Info-EUTRA ProtocolIE-ID ::= 336
id-BPLMN-ID-Info-NR ProtocolIE-ID ::= 337
id-NBIoT-UL-DL-AlignmentOffset ProtocolIE-ID ::= 338
id-ERABs-transferred-to-MeNB ProtocolIE-ID ::= 339
id-AdditionalRRMPriorityIndex ProtocolIE-ID ::= 340
id-LowerLayerPresenceStatusChange ProtocolIE-ID ::= 341
id-FastMCGRecovery-SN-to-MN ProtocolIE-ID ::= 342
id-RequestedFastMCGRecoveryViaSRB3 ProtocolIE-ID ::= 343
id-AvailableFastMCGRecoveryViaSRB3 ProtocolIE-ID ::= 344
id-RequestedFastMCGRecoveryViaSRB3Release ProtocolIE-ID ::= 345
id-ReleaseFastMCGRecoveryViaSRB3 ProtocolIE-ID ::= 346
id-FastMCGRecovery-MN-to-SN ProtocolIE-ID ::= 347
id-PartialListIndicator ProtocolIE-ID ::= 348
id-MaximumCellListSize ProtocolIE-ID ::= 349
id-MessageOversizeNotification ProtocolIE-ID ::= 350
id-CellandCapacityAssistInfo ProtocolIE-ID ::= 351
id-TNLConfigurationInfo ProtocolIE-ID ::= 352
id-TNLA-To-Add-List ProtocolIE-ID ::= 353
id-TNLA-To-Update-List ProtocolIE-ID ::= 354
id-TNLA-To-Remove-List ProtocolIE-ID ::= 355
id-TNLA-Setup-List ProtocolIE-ID ::= 356
id-TNLA-Failed-To-Setup-List ProtocolIE-ID ::= 357
id-UnlicensedSpectrumRestriction ProtocolIE-ID ::= 358
id-UEContextReferenceatSourceNGRAN ProtocolIE-ID ::= 359
id-EPCHandoverRestrictionListContainer ProtocolIE-ID ::= 360
id-CHOinformation-REQ ProtocolIE-ID ::= 361
id-CHOinformation-ACK ProtocolIE-ID ::= 362
id-DAPSRequestInfo ProtocolIE-ID ::= 363
id-RequestedTargetCellID ProtocolIE-ID ::= 364
id-CandidateCellsToBeCancelledList ProtocolIE-ID ::= 365
id-DAPSResponseInfo ProtocolIE-ID ::= 366
id-ProcedureStage ProtocolIE-ID ::= 367
id-CHO-DC-Indicator ProtocolIE-ID ::= 368
id-Ethernet-Type ProtocolIE-ID ::= 369
id-NRV2XServicesAuthorized ProtocolIE-ID ::= 370
id-NRUESidelinkAggregateMaximumBitRate ProtocolIE-ID ::= 371
id-PC5QoSParameters ProtocolIE-ID ::= 372
id-NPRACHConfiguration ProtocolIE-ID ::= 373
id-NBIoT-RLF-Report-Container ProtocolIE-ID ::= 374
id-MDTConfigurationNR ProtocolIE-ID ::= 375
id-PrivacyIndicator ProtocolIE-ID ::= 376
id-TraceCollectionEntityIPAddress ProtocolIE-ID ::= 377
id-UERadioCapabilityID ProtocolIE-ID ::= 378
id-SNtriggered ProtocolIE-ID ::= 379
id-CSI-RSTransmissionIndication ProtocolIE-ID ::= 380
id-DLCarrierList ProtocolIE-ID ::= 381
id-TargetCellInNGRAN ProtocolIE-ID ::= 382
id-E-UTRAN-Node1-Measurement-ID ProtocolIE-ID ::= 383
id-E-UTRAN-Node2-Measurement-ID ProtocolIE-ID ::= 384
id-TDDULDLConfigurationCommonNR ProtocolIE-ID ::= 385
id-CarrierList ProtocolIE-ID ::= 386
id-ULCarrierList ProtocolIE-ID ::= 387
id-FrequencyShift7p5khz ProtocolIE-ID ::= 388
id-SSB-PositionsInBurst ProtocolIE-ID ::= 389
id-NRCellPRACHConfig ProtocolIE-ID ::= 390
id-CellToReport-NR-ENDC ProtocolIE-ID ::= 391
id-CellToReport-NR-ENDC-Item ProtocolIE-ID ::= 392
id-CellMeasurementResult-NR-ENDC ProtocolIE-ID ::= 393
id-CellMeasurementResult-NR-ENDC-Item ProtocolIE-ID ::= 394
id-IABNodeIndication ProtocolIE-ID ::= 395
id-QoS-Mapping-Information ProtocolIE-ID ::= 396
id-F1CTrafficContainer ProtocolIE-ID ::= 397
--WS extension
id-Unknown-398 ProtocolIE-ID ::= 398
id-IntendedTDD-DL-ULConfiguration-NR ProtocolIE-ID ::= 399
id-UERadioCapability ProtocolIE-ID ::= 400
id-CellMeasurementResult-E-UTRA-ENDC ProtocolIE-ID ::= 401
id-CellMeasurementResult-E-UTRA-ENDC-Item ProtocolIE-ID ::= 402
id-CellToReport-E-UTRA-ENDC ProtocolIE-ID ::= 403
id-CellToReport-E-UTRA-ENDC-Item ProtocolIE-ID ::= 404
id-TraceCollectionEntityURI ProtocolIE-ID ::= 405
id-SFN-Offset ProtocolIE-ID ::= 406
id-CHO-DC-EarlyDataForwarding ProtocolIE-ID ::= 407
id-IMSvoiceEPSfallbackfrom5G ProtocolIE-ID ::= 408
id-AdditionLocationInformation ProtocolIE-ID ::= 409
id-DirectForwardingPathAvailability ProtocolIE-ID ::= 410
id-sourceNG-RAN-node-id ProtocolIE-ID ::= 411
id-SourceDLForwardingIPAddress ProtocolIE-ID ::= 412
id-SourceNodeDLForwardingIPAddress ProtocolIE-ID ::= 413
id-NRRACHReportInformation ProtocolIE-ID ::= 414
id-SCG-UE-HistoryInformation ProtocolIE-ID ::= 415
id-PSCellHistoryInformationRetrieve ProtocolIE-ID ::= 416
id-MeasurementResultforNRCellsPossiblyAggregated ProtocolIE-ID ::= 417
id-PSCell-UE-HistoryInformation ProtocolIE-ID ::= 418
id-PSCellChangeHistory ProtocolIE-ID ::= 419
id-CHOinformation-AddReq ProtocolIE-ID ::= 420
id-CHOinformation-ModReq ProtocolIE-ID ::= 421
id-SCGActivationStatus ProtocolIE-ID ::= 422
id-SCGActivationRequest ProtocolIE-ID ::= 423
id-CPAinformation-REQ ProtocolIE-ID ::= 424
id-CPAinformation-REQ-ACK ProtocolIE-ID ::= 425
id-CPAinformation-MOD ProtocolIE-ID ::= 426
id-CPAinformation-MOD-ACK ProtocolIE-ID ::= 427
id-CPACinformation-REQD ProtocolIE-ID ::= 428
id-CPCinformation-REQD ProtocolIE-ID ::= 429
id-CPCinformation-CONF ProtocolIE-ID ::= 430
id-CPCinformation-NOTIFY ProtocolIE-ID ::= 431
id-CPCupdate-MOD ProtocolIE-ID ::= 432
id-Additional-Measurement-Timing-Configuration-List ProtocolIE-ID ::= 433
id-ServedCellSpecificInfoReq-NR ProtocolIE-ID ::= 434
id-SecurityIndication ProtocolIE-ID ::= 435
id-SecurityResult ProtocolIE-ID ::= 436
id-RAT-Restrictions ProtocolIE-ID ::= 437
id-SCGreconfigNotification ProtocolIE-ID ::= 438
id-MIMOPRBusageInformation ProtocolIE-ID ::= 439
id-SensorMeasurementConfiguration ProtocolIE-ID ::= 440
id-AdditionalListofForwardingGTPTunnelEndpoint ProtocolIE-ID ::= 441
END |
ASN.1 | wireshark/epan/dissectors/asn1/x2ap/X2AP-Containers.asn | -- 3GPP TS 36.423 V17.5.0 (2023-06)
-- 9.3.8 Container definitions
-- **************************************************************
--
-- Container definitions
--
-- **************************************************************
X2AP-Containers {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
eps-Access (21) modules (3) x2ap (2) version1 (1) x2ap-Containers (5) }
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
-- **************************************************************
--
-- IE parameter types from other modules.
--
-- **************************************************************
IMPORTS
maxPrivateIEs,
maxProtocolExtensions,
maxProtocolIEs,
Criticality,
Presence,
PrivateIE-ID,
ProtocolIE-ID
FROM X2AP-CommonDataTypes;
-- **************************************************************
--
-- Class Definition for Protocol IEs
--
-- **************************************************************
X2AP-PROTOCOL-IES ::= CLASS {
&id ProtocolIE-ID UNIQUE,
&criticality Criticality,
&Value,
&presence Presence
}
WITH SYNTAX {
ID &id
CRITICALITY &criticality
TYPE &Value
PRESENCE &presence
}
-- **************************************************************
--
-- Class Definition for Protocol IEs
--
-- **************************************************************
X2AP-PROTOCOL-IES-PAIR ::= CLASS {
&id ProtocolIE-ID UNIQUE,
&firstCriticality Criticality,
&FirstValue,
&secondCriticality Criticality,
&SecondValue,
&presence Presence
}
WITH SYNTAX {
ID &id
FIRST CRITICALITY &firstCriticality
FIRST TYPE &FirstValue
SECOND CRITICALITY &secondCriticality
SECOND TYPE &SecondValue
PRESENCE &presence
}
-- **************************************************************
--
-- Class Definition for Protocol Extensions
--
-- **************************************************************
X2AP-PROTOCOL-EXTENSION ::= CLASS {
&id ProtocolIE-ID UNIQUE,
&criticality Criticality,
&Extension,
&presence Presence
}
WITH SYNTAX {
ID &id
CRITICALITY &criticality
EXTENSION &Extension
PRESENCE &presence
}
-- **************************************************************
--
-- Class Definition for Private IEs
--
-- **************************************************************
X2AP-PRIVATE-IES ::= CLASS {
&id PrivateIE-ID,
&criticality Criticality,
&Value,
&presence Presence
}
WITH SYNTAX {
ID &id
CRITICALITY &criticality
TYPE &Value
PRESENCE &presence
}
-- **************************************************************
--
-- Container for Protocol IEs
--
-- **************************************************************
ProtocolIE-Container {X2AP-PROTOCOL-IES : IEsSetParam} ::=
SEQUENCE (SIZE (0..maxProtocolIEs)) OF
ProtocolIE-Field {{IEsSetParam}}
ProtocolIE-Single-Container {X2AP-PROTOCOL-IES : IEsSetParam} ::=
ProtocolIE-Field {{IEsSetParam}}
ProtocolIE-Field {X2AP-PROTOCOL-IES : IEsSetParam} ::= SEQUENCE {
id X2AP-PROTOCOL-IES.&id ({IEsSetParam}),
criticality X2AP-PROTOCOL-IES.&criticality ({IEsSetParam}{@id}),
value X2AP-PROTOCOL-IES.&Value ({IEsSetParam}{@id})
}
-- **************************************************************
--
-- Container for Protocol IE Pairs
--
-- **************************************************************
ProtocolIE-ContainerPair {X2AP-PROTOCOL-IES-PAIR : IEsSetParam} ::=
SEQUENCE (SIZE (0..maxProtocolIEs)) OF
ProtocolIE-FieldPair {{IEsSetParam}}
ProtocolIE-FieldPair {X2AP-PROTOCOL-IES-PAIR : IEsSetParam} ::= SEQUENCE {
id X2AP-PROTOCOL-IES-PAIR.&id ({IEsSetParam}),
firstCriticality X2AP-PROTOCOL-IES-PAIR.&firstCriticality ({IEsSetParam}{@id}),
firstValue X2AP-PROTOCOL-IES-PAIR.&FirstValue ({IEsSetParam}{@id}),
secondCriticality X2AP-PROTOCOL-IES-PAIR.&secondCriticality ({IEsSetParam}{@id}),
secondValue X2AP-PROTOCOL-IES-PAIR.&SecondValue ({IEsSetParam}{@id})
}
-- **************************************************************
--
-- Container Lists for Protocol IE Containers
--
-- **************************************************************
ProtocolIE-ContainerList {INTEGER : lowerBound, INTEGER : upperBound, X2AP-PROTOCOL-IES : IEsSetParam} ::=
SEQUENCE (SIZE (lowerBound..upperBound)) OF
ProtocolIE-Container {{IEsSetParam}}
ProtocolIE-ContainerPairList {INTEGER : lowerBound, INTEGER : upperBound, X2AP-PROTOCOL-IES-PAIR : IEsSetParam} ::=
SEQUENCE (SIZE (lowerBound..upperBound)) OF
ProtocolIE-ContainerPair {{IEsSetParam}}
-- **************************************************************
--
-- Container for Protocol Extensions
--
-- **************************************************************
ProtocolExtensionContainer {X2AP-PROTOCOL-EXTENSION : ExtensionSetParam} ::=
SEQUENCE (SIZE (1..maxProtocolExtensions)) OF
ProtocolExtensionField {{ExtensionSetParam}}
ProtocolExtensionField {X2AP-PROTOCOL-EXTENSION : ExtensionSetParam} ::= SEQUENCE {
id X2AP-PROTOCOL-EXTENSION.&id ({ExtensionSetParam}),
criticality X2AP-PROTOCOL-EXTENSION.&criticality ({ExtensionSetParam}{@id}),
extensionValue X2AP-PROTOCOL-EXTENSION.&Extension ({ExtensionSetParam}{@id})
}
-- **************************************************************
--
-- Container for Private IEs
--
-- **************************************************************
PrivateIE-Container {X2AP-PRIVATE-IES : IEsSetParam} ::=
SEQUENCE (SIZE (1..maxPrivateIEs)) OF
PrivateIE-Field {{IEsSetParam}}
PrivateIE-Field {X2AP-PRIVATE-IES : IEsSetParam} ::= SEQUENCE {
id X2AP-PRIVATE-IES.&id ({IEsSetParam}),
criticality X2AP-PRIVATE-IES.&criticality ({IEsSetParam}{@id}),
value X2AP-PRIVATE-IES.&Value ({IEsSetParam}{@id})
}
END |
ASN.1 | wireshark/epan/dissectors/asn1/x2ap/X2AP-IEs.asn | -- 3GPP TS 36.423 V17.5.0 (2023-06)
-- 9.3.5 Information Element definitions
-- **************************************************************
--
-- Information Element Definitions
--
-- **************************************************************
X2AP-IEs {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
eps-Access (21) modules (3) x2ap (2) version1 (1) x2ap-IEs (2) }
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
IMPORTS
id-E-RAB-Item,
id-Number-of-Antennaports,
id-MBSFN-Subframe-Info,
id-PRACH-Configuration,
id-CSG-Id,
id-MDTConfiguration,
id-SignallingBasedMDTPLMNList,
id-MultibandInfoList,
id-FreqBandIndicatorPriority,
id-NeighbourTAC,
id-Time-UE-StayedInCell-EnhancedGranularity,
id-MBMS-Service-Area-List,
id-HO-cause,
id-eARFCNExtension,
id-DL-EARFCNExtension,
id-UL-EARFCNExtension,
id-M3Configuration,
id-M4Configuration,
id-M5Configuration,
id-MDT-Location-Info,
id-NRrestrictioninEPSasSecondaryRAT,
id-NRrestrictionin5GS,
id-AdditionalSpecialSubframe-Info,
id-UEID,
id-enhancedRNTP,
id-ProSeUEtoNetworkRelaying,
id-M6Configuration,
id-M7Configuration,
id-OffsetOfNbiotChannelNumberToDL-EARFCN,
id-OffsetOfNbiotChannelNumberToUL-EARFCN,
id-AdditionalSpecialSubframeExtension-Info,
id-BandwidthReducedSI,
id-extended-e-RAB-MaximumBitrateDL,
id-extended-e-RAB-MaximumBitrateUL,
id-extended-e-RAB-GuaranteedBitrateDL,
id-extended-e-RAB-GuaranteedBitrateUL,
id-extended-uEaggregateMaximumBitRateDownlink,
id-extended-uEaggregateMaximumBitRateUplink,
id-E-RABUsageReport-Item,
id-SecondaryRATUsageReport-Item,
id-UEAppLayerMeasConfig,
id-DL-scheduling-PDCCH-CCE-usage,
id-UL-scheduling-PDCCH-CCE-usage,
id-DownlinkPacketLossRate,
id-UplinkPacketLossRate,
id-serviceType,
id-ProtectedEUTRAResourceIndication,
id-NRS-NSSS-PowerOffset,
id-NSSS-NumOccasionDifferentPrecoder,
id-CNTypeRestrictions,
id-BluetoothMeasurementConfiguration,
id-WLANMeasurementConfiguration,
id-ECGI,
id-NRCGI,
id-MeNBCoordinationAssistanceInformation,
id-SgNBCoordinationAssistanceInformation,
id-NRNeighbourInfoToAdd,
id-LastNG-RANPLMNIdentity,
id-BPLMN-ID-Info-EUTRA,
id-NBIoT-UL-DL-AlignmentOffset,
id-UnlicensedSpectrumRestriction,
id-CarrierList,
id-FrequencyShift7p5khz,
id-NPRACHConfiguration,
id-MDTConfigurationNR,
id-CSI-RSTransmissionIndication,
id-QoS-Mapping-Information,
id-IntendedTDD-DL-ULConfiguration-NR,
id-TraceCollectionEntityURI,
id-SFN-Offset,
id-AdditionLocationInformation,
id-SSB-PositionsInBurst,
id-NRCellPRACHConfig,
id-ULCarrierList,
id-TDDULDLConfigurationCommonNR,
id-MIMOPRBusageInformation,
id-Additional-Measurement-Timing-Configuration-List,
id-ServedCellSpecificInfoReq-NR,
id-RAT-Restrictions,
id-PSCell-UE-HistoryInformation,
id-SensorMeasurementConfiguration,
maxnoofBearers,
maxCellineNB,
maxEARFCN,
maxEARFCNPlusOne,
newmaxEARFCN,
maxInterfaces,
maxnoofBands,
maxnoofBPLMNs,
maxnoofAdditionalPLMNs,
maxnoofCells,
maxnoofEPLMNs,
maxnoofEPLMNsPlusOne,
maxnoofForbLACs,
maxnoofForbTACs,
maxnoofNeighbours,
maxnoofPRBs,
maxNrOfErrors,
maxPools,
maxnoofMBSFN,
maxnoofTAforMDT,
maxnoofCellIDforMDT,
maxnoofMBMSServiceAreaIdentities,
maxnoofMDTPLMNs,
maxnoofCoMPHypothesisSet,
maxnoofCoMPCells,
maxUEReport,
maxCellReport,
maxnoofPA,
maxCSIProcess,
maxCSIReport,
maxSubband,
maxnooftimeperiods,
maxnoofCellIDforQMC,
maxnoofTAforQMC,
maxnoofPLMNforQMC,
maxUEsinengNBDU,
maxnoofProtectedResourcePatterns,
maxnoNRcellsSpectrumSharingWithE-UTRA,
maxnoofNrCellBands,
maxnoofBluetoothName,
maxnoofWLANName,
maxofNRNeighbours,
maxnoofextBPLMNs,
maxnoofTLAs,
maxnoofGTPTLAs,
maxnoofTNLAssociations,
maxnoofCellsinCHO, maxnoofPC5QoSFlows,
maxnoofSSBAreas,
maxnoofNRSCSs,
maxnoofNRPhysicalResourceBlocks,
maxnoofNonAnchorCarrierFreqConfig,
maxnoofRACHReports,
maxnoofPSCellsPerSN,
maxnoofPSCellsPerPrimaryCellinUEHistoryInfo,
maxnoofReportedNRCellsPossiblyAggregated,
maxnoofPSCellCandidates,
maxnoofTargetSgNBs,
maxnoofMTCItems,
maxnoofCSIRSconfigurations,
maxnoofCSIRSneighbourCells,
maxnoofCSIRSneighbourCellsInMTC,
maxCellinengNB,
maxnoofSensorName,
maxnoofTargetSgNBsMinusOne
FROM X2AP-Constants
Criticality,
ProcedureCode,
ProtocolIE-ID,
TriggeringMessage
FROM X2AP-CommonDataTypes
ProtocolExtensionContainer{},
ProtocolIE-Single-Container{},
X2AP-PROTOCOL-EXTENSION,
X2AP-PROTOCOL-IES
FROM X2AP-Containers;
-- A
ABSInformation ::= CHOICE {
fdd ABSInformationFDD,
tdd ABSInformationTDD,
abs-inactive NULL,
...
}
ABSInformationFDD ::= SEQUENCE {
abs-pattern-info BIT STRING (SIZE(40)),
numberOfCellSpecificAntennaPorts ENUMERATED {one, two, four, ...},
measurement-subset BIT STRING (SIZE(40)),
iE-Extensions ProtocolExtensionContainer { {ABSInformationFDD-ExtIEs} } OPTIONAL,
...
}
ABSInformationFDD-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ABSInformationTDD ::= SEQUENCE {
abs-pattern-info BIT STRING (SIZE(1..70, ...)),
numberOfCellSpecificAntennaPorts ENUMERATED {one, two, four, ...},
measurement-subset BIT STRING (SIZE(1..70, ...)),
iE-Extensions ProtocolExtensionContainer { {ABSInformationTDD-ExtIEs} } OPTIONAL,
...
}
ABSInformationTDD-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ABS-Status ::= SEQUENCE {
dL-ABS-status DL-ABS-status,
usableABSInformation UsableABSInformation,
iE-Extensions ProtocolExtensionContainer { {ABS-Status-ExtIEs} } OPTIONAL,
...
}
ABS-Status-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ActivationID ::= INTEGER (0..255)
Additional-Measurement-Timing-Configuration-List ::= SEQUENCE (SIZE(1.. maxnoofMTCItems)) OF Additional-Measurement-Timing-Configuration-Item
Additional-Measurement-Timing-Configuration-Item ::= SEQUENCE {
additionalMeasurementTimingConfiguration INTEGER(0..16),
csi-RS-MTC-Configuration-List CSI-RS-MTC-Configuration-List,
iE-Extensions ProtocolExtensionContainer { { Additional-Measurement-Timing-Configuration-Item-ExtIEs} } OPTIONAL,
...
}
Additional-Measurement-Timing-Configuration-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CSI-RS-MTC-Configuration-List ::= SEQUENCE (SIZE(1.. maxnoofCSIRSconfigurations)) OF CSI-RS-MTC-Configuration-Item
CSI-RS-MTC-Configuration-Item ::= SEQUENCE {
csi-RS-Index INTEGER(0..95),
csi-RS-Status ENUMERATED {activated,deactivated, ...},
csi-RS-Neighbour-List CSI-RS-Neighbour-List OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { CSI-RS-MTC-Configuration-Item-ExtIEs} } OPTIONAL,
...
}
CSI-RS-MTC-Configuration-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CSI-RS-Neighbour-List ::= SEQUENCE (SIZE(1.. maxnoofCSIRSneighbourCells)) OF CSI-RS-Neighbour-Item
CSI-RS-Neighbour-Item ::= SEQUENCE {
nr-cgi NRCGI,
csi-RS-MTC-Neighbour-List CSI-RS-MTC-Neighbour-List OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { CSI-RS-Neighbour-Item-ExtIEs} } OPTIONAL,
...
}
CSI-RS-Neighbour-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CSI-RS-MTC-Neighbour-List ::= SEQUENCE (SIZE(1.. maxnoofCSIRSneighbourCellsInMTC)) OF CSI-RS-MTC-Neighbour-Item
CSI-RS-MTC-Neighbour-Item ::= SEQUENCE {
csi-RS-Index INTEGER(0..95),
iE-Extensions ProtocolExtensionContainer { { CSI-RS-MTC-Neighbour-Item-ExtIEs} } OPTIONAL,
...
}
CSI-RS-MTC-Neighbour-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
AdditionalListofForwardingGTPTunnelEndpoint ::= SEQUENCE (SIZE(1..maxnoofTargetSgNBsMinusOne)) OF AdditionalListofForwardingGTPTunnelEndpoint-Item
AdditionalListofForwardingGTPTunnelEndpoint-Item ::= SEQUENCE {
uL-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
dL-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { AdditionalListofForwardingGTPTunnelEndpoint-Item-ExtIEs} } OPTIONAL,
...
}
AdditionalListofForwardingGTPTunnelEndpoint-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
AdditionLocationInformation ::= ENUMERATED {
includePSCell,
...
}
AdditionalRRMPriorityIndex ::= BIT STRING (SIZE(32))
AdditionalSpecialSubframe-Info ::= SEQUENCE {
additionalspecialSubframePatterns AdditionalSpecialSubframePatterns,
cyclicPrefixDL CyclicPrefixDL,
cyclicPrefixUL CyclicPrefixUL,
iE-Extensions ProtocolExtensionContainer { {AdditionalSpecialSubframe-Info-ExtIEs} } OPTIONAL,
...
}
AdditionalSpecialSubframe-Info-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
AdditionalSpecialSubframePatterns ::= ENUMERATED {
ssp0,
ssp1,
ssp2,
ssp3,
ssp4,
ssp5,
ssp6,
ssp7,
ssp8,
ssp9,
...
}
AdditionalSpecialSubframeExtension-Info ::= SEQUENCE {
additionalspecialSubframePatternsExtension AdditionalSpecialSubframePatternsExtension,
cyclicPrefixDL CyclicPrefixDL,
cyclicPrefixUL CyclicPrefixUL,
iE-Extensions ProtocolExtensionContainer { {AdditionalSpecialSubframeExtension-Info-ExtIEs} } OPTIONAL,
...
}
AdditionalSpecialSubframeExtension-Info-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
AdditionalSpecialSubframePatternsExtension ::= ENUMERATED {
ssp10,
...
}
AvailableFastMCGRecoveryViaSRB3 ::= ENUMERATED {true,...}
AerialUEsubscriptionInformation ::= ENUMERATED {
allowed,
not-allowed,
...
}
AllocationAndRetentionPriority ::= SEQUENCE {
priorityLevel PriorityLevel,
pre-emptionCapability Pre-emptionCapability,
pre-emptionVulnerability Pre-emptionVulnerability,
iE-Extensions ProtocolExtensionContainer { {AllocationAndRetentionPriority-ExtIEs} } OPTIONAL,
...
}
AllocationAndRetentionPriority-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
AreaScopeOfMDT ::= CHOICE {
cellBased CellBasedMDT,
tABased TABasedMDT,
pLMNWide NULL,
...,
tAIBased TAIBasedMDT
}
AreaScopeOfQMC ::= CHOICE {
cellBased CellBasedQMC,
tABased TABasedQMC,
tAIBased TAIBasedQMC,
pLMNAreaBased PLMNAreaBasedQMC,
...
}
AS-SecurityInformation ::= SEQUENCE {
key-eNodeB-star Key-eNodeB-Star,
nextHopChainingCount NextHopChainingCount,
iE-Extensions ProtocolExtensionContainer { {AS-SecurityInformation-ExtIEs} } OPTIONAL,
...
}
AS-SecurityInformation-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
AdditionalPLMNs-Item ::= SEQUENCE (SIZE(1..maxnoofAdditionalPLMNs)) OF PLMN-Identity
-- B
BandwidthReducedSI::= ENUMERATED {
scheduled,
...
}
BearerType ::= ENUMERATED {
non-IP,
...
}
BenefitMetric ::= INTEGER (-101..100, ...)
BitRate ::= INTEGER (0..10000000000)
BroadcastPLMNs-Item ::= SEQUENCE (SIZE(1..maxnoofBPLMNs)) OF PLMN-Identity
BluetoothMeasurementConfiguration ::= SEQUENCE {
bluetoothMeasConfig BluetoothMeasConfig,
bluetoothMeasConfigNameList BluetoothMeasConfigNameList OPTIONAL,
bt-rssi ENUMERATED {true, ...} OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {BluetoothMeasurementConfiguration-ExtIEs} } OPTIONAL,
...
}
BluetoothMeasurementConfiguration-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
BluetoothMeasConfigNameList ::= SEQUENCE (SIZE(1..maxnoofBluetoothName)) OF BluetoothName
BluetoothMeasConfig::= ENUMERATED {setup,...}
BluetoothName ::= OCTET STRING (SIZE (1..248))
BPLMN-ID-Info-EUTRA ::= SEQUENCE (SIZE(1..maxnoofBPLMNs)) OF BPLMN-ID-Info-EUTRA-Item
BPLMN-ID-Info-EUTRA-Item ::= SEQUENCE {
broadcastPLMNs BroadcastPLMNs-Item,
tac TAC,
e-utraCI EUTRANCellIdentifier,
iE-Extension ProtocolExtensionContainer { {BPLMN-ID-Info-EUTRA-Item-ExtIEs} } OPTIONAL,
...
}
BPLMN-ID-Info-EUTRA-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
BPLMN-ID-Info-NR ::= SEQUENCE (SIZE(1..maxnoofextBPLMNs)) OF BPLMN-ID-Info-NR-Item
BPLMN-ID-Info-NR-Item ::= SEQUENCE {
broadcastPLMNs BroadcastextPLMNs,
fiveGS-TAC FiveGS-TAC OPTIONAL,
nr-CI NRCellIdentifier,
iE-Extension ProtocolExtensionContainer { {BPLMN-ID-Info-NR-Item-ExtIEs} } OPTIONAL,
...
}
BPLMN-ID-Info-NR-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
BroadcastextPLMNs ::= SEQUENCE (SIZE(1..maxnoofextBPLMNs)) OF PLMN-Identity
-- C
CapacityValue ::= INTEGER (0..100)
Cause ::= CHOICE {
radioNetwork CauseRadioNetwork,
transport CauseTransport,
protocol CauseProtocol,
misc CauseMisc,
...
}
CauseMisc ::= ENUMERATED {
control-processing-overload,
hardware-failure,
om-intervention,
not-enough-user-plane-processing-resources,
unspecified,
...
}
CauseProtocol ::= ENUMERATED {
transfer-syntax-error,
abstract-syntax-error-reject,
abstract-syntax-error-ignore-and-notify,
message-not-compatible-with-receiver-state,
semantic-error,
unspecified,
abstract-syntax-error-falsely-constructed-message,
...
}
CauseRadioNetwork ::= ENUMERATED {
handover-desirable-for-radio-reasons,
time-critical-handover,
resource-optimisation-handover,
reduce-load-in-serving-cell,
partial-handover,
unknown-new-eNB-UE-X2AP-ID,
unknown-old-eNB-UE-X2AP-ID,
unknown-pair-of-UE-X2AP-ID,
ho-target-not-allowed,
tx2relocoverall-expiry,
trelocprep-expiry,
cell-not-available,
no-radio-resources-available-in-target-cell,
invalid-MME-GroupID,
unknown-MME-Code,
encryption-and-or-integrity-protection-algorithms-not-supported,
reportCharacteristicsEmpty,
noReportPeriodicity,
existingMeasurementID,
unknown-eNB-Measurement-ID,
measurement-temporarily-not-available,
unspecified,
...,
load-balancing,
handover-optimisation,
value-out-of-allowed-range,
multiple-E-RAB-ID-instances,
switch-off-ongoing,
not-supported-QCI-value,
measurement-not-supported-for-the-object,
tDCoverall-expiry,
tDCprep-expiry,
action-desirable-for-radio-reasons,
reduce-load,
resource-optimisation,
time-critical-action,
target-not-allowed,
no-radio-resources-available,
invalid-QoS-combination,
encryption-algorithms-not-supported,
procedure-cancelled,
rRM-purpose,
improve-user-bit-rate,
user-inactivity,
radio-connection-with-UE-lost,
failure-in-the-radio-interface-procedure,
bearer-option-not-supported,
mCG-Mobility,
sCG-Mobility,
count-reaches-max-value,
unknown-old-en-gNB-UE-X2AP-ID,
pDCP-Overload,
cho-cpc-resources-tobechanged,
ue-power-saving,
insufficient-ue-capabilities,
normal-release,
unknown-E-UTRAN-Node-Measurement-ID,
sCG-activation-deactivation-failure,
sCG-deactivation-failure-due-to-data-transmission,
up-integrity-protection-not-possible
}
CauseTransport ::= ENUMERATED {
transport-resource-unavailable,
unspecified,
...
}
CellBasedMDT::= SEQUENCE {
cellIdListforMDT CellIdListforMDT,
iE-Extensions ProtocolExtensionContainer { {CellBasedMDT-ExtIEs} } OPTIONAL,
...
}
CellBasedMDT-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CellBasedQMC::= SEQUENCE {
cellIdListforQMC CellIdListforQMC,
iE-Extensions ProtocolExtensionContainer { {CellBasedQMC-ExtIEs} } OPTIONAL,
...
}
CellBasedQMC-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CellCapacityClassValue ::= INTEGER (1..100, ...)
CellDeploymentStatusIndicator ::= ENUMERATED {pre-change-notification, ...}
CellIdListforMDT ::= SEQUENCE (SIZE(1..maxnoofCellIDforMDT)) OF ECGI
CellIdListforQMC ::= SEQUENCE (SIZE(1..maxnoofCellIDforQMC)) OF ECGI
CellReplacingInfo ::= SEQUENCE {
replacingCellsList ReplacingCellsList,
iE-Extensions ProtocolExtensionContainer { {CellReplacingInfo-ExtIEs}} OPTIONAL,
...
}
CellReplacingInfo-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CellReportingIndicator ::= ENUMERATED {stop-request, ... }
Cell-Size ::= ENUMERATED {verysmall, small, medium, large, ... }
CellType ::= SEQUENCE {
cell-Size Cell-Size,
iE-Extensions ProtocolExtensionContainer { {CellType-ExtIEs}} OPTIONAL,
...
}
CellType-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CPACcandidatePSCells-list ::= SEQUENCE (SIZE(1..maxnoofPSCellCandidates)) OF CPACcandidatePSCells-item
CPACcandidatePSCells-item ::= SEQUENCE {
pscell-id NRCGI,
iE-Extensions ProtocolExtensionContainer { {CPACcandidatePSCells-item-ExtIEs}} OPTIONAL,
...
}
CPACcandidatePSCells-item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CPCindicator ::= ENUMERATED {cpc-initiation, cpc-modification, cpc-cancel, ...}
CPCdataforwarding ::= ENUMERATED {cpc-triggered, early-data-transmission-stop, ..., coordination-only}
CPAinformation-REQ ::= SEQUENCE {
max-no-of-pscells INTEGER (1..maxnoofPSCellCandidates),
estimatedArrivalProbability CHO-Probability OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {CPAinformation-REQ-ExtIEs} } OPTIONAL,
...
}
CPAinformation-REQ-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CPAinformation-REQ-ACK ::= SEQUENCE {
candidate-pscells CPACcandidatePSCells-list,
iE-Extensions ProtocolExtensionContainer { {CPAinformation-REQ-ACK-ExtIEs} } OPTIONAL,
...
}
CPAinformation-REQ-ACK-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CPCinformation-REQD ::= SEQUENCE {
cpc-target-sgnb-list CPC-target-SgNB-reqd-list,
iE-Extensions ProtocolExtensionContainer { {CPCinformation-REQD-ExtIEs} } OPTIONAL,
...
}
CPCinformation-REQD-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CPC-target-SgNB-reqd-list ::= SEQUENCE (SIZE(1..maxnoofTargetSgNBs)) OF CPC-target-SgNB-reqd-item
CPC-target-SgNB-reqd-item ::= SEQUENCE {
target-SgNB-ID GlobalGNB-ID,
cpc-indicator CPCindicator,
max-no-of-pscells INTEGER (1..maxnoofPSCellCandidates),
estimatedArrivalProbability CHO-Probability OPTIONAL,
sgNBtoMeNBContainer SgNBtoMeNBContainer,
iE-Extensions ProtocolExtensionContainer { {CPC-target-SgNB-reqd-item-ExtIEs} } OPTIONAL,
...
}
CPC-target-SgNB-reqd-item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CPCinformation-CONF ::= SEQUENCE {
cpc-target-sgnb-list CPC-target-SgNB-conf-list,
iE-Extensions ProtocolExtensionContainer { {CPCinformation-CONF-ExtIEs} } OPTIONAL,
...
}
CPCinformation-CONF-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CPC-target-SgNB-conf-list ::= SEQUENCE (SIZE(1..maxnoofTargetSgNBs)) OF CPC-target-SgNB-conf-item
CPC-target-SgNB-conf-item ::= SEQUENCE {
target-SgNB-ID GlobalGNB-ID,
candidate-pscells CPACcandidatePSCells-list,
iE-Extensions ProtocolExtensionContainer { {CPC-target-SgNB-conf-item-ExtIEs} } OPTIONAL,
...
}
CPC-target-SgNB-conf-item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CPCinformation-NOTIFY ::= SEQUENCE {
cpc-indicator CPCdataforwarding,
iE-Extensions ProtocolExtensionContainer { {CPCinformation-NOTIFY-ExtIEs} } OPTIONAL,
...
}
CPCinformation-NOTIFY-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CPAinformation-MOD ::= SEQUENCE {
max-no-of-pscells INTEGER (1..maxnoofPSCellCandidates) OPTIONAL,
estimatedArrivalProbability CHO-Probability OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {CPAinformation-MOD-ExtIEs} } OPTIONAL,
...
}
CPAinformation-MOD-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CPCupdate-MOD ::= SEQUENCE {
cpc-target-sgnb-list CPC-target-SgNB-mod-list,
iE-Extensions ProtocolExtensionContainer { {CPCupdate-MOD-ExtIEs} } OPTIONAL,
...
}
CPCupdate-MOD-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CPC-target-SgNB-mod-list ::= SEQUENCE (SIZE(1..maxnoofTargetSgNBs)) OF CPC-target-SgNB-mod-item
CPC-target-SgNB-mod-item ::= SEQUENCE {
target-SgNB-ID GlobalGNB-ID,
candidate-pscells CPACcandidatePSCells-list,
iE-Extensions ProtocolExtensionContainer { {CPC-target-SgNB-mod-item-ExtIEs} } OPTIONAL,
...
}
CPC-target-SgNB-mod-item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CPAinformation-MOD-ACK ::= SEQUENCE {
candidate-pscells CPACcandidatePSCells-list,
iE-Extensions ProtocolExtensionContainer { {CPAinformation-MOD-ACK-ExtIEs} } OPTIONAL,
...
}
CPAinformation-MOD-ACK-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CPACinformation-REQD ::= SEQUENCE {
candidate-pscells CPACcandidatePSCells-list,
iE-Extensions ProtocolExtensionContainer { { CPACinformation-REQD-ExtIEs} } OPTIONAL,
...
}
CPACinformation-REQD-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CHO-DC-EarlyDataForwarding ::= ENUMERATED {stop, ...}
CHO-DC-Indicator ::= ENUMERATED {true, ..., coordination-only}
CNTypeRestrictions ::= SEQUENCE (SIZE(1.. maxnoofEPLMNsPlusOne)) OF CNTypeRestrictionsItem
CNTypeRestrictionsItem ::= SEQUENCE {
plmn-Id PLMN-Identity,
cn-type ENUMERATED {fiveGC-forbidden, ... , epc-forbidden},
iE-Extensions ProtocolExtensionContainer { {CNTypeRestrictionsItem-ExtIEs} } OPTIONAL,
...
}
CNTypeRestrictionsItem-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CoMPHypothesisSet ::= SEQUENCE (SIZE(1..maxnoofCoMPCells)) OF CoMPHypothesisSetItem
CoMPHypothesisSetItem ::= SEQUENCE {
coMPCellID ECGI,
coMPHypothesis BIT STRING (SIZE(6..4400, ...)),
iE-Extensions ProtocolExtensionContainer { {CoMPHypothesisSetItem-ExtIEs} } OPTIONAL,
...
}
CoMPHypothesisSetItem-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CoMPInformation ::= SEQUENCE {
coMPInformationItem CoMPInformationItem,
coMPInformationStartTime CoMPInformationStartTime,
iE-Extensions ProtocolExtensionContainer { {CoMPInformation-ExtIEs} } OPTIONAL,
...
}
CoMPInformation-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CoMPInformationItem ::= SEQUENCE (SIZE(1..maxnoofCoMPHypothesisSet)) OF
SEQUENCE {
coMPHypothesisSet CoMPHypothesisSet,
benefitMetric BenefitMetric,
iE-Extensions ProtocolExtensionContainer { {CoMPInformationItem-ExtIEs} } OPTIONAL,
...
}
CoMPInformationItem-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CoMPInformationStartTime ::= SEQUENCE (SIZE(0..1)) OF
SEQUENCE {
startSFN INTEGER (0..1023, ...),
startSubframeNumber INTEGER (0..9, ...),
iE-Extensions ProtocolExtensionContainer { {CoMPInformationStartTime-ExtIEs} } OPTIONAL,
...
}
CoMPInformationStartTime-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CompositeAvailableCapacity ::= SEQUENCE {
cellCapacityClassValue CellCapacityClassValue OPTIONAL,
capacityValue CapacityValue,
iE-Extensions ProtocolExtensionContainer { {CompositeAvailableCapacity-ExtIEs} } OPTIONAL,
...
}
CompositeAvailableCapacity-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CompositeAvailableCapacityGroup ::= SEQUENCE {
dL-CompositeAvailableCapacity CompositeAvailableCapacity,
uL-CompositeAvailableCapacity CompositeAvailableCapacity,
iE-Extensions ProtocolExtensionContainer { {CompositeAvailableCapacityGroup-ExtIEs} } OPTIONAL,
...
}
CompositeAvailableCapacityGroup-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
Correlation-ID ::= OCTET STRING (SIZE (4))
COUNTvalue ::= SEQUENCE {
pDCP-SN PDCP-SN,
hFN HFN,
iE-Extensions ProtocolExtensionContainer { {COUNTvalue-ExtIEs} } OPTIONAL,
...
}
COUNTvalue-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
COUNTValueExtended ::= SEQUENCE {
pDCP-SNExtended PDCP-SNExtended,
hFNModified HFNModified,
iE-Extensions ProtocolExtensionContainer { {COUNTValueExtended-ExtIEs} } OPTIONAL,
...
}
COUNTValueExtended-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
COUNTvaluePDCP-SNlength18 ::= SEQUENCE {
pDCP-SNlength18 PDCP-SNlength18,
hFNforPDCP-SNlength18 HFNforPDCP-SNlength18,
iE-Extensions ProtocolExtensionContainer { {COUNTvaluePDCP-SNlength18-ExtIEs} } OPTIONAL,
...
}
COUNTvaluePDCP-SNlength18-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CoverageModificationList ::= SEQUENCE (SIZE (1..maxCellineNB)) OF CoverageModification-Item
CoverageModification-Item ::= SEQUENCE {
eCGI ECGI,
coverageState INTEGER (0..15, ...),
cellDeploymentStatusIndicator CellDeploymentStatusIndicator OPTIONAL,
cellReplacingInfo CellReplacingInfo OPTIONAL,
-- Included in case the Cell Deployment Status Indicator IE is present
...
}
CPTransportLayerInformation ::= CHOICE {
endpointIPAddress TransportLayerAddress,
endpointIPAddressAndPort TransportLayerAddressAndPort,
...
}
CriticalityDiagnostics ::= SEQUENCE {
procedureCode ProcedureCode OPTIONAL,
triggeringMessage TriggeringMessage OPTIONAL,
procedureCriticality Criticality OPTIONAL,
iEsCriticalityDiagnostics CriticalityDiagnostics-IE-List OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {CriticalityDiagnostics-ExtIEs} } OPTIONAL,
...
}
CriticalityDiagnostics-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF
SEQUENCE {
iECriticality Criticality,
iE-ID ProtocolIE-ID,
typeOfError TypeOfError,
iE-Extensions ProtocolExtensionContainer { {CriticalityDiagnostics-IE-List-ExtIEs} } OPTIONAL,
...
}
CriticalityDiagnostics-IE-List-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CRNTI ::= BIT STRING (SIZE (16))
CSGMembershipStatus ::= ENUMERATED {
member,
not-member
}
CSG-Id ::= BIT STRING (SIZE (27))
CSIReportList ::= SEQUENCE (SIZE(1..maxUEReport)) OF
SEQUENCE {
uEID UEID,
cSIReportPerCSIProcess CSIReportPerCSIProcess,
iE-Extensions ProtocolExtensionContainer { {CSIReportList-ExtIEs} } OPTIONAL,
...
}
CSIReportList-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CSIReportPerCSIProcess ::= SEQUENCE (SIZE(1.. maxCSIProcess)) OF
SEQUENCE {
cSIProcessConfigurationIndex INTEGER (1..7, ...),
cSIReportPerCSIProcessItem CSIReportPerCSIProcessItem,
iE-Extensions ProtocolExtensionContainer { {CSIReportPerCSIProcess-ExtIEs} } OPTIONAL,
...
}
CSIReportPerCSIProcess-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CSIReportPerCSIProcessItem ::= SEQUENCE (SIZE(1.. maxCSIReport)) OF
SEQUENCE {
rI INTEGER (1..8, ...),
widebandCQI WidebandCQI,
subbandSize SubbandSize,
subbandCQIList SubbandCQIList OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {CSIReportPerCSIProcessItem-ExtIEs} } OPTIONAL,
...
}
CSIReportPerCSIProcessItem-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CyclicPrefixDL ::= ENUMERATED {
normal,
extended,
...
}
CyclicPrefixUL ::= ENUMERATED {
normal,
extended,
...
}
CHOtrigger ::= ENUMERATED {
cho-initiation,
cho-replace,
...
}
CHOinformation-REQ ::= SEQUENCE {
cho-trigger CHOtrigger,
new-eNB-UE-X2AP-ID UE-X2AP-ID OPTIONAL
-- This IE shall be present if the cho-trigger IE is present and set to "CHO-replace" --,
new-eNB-UE-X2AP-ID-Extension UE-X2AP-ID-Extension OPTIONAL,
cHO-EstimatedArrivalProbability CHO-Probability OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { CHOinformation-REQ-ExtIEs} } OPTIONAL,
...
}
CHOinformation-REQ-ExtIEs X2AP-PROTOCOL-EXTENSION ::={
...
}
CHOinformation-ACK ::= SEQUENCE {
requestedTargetCellID ECGI,
maxCHOpreparations MaxCHOpreparations OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { CHOinformation-ACK-ExtIEs} } OPTIONAL,
...
}
CHOinformation-ACK-ExtIEs X2AP-PROTOCOL-EXTENSION ::={
...
}
CandidateCellsToBeCancelledList ::= SEQUENCE (SIZE (1..maxnoofCellsinCHO)) OF ECGI
CHO-Probability ::= INTEGER (1..100)
CHOinformation-AddReq ::= SEQUENCE {
source-eNB-ID GlobalENB-ID,
source-eNB-UE-X2AP-ID UE-X2AP-ID,
source-eNB-UE-X2AP-ID-Ext UE-X2AP-ID-Extension OPTIONAL,
cHO-EstimatedArrivalProbability CHO-Probability OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { CHOinformation-AddReq-ExtIEs} } OPTIONAL,
...
}
CHOinformation-AddReq-ExtIEs X2AP-PROTOCOL-EXTENSION ::={
...
}
CHOinformation-ModReq ::= SEQUENCE {
conditionalReconfig ENUMERATED {intra-mn-cho, ...},
cHO-EstimatedArrivalProbability CHO-Probability OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { CHOinformation-ModReq-ExtIEs} } OPTIONAL,
...
}
CHOinformation-ModReq-ExtIEs X2AP-PROTOCOL-EXTENSION ::={
...
}
CSI-RSTransmissionIndication ::= ENUMERATED {
activated,
deactivated,
...
}
-- D
DataTrafficResources ::= BIT STRING (SIZE(6..17600))
DataTrafficResourceIndication ::= SEQUENCE {
activationSFN INTEGER (0..1023),
sharedResourceType SharedResourceType,
reservedSubframePattern ReservedSubframePattern OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {DataTrafficResourceIndication-ExtIEs} } OPTIONAL,
...
}
DataTrafficResourceIndication-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
DAPSRequestInfo ::= SEQUENCE {
dAPSIndicator ENUMERATED {daps-HO-required, ...},
iE-Extensions ProtocolExtensionContainer { {DAPSRequestInfo-ExtIEs} } OPTIONAL,
...
}
DAPSRequestInfo-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
DAPSResponseInfo ::= SEQUENCE {
dAPSResponseIndicator ENUMERATED { daps-HO-accepted, daps-HO-not-accepted,...},
iE-Extensions ProtocolExtensionContainer { { DAPSResponseInfo-ExtIEs} } OPTIONAL,
...
}
DAPSResponseInfo-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
DeactivationIndication::= ENUMERATED {
deactivated,
...
}
DeliveryStatus ::= SEQUENCE {
highestSuccessDeliveredPDCPSN INTEGER (0..4095),
iE-Extensions ProtocolExtensionContainer { {DeliveryStatus-ExtIEs} } OPTIONAL,
...
}
DeliveryStatus-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
DesiredActNotificationLevel ::= ENUMERATED {none, e-rab, ue-level, ...}
DirectForwardingPathAvailability ::= ENUMERATED {direct-path-available, ...}
DL-ABS-status::= INTEGER (0..100)
DL-Forwarding ::= ENUMERATED {
dL-forwardingProposed,
...
}
DL-GBR-PRB-usage::= INTEGER (0..100)
DL-GBR-PRB-usage-for-MIMO::= INTEGER (0..100)
DL-non-GBR-PRB-usage::= INTEGER (0..100)
DL-non-GBR-PRB-usage-for-MIMO::= INTEGER (0..100)
DLResourceBitmapULandDLSharing ::= DataTrafficResources
DLResourcesULandDLSharing ::= CHOICE {
unchanged NULL,
changed DLResourceBitmapULandDLSharing,
...
}
DL-scheduling-PDCCH-CCE-usage::= INTEGER (0..100)
DL-Total-PRB-usage::= INTEGER (0..100)
DL-Total-PRB-usage-for-MIMO::= INTEGER (0..100)
DRB-ID ::= INTEGER (1..32)
DuplicationActivation::= ENUMERATED {active, inactive, ...}
DynamicDLTransmissionInformation ::= CHOICE {
naics-active DynamicNAICSInformation,
naics-inactive NULL,
...
}
DynamicNAICSInformation ::= SEQUENCE {
transmissionModes BIT STRING (SIZE(8)) OPTIONAL,
pB-information INTEGER(0..3) OPTIONAL,
pA-list SEQUENCE (SIZE(0..maxnoofPA)) OF PA-Values,
iE-Extensions ProtocolExtensionContainer { {DynamicNAICSInformation-ExtIEs} } OPTIONAL,
...
}
DynamicNAICSInformation-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- E
EARFCN ::= INTEGER (0..maxEARFCN)
EARFCNExtension ::= INTEGER(maxEARFCNPlusOne..newmaxEARFCN, ...)
ECGI ::= SEQUENCE {
pLMN-Identity PLMN-Identity,
eUTRANcellIdentifier EUTRANCellIdentifier,
iE-Extensions ProtocolExtensionContainer { {ECGI-ExtIEs} } OPTIONAL,
...
}
ECGI-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
EndcSONConfigurationTransfer ::= OCTET STRING
EnhancedRNTP ::= SEQUENCE {
enhancedRNTPBitmap BIT STRING (SIZE(12..8800, ...)),
rNTP-High-Power-Threshold RNTP-Threshold,
enhancedRNTPStartTime EnhancedRNTPStartTime OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {EnhancedRNTP-ExtIEs} } OPTIONAL,
...
}
EnhancedRNTP-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
EnhancedRNTPStartTime ::= SEQUENCE {
startSFN INTEGER (0..1023, ...),
startSubframeNumber INTEGER (0..9, ...),
iE-Extensions ProtocolExtensionContainer { {EnhancedRNTPStartTime-ExtIEs} } OPTIONAL,
...
}
EnhancedRNTPStartTime-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ENB-ID ::= CHOICE {
macro-eNB-ID BIT STRING (SIZE (20)),
home-eNB-ID BIT STRING (SIZE (28)),
... ,
short-Macro-eNB-ID BIT STRING (SIZE(18)),
long-Macro-eNB-ID BIT STRING (SIZE(21))
}
EncryptionAlgorithms ::= BIT STRING (SIZE (16, ...))
EN-DC-ResourceConfiguration ::= SEQUENCE {
pDCPatSgNB ENUMERATED {present, not-present, ...},
mCGresources ENUMERATED {present, not-present, ...},
sCGresources ENUMERATED {present, not-present, ...},
iE-Extensions ProtocolExtensionContainer { {EN-DC-ResourceConfigurationExtIEs} } OPTIONAL,
...
}
EN-DC-ResourceConfigurationExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
EPCHandoverRestrictionListContainer ::= OCTET STRING
-- This octets of the OCTET STRING contain the Handover Restriction List IE as specified in TS 36.413 [4]. --
EPLMNs ::= SEQUENCE (SIZE(1..maxnoofEPLMNs)) OF PLMN-Identity
ERABActivityNotifyItemList ::= SEQUENCE (SIZE (0..maxnoofBearers)) OF ERABActivityNotifyItem
ERABActivityNotifyItem ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
activityReport UserPlaneTrafficActivityReport,
iE-Extensions ProtocolExtensionContainer { {ERABActivityNotifyItem-ExtIEs} } OPTIONAL,
...
}
ERABActivityNotifyItem-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RAB-ID ::= INTEGER (0..15, ...)
E-RAB-Level-QoS-Parameters ::= SEQUENCE {
qCI QCI,
allocationAndRetentionPriority AllocationAndRetentionPriority,
gbrQosInformation GBR-QosInformation OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RAB-Level-QoS-Parameters-ExtIEs} } OPTIONAL,
...
}
E-RAB-Level-QoS-Parameters-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
-- Extended for introduction of downlink and uplink packet loss rate for enhanced Voice performance –
{ ID id-DownlinkPacketLossRate CRITICALITY ignore EXTENSION Packet-LossRate PRESENCE optional}|
{ ID id-UplinkPacketLossRate CRITICALITY ignore EXTENSION Packet-LossRate PRESENCE optional},
...
}
E-RAB-List ::= SEQUENCE (SIZE(1.. maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RAB-ItemIEs} }
E-RAB-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RAB-Item CRITICALITY ignore TYPE E-RAB-Item PRESENCE mandatory },
...
}
E-RAB-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
cause Cause,
iE-Extensions ProtocolExtensionContainer { {E-RAB-Item-ExtIEs} } OPTIONAL,
...
}
E-RAB-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABsSubjectToEarlyStatusTransfer-List ::= SEQUENCE (SIZE (1.. maxnoofBearers)) OF E-RABsSubjectToEarlyStatusTransfer-Item
E-RABsSubjectToEarlyStatusTransfer-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
fIRST-DL-COUNTValue COUNTvalue,
fIRST-DL-COUNTValueExtended COUNTValueExtended OPTIONAL,
fIRST-DL-COUNTValueforPDCPSNLength18 COUNTvaluePDCP-SNlength18 OPTIONAL,
iE-Extension ProtocolExtensionContainer { { E-RABsSubjectToEarlyStatusTransfer-Item-ExtIEs} } OPTIONAL,
...
}
E-RABsSubjectToEarlyStatusTransfer-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABsSubjectToDLDiscarding-List ::= SEQUENCE (SIZE (1.. maxnoofBearers)) OF E-RABsSubjectToDLDiscarding-Item
E-RABsSubjectToDLDiscarding-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
dISCARD-DL-COUNTValue COUNTvalue,
dISCARD-DL-COUNTValueExtended COUNTValueExtended OPTIONAL,
dISCARD-DL-COUNTValueforPDCPSNLength18 COUNTvaluePDCP-SNlength18 OPTIONAL,
iE-Extension ProtocolExtensionContainer { { E-RABsSubjectToDLDiscarding-Item-ExtIEs} } OPTIONAL,
...
}
E-RABsSubjectToDLDiscarding-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABUsageReportList ::= SEQUENCE (SIZE(1..maxnooftimeperiods)) OF ProtocolIE-Single-Container { {E-RABUsageReport-ItemIEs} }
E-RABUsageReport-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABUsageReport-Item CRITICALITY ignore TYPE E-RABUsageReport-Item PRESENCE mandatory },
...
}
E-RABUsageReport-Item ::= SEQUENCE {
startTimeStamp OCTET STRING (SIZE(4)),
endTimeStamp OCTET STRING (SIZE(4)),
usageCountUL INTEGER (0..18446744073709551615),
usageCountDL INTEGER (0..18446744073709551615),
iE-Extensions ProtocolExtensionContainer { {E-RABUsageReport-Item-ExtIEs} } OPTIONAL,
...
}
E-RABUsageReport-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
Ethernet-Type ::= ENUMERATED {
true,
...
}
EUTRA-Mode-Info ::= CHOICE {
fDD FDD-Info,
tDD TDD-Info,
...
}
EUTRANCellIdentifier ::= BIT STRING (SIZE (28))
EUTRANTraceID ::= OCTET STRING (SIZE (8))
EventType ::= ENUMERATED{
change-of-serving-cell,
...
}
ExpectedUEBehaviour ::= SEQUENCE {
expectedActivity ExpectedUEActivityBehaviour OPTIONAL,
expectedHOInterval ExpectedHOInterval OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {ExpectedUEBehaviour-ExtIEs} } OPTIONAL,
...
}
ExpectedUEBehaviour-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ExpectedUEActivityBehaviour ::= SEQUENCE {
expectedActivityPeriod ExpectedActivityPeriod OPTIONAL,
expectedIdlePeriod ExpectedIdlePeriod OPTIONAL,
sourceofUEActivityBehaviourInformation SourceOfUEActivityBehaviourInformation OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {ExpectedUEActivityBehaviour-ExtIEs} } OPTIONAL,
...
}
ExpectedUEActivityBehaviour-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ExpectedActivityPeriod ::= INTEGER (1..30|40|50|60|80|100|120|150|180|181,...)
ExpectedIdlePeriod ::= INTEGER (1..30|40|50|60|80|100|120|150|180|181,...)
ExpectedHOInterval ::= ENUMERATED {
sec15, sec30, sec60, sec90, sec120, sec180, long-time,
...
}
ExtendedULInterferenceOverloadInfo ::= SEQUENCE {
associatedSubframes BIT STRING (SIZE (5)),
extended-ul-InterferenceOverloadIndication UL-InterferenceOverloadIndication,
iE-Extensions ProtocolExtensionContainer { {ExtendedULInterferenceOverloadInfo-ExtIEs} } OPTIONAL,
...
}
ExtendedULInterferenceOverloadInfo-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ExtendedBitRate ::= INTEGER (10000000001..4000000000000,...)
-- F
F1CTrafficContainer ::= OCTET STRING
FastMCGRecovery ::= SEQUENCE {
rrcContainer RRCContainer OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {FastMCGRecovery-ExtIEs} } OPTIONAL,
...
}
FastMCGRecovery-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
FDD-Info ::= SEQUENCE {
uL-EARFCN EARFCN,
dL-EARFCN EARFCN,
uL-Transmission-Bandwidth Transmission-Bandwidth,
dL-Transmission-Bandwidth Transmission-Bandwidth,
iE-Extensions ProtocolExtensionContainer { {FDD-Info-ExtIEs} } OPTIONAL,
...
}
FDD-Info-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-UL-EARFCNExtension CRITICALITY reject EXTENSION EARFCNExtension PRESENCE optional}|
{ ID id-DL-EARFCNExtension CRITICALITY reject EXTENSION EARFCNExtension PRESENCE optional}|
{ ID id-OffsetOfNbiotChannelNumberToDL-EARFCN CRITICALITY reject EXTENSION OffsetOfNbiotChannelNumberToEARFCN PRESENCE optional}|
{ ID id-OffsetOfNbiotChannelNumberToUL-EARFCN CRITICALITY reject EXTENSION OffsetOfNbiotChannelNumberToEARFCN PRESENCE optional}|
{ ID id-NRS-NSSS-PowerOffset CRITICALITY ignore EXTENSION NRS-NSSS-PowerOffset PRESENCE optional}|
{ ID id-NSSS-NumOccasionDifferentPrecoder CRITICALITY ignore EXTENSION NSSS-NumOccasionDifferentPrecoder PRESENCE optional},
...
}
FDD-InfoNeighbourServedNRCell-Information ::= SEQUENCE {
ul-NRFreqInfo NRFreqInfo,
dl-NRFreqInfo NRFreqInfo,
iE-Extensions ProtocolExtensionContainer { {FDD-InfoNeighbourServedNRCell-Information-ExtIEs} } OPTIONAL,
...
}
FDD-InfoNeighbourServedNRCell-Information-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-ULCarrierList CRITICALITY ignore EXTENSION NRCarrierList PRESENCE optional },
...
}
FiveQI ::= INTEGER (0..255, ...)
ForbiddenInterRATs ::= ENUMERATED {
all,
geran,
utran,
cdma2000,
...,
geranandutran,
cdma2000andutran
}
ForbiddenTAs ::= SEQUENCE (SIZE(1.. maxnoofEPLMNsPlusOne)) OF ForbiddenTAs-Item
ForbiddenTAs-Item ::= SEQUENCE {
pLMN-Identity PLMN-Identity,
forbiddenTACs ForbiddenTACs,
iE-Extensions ProtocolExtensionContainer { {ForbiddenTAs-Item-ExtIEs} } OPTIONAL,
...
}
ForbiddenTAs-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ForbiddenTACs ::= SEQUENCE (SIZE(1..maxnoofForbTACs)) OF TAC
ForbiddenLAs ::= SEQUENCE (SIZE(1..maxnoofEPLMNsPlusOne)) OF ForbiddenLAs-Item
ForbiddenLAs-Item ::= SEQUENCE {
pLMN-Identity PLMN-Identity,
forbiddenLACs ForbiddenLACs,
iE-Extensions ProtocolExtensionContainer { {ForbiddenLAs-Item-ExtIEs} } OPTIONAL,
...
}
ForbiddenLAs-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ForbiddenLACs ::= SEQUENCE (SIZE(1..maxnoofForbLACs)) OF LAC
Fourframes ::= BIT STRING (SIZE (24))
FreqBandIndicator ::= INTEGER (1..256, ...)
FreqBandIndicatorPriority ::= ENUMERATED {
not-broadcasted,
broadcasted,
...
}
FreqBandNrItem ::= SEQUENCE {
freqBandIndicatorNr INTEGER (1..1024,...),
supportedSULBandList SEQUENCE (SIZE(0..maxnoofNrCellBands)) OF SupportedSULFreqBandItem,
iE-Extensions ProtocolExtensionContainer { {FreqBandNrItem-ExtIEs} } OPTIONAL,
...
}
FreqBandNrItem-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
FrequencyShift7p5khz ::= ENUMERATED {false, true, ...}
-- G
GBR-QosInformation ::= SEQUENCE {
e-RAB-MaximumBitrateDL BitRate,
e-RAB-MaximumBitrateUL BitRate,
e-RAB-GuaranteedBitrateDL BitRate,
e-RAB-GuaranteedBitrateUL BitRate,
iE-Extensions ProtocolExtensionContainer { {GBR-QosInformation-ExtIEs} } OPTIONAL,
...
}
GBR-QosInformation-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
-- Extension for maximum bitrate > 10Gbps --
{ ID id-extended-e-RAB-MaximumBitrateDL CRITICALITY ignore EXTENSION ExtendedBitRate PRESENCE optional}|
{ ID id-extended-e-RAB-MaximumBitrateUL CRITICALITY ignore EXTENSION ExtendedBitRate PRESENCE optional}|
{ ID id-extended-e-RAB-GuaranteedBitrateDL CRITICALITY ignore EXTENSION ExtendedBitRate PRESENCE optional}|
{ ID id-extended-e-RAB-GuaranteedBitrateUL CRITICALITY ignore EXTENSION ExtendedBitRate PRESENCE optional},
...
}
GlobalENB-ID ::= SEQUENCE {
pLMN-Identity PLMN-Identity,
eNB-ID ENB-ID,
iE-Extensions ProtocolExtensionContainer { {GlobalENB-ID-ExtIEs} } OPTIONAL,
...
}
GlobalENB-ID-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
GlobalGNB-ID ::= SEQUENCE {
pLMN-Identity PLMN-Identity,
gNB-ID GNB-ID,
iE-Extensions ProtocolExtensionContainer { {GlobalGNB-ID-ExtIEs} } OPTIONAL,
...
}
GlobalGNB-ID-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
Global-RAN-NODE-ID ::= CHOICE {
gNB GlobalGNB-ID,
choice-extension ProtocolIE-Single-Container { { Global-RAN-NODE-ID-ExtIEs} }
}
Global-RAN-NODE-ID-ExtIEs X2AP-PROTOCOL-IES ::= {
...
}
GNBOverloadInformation ::= ENUMERATED {overloaded, not-overloaded, ...}
GTPTLAs ::= SEQUENCE (SIZE(1.. maxnoofGTPTLAs)) OF GTPTLA-Item
GTPTLA-Item ::= SEQUENCE {
gTPTransportLayerAddresses TransportLayerAddress,
iE-Extensions ProtocolExtensionContainer { { GTPTLA-Item-ExtIEs } } OPTIONAL,
...
}
GTPTLA-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
GTPtunnelEndpoint ::= SEQUENCE {
transportLayerAddress TransportLayerAddress,
gTP-TEID GTP-TEI,
iE-Extensions ProtocolExtensionContainer { {GTPtunnelEndpoint-ExtIEs} } OPTIONAL,
...
}
GTPtunnelEndpoint-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ID id-QoS-Mapping-Information CRITICALITY reject EXTENSION QoS-Mapping-Information PRESENCE optional},
...
}
GTP-TEI ::= OCTET STRING (SIZE (4))
GUGroupIDList ::= SEQUENCE (SIZE (1..maxPools)) OF GU-Group-ID
GU-Group-ID ::= SEQUENCE {
pLMN-Identity PLMN-Identity,
mME-Group-ID MME-Group-ID,
iE-Extensions ProtocolExtensionContainer { {GU-Group-ID-ExtIEs} } OPTIONAL,
...
}
GU-Group-ID-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
GUMMEI ::= SEQUENCE {
gU-Group-ID GU-Group-ID,
mME-Code MME-Code,
iE-Extensions ProtocolExtensionContainer { {GUMMEI-ExtIEs} } OPTIONAL,
...
}
GUMMEI-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
GNB-ID ::= CHOICE {
gNB-ID BIT STRING (SIZE (22..32)),
...
}
-- H
HandoverReportType ::= ENUMERATED {
hoTooEarly,
hoToWrongCell,
...,
interRATpingpong,
interSystemPingpong
}
HandoverRestrictionList ::= SEQUENCE {
servingPLMN PLMN-Identity,
equivalentPLMNs EPLMNs OPTIONAL,
forbiddenTAs ForbiddenTAs OPTIONAL,
forbiddenLAs ForbiddenLAs OPTIONAL,
forbiddenInterRATs ForbiddenInterRATs OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {HandoverRestrictionList-ExtIEs} } OPTIONAL,
...
}
HandoverRestrictionList-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-NRrestrictioninEPSasSecondaryRAT CRITICALITY ignore EXTENSION NRrestrictioninEPSasSecondaryRAT PRESENCE optional}|
{ ID id-CNTypeRestrictions CRITICALITY ignore EXTENSION CNTypeRestrictions PRESENCE optional}|
{ ID id-NRrestrictionin5GS CRITICALITY ignore EXTENSION NRrestrictionin5GS PRESENCE optional}|
{ ID id-LastNG-RANPLMNIdentity CRITICALITY ignore EXTENSION PLMN-Identity PRESENCE optional}|
{ ID id-UnlicensedSpectrumRestriction CRITICALITY ignore EXTENSION UnlicensedSpectrumRestriction PRESENCE optional}|
{ ID id-RAT-Restrictions CRITICALITY ignore EXTENSION RAT-Restrictions PRESENCE optional},
...
}
HFN ::= INTEGER (0..1048575)
HFNModified ::= INTEGER (0..131071)
HFNforPDCP-SNlength18 ::= INTEGER (0..16383)
HWLoadIndicator ::= SEQUENCE {
dLHWLoadIndicator LoadIndicator,
uLHWLoadIndicator LoadIndicator,
iE-Extensions ProtocolExtensionContainer { {HWLoadIndicator-ExtIEs} } OPTIONAL,
...
}
HWLoadIndicator-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- I
IABNodeIndication ::= ENUMERATED {true,...}
IMSvoiceEPSfallbackfrom5G ::= ENUMERATED {
true,
...
}
IntegrityProtectionAlgorithms ::= BIT STRING (SIZE (16, ...))
IntegrityProtectionIndication ::= ENUMERATED {
required,
preferred,
notneeded,
...
}
IntegrityProtectionResult ::= ENUMERATED {
performed,
notperformed,
...
}
IntendedTDD-DL-ULConfiguration-NR ::= OCTET STRING
InterfaceInstanceIndication ::= INTEGER (0..255, ...)
InterfacesToTrace ::= BIT STRING (SIZE (8))
InvokeIndication ::= ENUMERATED{
abs-information,
...,
naics-information-start,
naics-information-stop
}
-- J
-- K
Key-eNodeB-Star ::= BIT STRING (SIZE(256))
-- L
LastVisitedPSCell-Item ::= OCTET STRING
LAC ::= OCTET STRING (SIZE (2)) --(EXCEPT ('0000'H|'FFFE'H))
LastVisitedCell-Item ::= CHOICE {
e-UTRAN-Cell LastVisitedEUTRANCellInformation,
uTRAN-Cell LastVisitedUTRANCellInformation,
gERAN-Cell LastVisitedGERANCellInformation,
...,
nG-RAN-Cell LastVisitedNGRANCellInformation
}
LastVisitedEUTRANCellInformation ::= SEQUENCE {
global-Cell-ID ECGI,
cellType CellType,
time-UE-StayedInCell Time-UE-StayedInCell,
iE-Extensions ProtocolExtensionContainer { {LastVisitedEUTRANCellInformation-ExtIEs} } OPTIONAL,
...
}
LastVisitedEUTRANCellInformation-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
-- Extension for Rel-11 to support enhanced granularity for time UE stayed in cell --
{ ID id-Time-UE-StayedInCell-EnhancedGranularity CRITICALITY ignore EXTENSION Time-UE-StayedInCell-EnhancedGranularity PRESENCE optional}|
{ ID id-HO-cause CRITICALITY ignore EXTENSION Cause PRESENCE optional}|
{ ID id-PSCell-UE-HistoryInformation CRITICALITY ignore EXTENSION PSCell-UE-HistoryInformation PRESENCE optional},
...
}
LastVisitedGERANCellInformation ::= CHOICE {
undefined NULL,
...
}
LastVisitedNGRANCellInformation ::= OCTET STRING
LastVisitedUTRANCellInformation ::= OCTET STRING
LCID ::= INTEGER(1..32, ...)
LHN-ID ::= OCTET STRING(SIZE (32..256))
Links-to-log ::= ENUMERATED {uplink, downlink, both-uplink-and-downlink, ...}
LoadIndicator ::= ENUMERATED {
lowLoad,
mediumLoad,
highLoad,
overLoad,
...
}
LocationInformationSgNB ::= SEQUENCE {
pSCell-id NRCGI,
iE-Extensions ProtocolExtensionContainer { {LocationInformationSgNB-ExtIEs} } OPTIONAL,
...
}
LocationInformationSgNB-ExtIEs X2AP-PROTOCOL-EXTENSION ::={
...
}
LocationInformationSgNBReporting ::= ENUMERATED {
pSCell,
...
}
LocationReportingInformation ::= SEQUENCE {
eventType EventType,
reportArea ReportArea,
iE-Extensions ProtocolExtensionContainer { {LocationReportingInformation-ExtIEs} } OPTIONAL,
...
}
LocationReportingInformation-ExtIEs X2AP-PROTOCOL-EXTENSION ::={
{ ID id-AdditionLocationInformation CRITICALITY ignore EXTENSION AdditionLocationInformation PRESENCE optional},
...
}
LowerLayerPresenceStatusChange ::= ENUMERATED {
release-lower-layers,
re-establish-lower-layers,
suspend-lower-layers,
resume-lower-layers,
...
}
-- M
M1PeriodicReporting ::= SEQUENCE {
reportInterval ReportIntervalMDT,
reportAmount ReportAmountMDT,
iE-Extensions ProtocolExtensionContainer { {M1PeriodicReporting-ExtIEs} } OPTIONAL,
...
}
M1PeriodicReporting-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
M1ReportingTrigger::= ENUMERATED{
periodic,
a2eventtriggered,
...,
a2eventtriggered-periodic
}
M1ThresholdEventA2 ::= SEQUENCE {
measurementThreshold MeasurementThresholdA2,
iE-Extensions ProtocolExtensionContainer { {M1ThresholdEventA2-ExtIEs} } OPTIONAL,
...
}
M1ThresholdEventA2-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
M3Configuration ::= SEQUENCE {
m3period M3period,
iE-Extensions ProtocolExtensionContainer { {M3Configuration-ExtIEs} } OPTIONAL,
...
}
M3Configuration-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
M3period ::= ENUMERATED {ms100, ms1000, ms10000, ... }
M4Configuration ::= SEQUENCE {
m4period M4period,
m4-links-to-log Links-to-log,
iE-Extensions ProtocolExtensionContainer { {M4Configuration-ExtIEs} } OPTIONAL,
...
}
M4Configuration-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
M4period ::= ENUMERATED {ms1024, ms2048, ms5120, ms10240, min1, ... }
M5Configuration ::= SEQUENCE {
m5period M5period,
m5-links-to-log Links-to-log,
iE-Extensions ProtocolExtensionContainer { {M5Configuration-ExtIEs} } OPTIONAL,
...
}
M5Configuration-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
M5period ::= ENUMERATED {ms1024, ms2048, ms5120, ms10240, min1, ... }
M6Configuration ::= SEQUENCE {
m6report-interval M6report-interval,
m6delay-threshold M6delay-threshold OPTIONAL,
-- This IE shall be present if the M6 Links to log IE is set to “uplink” or to “both-uplink-and-downlink” --
m6-links-to-log Links-to-log,
iE-Extensions ProtocolExtensionContainer { {M6Configuration-ExtIEs} } OPTIONAL,
...
}
M6Configuration-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
M6report-interval ::= ENUMERATED { ms1024, ms2048, ms5120, ms10240, ... }
M6delay-threshold ::= ENUMERATED { ms30, ms40, ms50, ms60, ms70, ms80, ms90, ms100, ms150, ms300, ms500, ms750, ... }
M7Configuration ::= SEQUENCE {
m7period M7period,
m7-links-to-log Links-to-log,
iE-Extensions ProtocolExtensionContainer { {M7Configuration-ExtIEs} } OPTIONAL,
...
}
M7Configuration-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
M7period ::= INTEGER(1..60, ...)
MakeBeforeBreakIndicator::= ENUMERATED {true, ...}
ManagementBasedMDTallowed ::= ENUMERATED {allowed, ...}
Masked-IMEISV ::= BIT STRING (SIZE (64))
MaxCHOpreparations ::= INTEGER(1..8, ...)
MDT-Activation ::= ENUMERATED {
immediate-MDT-only,
immediate-MDT-and-Trace,
...
}
MDT-Configuration ::= SEQUENCE {
mdt-Activation MDT-Activation,
areaScopeOfMDT AreaScopeOfMDT,
measurementsToActivate MeasurementsToActivate,
m1reportingTrigger M1ReportingTrigger,
m1thresholdeventA2 M1ThresholdEventA2 OPTIONAL,
-- Included in case of event-triggered, or event-triggered periodic reporting for measurement M1
m1periodicReporting M1PeriodicReporting OPTIONAL,
-- Included in case of periodic, or event-triggered periodic reporting for measurement M1
iE-Extensions ProtocolExtensionContainer { {MDT-Configuration-ExtIEs} } OPTIONAL,
...
}
MDT-Configuration-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ID id-M3Configuration CRITICALITY ignore EXTENSION M3Configuration PRESENCE conditional}|
{ID id-M4Configuration CRITICALITY ignore EXTENSION M4Configuration PRESENCE conditional}|
{ID id-M5Configuration CRITICALITY ignore EXTENSION M5Configuration PRESENCE conditional}|
{ID id-MDT-Location-Info CRITICALITY ignore EXTENSION MDT-Location-Info PRESENCE optional}|
{ID id-SignallingBasedMDTPLMNList CRITICALITY ignore EXTENSION MDTPLMNList PRESENCE optional}|
{ID id-M6Configuration CRITICALITY ignore EXTENSION M6Configuration PRESENCE conditional}|
{ID id-M7Configuration CRITICALITY ignore EXTENSION M7Configuration PRESENCE conditional}|
{ ID id-BluetoothMeasurementConfiguration CRITICALITY ignore EXTENSION BluetoothMeasurementConfiguration PRESENCE optional}|
{ ID id-WLANMeasurementConfiguration CRITICALITY ignore EXTENSION WLANMeasurementConfiguration PRESENCE optional}|
{ ID id-SensorMeasurementConfiguration CRITICALITY ignore EXTENSION SensorMeasurementConfiguration PRESENCE optional},
...
}
MDTPLMNList ::= SEQUENCE (SIZE(1..maxnoofMDTPLMNs)) OF PLMN-Identity
MDT-Location-Info ::= BIT STRING (SIZE (8))
Measurement-ID ::= INTEGER (1..4095, ...)
Measurement-ID-ENDC ::= INTEGER (1..4095, ...)
MeasurementsToActivate::= BIT STRING (SIZE (8))
MeasurementThresholdA2 ::= CHOICE {
threshold-RSRP Threshold-RSRP,
threshold-RSRQ Threshold-RSRQ,
...
}
MeNBCoordinationAssistanceInformation ::= ENUMERATED{
coordination-not-required,
...
}
MeNBResourceCoordinationInformation ::= SEQUENCE {
eUTRA-Cell-ID ECGI,
uLCoordinationInformation BIT STRING (SIZE(6..4400, ...)),
dLCoordinationInformation BIT STRING (SIZE(6..4400, ...)) OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {MeNBResourceCoordinationInformationExtIEs} } OPTIONAL,
...
}
MeNBResourceCoordinationInformationExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-NRCGI CRITICALITY ignore EXTENSION NRCGI PRESENCE optional}|
{ ID id-MeNBCoordinationAssistanceInformation CRITICALITY reject EXTENSION MeNBCoordinationAssistanceInformation PRESENCE optional},
...
}
MeNBtoSeNBContainer ::= OCTET STRING
MME-Group-ID ::= OCTET STRING (SIZE (2))
MME-Code ::= OCTET STRING (SIZE (1))
MBMS-Service-Area-Identity-List ::= SEQUENCE (SIZE(1.. maxnoofMBMSServiceAreaIdentities)) OF MBMS-Service-Area-Identity
MBMS-Service-Area-Identity ::= OCTET STRING (SIZE (2))
MBSFN-Subframe-Infolist::= SEQUENCE (SIZE(1.. maxnoofMBSFN)) OF MBSFN-Subframe-Info
MBSFN-Subframe-Info ::= SEQUENCE {
radioframeAllocationPeriod RadioframeAllocationPeriod,
radioframeAllocationOffset RadioframeAllocationOffset,
subframeAllocation SubframeAllocation,
iE-Extensions ProtocolExtensionContainer { {MBSFN-Subframe-Info-ExtIEs} } OPTIONAL,
...
}
MBSFN-Subframe-Info-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
MDT-ConfigurationNR ::= OCTET STRING
MobilityParametersModificationRange ::= SEQUENCE {
handoverTriggerChangeLowerLimit INTEGER (-20..20),
handoverTriggerChangeUpperLimit INTEGER (-20..20),
...
}
MobilityParametersInformation ::= SEQUENCE {
handoverTriggerChange INTEGER (-20..20),
...
}
MultibandInfoList ::= SEQUENCE (SIZE(1..maxnoofBands)) OF BandInfo
MessageOversizeNotification ::= SEQUENCE {
maximumCellListSize MaximumCellListSize,
iE-Extensions ProtocolExtensionContainer { {MessageOversizeNotification-ExtIEs} } OPTIONAL,
...
}
MessageOversizeNotification-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
MaximumCellListSize ::= INTEGER(1..16384, ...)
BandInfo ::= SEQUENCE {
freqBandIndicator FreqBandIndicator,
iE-Extensions ProtocolExtensionContainer { {BandInfo-ExtIEs} } OPTIONAL,
...
}
BandInfo-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
MeNBtoSgNBContainer ::= OCTET STRING
SplitSRBs ::= ENUMERATED {srb1, srb2, srb1and2, ...}
SplitSRB ::= SEQUENCE {
rrcContainer RRCContainer OPTIONAL,
srbType SRBType,
deliveryStatus DeliveryStatus OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {SplitSRB-ExtIEs} } OPTIONAL,
...
}
SplitSRB-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- N
NBIoT-UL-DL-AlignmentOffset ::= ENUMERATED {
khz-7dot5,
khz0,
khz7dot5,
...
}
NBIoT-RLF-Report-Container ::= OCTET STRING
Neighbour-Information ::= SEQUENCE (SIZE (0..maxnoofNeighbours)) OF SEQUENCE {
eCGI ECGI,
pCI PCI,
eARFCN EARFCN,
iE-Extensions ProtocolExtensionContainer { {Neighbour-Information-ExtIEs} } OPTIONAL,
...
}
Neighbour-Information-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-NeighbourTAC CRITICALITY ignore EXTENSION TAC PRESENCE optional}|
{ ID id-eARFCNExtension CRITICALITY reject EXTENSION EARFCNExtension PRESENCE optional},
...
}
NextHopChainingCount ::= INTEGER (0..7)
NewDRBIDrequest::= ENUMERATED {true, ...}
Number-of-Antennaports ::= ENUMERATED {
an1,
an2,
an4,
...
}
NRCapacityValue ::= SEQUENCE {
capacityValue INTEGER (0..100),
ssbAreaCapacityValue-List SSBAreaCapacityValue-List OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { NRCapacityValue-ExtIEs} } OPTIONAL,
...
}
NRCapacityValue-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
NRCarrierList ::= SEQUENCE (SIZE(1..maxnoofNRSCSs)) OF NRCarrierItem
NRCarrierItem ::= SEQUENCE {
carrierSCS NRSCS,
offsetToCarrier INTEGER (0..2199, ...),
carrierBandwidth INTEGER (0..maxnoofNRPhysicalResourceBlocks, ...),
iE-Extension ProtocolExtensionContainer { {NRCarrierItem-ExtIEs} } OPTIONAL,
...
}
NRCarrierItem-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
NRCellCapacityClassValue ::= INTEGER (1..100, ...)
NRCellPRACHConfig ::= OCTET STRING
NRCompositeAvailableCapacityGroup ::= SEQUENCE {
compositeAvailableCapacityDL NRCompositeAvailableCapacity,
compositeAvailableCapacityUL NRCompositeAvailableCapacity,
iE-Extensions ProtocolExtensionContainer { {NRCompositeAvailableCapacityGroup-ExtIEs} } OPTIONAL,
...
}
NRCompositeAvailableCapacityGroup-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
NRCompositeAvailableCapacity ::= SEQUENCE {
cellCapacityClassValue NRCellCapacityClassValue OPTIONAL,
capacityValue NRCapacityValue,
iE-Extensions ProtocolExtensionContainer { {NRCompositeAvailableCapacity-ExtIEs} } OPTIONAL,
...
}
NRCompositeAvailableCapacity-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
NRFreqInfo ::= SEQUENCE{
nRARFCN INTEGER (0.. 3279165),
freqBandListNr SEQUENCE (SIZE(1..maxnoofNrCellBands)) OF FreqBandNrItem,
sULInformation SULInformation OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {NRFreqInfo-ExtIEs} } OPTIONAL,
...
}
NRFreqInfo-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-FrequencyShift7p5khz CRITICALITY ignore EXTENSION FrequencyShift7p5khz PRESENCE optional},
...
}
NRCellIdentifier ::= BIT STRING (SIZE (36))
NRCGI ::= SEQUENCE {
pLMN-Identity PLMN-Identity,
nRcellIdentifier NRCellIdentifier,
iE-Extensions ProtocolExtensionContainer { {NRCGI-ExtIEs} } OPTIONAL,
...
}
NRCGI-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
NRRACHReportContainer ::= OCTET STRING
NRRACHReportInformation ::= SEQUENCE (SIZE(1.. maxnoofRACHReports)) OF NRRACHReportList-Item
NRRACHReportList-Item ::= SEQUENCE {
nRRACHReport NRRACHReportContainer,
uEAssitantIdentifier SgNB-UE-X2AP-ID OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { NRRACHReportList-Item-ExtIEs} } OPTIONAL,
...
}
NRRACHReportList-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
NRNeighbour-Information ::= SEQUENCE (SIZE (1.. maxofNRNeighbours))OF SEQUENCE {
nrpCI NRPCI,
nrCellID NRCGI,
fiveGS-TAC FiveGS-TAC OPTIONAL,
configured-TAC TAC OPTIONAL,
measurementTimingConfiguration OCTET STRING,
nRNeighbourModeInfo CHOICE {
fdd FDD-InfoNeighbourServedNRCell-Information,
tdd TDD-InfoNeighbourServedNRCell-Information,
...
},
iE-Extensions ProtocolExtensionContainer { {NRNeighbour-Information-ExtIEs} } OPTIONAL,
...
}
NRNeighbour-Information-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ID id-CSI-RSTransmissionIndication CRITICALITY ignore EXTENSION CSI-RSTransmissionIndication PRESENCE optional}|
{ID id-SSB-PositionsInBurst CRITICALITY ignore EXTENSION SSB-PositionsInBurst PRESENCE optional}|
{ID id-NRCellPRACHConfig CRITICALITY ignore EXTENSION NRCellPRACHConfig PRESENCE optional}|
{ID id-Additional-Measurement-Timing-Configuration-List CRITICALITY ignore EXTENSION Additional-Measurement-Timing-Configuration-List PRESENCE optional },
...
}
NPRACHConfiguration::= SEQUENCE {
fdd-or-tdd CHOICE {
fdd NPRACHConfiguration-FDD,
tdd NPRACHConfiguration-TDD,
...
}, iE-Extensions ProtocolExtensionContainer { { NPRACHConfiguration-ExtIEs} } OPTIONAL,
...
}
NPRACHConfiguration-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
NPRACHConfiguration-FDD::= SEQUENCE {
nprach-CP-length NPRACH-CP-Length,
anchorCarrier-NPRACHConfig OCTET STRING,
anchorCarrier-EDT-NPRACHConfig OCTET STRING OPTIONAL,
anchorCarrier-Format2-NPRACHConfig OCTET STRING OPTIONAL,
anchorCarrier-Format2-EDT-NPRACHConfig OCTET STRING OPTIONAL,
non-anchorCarrier-NPRACHConfig OCTET STRING OPTIONAL,
non-anchorCarrier-Format2-NPRACHConfig OCTET STRING OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { NPRACHConfiguration-FDD-ExtIEs} } OPTIONAL,
...
}
NPRACHConfiguration-FDD-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
NPRACHConfiguration-TDD::= SEQUENCE {
nprach-preambleFormat NPRACH-preambleFormat,
anchorCarrier-NPRACHConfigTDD OCTET STRING,
non-anchorCarrierFequencyConfiglist Non-AnchorCarrierFrequencylist OPTIONAL,
non-anchorCarrier-NPRACHConfigTDD OCTET STRING OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { NPRACHConfiguration-TDD-ExtIEs} } OPTIONAL,
...
}
NPRACHConfiguration-TDD-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
NPRACH-CP-Length::= ENUMERATED {
us66dot7,
us266dot7,
...
}
NPRACH-preambleFormat::= ENUMERATED {fmt0,fmt1,fmt2,fmt0a,fmt1a,...}
-- WS modification: define a dedicated type for dissection
Non-anchorCarrierFrequency ::= OCTET STRING
Non-AnchorCarrierFrequencylist ::= SEQUENCE (SIZE(1..maxnoofNonAnchorCarrierFreqConfig)) OF
SEQUENCE {
-- WS modification: define a dedicated type for dissection
-- non-anchorCarrioerFrquency OCTET STRING,
non-anchorCarrioerFrquency Non-anchorCarrierFrequency,
iE-Extensions ProtocolExtensionContainer { { Non-AnchorCarrierFrequencylist-ExtIEs} } OPTIONAL,
...
}
Non-AnchorCarrierFrequencylist-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
NRPCI ::= INTEGER (0..1007)
NRrestrictioninEPSasSecondaryRAT ::= ENUMERATED {
nRrestrictedinEPSasSecondaryRAT,
...
}
MeasurementResultforNRCellsPossiblyAggregated ::= SEQUENCE (SIZE(1.. maxnoofReportedNRCellsPossiblyAggregated)) OF MeasurementResultforNRCellsPossiblyAggregated-Item
MeasurementResultforNRCellsPossiblyAggregated-Item ::= SEQUENCE {
cellID NRCGI,
nrCompositeAvailableCapacityGroup NRCompositeAvailableCapacityGroup OPTIONAL,
iE-Extension ProtocolExtensionContainer { { MeasurementResultforNRCellsPossiblyAggregated-Item-ExtIEs} } OPTIONAL,
...
}
MeasurementResultforNRCellsPossiblyAggregated-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
NRRadioResourceStatus ::= SEQUENCE {
ssbAreaRadioResourceStatus-List SSBAreaRadioResourceStatus-List,
iE-Extensions ProtocolExtensionContainer { {NRRadioResourceStatus-ExtIEs} } OPTIONAL,
...
}
NRRadioResourceStatus-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-MIMOPRBusageInformation CRITICALITY ignore EXTENSION MIMOPRBusageInformation PRESENCE optional },
...
}
MIMOPRBusageInformation ::= SEQUENCE {
dl-GBR-PRB-usage-for-MIMO DL-GBR-PRB-usage-for-MIMO,
ul-GBR-PRB-usage-for-MIMO UL-GBR-PRB-usage-for-MIMO,
dl-non-GBR-PRB-usage-for-MIMO DL-non-GBR-PRB-usage-for-MIMO,
ul-non-GBR-PRB-usage-for-MIMO UL-non-GBR-PRB-usage-for-MIMO,
dl-Total-PRB-usage-for-MIMO DL-Total-PRB-usage-for-MIMO,
ul-Total-PRB-usage-for-MIMO UL-Total-PRB-usage-for-MIMO,
iE-Extensions ProtocolExtensionContainer { { MIMOPRBusageInformation-ExtIEs} } OPTIONAL,
...
}
MIMOPRBusageInformation-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
NRrestrictionin5GS ::= ENUMERATED {
nRrestrictedin5GS,
...
}
NRencryptionAlgorithms ::= BIT STRING (SIZE (16,...))
NRintegrityProtectionAlgorithms ::= BIT STRING (SIZE (16,...))
NR-TxBW ::= SEQUENCE {
nRSCS NRSCS,
nRNRB NRNRB,
iE-Extensions ProtocolExtensionContainer { {NR-TxBW-ExtIEs} } OPTIONAL,
...
}
NR-TxBW-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
NRNRB ::= ENUMERATED { nrb11, nrb18, nrb24, nrb25, nrb31, nrb32, nrb38, nrb51, nrb52, nrb65, nrb66, nrb78, nrb79, nrb93, nrb106, nrb107, nrb121, nrb132, nrb133, nrb135, nrb160, nrb162, nrb189, nrb216, nrb217, nrb245, nrb264, nrb270, nrb273, ... , nrb44, nrb58, nrb92, nrb119, nrb188, nrb242}
NRSCS ::= ENUMERATED { scs15, scs30, scs60, scs120, ...}
NRS-NSSS-PowerOffset ::= ENUMERATED { minusThree, zero, three, ...}
FiveGS-TAC ::= OCTET STRING (SIZE (3))
NRUeReport ::= SEQUENCE {
uENRMeasurements RRCContainer,
iE-Extensions ProtocolExtensionContainer { { NRUeReport-ExtIEs} } OPTIONAL,
...
}
NRUeReport-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
NRUESidelinkAggregateMaximumBitRate ::= SEQUENCE {
uESidelinkAggregateMaximumBitRate BitRate,
iE-Extensions ProtocolExtensionContainer { { NRUESidelinkAggregateMaximumBitRate-ExtIEs} } OPTIONAL,
...
}
NRUESidelinkAggregateMaximumBitRate-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
NRUESecurityCapabilities ::= SEQUENCE {
nRencryptionAlgorithms NRencryptionAlgorithms,
nRintegrityProtectionAlgorithms NRintegrityProtectionAlgorithms,
iE-Extensions ProtocolExtensionContainer { {NRUESecurityCapabilities-ExtIEs} } OPTIONAL,
...
}
NRUESecurityCapabilities-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
NSSS-NumOccasionDifferentPrecoder ::= ENUMERATED { two, four, eight, ...}
NRV2XServicesAuthorized ::= SEQUENCE {
vehicleUE VehicleUE OPTIONAL,
pedestrianUE PedestrianUE OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {NRV2XServicesAuthorized-ExtIEs} } OPTIONAL,
...
}
NRV2XServicesAuthorized-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- O
OffsetOfNbiotChannelNumberToEARFCN ::= ENUMERATED {
minusTen,
minusNine,
minusEight,
minusSeven,
minusSix,
minusFive,
minusFour,
minusThree,
minusTwo,
minusOne,
minusZeroDotFive,
zero,
one,
two,
three,
four,
five,
six,
seven,
eight,
nine,
...,
minusEightDotFive,
minusFourDotFive,
threeDotFive,
sevenDotFive
}
Oneframe ::= BIT STRING (SIZE (6))
-- P
Packet-LossRate ::= INTEGER(0..1000)
PA-Values ::= ENUMERATED {
dB-6,
dB-4dot77,
dB-3,
dB-1dot77,
dB0,
dB1,
dB2,
dB3,
...
}
PC5QoSParameters ::= SEQUENCE {
pc5QoSFlowList PC5QoSFlowList,
pc5LinkAggregatedBitRates BitRate OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { PC5QoSParameters-ExtIEs} } OPTIONAL,
...
}
PC5QoSParameters-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
PC5QoSFlowList ::= SEQUENCE (SIZE(1..maxnoofPC5QoSFlows)) OF PC5QoSFlowItem
PC5QoSFlowItem::= SEQUENCE {
pQI FiveQI,
pc5FlowBitRates PC5FlowBitRates OPTIONAL,
range Range OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { PC5QoSFlowItem-ExtIEs} } OPTIONAL,
...
}
PC5QoSFlowItem-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
PC5FlowBitRates ::= SEQUENCE {
guaranteedFlowBitRate BitRate,
maximumFlowBitRate BitRate,
iE-Extensions ProtocolExtensionContainer { { PC5FlowBitRates-ExtIEs} } OPTIONAL,
...
}
PC5FlowBitRates-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
PDCPChangeIndication ::= ENUMERATED {s-KgNB-update-required, pDCP-data-recovery-required,...}
PDCP-SN ::= INTEGER (0..4095)
PDCP-SNExtended ::= INTEGER (0..32767)
PDCP-SNlength18 ::= INTEGER (0..262143)
PDCPSnLength ::= ENUMERATED {twelve-bits,eighteen-bits,...}
PCI ::= INTEGER (0..503, ...)
PLMN-Identity ::= OCTET STRING (SIZE(3))
Port-Number ::= OCTET STRING (SIZE (2))
PRACH-Configuration ::= SEQUENCE {
rootSequenceIndex INTEGER (0..837),
zeroCorrelationIndex INTEGER (0..15),
highSpeedFlag BOOLEAN,
prach-FreqOffset INTEGER (0..94),
prach-ConfigIndex INTEGER (0..63) OPTIONAL, -- present for TDD --
iE-Extensions ProtocolExtensionContainer { {PRACH-Configuration-ExtIEs} } OPTIONAL,
...
}
PLMNAreaBasedQMC ::= SEQUENCE {
plmnListforQMC PLMNListforQMC,
iE-Extensions ProtocolExtensionContainer { {PLMNAreaBasedQMC-ExtIEs} } OPTIONAL,
...
}
PLMNAreaBasedQMC-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
PLMNListforQMC ::= SEQUENCE (SIZE(1..maxnoofPLMNforQMC)) OF PLMN-Identity
PRACH-Configuration-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
Pre-emptionCapability ::= ENUMERATED {
shall-not-trigger-pre-emption,
may-trigger-pre-emption
}
Pre-emptionVulnerability ::= ENUMERATED {
not-pre-emptable,
pre-emptable
}
PriorityLevel ::= INTEGER { spare (0), highest (1), lowest (14), no-priority (15) } (0..15)
ProSeAuthorized ::= SEQUENCE {
proSeDirectDiscovery ProSeDirectDiscovery OPTIONAL,
proSeDirectCommunication ProSeDirectCommunication OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {ProSeAuthorized-ExtIEs} } OPTIONAL,
...
}
ProSeAuthorized-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-ProSeUEtoNetworkRelaying CRITICALITY ignore EXTENSION ProSeUEtoNetworkRelaying PRESENCE optional},
...
}
ProSeDirectDiscovery ::= ENUMERATED {
authorized,
not-authorized,
...
}
ProSeDirectCommunication ::= ENUMERATED {
authorized,
not-authorized,
...
}
ProSeUEtoNetworkRelaying ::= ENUMERATED {
authorized,
not-authorized,
...
}
ProtectedEUTRAResourceIndication::= SEQUENCE {
activationSFN INTEGER (0..1023),
protectedResourceList ProtectedResourceList,
mBSFNControlRegionLength INTEGER (0..3) OPTIONAL,
pDCCHRegionLength INTEGER (1..3) OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {ProtectedEUTRAResourceIndication-ExtIEs} } OPTIONAL,
...
}
ProtectedEUTRAResourceIndication-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
} -- Rapporteur: missing extension --
ProtectedFootprintTimePattern ::= SEQUENCE {
protectedFootprintTimePeriodicity INTEGER (1..320, ...),
protectedFootprintStartTime INTEGER (1..20, ...),
iE-Extensions ProtocolExtensionContainer { {ProtectedFootprintTimePattern-ExtIEs} } OPTIONAL,
...
}
ProtectedFootprintTimePattern-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ProtectedResourceList ::= SEQUENCE (SIZE(1.. maxnoofProtectedResourcePatterns)) OF ProtectedResourceList-Item
ProtectedResourceList-Item ::= SEQUENCE {
resourceType ResourceType,
intraPRBProtectedResourceFootprint BIT STRING (SIZE(84, ...)),
protectedFootprintFrequencyPattern BIT STRING (SIZE(6..110, ...)),
protectedFootprintTimePattern ProtectedFootprintTimePattern,
iE-Extensions ProtocolExtensionContainer { {ProtectedResourceList-Item-ExtIEs} } OPTIONAL,
...
}
ProtectedResourceList-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
PartialListIndicator ::= ENUMERATED {partial, ...}
PrivacyIndicator ::= ENUMERATED {
immediate-MDT,
logged-MDT,
...
}
PSCellHistoryInformationRetrieve ::= ENUMERATED {query, ...}
PSCell-UE-HistoryInformation ::= SEQUENCE (SIZE(1.. maxnoofPSCellsPerPrimaryCellinUEHistoryInfo)) OF LastVisitedPSCell-Item
PSCellChangeHistory ::= ENUMERATED {reportingFullHistory,...}
-- Q
QCI ::= INTEGER (0..255)
QoS-Mapping-Information ::= SEQUENCE {
dscp BIT STRING (SIZE(6)) OPTIONAL,
flow-label BIT STRING (SIZE(20)) OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {QoS-Mapping-Information-ExtIEs} } OPTIONAL,
...
}
QoS-Mapping-Information-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- R
RadioframeAllocationOffset ::= INTEGER (0..7, ...)
RadioframeAllocationPeriod ::= ENUMERATED{
n1,
n2,
n4,
n8,
n16,
n32,
...
}
RadioResourceStatus ::= SEQUENCE {
dL-GBR-PRB-usage DL-GBR-PRB-usage,
uL-GBR-PRB-usage UL-GBR-PRB-usage,
dL-non-GBR-PRB-usage DL-non-GBR-PRB-usage,
uL-non-GBR-PRB-usage UL-non-GBR-PRB-usage,
dL-Total-PRB-usage DL-Total-PRB-usage,
uL-Total-PRB-usage UL-Total-PRB-usage,
iE-Extensions ProtocolExtensionContainer { {RadioResourceStatus-ExtIEs} } OPTIONAL,
...
}
RadioResourceStatus-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ID id-DL-scheduling-PDCCH-CCE-usage CRITICALITY ignore EXTENSION DL-scheduling-PDCCH-CCE-usage PRESENCE optional}|
{ID id-UL-scheduling-PDCCH-CCE-usage CRITICALITY ignore EXTENSION UL-scheduling-PDCCH-CCE-usage PRESENCE optional},
...
}
Range ::= ENUMERATED {m50, m80, m180, m200, m350, m400, m500, m700, m1000, ...}
RAN-UE-NGAP-ID ::= INTEGER (0..4294967295)
RAT-Restrictions ::= SEQUENCE (SIZE(1..maxnoofEPLMNsPlusOne)) OF RAT-RestrictionsItem
RAT-RestrictionsItem ::= SEQUENCE {
pLMN-Identity PLMN-Identity,
rAT-RestrictionInformation BIT STRING (SIZE(8, ...)),
iE-Extensions ProtocolExtensionContainer { { RAT-RestrictionsItem-ExtIEs} } OPTIONAL,
...
}
RAT-RestrictionsItem-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ReceiveStatusofULPDCPSDUs ::= BIT STRING (SIZE(4096))
ReceiveStatusOfULPDCPSDUsExtended ::= BIT STRING (SIZE(1..16384))
ReceiveStatusOfULPDCPSDUsPDCP-SNlength18 ::= BIT STRING (SIZE(1..131072))
ReleaseFastMCGRecoveryViaSRB3 ::= ENUMERATED {true,...}
Reestablishment-Indication ::= ENUMERATED {
reestablished,
...
}
Registration-Request ::= ENUMERATED {
start,
stop,
...,
partial-stop,
add
}
Registration-Request-ENDC ::= ENUMERATED {
start,
stop,
add,
...
}
RelativeNarrowbandTxPower ::= SEQUENCE {
rNTP-PerPRB BIT STRING (SIZE(6..110, ...)),
rNTP-Threshold RNTP-Threshold,
numberOfCellSpecificAntennaPorts ENUMERATED {one, two, four, ...},
p-B INTEGER (0..3,...),
pDCCH-InterferenceImpact INTEGER (0..4,...),
iE-Extensions ProtocolExtensionContainer { {RelativeNarrowbandTxPower-ExtIEs} } OPTIONAL,
...
}
RelativeNarrowbandTxPower-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-enhancedRNTP CRITICALITY ignore EXTENSION EnhancedRNTP PRESENCE optional },
...
}
ReplacingCellsList ::= SEQUENCE (SIZE(0.. maxCellineNB)) OF ReplacingCellsList-Item
ReplacingCellsList-Item ::= SEQUENCE {
eCGI ECGI,
...
}
ReportAmountMDT ::= ENUMERATED{r1, r2, r4, r8, r16, r32, r64, rinfinity}
ReportArea ::= ENUMERATED{
ecgi,
...
}
ReportCharacteristics ::= BIT STRING (SIZE (32))
ReportingPeriodicityCSIR ::= ENUMERATED {
ms5,
ms10,
ms20,
ms40,
ms80,
...
}
ReportCharacteristics-ENDC ::= BIT STRING (SIZE (32))
ReportingPeriodicityRSRPMR ::= ENUMERATED {
one-hundred-20-ms,
two-hundred-40-ms,
four-hundred-80-ms,
six-hundred-40-ms,
...
}
ReportIntervalMDT ::= ENUMERATED {ms120, ms240, ms480, ms640, ms1024, ms2048, ms5120, ms10240, min1, min6, min12, min30, min60}
RequestedFastMCGRecoveryViaSRB3 ::= ENUMERATED {true,...}
RequestedFastMCGRecoveryViaSRB3Release ::= ENUMERATED {true,...}
ReservedSubframePattern ::= SEQUENCE{
subframeType SubframeType,
reservedSubframePattern BIT STRING (SIZE(10..160)),
mBSFNControlRegionLength INTEGER (0..3),
iE-Extensions ProtocolExtensionContainer { {ReservedSubframePattern-ExtIEs} } OPTIONAL,
...
}
ReservedSubframePattern-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ResourceType ::= ENUMERATED {
downlinknonCRS,
cRS,
uplink,
...
}
ResumeID ::= CHOICE {
non-truncated BIT STRING(SIZE(40)),
truncated BIT STRING(SIZE(24)),
...
}
RLCMode ::= ENUMERATED {
rlc-am,
rlc-um-bidirectional,
rlc-um-unidirectional-ul,
rlc-um-unidirectional-dl,
...
}
RLC-Status ::= SEQUENCE {
reestablishment-Indication Reestablishment-Indication,
iE-Extensions ProtocolExtensionContainer { {RLC-Status-ExtIEs} } OPTIONAL,
...
}
RLC-Status-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
RNTP-Threshold ::= ENUMERATED {
minusInfinity,
minusEleven,
minusTen,
minusNine,
minusEight,
minusSeven,
minusSix,
minusFive,
minusFour,
minusThree,
minusTwo,
minusOne,
zero,
one,
two,
three,
...
}
RRC-Config-Ind ::= ENUMERATED {
full-config,
delta-config,
...
}
RRC-Context ::= OCTET STRING
RRCConnReestabIndicator ::= ENUMERATED {
reconfigurationFailure, handoverFailure, otherFailure, ...
}
-- The values correspond to the values of ReestablishmentCause reported from the UE in the RRCConnectionReestablishmentRequest, as defined in TS 36.331 [9]
RRCConnSetupIndicator::= ENUMERATED {
rrcConnSetup,
...
}
RSRPMeasurementResult ::= SEQUENCE (SIZE(1..maxCellReport)) OF
SEQUENCE {
rSRPCellID ECGI,
rSRPMeasured INTEGER (0..97, ...),
iE-Extensions ProtocolExtensionContainer { {RSRPMeasurementResult-ExtIEs} } OPTIONAL,
...
}
RSRPMeasurementResult-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
RSRPMRList ::= SEQUENCE (SIZE(1..maxUEReport)) OF
SEQUENCE {
rSRPMeasurementResult RSRPMeasurementResult,
iE-Extensions ProtocolExtensionContainer { {RSRPMRList-ExtIEs} } OPTIONAL,
...
}
RSRPMRList-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-UEID CRITICALITY ignore EXTENSION UEID PRESENCE optional},
...
}
RRCContainer ::= OCTET STRING
-- S
S1TNLLoadIndicator ::= SEQUENCE {
dLS1TNLLoadIndicator LoadIndicator,
uLS1TNLLoadIndicator LoadIndicator,
iE-Extensions ProtocolExtensionContainer { {S1TNLLoadIndicator-ExtIEs} } OPTIONAL,
...
}
S1TNLLoadIndicator-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
SCGActivationStatus ::= ENUMERATED {scg-activated, scg-deactivated, ...}
SCGActivationRequest ::= ENUMERATED {activate-scg, deactivate-scg, ...}
SCGChangeIndication ::= ENUMERATED {pDCPCountWrapAround, pSCellChange, other, ...}
SCGreconfigNotification ::= ENUMERATED {executed, ..., executed-deleted, deleted }
SCG-UE-HistoryInformation ::= SEQUENCE (SIZE(1.. maxnoofPSCellsPerSN)) OF LastVisitedPSCell-Item
SecondaryRATUsageReportList ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container {{SecondaryRATUsageReport-ItemIEs}}
SecondaryRATUsageReport-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-SecondaryRATUsageReport-Item CRITICALITY reject TYPE SecondaryRATUsageReport-Item PRESENCE mandatory},
...
}
SecondaryRATUsageReport-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
secondaryRATType ENUMERATED {nr, ..., nR-unlicensed },
e-RABUsageReportList E-RABUsageReportList,
iE-Extensions ProtocolExtensionContainer { {SecondaryRATUsageReport-Item-ExtIEs} } OPTIONAL,
...
}
SecondaryRATUsageReport-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
SecurityIndication ::= SEQUENCE {
integrityProtectionIndication IntegrityProtectionIndication,
iE-Extensions ProtocolExtensionContainer { { SecurityIndication-ExtIEs } } OPTIONAL,
...
}
SecurityIndication-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
SecurityResult ::= SEQUENCE {
integrityProtectionResult IntegrityProtectionResult,
iE-Extensions ProtocolExtensionContainer { {SecurityResult-ExtIEs} } OPTIONAL,
...
}
SecurityResult-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
SeNBSecurityKey ::= BIT STRING (SIZE(256))
SeNBtoMeNBContainer ::= OCTET STRING
SensorMeasurementConfiguration ::= SEQUENCE {
sensorMeasConfig SensorMeasConfig,
sensorMeasConfigNameList SensorMeasConfigNameList OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {SensorMeasurementConfiguration-ExtIEs} } OPTIONAL,
...
}
SensorMeasurementConfiguration-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
SensorMeasConfigNameList ::= SEQUENCE (SIZE(1..maxnoofSensorName)) OF SensorMeasConfigNameItem
SensorMeasConfigNameItem ::= SEQUENCE {
sensorNameConfig SensorNameConfig,
iE-Extensions ProtocolExtensionContainer { { SensorMeasConfigNameItem-ExtIEs } } OPTIONAL,
...
}
SensorMeasConfigNameItem-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
SensorMeasConfig::= ENUMERATED {setup,...}
SensorNameConfig ::= CHOICE {
uncompensatedBarometricConfig ENUMERATED {true, ...},
choice-extension ProtocolIE-Single-Container { {SensorNameConfig-ExtIEs} }
}
SensorNameConfig-ExtIEs X2AP-PROTOCOL-IES ::= {
...
}
ServedCells ::= SEQUENCE (SIZE (1.. maxCellineNB)) OF SEQUENCE {
servedCellInfo ServedCell-Information,
neighbour-Info Neighbour-Information OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {ServedCell-ExtIEs} } OPTIONAL,
...
}
ServedCell-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-NRNeighbourInfoToAdd CRITICALITY ignore EXTENSION NRNeighbour-Information PRESENCE optional }|
{ ID id-ServedCellSpecificInfoReq-NR CRITICALITY ignore EXTENSION ServedCellSpecificInfoReq-NR PRESENCE optional },
...
}
ServedCell-Information ::= SEQUENCE {
pCI PCI,
cellId ECGI,
tAC TAC,
broadcastPLMNs BroadcastPLMNs-Item,
eUTRA-Mode-Info EUTRA-Mode-Info,
iE-Extensions ProtocolExtensionContainer { {ServedCell-Information-ExtIEs} } OPTIONAL,
...
}
ServedCell-Information-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-Number-of-Antennaports CRITICALITY ignore EXTENSION Number-of-Antennaports PRESENCE optional}|
{ ID id-PRACH-Configuration CRITICALITY ignore EXTENSION PRACH-Configuration PRESENCE optional}|
{ ID id-MBSFN-Subframe-Info CRITICALITY ignore EXTENSION MBSFN-Subframe-Infolist PRESENCE optional}|
{ ID id-CSG-Id CRITICALITY ignore EXTENSION CSG-Id PRESENCE optional}|
{ ID id-MBMS-Service-Area-List CRITICALITY ignore EXTENSION MBMS-Service-Area-Identity-List PRESENCE optional}|
{ ID id-MultibandInfoList CRITICALITY ignore EXTENSION MultibandInfoList PRESENCE optional}|
{ ID id-FreqBandIndicatorPriority CRITICALITY ignore EXTENSION FreqBandIndicatorPriority PRESENCE optional}|
{ ID id-BandwidthReducedSI CRITICALITY ignore EXTENSION BandwidthReducedSI PRESENCE optional}|
{ ID id-ProtectedEUTRAResourceIndication CRITICALITY ignore EXTENSION ProtectedEUTRAResourceIndication PRESENCE optional}|
{ ID id-BPLMN-ID-Info-EUTRA CRITICALITY ignore EXTENSION BPLMN-ID-Info-EUTRA PRESENCE optional}|
{ ID id-NPRACHConfiguration CRITICALITY ignore EXTENSION NPRACHConfiguration PRESENCE optional}|
{ ID id-SFN-Offset CRITICALITY ignore EXTENSION SFN-Offset PRESENCE optional},
...
}
ServedCellSpecificInfoReq-NR ::= SEQUENCE (SIZE(1.. maxCellinengNB)) OF ServedCellSpecificInfoReq-NR-Item
ServedCellSpecificInfoReq-NR-Item ::= SEQUENCE {
nRCGI NRCGI,
additionalMTCListRequestIndicator ENUMERATED {additionalMTCListRequested, ...} OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { ServedCellSpecificInfoReq-NR-Item-ExtIEs} } OPTIONAL,
...
}
ServedCellSpecificInfoReq-NR-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ServiceType ::= ENUMERATED{
qMC-for-streaming-service,
qMC-for-MTSI-service,
...
}
SgNBCoordinationAssistanceInformation ::= ENUMERATED{
coordination-not-required,
...
}
SgNBResourceCoordinationInformation ::= SEQUENCE {
nR-CGI NRCGI,
uLCoordinationInformation BIT STRING (SIZE(6..4400, ...)),
dLCoordinationInformation BIT STRING (SIZE(6..4400, ...)) OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {SgNBResourceCoordinationInformationExtIEs} } OPTIONAL,
...
}
SgNBResourceCoordinationInformationExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-ECGI CRITICALITY ignore EXTENSION ECGI PRESENCE optional}|
{ ID id-SgNBCoordinationAssistanceInformation CRITICALITY reject EXTENSION SgNBCoordinationAssistanceInformation PRESENCE optional},
...
}
SgNB-UE-X2AP-ID ::= INTEGER (0..4294967295)
SIPTOBearerDeactivationIndication ::= ENUMERATED {
true,
...
}
SharedResourceType ::= CHOICE{
uLOnlySharing ULOnlySharing,
uLandDLSharing ULandDLSharing,
...
}
ShortMAC-I ::= BIT STRING (SIZE(16))
SGNB-Addition-Trigger-Ind ::= ENUMERATED {
sn-change,
inter-eNB-HO,
intra-eNB-HO,
...
}
SNtriggered ::=ENUMERATED{
true,
...
}
SourceOfUEActivityBehaviourInformation ::= ENUMERATED {
subscription-information,
statistics,
...
}
SpecialSubframe-Info ::= SEQUENCE {
specialSubframePatterns SpecialSubframePatterns,
cyclicPrefixDL CyclicPrefixDL,
cyclicPrefixUL CyclicPrefixUL,
iE-Extensions ProtocolExtensionContainer { {SpecialSubframe-Info-ExtIEs} } OPTIONAL,
...
}
SpecialSubframe-Info-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
SpecialSubframePatterns ::= ENUMERATED {
ssp0,
ssp1,
ssp2,
ssp3,
ssp4,
ssp5,
ssp6,
ssp7,
ssp8,
...
}
SpectrumSharingGroupID ::= INTEGER (1..maxCellineNB)
SubbandCQI ::= SEQUENCE {
subbandCQICodeword0 SubbandCQICodeword0,
subbandCQICodeword1 SubbandCQICodeword1 OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {SubbandCQI-ExtIEs} } OPTIONAL,
...
}
Subscription-Based-UE-DifferentiationInfo ::= SEQUENCE {
periodicCommunicationIndicator ENUMERATED {periodically, ondemand, ...} OPTIONAL,
periodicTime INTEGER (1..3600, ...) OPTIONAL,
scheduledCommunicationTime ScheduledCommunicationTime OPTIONAL,
stationaryIndication ENUMERATED {stationary, mobile, ...} OPTIONAL,
trafficProfile ENUMERATED {single-packet, dual-packets, multiple-packets, ...} OPTIONAL,
batteryIndication ENUMERATED {battery-powered, battery-powered-not-rechargeable-or-replaceable, not-battery-powered, ...} OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { Subscription-Based-UE-DifferentiationInfo-ExtIEs} } OPTIONAL,
...
}
Subscription-Based-UE-DifferentiationInfo-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ScheduledCommunicationTime ::= SEQUENCE {
dayofWeek BIT STRING (SIZE(7)) OPTIONAL,
timeofDayStart INTEGER (0..86399, ...) OPTIONAL,
timeofDayEnd INTEGER (0..86399, ...) OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { ScheduledCommunicationTime-ExtIEs}} OPTIONAL,
...
}
ScheduledCommunicationTime-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
SRVCCOperationPossible ::= ENUMERATED {
possible,
...
}
SSBAreaCapacityValue-List ::= SEQUENCE (SIZE (1.. maxnoofSSBAreas)) OF SSBAreaCapacityValue-Item
SSBAreaCapacityValue-Item ::= SEQUENCE {
ssbIndex SSBIndex,
ssbAreaCapacityValue INTEGER (0..100),
iE-Extensions ProtocolExtensionContainer { {SSBAreaCapacityValue-ExtIEs} } OPTIONAL,
...
}
SSBAreaCapacityValue-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
SSBAreaRadioResourceStatus-List ::= SEQUENCE (SIZE (1.. maxnoofSSBAreas)) OF SSBAreaRadioResourceStatus-Item
SSBAreaRadioResourceStatus-Item ::= SEQUENCE {
ssbIndex SSBIndex,
ssbAreaDLGBRPRBUsage INTEGER (0..100),
ssbAreaULGBRPRBUsage INTEGER (0..100),
ssbAreaDLNonGBRPRBUsage INTEGER (0..100),
ssbAreaULNonGBRPRBUsage INTEGER (0..100),
ssbAreaDLTotalPRBUsage INTEGER (0..100),
ssbAreaULTotalPRBUsage INTEGER (0..100),
ssbAreaDLSchedulingPDCCHCCEUsage INTEGER (0..100) OPTIONAL,
ssbAreaULSchedulingPDCCHCCEUsage INTEGER (0..100) OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {SSBAreaRadioResourceStatus-ExtIEs} } OPTIONAL,
...
}
SSBAreaRadioResourceStatus-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
SSBIndex ::= INTEGER (0..63)
SSB-PositionsInBurst ::= CHOICE {
shortBitmap BIT STRING (SIZE (4)),
mediumBitmap BIT STRING (SIZE (8)),
longBitmap BIT STRING (SIZE (64)),
choice-extension ProtocolIE-Single-Container { {SSB-PositionsInBurst-ExtIEs} }
}
SSB-PositionsInBurst-ExtIEs X2AP-PROTOCOL-IES ::= {
...
}
SubbandCQI-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
SubbandCQICodeword0 ::= CHOICE {
four-bitCQI INTEGER (0..15, ...),
two-bitSubbandDifferentialCQI INTEGER (0..3, ...),
two-bitDifferentialCQI INTEGER (0..3, ...),
...
}
SubbandCQICodeword1 ::= CHOICE {
four-bitCQI INTEGER (0..15, ...),
three-bitSpatialDifferentialCQI INTEGER (0..7, ...),
two-bitSubbandDifferentialCQI INTEGER (0..3, ...),
two-bitDifferentialCQI INTEGER (0..3, ...),
...
}
SubbandCQIList ::= SEQUENCE (SIZE(1.. maxSubband)) OF SubbandCQIItem
SubbandCQIItem ::= SEQUENCE {
subbandCQI SubbandCQI,
subbandIndex INTEGER (0..27,...),
iE-Extensions ProtocolExtensionContainer { {SubbandCQIItem-ExtIEs} } OPTIONAL,
...
}
SubbandCQIItem-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
SubbandSize ::= ENUMERATED {
size2,
size3,
size4,
size6,
size8,
...
}
SubscriberProfileIDforRFP ::= INTEGER (1..256)
SubframeAllocation ::= CHOICE {
oneframe Oneframe,
fourframes Fourframes,
...
}
SubframeAssignment ::= ENUMERATED {
sa0,
sa1,
sa2,
sa3,
sa4,
sa5,
sa6,
...
}
SubframeType ::= ENUMERATED{mbsfn,nonmbsfn,...}
SgNBSecurityKey ::= BIT STRING (SIZE(256))
SgNBtoMeNBContainer ::= OCTET STRING
SRBType ::= ENUMERATED {srb1, srb2, ...}
SCGConfigurationQuery ::= ENUMERATED {true,...}
SULInformation ::= SEQUENCE {
sUL-ARFCN INTEGER (0.. 3279165),
sUL-TxBW NR-TxBW,
iE-Extensions ProtocolExtensionContainer { {SULInformation-ExtIEs} } OPTIONAL,
...
}
SupportedSULFreqBandItem ::= SEQUENCE {
freqBandIndicatorNr INTEGER (1..1024,...),
iE-Extensions ProtocolExtensionContainer { {SupportedSULFreqBandItem-ExtIEs} } OPTIONAL,
...
}
SupportedSULFreqBandItem-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
SULInformation-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-CarrierList CRITICALITY ignore EXTENSION NRCarrierList PRESENCE optional }|
{ ID id-FrequencyShift7p5khz CRITICALITY ignore EXTENSION FrequencyShift7p5khz PRESENCE optional },
...
}
SFN-Offset ::= SEQUENCE {
sFN-Time-Offset BIT STRING (SIZE(24)),
iE-Extensions ProtocolExtensionContainer { {SFN-Offset-ExtIEs} } OPTIONAL,
...
}
SFN-Offset-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- T
TABasedMDT::= SEQUENCE {
tAListforMDT TAListforMDT,
iE-Extensions ProtocolExtensionContainer { {TABasedMDT-ExtIEs} } OPTIONAL,
...
}
TABasedMDT-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
TAC ::= OCTET STRING (SIZE (2))
TAIBasedMDT ::= SEQUENCE {
tAIListforMDT TAIListforMDT,
iE-Extensions ProtocolExtensionContainer { {TAIBasedMDT-ExtIEs} } OPTIONAL,
...
}
TAIBasedMDT-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
TAIListforMDT ::= SEQUENCE (SIZE(1..maxnoofTAforMDT)) OF TAI-Item
TAI-Item ::= SEQUENCE {
tAC TAC,
pLMN-Identity PLMN-Identity,
iE-Extensions ProtocolExtensionContainer { {TAI-Item-ExtIEs} } OPTIONAL,
...
}
TAI-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
TAListforMDT ::= SEQUENCE (SIZE(1..maxnoofTAforMDT)) OF TAC
TABasedQMC ::= SEQUENCE {
tAListforQMC TAListforQMC,
iE-Extensions ProtocolExtensionContainer { {TABasedQMC-ExtIEs} } OPTIONAL,
...
}
TABasedQMC-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
TAListforQMC ::= SEQUENCE (SIZE(1..maxnoofTAforQMC)) OF TAC
TAIBasedQMC ::= SEQUENCE {
tAIListforQMC TAIListforQMC,
iE-Extensions ProtocolExtensionContainer { {TAIBasedQMC-ExtIEs} } OPTIONAL,
...
}
TAIBasedQMC-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
TAIListforQMC ::= SEQUENCE (SIZE(1..maxnoofTAforQMC)) OF TAI-Item
TargetCellInNGRAN ::= OCTET STRING
TargetCellInUTRAN ::= OCTET STRING -- This IE is to be encoded according to the UTRAN Cell ID in the Last Visited UTRAN Cell Information IE in TS 25.413 [24]
TargeteNBtoSource-eNBTransparentContainer ::= OCTET STRING
TDD-Info ::= SEQUENCE {
eARFCN EARFCN,
transmission-Bandwidth Transmission-Bandwidth,
subframeAssignment SubframeAssignment,
specialSubframe-Info SpecialSubframe-Info,
iE-Extensions ProtocolExtensionContainer { {TDD-Info-ExtIEs} } OPTIONAL,
...
}
TDD-Info-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-AdditionalSpecialSubframe-Info CRITICALITY ignore EXTENSION AdditionalSpecialSubframe-Info PRESENCE optional}|
{ ID id-eARFCNExtension CRITICALITY reject EXTENSION EARFCNExtension PRESENCE optional}|
{ ID id-AdditionalSpecialSubframeExtension-Info CRITICALITY ignore EXTENSION AdditionalSpecialSubframeExtension-Info PRESENCE optional}|
{ ID id-OffsetOfNbiotChannelNumberToDL-EARFCN CRITICALITY reject EXTENSION OffsetOfNbiotChannelNumberToEARFCN PRESENCE optional}|
{ ID id-NBIoT-UL-DL-AlignmentOffset CRITICALITY reject EXTENSION NBIoT-UL-DL-AlignmentOffset PRESENCE optional},
...
}
TDD-InfoNeighbourServedNRCell-Information ::= SEQUENCE {
nRFreqInfo NRFreqInfo,
iE-Extensions ProtocolExtensionContainer { {TDD-InfoNeighbourServedNRCell-Information-ExtIEs} } OPTIONAL,
...
}
TDD-InfoNeighbourServedNRCell-Information-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ID id-IntendedTDD-DL-ULConfiguration-NR CRITICALITY ignore EXTENSION IntendedTDD-DL-ULConfiguration-NR PRESENCE optional}|
{ID id-TDDULDLConfigurationCommonNR CRITICALITY ignore EXTENSION TDDULDLConfigurationCommonNR PRESENCE optional}|
{ID id-CarrierList CRITICALITY ignore EXTENSION NRCarrierList PRESENCE optional},
...
}
TDDULDLConfigurationCommonNR ::= OCTET STRING
Threshold-RSRP ::= INTEGER(0..97)
Threshold-RSRQ ::= INTEGER(0..34)
TimeToWait ::= ENUMERATED {
v1s,
v2s,
v5s,
v10s,
v20s,
v60s,
...
}
Time-UE-StayedInCell ::= INTEGER (0..4095)
Time-UE-StayedInCell-EnhancedGranularity ::= INTEGER (0..40950)
TNLA-To-Add-List ::= SEQUENCE (SIZE(1..maxnoofTNLAssociations)) OF TNLA-To-Add-Item
TNLA-To-Add-Item ::= SEQUENCE {
tNLAssociationTransportLayerAddress CPTransportLayerInformation,
tNLAssociationUsage TNLAssociationUsage,
iE-Extensions ProtocolExtensionContainer { { TNLA-To-Add-Item-ExtIEs} } OPTIONAL
}
TNLA-To-Add-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
TNLA-To-Update-List ::= SEQUENCE (SIZE(1..maxnoofTNLAssociations)) OF TNLA-To-Update-Item
TNLA-To-Update-Item::= SEQUENCE {
tNLAssociationTransportLayerAddress CPTransportLayerInformation,
tNLAssociationUsage TNLAssociationUsage OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { TNLA-To-Update-Item-ExtIEs} } OPTIONAL
}
TNLA-To-Update-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
TNLA-To-Remove-List ::= SEQUENCE (SIZE(1..maxnoofTNLAssociations)) OF TNLA-To-Remove-Item
TNLA-To-Remove-Item::= SEQUENCE {
tNLAssociationTransportLayerAddress CPTransportLayerInformation,
iE-Extensions ProtocolExtensionContainer { { TNLA-To-Remove-Item-ExtIEs} } OPTIONAL
}
TNLA-To-Remove-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
TNLA-Setup-List ::= SEQUENCE (SIZE(1..maxnoofTNLAssociations)) OF TNLA-Setup-Item
TNLA-Setup-Item ::= SEQUENCE {
tNLAssociationTransportLayerAddress CPTransportLayerInformation,
iE-Extensions ProtocolExtensionContainer { { TNLA-Setup-Item-ExtIEs} } OPTIONAL,
...
}
TNLA-Setup-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
TNLA-Failed-To-Setup-List ::= SEQUENCE (SIZE(1..maxnoofTNLAssociations)) OF TNLA-Failed-To-Setup-Item
TNLA-Failed-To-Setup-Item ::= SEQUENCE {
tNLAssociationTransportLayerAddress CPTransportLayerInformation,
cause Cause,
iE-Extensions ProtocolExtensionContainer { { TNLA-Failed-To-Setup-Item-ExtIEs} } OPTIONAL
}
TNLA-Failed-To-Setup-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
TNLAssociationUsage ::= ENUMERATED {
ue,
non-ue,
both,
...
}
TNLCapacityIndicator ::= SEQUENCE {
dlTNLMaximumOfferedCapacity INTEGER (1..16777216, ...),
dlTNLAvailableCapacity INTEGER (0..100, ...),
ulTNLMaximumOfferedCapacity INTEGER (1..16777216, ...),
ulTNLAvailableCapacity INTEGER (0..100, ...),
iE-Extensions ProtocolExtensionContainer { {TNLCapacityIndicator-ExtIEs} } OPTIONAL,
...
}
TNLCapacityIndicator-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
Transport-UP-Layer-Addresses-Info-To-Add-List ::= SEQUENCE (SIZE(1.. maxnoofTLAs)) OF Transport-UP-Layer-Addresses-Info-To-Add-Item
Transport-UP-Layer-Addresses-Info-To-Add-Item ::= SEQUENCE {
iP-SecTransportLayerAddress TransportLayerAddress,
gTPTransportLayerAddressesToAdd GTPTLAs OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { Transport-UP-Layer-Addresses-Info-To-Add-ItemExtIEs } } OPTIONAL,
...
}
Transport-UP-Layer-Addresses-Info-To-Add-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
Transport-UP-Layer-Addresses-Info-To-Remove-List ::= SEQUENCE (SIZE(1.. maxnoofTLAs)) OF Transport-UP-Layer-Addresses-Info-To-Remove-Item
Transport-UP-Layer-Addresses-Info-To-Remove-Item ::= SEQUENCE {
iP-SecTransportLayerAddress TransportLayerAddress,
gTPTransportLayerAddressesToRemove GTPTLAs OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { Transport-UP-Layer-Addresses-Info-To-Remove-ItemExtIEs } } OPTIONAL,
...
}
Transport-UP-Layer-Addresses-Info-To-Remove-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
TNLConfigurationInfo ::= SEQUENCE {
transport-UP-Layer-Addresses-Info-To-Add-List Transport-UP-Layer-Addresses-Info-To-Add-List OPTIONAL,
transport-UP-Layer-Addresses-Info-To-Remove-List Transport-UP-Layer-Addresses-Info-To-Remove-List OPTIONAL,
iE-Extensions ProtocolExtensionContainer { { TNLConfigurationInfo-ExtIEs } } OPTIONAL,
...
}
TNLConfigurationInfo-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
TraceActivation ::= SEQUENCE {
eUTRANTraceID EUTRANTraceID,
interfacesToTrace InterfacesToTrace,
traceDepth TraceDepth,
traceCollectionEntityIPAddress TraceCollectionEntityIPAddress,
iE-Extensions ProtocolExtensionContainer { {TraceActivation-ExtIEs} } OPTIONAL,
...
}
TraceActivation-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-MDTConfiguration CRITICALITY ignore EXTENSION MDT-Configuration PRESENCE optional}|
{ ID id-UEAppLayerMeasConfig CRITICALITY ignore EXTENSION UEAppLayerMeasConfig PRESENCE optional}|
{ ID id-MDTConfigurationNR CRITICALITY ignore EXTENSION MDT-ConfigurationNR PRESENCE optional}|
{ ID id-TraceCollectionEntityURI CRITICALITY ignore EXTENSION URI-Address PRESENCE optional},
...
}
TraceCollectionEntityIPAddress ::= BIT STRING (SIZE(1..160, ...))
TraceDepth ::= ENUMERATED {
minimum,
medium,
maximum,
minimumWithoutVendorSpecificExtension,
mediumWithoutVendorSpecificExtension,
maximumWithoutVendorSpecificExtension,
...
}
Transmission-Bandwidth ::= ENUMERATED {
bw6,
bw15,
bw25,
bw50,
bw75,
bw100,
...,
bw1
}
TransportLayerAddress ::= BIT STRING (SIZE(1..160, ...))
TransportLayerAddressAndPort ::= SEQUENCE {
endpointIPAddress TransportLayerAddress,
portnumber Port-Number
}
TunnelInformation ::= SEQUENCE {
transportLayerAddress TransportLayerAddress,
uDP-Port-Number Port-Number OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {Tunnel-Information-ExtIEs} } OPTIONAL,
...
}
Tunnel-Information-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
TypeOfError ::= ENUMERATED {
not-understood,
missing,
...
}
-- U
UEAggregateMaximumBitRate ::= SEQUENCE {
uEaggregateMaximumBitRateDownlink BitRate,
uEaggregateMaximumBitRateUplink BitRate,
iE-Extensions ProtocolExtensionContainer { {UEAggregate-MaximumBitrate-ExtIEs} } OPTIONAL,
...
}
UEAggregate-MaximumBitrate-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-extended-uEaggregateMaximumBitRateDownlink CRITICALITY ignore EXTENSION ExtendedBitRate PRESENCE optional}|
{ ID id-extended-uEaggregateMaximumBitRateUplink CRITICALITY ignore EXTENSION ExtendedBitRate PRESENCE optional},
...
}
UEAppLayerMeasConfig ::= SEQUENCE {
containerForAppLayerMeasConfig OCTET STRING (SIZE(1..1000)),
areaScopeOfQMC AreaScopeOfQMC,
iE-Extensions ProtocolExtensionContainer { {UEAppLayerMeasConfig-ExtIEs} } OPTIONAL,
...
}
UEAppLayerMeasConfig-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ID id-serviceType CRITICALITY ignore EXTENSION ServiceType PRESENCE optional},
...
}
UE-ContextKeptIndicator ::= ENUMERATED {
true,
...
}
UEID ::= BIT STRING (SIZE (16))
UE-HistoryInformation ::= SEQUENCE (SIZE(1..maxnoofCells)) OF LastVisitedCell-Item
UE-HistoryInformationFromTheUE ::= OCTET STRING
-- This IE is a transparent container and shall be encoded as the VisitedCellInfoList field contained in the UEInformationResponse message as defined in TS 36.331 [9]
UE-S1AP-ID ::= INTEGER (0.. 4294967295)
UE-X2AP-ID ::= INTEGER (0..4095)
UE-X2AP-ID-Extension ::= INTEGER (0..4095, ...)
UERadioCapability ::= OCTET STRING
UERadioCapabilityID ::= OCTET STRING
UE-RLF-Report-Container::= OCTET STRING
-- This IE is a transparent container and shall be encoded as the RLF-Report-r9 field contained in the UEInformationResponse message as defined in TS 36.331 [9]
UE-RLF-Report-Container-for-extended-bands ::= OCTET STRING
-- This IE is a transparent container and shall be encoded as the RLF-Report-v9e0 field contained in the UEInformationResponse message as defined in TS 36.331 [9]
UESecurityCapabilities ::= SEQUENCE {
encryptionAlgorithms EncryptionAlgorithms,
integrityProtectionAlgorithms IntegrityProtectionAlgorithms,
iE-Extensions ProtocolExtensionContainer { {UESecurityCapabilities-ExtIEs} } OPTIONAL,
...
}
UESecurityCapabilities-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
UESidelinkAggregateMaximumBitRate ::= SEQUENCE {
uESidelinkAggregateMaximumBitRate BitRate,
iE-Extensions ProtocolExtensionContainer { {UE-Sidelink-Aggregate-MaximumBitRate-ExtIEs} } OPTIONAL,
...
}
UE-Sidelink-Aggregate-MaximumBitRate-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
UEsToBeResetList ::= SEQUENCE (SIZE (1.. maxUEsinengNBDU)) OF UEsToBeResetList-Item
UEsToBeResetList-Item::= SEQUENCE {
meNB-ID UE-X2AP-ID,
meNB-ID-ext UE-X2AP-ID-Extension OPTIONAL,
sgNB-ID SgNB-UE-X2AP-ID OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {UEsToBeResetList-Item-ExtIEs} } OPTIONAL,
...
}
UEsToBeResetList-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ULandDLSharing ::= SEQUENCE{
uLResourcesULandDLSharing ULResourcesULandDLSharing,
dLResourcesULandDLSharing DLResourcesULandDLSharing,
iE-Extensions ProtocolExtensionContainer { {ULandDLSharing-ExtIEs} } OPTIONAL,
...
}
ULandDLSharing-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ULConfiguration::= SEQUENCE {
uL-PDCP UL-UE-Configuration,
iE-Extensions ProtocolExtensionContainer { {ULConfiguration-ExtIEs} } OPTIONAL,
...
}
ULConfiguration-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
UL-UE-Configuration::= ENUMERATED { no-data, shared, only, ... }
UL-GBR-PRB-usage::= INTEGER (0..100)
UL-GBR-PRB-usage-for-MIMO::= INTEGER (0..100)
UL-HighInterferenceIndicationInfo ::= SEQUENCE (SIZE(1..maxCellineNB)) OF UL-HighInterferenceIndicationInfo-Item
UL-HighInterferenceIndicationInfo-Item ::= SEQUENCE {
target-Cell-ID ECGI,
ul-interferenceindication UL-HighInterferenceIndication,
iE-Extensions ProtocolExtensionContainer { {UL-HighInterferenceIndicationInfo-Item-ExtIEs} } OPTIONAL,
...
}
UL-HighInterferenceIndicationInfo-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
UL-HighInterferenceIndication ::= BIT STRING (SIZE(1..110, ...))
UL-InterferenceOverloadIndication ::= SEQUENCE (SIZE(1..maxnoofPRBs)) OF UL-InterferenceOverloadIndication-Item
UL-InterferenceOverloadIndication-Item ::= ENUMERATED {
high-interference,
medium-interference,
low-interference,
...
}
UL-non-GBR-PRB-usage::= INTEGER (0..100)
UL-non-GBR-PRB-usage-for-MIMO::= INTEGER (0..100)
ULOnlySharing ::= SEQUENCE{
uLResourceBitmapULOnlySharing DataTrafficResources,
iE-Extensions ProtocolExtensionContainer { {ULOnlySharing-ExtIEs} } OPTIONAL,
...
}
ULOnlySharing-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ULResourceBitmapULandDLSharing ::= DataTrafficResources
ULResourcesULandDLSharing ::= CHOICE {
unchanged NULL,
changed ULResourceBitmapULandDLSharing,
...
}
UL-scheduling-PDCCH-CCE-usage::= INTEGER (0..100)
UL-Total-PRB-usage::= INTEGER (0..100)
UL-Total-PRB-usage-for-MIMO::= INTEGER (0..100)
UnlicensedSpectrumRestriction ::= ENUMERATED {
unlicensed-restricted,
...
}
URI-Address ::= VisibleString
UsableABSInformation ::= CHOICE {
fdd UsableABSInformationFDD,
tdd UsableABSInformationTDD,
...
}
UsableABSInformationFDD ::= SEQUENCE {
usable-abs-pattern-info BIT STRING (SIZE(40)),
iE-Extensions ProtocolExtensionContainer { {UsableABSInformationFDD-ExtIEs} } OPTIONAL,
...
}
UsableABSInformationFDD-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
UsableABSInformationTDD ::= SEQUENCE {
usaable-abs-pattern-info BIT STRING (SIZE(1..70, ...)),
iE-Extensions ProtocolExtensionContainer { {UsableABSInformationTDD-ExtIEs} } OPTIONAL,
...
}
UsableABSInformationTDD-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
UserPlaneTrafficActivityReport ::= ENUMERATED {inactive, re-activated, ...}
-- V
V2XServicesAuthorized ::= SEQUENCE {
vehicleUE VehicleUE OPTIONAL,
pedestrianUE PedestrianUE OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {V2XServicesAuthorized-ExtIEs} } OPTIONAL,
...
}
V2XServicesAuthorized-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
VehicleUE ::= ENUMERATED {
authorized,
not-authorized,
...
}
PedestrianUE ::= ENUMERATED {
authorized,
not-authorized,
...
}
-- W
WidebandCQI ::= SEQUENCE {
widebandCQICodeword0 INTEGER (0..15, ...),
widebandCQICodeword1 WidebandCQICodeword1 OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {WidebandCQI-ExtIEs} } OPTIONAL,
...
}
WidebandCQI-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
WidebandCQICodeword1::= CHOICE {
four-bitCQI INTEGER (0..15, ...),
three-bitSpatialDifferentialCQI INTEGER (0..7, ...),
...
}
WLANMeasurementConfiguration ::= SEQUENCE {
wlanMeasConfig WLANMeasConfig,
wlanMeasConfigNameList WLANMeasConfigNameList OPTIONAL,
wlan-rssi ENUMERATED {true, ...} OPTIONAL,
wlan-rtt ENUMERATED {true, ...} OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {WLANMeasurementConfiguration-ExtIEs} } OPTIONAL,
...
}
WLANMeasurementConfiguration-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
WLANMeasConfigNameList ::= SEQUENCE (SIZE(1..maxnoofWLANName)) OF WLANName
WLANMeasConfig::= ENUMERATED {setup,...}
WLANName ::= OCTET STRING (SIZE (1..32))
WTID ::= CHOICE {
wTID-Type1 WTID-Type1,
wTID-Type2 WTID-Long-Type2,
...
}
WTID-Type1 ::= SEQUENCE {
pLMN-Identity PLMN-Identity,
shortWTID BIT STRING (SIZE(24)),
...
}
WTID-Long-Type2 ::= BIT STRING (SIZE(48))
WT-UE-XwAP-ID ::= OCTET STRING (SIZE (3))
-- X
X2BenefitValue ::= INTEGER (1..8, ...)
-- Y
-- Z
END |
ASN.1 | wireshark/epan/dissectors/asn1/x2ap/X2AP-PDU-Contents.asn | -- 3GPP TS 36.423 V17.5.0 (2023-06)
-- 9.3.4 PDU Definitions
-- **************************************************************
--
-- PDU definitions for X2AP.
--
-- **************************************************************
X2AP-PDU-Contents {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
eps-Access (21) modules (3) x2ap (2) version1 (1) x2ap-PDU-Contents (1) }
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
-- **************************************************************
--
-- IE parameter types from other modules.
--
-- **************************************************************
IMPORTS
ABSInformation,
ABS-Status,
AS-SecurityInformation,
BearerType,
Cause,
CompositeAvailableCapacityGroup,
Correlation-ID,
COUNTvalue,
CellReportingIndicator,
AerialUEsubscriptionInformation,
CriticalityDiagnostics,
CRNTI,
CSGMembershipStatus,
CSG-Id,
DeactivationIndication,
DL-Forwarding,
DynamicDLTransmissionInformation,
E-RABsSubjectToDLDiscarding-List,
E-RABsSubjectToEarlyStatusTransfer-List,
ECGI,
E-RAB-ID,
E-RAB-Level-QoS-Parameters,
E-RAB-List,
EUTRANTraceID,
GlobalENB-ID,
GTPtunnelEndpoint,
GUGroupIDList,
GUMMEI,
HandoverReportType,
HandoverRestrictionList,
Masked-IMEISV,
InvokeIndication,
LocationReportingInformation,
LowerLayerPresenceStatusChange,
MDT-Configuration,
ManagementBasedMDTallowed,
MDTPLMNList,
Neighbour-Information,
PCI,
PDCP-SN,
PLMN-Identity,
ReceiveStatusofULPDCPSDUs,
Registration-Request,
RelativeNarrowbandTxPower,
RadioResourceStatus,
RLC-Status,
RRCConnReestabIndicator,
RRCConnSetupIndicator,
UE-RLF-Report-Container,
UEAppLayerMeasConfig,
RRC-Context,
ServedCell-Information,
ServedCells,
ShortMAC-I,
SRVCCOperationPossible,
SubscriberProfileIDforRFP,
TargetCellInUTRAN,
TargeteNBtoSource-eNBTransparentContainer,
TimeToWait,
TraceActivation,
TraceDepth,
TransportLayerAddress,
UEAggregateMaximumBitRate,
UE-HistoryInformation,
UE-HistoryInformationFromTheUE,
UE-S1AP-ID,
UESecurityCapabilities,
UEsToBeResetList,
UE-X2AP-ID,
UL-HighInterferenceIndicationInfo,
UL-InterferenceOverloadIndication,
HWLoadIndicator,
S1TNLLoadIndicator,
Measurement-ID,
ReportCharacteristics,
MobilityParametersInformation,
MobilityParametersModificationRange,
ReceiveStatusOfULPDCPSDUsExtended,
COUNTValueExtended,
SubframeAssignment,
ExtendedULInterferenceOverloadInfo,
ExpectedUEBehaviour,
SeNBSecurityKey,
MeNBtoSeNBContainer,
SeNBtoMeNBContainer,
SCGChangeIndication,
CoMPInformation,
ReportingPeriodicityRSRPMR,
RSRPMRList,
UE-RLF-Report-Container-for-extended-bands,
ProSeAuthorized,
CoverageModificationList,
ReportingPeriodicityCSIR,
CSIReportList,
ReceiveStatusOfULPDCPSDUsPDCP-SNlength18,
COUNTvaluePDCP-SNlength18,
LHN-ID,
UE-ContextKeptIndicator,
UE-X2AP-ID-Extension,
SIPTOBearerDeactivationIndication,
TunnelInformation,
V2XServicesAuthorized,
X2BenefitValue,
ResumeID,
EUTRANCellIdentifier,
MakeBeforeBreakIndicator,
WTID,
WT-UE-XwAP-ID,
UESidelinkAggregateMaximumBitRate,
SgNBSecurityKey,
MeNBtoSgNBContainer,
SgNBtoMeNBContainer,
SplitSRBs,
RRCContainer,
SRBType,
GlobalGNB-ID,
GNB-ID,
SCGConfigurationQuery,
SplitSRB,
NRUeReport,
EN-DC-ResourceConfiguration,
TAC,
NRFreqInfo,
NRCGI,
NRPCI,
NRUESecurityCapabilities,
PDCPChangeIndication,
ULConfiguration,
SgNB-UE-X2AP-ID,
SecondaryRATUsageReportList,
ActivationID,
MeNBResourceCoordinationInformation,
SgNBResourceCoordinationInformation,
NR-TxBW,
BroadcastPLMNs-Item,
AdditionalPLMNs-Item,
RLCMode,
GBR-QosInformation,
DRB-ID,
FiveGS-TAC,
SULInformation,
Packet-LossRate,
ResourceType,
DataTrafficResourceIndication,
SpectrumSharingGroupID,
RRC-Config-Ind,
SGNB-Addition-Trigger-Ind,
UserPlaneTrafficActivityReport,
ERABActivityNotifyItemList,
PDCPSnLength,
Subscription-Based-UE-DifferentiationInfo,
LCID,
DuplicationActivation,
GNBOverloadInformation,
NewDRBIDrequest,
DesiredActNotificationLevel,
LocationInformationSgNB,
LocationInformationSgNBReporting,
EndcSONConfigurationTransfer,
NRNeighbour-Information,
InterfaceInstanceIndication,
BPLMN-ID-Info-NR,
SNtriggered,
EPCHandoverRestrictionListContainer,
AdditionalRRMPriorityIndex,
RequestedFastMCGRecoveryViaSRB3,
AvailableFastMCGRecoveryViaSRB3,
RequestedFastMCGRecoveryViaSRB3Release,
ReleaseFastMCGRecoveryViaSRB3,
FastMCGRecovery,
PartialListIndicator,
MaximumCellListSize,
MessageOversizeNotification,
TNLConfigurationInfo,
TNLA-To-Add-List,
TNLA-To-Update-List,
TNLA-To-Remove-List,
TNLA-Setup-List,
TNLA-Failed-To-Setup-List,
RAN-UE-NGAP-ID,
CHOinformation-REQ,
CHOinformation-ACK,
CHOinformation-AddReq,
CHOinformation-ModReq,
DAPSRequestInfo,
DAPSResponseInfo,
CandidateCellsToBeCancelledList,
CHO-DC-EarlyDataForwarding,
CHO-DC-Indicator,
Ethernet-Type,
NRV2XServicesAuthorized,
NRUESidelinkAggregateMaximumBitRate,
PC5QoSParameters,
TargetCellInNGRAN,
Measurement-ID-ENDC,
Registration-Request-ENDC,
ReportCharacteristics-ENDC,
NRRadioResourceStatus,
TNLCapacityIndicator,
NRCompositeAvailableCapacityGroup,
SSBIndex,
TDDULDLConfigurationCommonNR,
NRCarrierList,
SSB-PositionsInBurst,
NRCellPRACHConfig,
NBIoT-RLF-Report-Container,
PrivacyIndicator,
UERadioCapabilityID,
CSI-RSTransmissionIndication,
IABNodeIndication,
F1CTrafficContainer,
IntendedTDD-DL-ULConfiguration-NR,
UERadioCapability,
SFN-Offset,
IMSvoiceEPSfallbackfrom5G,
Global-RAN-NODE-ID,
DirectForwardingPathAvailability,
NRRACHReportInformation,
SCG-UE-HistoryInformation,
PSCellHistoryInformationRetrieve,
PSCell-UE-HistoryInformation,
PSCellChangeHistory,
MeasurementResultforNRCellsPossiblyAggregated,
SCGActivationStatus,
SCGActivationRequest,
CPAinformation-REQ,
CPAinformation-REQ-ACK,
CPAinformation-MOD,
CPAinformation-MOD-ACK,
CPACinformation-REQD,
CPCinformation-REQD,
CPCinformation-CONF,
CPCinformation-NOTIFY,
CPCupdate-MOD,
Additional-Measurement-Timing-Configuration-List,
ServedCellSpecificInfoReq-NR,
SecurityIndication,
SecurityResult,
TraceCollectionEntityIPAddress,
SCGreconfigNotification,
AdditionalListofForwardingGTPTunnelEndpoint
FROM X2AP-IEs
PrivateIE-Container{},
ProtocolExtensionContainer{},
ProtocolIE-Container{},
ProtocolIE-ContainerList{},
ProtocolIE-ContainerPair{},
ProtocolIE-ContainerPairList{},
ProtocolIE-Single-Container{},
X2AP-PRIVATE-IES,
X2AP-PROTOCOL-EXTENSION,
X2AP-PROTOCOL-IES,
X2AP-PROTOCOL-IES-PAIR
FROM X2AP-Containers
id-ABSInformation,
id-ActivatedCellList,
id-BearerType,
id-Cause,
id-CellInformation,
id-CellInformation-Item,
id-CellMeasurementResult,
id-CellMeasurementResult-NR-ENDC,
id-CellMeasurementResult-Item,
id-CellMeasurementResult-NR-ENDC-Item,
id-CellMeasurementResult-E-UTRA-ENDC,
id-CellMeasurementResult-E-UTRA-ENDC-Item,
id-CellToReport,
id-CellToReport-E-UTRA-ENDC,
id-CellToReport-NR-ENDC,
id-CellToReport-Item,
id-CellToReport-E-UTRA-ENDC-Item,
id-CellToReport-NR-ENDC-Item,
id-CompositeAvailableCapacityGroup,
id-AerialUEsubscriptionInformation,
id-CriticalityDiagnostics,
id-DeactivationIndication,
id-DynamicDLTransmissionInformation,
id-E-RABs-Admitted-Item,
id-E-RABs-Admitted-List,
id-E-RABs-NotAdmitted-List,
id-E-RABs-SubjectToStatusTransfer-List,
id-E-RABs-SubjectToStatusTransfer-Item,
id-E-RABs-ToBeSetup-Item,
id-GlobalENB-ID,
id-GUGroupIDList,
id-GUGroupIDToAddList,
id-GUGroupIDToDeleteList,
id-GUMMEI-ID,
id-Masked-IMEISV,
id-IMSvoiceEPSfallbackfrom5G,
id-InvokeIndication,
id-New-eNB-UE-X2AP-ID,
id-Old-eNB-UE-X2AP-ID,
id-Registration-Request,
id-ReportingPeriodicity,
id-RLC-Status,
id-ServedCells,
id-ServedCellsToActivate,
id-ServedCellsToAdd,
id-ServedCellsToModify,
id-ServedCellsToDelete,
id-SRVCCOperationPossible,
id-TargetCell-ID,
id-TargeteNBtoSource-eNBTransparentContainer,
id-TimeToWait,
id-TraceActivation,
id-UE-ContextInformation,
id-UE-HistoryInformation,
id-UE-X2AP-ID,
id-Measurement-ID,
id-ReportCharacteristics,
id-ENB1-Measurement-ID,
id-ENB2-Measurement-ID,
id-ENB1-Cell-ID,
id-ENB2-Cell-ID,
id-ENB2-Proposed-Mobility-Parameters,
id-ENB1-Mobility-Parameters,
id-ENB2-Mobility-Parameters-Modification-Range,
id-FailureCellPCI,
id-Re-establishmentCellECGI,
id-FailureCellCRNTI,
id-ShortMAC-I,
id-SourceCellECGI,
id-FailureCellECGI,
id-HandoverReportType,
id-UE-RLF-Report-Container,
id-PartialSuccessIndicator,
id-MeasurementInitiationResult-List,
id-MeasurementInitiationResult-Item,
id-MeasurementFailureCause-Item,
id-CompleteFailureCauseInformation-List,
id-CompleteFailureCauseInformation-Item,
id-CSGMembershipStatus,
id-CSG-Id,
id-MDTConfiguration,
id-ManagementBasedMDTallowed,
id-ABS-Status,
id-RRCConnSetupIndicator,
id-RRCConnReestabIndicator,
id-TargetCellInUTRAN,
id-MobilityInformation,
id-SourceCellCRNTI,
id-ManagementBasedMDTPLMNList,
id-ReceiveStatusOfULPDCPSDUsExtended,
id-ULCOUNTValueExtended,
id-DLCOUNTValueExtended,
id-IntendedULDLConfiguration,
id-ExtendedULInterferenceOverloadInfo,
id-RNL-Header,
id-x2APMessage,
id-UE-HistoryInformationFromTheUE,
id-ExpectedUEBehaviour,
id-MeNB-UE-X2AP-ID,
id-SeNB-UE-X2AP-ID,
id-UE-SecurityCapabilities,
id-SeNBSecurityKey,
id-SeNBUEAggregateMaximumBitRate,
id-ServingPLMN,
id-E-RABs-ToBeAdded-List,
id-E-RABs-ToBeAdded-Item,
id-MeNBtoSeNBContainer,
id-E-RABs-Admitted-ToBeAdded-List,
id-E-RABs-Admitted-ToBeAdded-Item,
id-SeNBtoMeNBContainer,
id-ResponseInformationSeNBReconfComp,
id-UE-ContextInformationSeNBModReq,
id-E-RABs-ToBeAdded-ModReqItem,
id-E-RABs-ToBeModified-ModReqItem,
id-E-RABs-ToBeReleased-ModReqItem,
id-E-RABs-Admitted-ToBeAdded-ModAckList,
id-E-RABs-Admitted-ToBeModified-ModAckList,
id-E-RABs-Admitted-ToBeReleased-ModAckList,
id-E-RABs-Admitted-ToBeAdded-ModAckItem,
id-E-RABs-Admitted-ToBeModified-ModAckItem,
id-E-RABs-Admitted-ToBeReleased-ModAckItem,
id-SCGChangeIndication,
id-E-RABs-ToBeReleased-ModReqd,
id-E-RABs-ToBeReleased-ModReqdItem,
id-E-RABs-ToBeReleased-List-RelReq,
id-E-RABs-ToBeReleased-RelReqItem,
id-E-RABs-ToBeReleased-List-RelConf,
id-E-RABs-ToBeReleased-RelConfItem,
id-E-RABs-SubjectToCounterCheck-List,
id-E-RABs-SubjectToCounterCheckItem,
id-CoMPInformation,
id-ReportingPeriodicityRSRPMR,
id-RSRPMRList,
id-UE-RLF-Report-Container-for-extended-bands,
id-ProSeAuthorized,
id-CoverageModificationList,
id-ReportingPeriodicityCSIR,
id-CSIReportList,
id-ReceiveStatusOfULPDCPSDUsPDCP-SNlength18,
id-ULCOUNTValuePDCP-SNlength18,
id-DLCOUNTValuePDCP-SNlength18,
id-LHN-ID,
id-Correlation-ID,
id-SIPTO-Correlation-ID,
id-UE-ContextReferenceAtSeNB,
id-UE-ContextReferenceAtWT,
id-UE-ContextKeptIndicator,
id-UEs-ToBeReset,
id-UEs-Admitted-ToBeReset,
id-WT-UE-ContextKeptIndicator,
id-New-eNB-UE-X2AP-ID-Extension,
id-Old-eNB-UE-X2AP-ID-Extension,
id-MeNB-UE-X2AP-ID-Extension,
id-SeNB-UE-X2AP-ID-Extension,
id-SIPTO-BearerDeactivationIndication,
id-Tunnel-Information-for-BBF,
id-SIPTO-L-GW-TransportLayerAddress,
id-GW-TransportLayerAddress,
id-X2RemovalThreshold,
id-CellReportingIndicator,
id-V2XServicesAuthorized,
id-resumeID,
id-UE-ContextInformationRetrieve,
id-E-RABs-ToBeSetupRetrieve-Item,
id-NewEUTRANCellIdentifier,
id-MakeBeforeBreakIndicator,
id-UESidelinkAggregateMaximumBitRate,
id-uL-GTPtunnelEndpoint,
id-SgNBSecurityKey,
id-SgNBUEAggregateMaximumBitRate,
id-E-RABs-ToBeAdded-SgNBAddReqList,
id-MeNBtoSgNBContainer,
id-SgNB-UE-X2AP-ID,
id-RequestedSplitSRBs,
id-E-RABs-ToBeAdded-SgNBAddReq-Item,
id-E-RABs-Admitted-ToBeAdded-SgNBAddReqAckList,
id-SgNBtoMeNBContainer,
id-AdmittedSplitSRBs,
id-E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item,
id-ResponseInformationSgNBReconfComp,
id-UE-ContextInformation-SgNBModReq,
id-E-RABs-ToBeAdded-SgNBModReq-Item,
id-E-RABs-ToBeModified-SgNBModReq-Item,
id-E-RABs-ToBeReleased-SgNBModReq-Item,
id-E-RABs-Admitted-ToBeAdded-SgNBModAckList,
id-E-RABs-Admitted-ToBeModified-SgNBModAckList,
id-E-RABs-Admitted-ToBeReleased-SgNBModAckList,
id-E-RABs-Admitted-ToBeAdded-SgNBModAck-Item,
id-E-RABs-Admitted-ToBeModified-SgNBModAck-Item,
id-E-RABs-Admitted-ToBeReleased-SgNBModAck-Item,
id-E-RABs-Admitted-ToBeReleased-SgNBRelReqAckList,
id-E-RABs-Admitted-ToBeReleased-SgNBRelReqAck-Item,
id-E-RABs-ToBeReleased-SgNBModReqdList,
id-E-RABs-ToBeModified-SgNBModReqdList,
id-E-RABs-ToBeReleased-SgNBModReqd-Item,
id-E-RABs-ToBeModified-SgNBModReqd-Item,
id-E-RABs-ToBeReleased-SgNBChaConfList,
id-E-RABs-ToBeReleased-SgNBChaConf-Item,
id-E-RABs-ToBeReleased-SgNBRelReqList,
id-E-RABs-ToBeReleased-SgNBRelReq-Item,
id-E-RABs-ToBeReleased-SgNBRelConfList,
id-E-RABs-ToBeReleased-SgNBRelConf-Item,
id-E-RABs-ToBeReleased-SgNBRelReqdList,
id-E-RABs-ToBeReleased-SgNBRelReqd-Item,
id-E-RABs-SubjectToSgNBCounterCheck-List,
id-E-RABs-SubjectToSgNBCounterCheck-Item,
id-Target-SgNB-ID,
id-RRCContainer,
id-SRBType,
id-HandoverRestrictionList,
id-SCGConfigurationQuery,
id-SplitSRB,
id-NRUeReport,
id-InitiatingNodeType-EndcX2Setup,
id-InitiatingNodeType-EndcConfigUpdate,
id-RespondingNodeType-EndcX2Setup,
id-RespondingNodeType-EndcConfigUpdate,
id-NRUESecurityCapabilities,
id-PDCPChangeIndication,
id-ServedEUTRAcellsENDCX2ManagementList,
id-ServedEUTRAcellsToModifyListENDCConfUpd,
id-ServedEUTRAcellsToDeleteListENDCConfUpd,
id-ServedNRcellsToModifyListENDCConfUpd,
id-ServedNRcellsToDeleteListENDCConfUpd,
id-CellAssistanceInformation,
id-Globalen-gNB-ID,
id-ServedNRcellsENDCX2ManagementList,
id-Old-SgNB-UE-X2AP-ID,
id-UE-ContextReferenceAtSgNB,
id-SecondaryRATUsageReportList,
id-ActivationID,
id-ServedNRCellsToActivate,
id-ActivatedNRCellList,
id-MeNBResourceCoordinationInformation,
id-SgNBResourceCoordinationInformation,
id-UEAppLayerMeasConfig,
id-SelectedPLMN,
id-SubscriberProfileIDforRFP,
id-InitiatingNodeType-EutranrCellResourceCoordination,
id-RespondingNodeType-EutranrCellResourceCoordination,
id-DataTrafficResourceIndication,
id-SpectrumSharingGroupID,
id-ListofEUTRACellsinEUTRACoordinationReq,
id-ListofEUTRACellsinEUTRACoordinationResp,
id-ListofEUTRACellsinNRCoordinationReq,
id-ListofNRCellsinNRCoordinationReq,
id-ListofNRCellsinNRCoordinationResp,
id-RRCConfigIndication,
id-SGNB-Addition-Trigger-Ind,
id-RequestedSplitSRBsrelease,
id-AdmittedSplitSRBsrelease,
id-E-RABs-AdmittedToBeModified-SgNBModConfList,
id-E-RABs-AdmittedToBeModified-SgNBModConf-Item,
id-UEContextLevelUserPlaneActivity,
id-ERABActivityNotifyItemList,
id-MeNBCell-ID,
id-InitiatingNodeType-EndcX2Removal,
id-RespondingNodeType-EndcX2Removal,
id-uLpDCPSnLength,
id-dL-Forwarding,
id-E-RABs-DataForwardingAddress-List,
id-E-RABs-DataForwardingAddress-Item,
id-Subscription-Based-UE-DifferentiationInfo,
id-RLCMode-transferred,
id-dLPDCPSnLength,
id-secondarysgNBDLGTPTEIDatPDCP,
id-secondarymeNBULGTPTEIDatPDCP,
id-lCID,
id-duplicationActivation,
id-GNBOverloadInformation,
id-new-drb-ID-req,
id-NRNeighbourInfoToModify,
id-DesiredActNotificationLevel,
id-LocationInformationSgNB,
id-LocationInformationSgNBReporting,
id-endcSONConfigurationTransfer,
id-EUTRANTraceID,
id-additionalPLMNs-Item,
id-InterfaceInstanceIndication,
id-BPLMN-ID-Info-NR,
id-SNtriggered,
id-EPCHandoverRestrictionListContainer,
id-ERABs-transferred-to-MeNB,
id-AdditionalRRMPriorityIndex,
id-LowerLayerPresenceStatusChange,
id-FastMCGRecovery-SN-to-MN,
id-FastMCGRecovery-MN-to-SN,
id-RequestedFastMCGRecoveryViaSRB3,
id-AvailableFastMCGRecoveryViaSRB3,
id-RequestedFastMCGRecoveryViaSRB3Release,
id-ReleaseFastMCGRecoveryViaSRB3,
id-PartialListIndicator,
id-MaximumCellListSize,
id-MessageOversizeNotification,
id-CellandCapacityAssistInfo,
id-TNLConfigurationInfo,
id-TNLA-To-Add-List,
id-TNLA-To-Update-List,
id-TNLA-To-Remove-List,
id-TNLA-Setup-List,
id-TNLA-Failed-To-Setup-List,
id-UEContextReferenceatSourceNGRAN,
id-CHOinformation-REQ,
id-CHOinformation-ACK,
id-CHOinformation-AddReq,
id-CHOinformation-ModReq,
id-DAPSRequestInfo,
id-RequestedTargetCellID,
id-CandidateCellsToBeCancelledList,
id-DAPSResponseInfo,
id-ProcedureStage,
id-CHO-DC-EarlyDataForwarding,
id-CHO-DC-Indicator,
id-Ethernet-Type,
id-NRV2XServicesAuthorized,
id-NRUESidelinkAggregateMaximumBitRate,
id-PC5QoSParameters,
id-TargetCellInNGRAN,
id-E-UTRAN-Node1-Measurement-ID,
id-E-UTRAN-Node2-Measurement-ID,
id-TDDULDLConfigurationCommonNR,
id-CarrierList,
id-ULCarrierList,
id-SSB-PositionsInBurst,
id-NRCellPRACHConfig,
id-NBIoT-RLF-Report-Container,
id-MDTConfigurationNR,
id-PrivacyIndicator,
id-TraceCollectionEntityIPAddress,
id-UERadioCapabilityID,
id-CSI-RSTransmissionIndication,
id-DLCarrierList,
id-IABNodeIndication,
id-F1CTrafficContainer,
id-IntendedTDD-DL-ULConfiguration-NR,
id-UERadioCapability,
id-SFN-Offset,
id-DirectForwardingPathAvailability,
id-sourceNG-RAN-node-id,
id-SourceDLForwardingIPAddress,
id-SourceNodeDLForwardingIPAddress,
id-NRRACHReportInformation,
id-SCG-UE-HistoryInformation,
id-PSCellHistoryInformationRetrieve,
id-MeasurementResultforNRCellsPossiblyAggregated,
id-PSCellChangeHistory,
id-SCGActivationStatus,
id-SCGActivationRequest,
id-CPAinformation-REQ,
id-CPAinformation-REQ-ACK,
id-CPAinformation-MOD,
id-CPAinformation-MOD-ACK,
id-CPACinformation-REQD,
id-CPCinformation-REQD,
id-CPCinformation-CONF,
id-CPCinformation-NOTIFY,
id-CPCupdate-MOD,
id-Additional-Measurement-Timing-Configuration-List,
id-ServedCellSpecificInfoReq-NR,
id-SecurityIndication,
id-SecurityResult,
id-SCGreconfigNotification,
id-AdditionalListofForwardingGTPTunnelEndpoint,
maxCellineNB,
maxnoofBearers,
maxnoofPDCP-SN,
maxFailedMeasObjects,
maxnoofCellIDforMDT,
maxnoofTAforMDT,
maxCellinengNB,
maxnoofCellIDforQMC,
maxnoofTAforQMC,
maxnoofPLMNforQMC,
maxnoofProtectedResourcePatterns,
maxnoNRcellsSpectrumSharingWithE-UTRA,
maxnoofNrCellBands,
maxnoofSSBAreas
FROM X2AP-Constants;
-- **************************************************************
--
-- HANDOVER REQUEST
--
-- **************************************************************
HandoverRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{HandoverRequest-IEs}},
...
}
HandoverRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Old-eNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-TargetCell-ID CRITICALITY reject TYPE ECGI PRESENCE mandatory}|
{ ID id-GUMMEI-ID CRITICALITY reject TYPE GUMMEI PRESENCE mandatory}|
{ ID id-UE-ContextInformation CRITICALITY reject TYPE UE-ContextInformation PRESENCE mandatory}|
{ ID id-UE-HistoryInformation CRITICALITY ignore TYPE UE-HistoryInformation PRESENCE mandatory}|
{ ID id-TraceActivation CRITICALITY ignore TYPE TraceActivation PRESENCE optional}|
{ ID id-SRVCCOperationPossible CRITICALITY ignore TYPE SRVCCOperationPossible PRESENCE optional}|
{ ID id-CSGMembershipStatus CRITICALITY reject TYPE CSGMembershipStatus PRESENCE optional}|
{ ID id-MobilityInformation CRITICALITY ignore TYPE MobilityInformation PRESENCE optional}|
{ ID id-Masked-IMEISV CRITICALITY ignore TYPE Masked-IMEISV PRESENCE optional}|
{ ID id-UE-HistoryInformationFromTheUE CRITICALITY ignore TYPE UE-HistoryInformationFromTheUE PRESENCE optional}|
{ ID id-ExpectedUEBehaviour CRITICALITY ignore TYPE ExpectedUEBehaviour PRESENCE optional}|
{ ID id-ProSeAuthorized CRITICALITY ignore TYPE ProSeAuthorized PRESENCE optional}|
{ ID id-UE-ContextReferenceAtSeNB CRITICALITY ignore TYPE UE-ContextReferenceAtSeNB PRESENCE optional}|
{ ID id-Old-eNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-V2XServicesAuthorized CRITICALITY ignore TYPE V2XServicesAuthorized PRESENCE optional}|
{ ID id-UE-ContextReferenceAtWT CRITICALITY ignore TYPE UE-ContextReferenceAtWT PRESENCE optional}|
{ ID id-NRUESecurityCapabilities CRITICALITY ignore TYPE NRUESecurityCapabilities PRESENCE optional}|
{ ID id-UE-ContextReferenceAtSgNB CRITICALITY ignore TYPE UE-ContextReferenceAtSgNB PRESENCE optional}|
{ ID id-AerialUEsubscriptionInformation CRITICALITY ignore TYPE AerialUEsubscriptionInformation PRESENCE optional}|
{ ID id-Subscription-Based-UE-DifferentiationInfo CRITICALITY ignore TYPE Subscription-Based-UE-DifferentiationInfo PRESENCE optional}|
{ ID id-CHOinformation-REQ CRITICALITY ignore TYPE CHOinformation-REQ PRESENCE optional}|
{ ID id-NRV2XServicesAuthorized CRITICALITY ignore TYPE NRV2XServicesAuthorized PRESENCE optional}|
{ ID id-PC5QoSParameters CRITICALITY ignore TYPE PC5QoSParameters PRESENCE optional }|
{ ID id-IABNodeIndication CRITICALITY reject TYPE IABNodeIndication PRESENCE optional},
...
}
UE-ContextInformation ::= SEQUENCE {
mME-UE-S1AP-ID UE-S1AP-ID,
uESecurityCapabilities UESecurityCapabilities,
aS-SecurityInformation AS-SecurityInformation,
uEaggregateMaximumBitRate UEAggregateMaximumBitRate,
subscriberProfileIDforRFP SubscriberProfileIDforRFP OPTIONAL,
e-RABs-ToBeSetup-List E-RABs-ToBeSetup-List,
rRC-Context RRC-Context,
handoverRestrictionList HandoverRestrictionList OPTIONAL,
locationReportingInformation LocationReportingInformation OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {UE-ContextInformation-ExtIEs} } OPTIONAL,
...
}
UE-ContextInformation-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-ManagementBasedMDTallowed CRITICALITY ignore EXTENSION ManagementBasedMDTallowed PRESENCE optional }|
{ ID id-ManagementBasedMDTPLMNList CRITICALITY ignore EXTENSION MDTPLMNList PRESENCE optional }|
{ ID id-UESidelinkAggregateMaximumBitRate CRITICALITY ignore EXTENSION UESidelinkAggregateMaximumBitRate PRESENCE optional }|
{ ID id-EPCHandoverRestrictionListContainer CRITICALITY ignore EXTENSION EPCHandoverRestrictionListContainer PRESENCE optional }|
{ ID id-AdditionalRRMPriorityIndex CRITICALITY ignore EXTENSION AdditionalRRMPriorityIndex PRESENCE optional}|
{ ID id-NRUESidelinkAggregateMaximumBitRate CRITICALITY ignore EXTENSION NRUESidelinkAggregateMaximumBitRate PRESENCE optional}|
{ ID id-UERadioCapabilityID CRITICALITY reject EXTENSION UERadioCapabilityID PRESENCE optional }|
{ ID id-IMSvoiceEPSfallbackfrom5G CRITICALITY ignore EXTENSION IMSvoiceEPSfallbackfrom5G PRESENCE optional},
...
}
E-RABs-ToBeSetup-List ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeSetup-ItemIEs} }
E-RABs-ToBeSetup-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeSetup-Item CRITICALITY ignore TYPE E-RABs-ToBeSetup-Item PRESENCE mandatory },
...
}
E-RABs-ToBeSetup-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
e-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters,
dL-Forwarding DL-Forwarding OPTIONAL,
uL-GTPtunnelEndpoint GTPtunnelEndpoint,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeSetup-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeSetup-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-BearerType CRITICALITY reject EXTENSION BearerType PRESENCE optional}|
{ ID id-DAPSRequestInfo CRITICALITY ignore EXTENSION DAPSRequestInfo PRESENCE optional}|
{ ID id-Ethernet-Type CRITICALITY ignore EXTENSION Ethernet-Type PRESENCE optional}|
{ ID id-SourceDLForwardingIPAddress CRITICALITY ignore EXTENSION TransportLayerAddress PRESENCE optional}|
{ ID id-SecurityIndication CRITICALITY reject EXTENSION SecurityIndication PRESENCE optional},
...
}
MobilityInformation ::= BIT STRING (SIZE(32))
SourceDLForwardingIPAddress ::= BIT STRING (SIZE(1..160, ...))
UE-ContextReferenceAtSeNB ::= SEQUENCE {
source-GlobalSeNB-ID GlobalENB-ID,
seNB-UE-X2AP-ID UE-X2AP-ID,
seNB-UE-X2AP-ID-Extension UE-X2AP-ID-Extension,
iE-Extensions ProtocolExtensionContainer { {UE-ContextReferenceAtSeNB-ItemExtIEs} } OPTIONAL,
...
}
UE-ContextReferenceAtSeNB-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
UE-ContextReferenceAtWT ::= SEQUENCE {
wTID WTID,
wT-UE-XwAP-ID WT-UE-XwAP-ID,
iE-Extensions ProtocolExtensionContainer { {UE-ContextReferenceAtWT-ItemExtIEs} } OPTIONAL,
...
}
UE-ContextReferenceAtWT-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
UE-ContextReferenceAtSgNB ::= SEQUENCE {
source-GlobalSgNB-ID GlobalGNB-ID,
sgNB-UE-X2AP-ID SgNB-UE-X2AP-ID,
iE-Extensions ProtocolExtensionContainer { {UE-ContextReferenceAtSgNB-ItemExtIEs} } OPTIONAL,
...
}
UE-ContextReferenceAtSgNB-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- HANDOVER REQUEST ACKNOWLEDGE
--
-- **************************************************************
HandoverRequestAcknowledge ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{HandoverRequestAcknowledge-IEs}},
...
}
HandoverRequestAcknowledge-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Old-eNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-New-eNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-E-RABs-Admitted-List CRITICALITY ignore TYPE E-RABs-Admitted-List PRESENCE mandatory}|
{ ID id-E-RABs-NotAdmitted-List CRITICALITY ignore TYPE E-RAB-List PRESENCE optional}|
{ ID id-TargeteNBtoSource-eNBTransparentContainer CRITICALITY ignore TYPE TargeteNBtoSource-eNBTransparentContainer PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-UE-ContextKeptIndicator CRITICALITY ignore TYPE UE-ContextKeptIndicator PRESENCE optional}|
{ ID id-SeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}-- The id-SeNB-UE-X2AP-ID-Extension shall not be sent and shall be ignored, if received.--|
{ ID id-Old-eNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-New-eNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-WT-UE-ContextKeptIndicator CRITICALITY ignore TYPE UE-ContextKeptIndicator PRESENCE optional}|
{ ID id-ERABs-transferred-to-MeNB CRITICALITY ignore TYPE E-RAB-List PRESENCE optional}|
{ ID id-CHOinformation-ACK CRITICALITY ignore TYPE CHOinformation-ACK PRESENCE optional},
...
}
E-RABs-Admitted-List ::= SEQUENCE (SIZE (1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-Admitted-ItemIEs} }
E-RABs-Admitted-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-Admitted-Item CRITICALITY ignore TYPE E-RABs-Admitted-Item PRESENCE mandatory }
}
E-RABs-Admitted-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
uL-GTP-TunnelEndpoint GTPtunnelEndpoint OPTIONAL,
dL-GTP-TunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-Item-ExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-DAPSResponseInfo CRITICALITY reject EXTENSION DAPSResponseInfo PRESENCE optional},
...
}
-- **************************************************************
--
-- HANDOVER PREPARATION FAILURE
--
-- **************************************************************
HandoverPreparationFailure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{HandoverPreparationFailure-IEs}},
...
}
HandoverPreparationFailure-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Old-eNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-Old-eNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-RequestedTargetCellID CRITICALITY reject TYPE ECGI PRESENCE optional},
...
}
-- **************************************************************
--
-- HANDOVER REPORT
--
-- **************************************************************
HandoverReport ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{HandoverReport-IEs}},
...
}
HandoverReport-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-HandoverReportType CRITICALITY ignore TYPE HandoverReportType PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-SourceCellECGI CRITICALITY ignore TYPE ECGI PRESENCE mandatory}|
{ ID id-FailureCellECGI CRITICALITY ignore TYPE ECGI PRESENCE mandatory}|
{ ID id-Re-establishmentCellECGI CRITICALITY ignore TYPE ECGI PRESENCE conditional} -- The IE shall be present if the Handover Report Type IE is set to “HO to Wrong Cell” -- |
{ ID id-TargetCellInUTRAN CRITICALITY ignore TYPE TargetCellInUTRAN PRESENCE conditional} -- The IE shall be present if the Handover Report Type IE is set to "InterRAT ping-pong" --|
{ ID id-SourceCellCRNTI CRITICALITY ignore TYPE CRNTI PRESENCE optional}|
{ ID id-MobilityInformation CRITICALITY ignore TYPE MobilityInformation PRESENCE optional}|
{ ID id-UE-RLF-Report-Container CRITICALITY ignore TYPE UE-RLF-Report-Container PRESENCE optional}|
{ ID id-UE-RLF-Report-Container-for-extended-bands CRITICALITY ignore TYPE UE-RLF-Report-Container-for-extended-bands PRESENCE optional}|
{ ID id-TargetCellInNGRAN CRITICALITY ignore TYPE TargetCellInNGRAN PRESENCE conditional} -- The IE shall be present if the Handover Report Type IE is set to "interSystemPingpong" --,
...
}
-- **************************************************************
--
-- EARLY STATUS TRANSFER
--
-- **************************************************************
EarlyStatusTransfer ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ EarlyStatusTransfer-IEs}},
...
}
EarlyStatusTransfer-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Old-eNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-New-eNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Old-eNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-New-eNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-ProcedureStage CRITICALITY reject TYPE ProcedureStageChoice PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY ignore TYPE SgNB-UE-X2AP-ID PRESENCE optional},
...
}
ProcedureStageChoice ::= CHOICE {
first-dl-count FirstDLCount,
dl-discarding DLDiscarding,
choice-extension ProtocolIE-Single-Container { {ProcedureStageChoice-ExtIEs} }
}
ProcedureStageChoice-ExtIEs X2AP-PROTOCOL-IES ::= {
...
}
FirstDLCount ::= SEQUENCE {
e-RABsSubjectToEarlyStatusTransfer E-RABsSubjectToEarlyStatusTransfer-List,
iE-Extension ProtocolExtensionContainer { {FirstDLCount-ExtIEs} } OPTIONAL,
...
}
FirstDLCount-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
DLDiscarding ::= SEQUENCE {
e-RABsSubjectToDLDiscarding-List E-RABsSubjectToDLDiscarding-List,
iE-Extension ProtocolExtensionContainer { {DLDiscarding-ExtIEs} } OPTIONAL,
...
}
DLDiscarding-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- SN STATUS TRANSFER
--
-- **************************************************************
SNStatusTransfer ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SNStatusTransfer-IEs}},
...
}
SNStatusTransfer-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Old-eNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-New-eNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-E-RABs-SubjectToStatusTransfer-List CRITICALITY ignore TYPE E-RABs-SubjectToStatusTransfer-List PRESENCE mandatory}|
{ ID id-Old-eNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-New-eNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY ignore TYPE SgNB-UE-X2AP-ID PRESENCE optional},
...
}
E-RABs-SubjectToStatusTransfer-List ::= SEQUENCE (SIZE (1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-SubjectToStatusTransfer-ItemIEs} }
E-RABs-SubjectToStatusTransfer-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-SubjectToStatusTransfer-Item CRITICALITY ignore TYPE E-RABs-SubjectToStatusTransfer-Item PRESENCE mandatory }
}
E-RABs-SubjectToStatusTransfer-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
receiveStatusofULPDCPSDUs ReceiveStatusofULPDCPSDUs OPTIONAL,
uL-COUNTvalue COUNTvalue,
dL-COUNTvalue COUNTvalue,
iE-Extensions ProtocolExtensionContainer { {E-RABs-SubjectToStatusTransfer-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-SubjectToStatusTransfer-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-ReceiveStatusOfULPDCPSDUsExtended CRITICALITY ignore EXTENSION ReceiveStatusOfULPDCPSDUsExtended PRESENCE optional}|
{ ID id-ULCOUNTValueExtended CRITICALITY ignore EXTENSION COUNTValueExtended PRESENCE optional}|
{ ID id-DLCOUNTValueExtended CRITICALITY ignore EXTENSION COUNTValueExtended PRESENCE optional}|
{ ID id-ReceiveStatusOfULPDCPSDUsPDCP-SNlength18 CRITICALITY ignore EXTENSION ReceiveStatusOfULPDCPSDUsPDCP-SNlength18 PRESENCE optional}|
{ ID id-ULCOUNTValuePDCP-SNlength18 CRITICALITY ignore EXTENSION COUNTvaluePDCP-SNlength18 PRESENCE optional}|
{ ID id-DLCOUNTValuePDCP-SNlength18 CRITICALITY ignore EXTENSION COUNTvaluePDCP-SNlength18 PRESENCE optional},
...
}
-- **************************************************************
--
-- UE CONTEXT RELEASE
--
-- **************************************************************
UEContextRelease ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{UEContextRelease-IEs}},
...
}
UEContextRelease-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Old-eNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-New-eNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Old-eNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-New-eNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SIPTO-BearerDeactivationIndication CRITICALITY ignore TYPE SIPTOBearerDeactivationIndication PRESENCE optional}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY ignore TYPE SgNB-UE-X2AP-ID PRESENCE optional},
...
}
-- **************************************************************
--
-- HANDOVER CANCEL
--
-- **************************************************************
HandoverCancel ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{HandoverCancel-IEs}},
...
}
HandoverCancel-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Old-eNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-New-eNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE optional}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-Old-eNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-New-eNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-CandidateCellsToBeCancelledList CRITICALITY reject TYPE CandidateCellsToBeCancelledList PRESENCE optional},
...
}
-- **************************************************************
--
-- HANDOVER SUCCESS
--
-- **************************************************************
HandoverSuccess ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{HandoverSuccess-IEs}},
...
}
HandoverSuccess-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Old-eNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-New-eNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Old-eNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-New-eNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-TargetCell-ID CRITICALITY reject TYPE ECGI PRESENCE mandatory},
...
}
-- **************************************************************
--
-- CONDITIONAL HANDOVER CANCEL
--
-- **************************************************************
ConditionalHandoverCancel ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ConditionalHandoverCancel-IEs}},
...
}
ConditionalHandoverCancel-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Old-eNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-New-eNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE optional}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-Old-eNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-New-eNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-CandidateCellsToBeCancelledList CRITICALITY reject TYPE CandidateCellsToBeCancelledList PRESENCE optional},
...
}
-- **************************************************************
--
-- ERROR INDICATION
--
-- **************************************************************
ErrorIndication ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ErrorIndication-IEs}},
...
}
ErrorIndication-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Old-eNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE optional}|
{ ID id-New-eNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE optional}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE optional}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-Old-eNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-New-eNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-Old-SgNB-UE-X2AP-ID CRITICALITY ignore TYPE SgNB-UE-X2AP-ID PRESENCE optional}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional},
...
}
-- **************************************************************
--
-- RESET REQUEST
--
-- **************************************************************
ResetRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ResetRequest-IEs}},
...
}
ResetRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional},
...
}
-- **************************************************************
--
-- RESET RESPONSE
--
-- **************************************************************
ResetResponse ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ResetResponse-IEs}},
...
}
ResetResponse-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional }|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional},
...
}
-- **************************************************************
--
-- X2 SETUP REQUEST
--
-- **************************************************************
X2SetupRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{X2SetupRequest-IEs}},
...
}
X2SetupRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-GlobalENB-ID CRITICALITY reject TYPE GlobalENB-ID PRESENCE mandatory}|
{ ID id-ServedCells CRITICALITY reject TYPE ServedCells PRESENCE mandatory}|
{ ID id-GUGroupIDList CRITICALITY reject TYPE GUGroupIDList PRESENCE optional}|
{ ID id-LHN-ID CRITICALITY ignore TYPE LHN-ID PRESENCE optional},
...
}
-- **************************************************************
--
-- X2 SETUP RESPONSE
--
-- **************************************************************
X2SetupResponse ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{X2SetupResponse-IEs}},
...
}
X2SetupResponse-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-GlobalENB-ID CRITICALITY reject TYPE GlobalENB-ID PRESENCE mandatory}|
{ ID id-ServedCells CRITICALITY reject TYPE ServedCells PRESENCE mandatory}|
{ ID id-GUGroupIDList CRITICALITY reject TYPE GUGroupIDList PRESENCE optional}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-LHN-ID CRITICALITY ignore TYPE LHN-ID PRESENCE optional},
...
}
-- **************************************************************
--
-- X2 SETUP FAILURE
--
-- **************************************************************
X2SetupFailure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{X2SetupFailure-IEs}},
...
}
X2SetupFailure-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory} |
{ ID id-TimeToWait CRITICALITY ignore TYPE TimeToWait PRESENCE optional} |
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional },
...
}
-- **************************************************************
--
-- LOAD INFORMATION
--
-- **************************************************************
LoadInformation ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{LoadInformation-IEs}},
...
}
LoadInformation-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-CellInformation CRITICALITY ignore TYPE CellInformation-List PRESENCE mandatory} ,
...
}
CellInformation-List ::= SEQUENCE (SIZE (1..maxCellineNB)) OF ProtocolIE-Single-Container { {CellInformation-ItemIEs} }
CellInformation-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-CellInformation-Item CRITICALITY ignore TYPE CellInformation-Item PRESENCE mandatory }
}
CellInformation-Item ::= SEQUENCE {
cell-ID ECGI,
ul-InterferenceOverloadIndication UL-InterferenceOverloadIndication OPTIONAL,
ul-HighInterferenceIndicationInfo UL-HighInterferenceIndicationInfo OPTIONAL,
relativeNarrowbandTxPower RelativeNarrowbandTxPower OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {CellInformation-Item-ExtIEs} } OPTIONAL,
...
}
CellInformation-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-ABSInformation CRITICALITY ignore EXTENSION ABSInformation PRESENCE optional }|
{ ID id-InvokeIndication CRITICALITY ignore EXTENSION InvokeIndication PRESENCE optional }|
{ ID id-IntendedULDLConfiguration CRITICALITY ignore EXTENSION SubframeAssignment PRESENCE optional }|
{ ID id-ExtendedULInterferenceOverloadInfo CRITICALITY ignore EXTENSION ExtendedULInterferenceOverloadInfo PRESENCE optional }|
{ ID id-CoMPInformation CRITICALITY ignore EXTENSION CoMPInformation PRESENCE optional }|
{ ID id-DynamicDLTransmissionInformation CRITICALITY ignore EXTENSION DynamicDLTransmissionInformation PRESENCE optional },
...
}
-- **************************************************************
--
-- ENB CONFIGURATION UPDATE
--
-- **************************************************************
ENBConfigurationUpdate ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENBConfigurationUpdate-IEs}},
...
}
ENBConfigurationUpdate-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-ServedCellsToAdd CRITICALITY reject TYPE ServedCells PRESENCE optional}|
{ ID id-ServedCellsToModify CRITICALITY reject TYPE ServedCellsToModify PRESENCE optional}|
{ ID id-ServedCellsToDelete CRITICALITY reject TYPE Old-ECGIs PRESENCE optional}|
{ ID id-GUGroupIDToAddList CRITICALITY reject TYPE GUGroupIDList PRESENCE optional}|
{ ID id-GUGroupIDToDeleteList CRITICALITY reject TYPE GUGroupIDList PRESENCE optional}|
{ ID id-CoverageModificationList CRITICALITY reject TYPE CoverageModificationList PRESENCE optional},
...
}
ServedCellsToModify::= SEQUENCE (SIZE (1..maxCellineNB)) OF ServedCellsToModify-Item
ServedCellsToModify-Item::= SEQUENCE {
old-ecgi ECGI,
servedCellInfo ServedCell-Information,
neighbour-Info Neighbour-Information OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {ServedCellsToModify-Item-ExtIEs} } OPTIONAL,
...
}
ServedCellsToModify-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-DeactivationIndication CRITICALITY ignore EXTENSION DeactivationIndication PRESENCE optional }|
{ ID id-NRNeighbourInfoToModify CRITICALITY ignore EXTENSION NRNeighbour-Information PRESENCE optional },
...
}
Old-ECGIs::= SEQUENCE (SIZE (1..maxCellineNB)) OF ECGI
-- **************************************************************
--
-- ENB CONFIGURATION UPDATE ACKNOWLEDGE
--
-- **************************************************************
ENBConfigurationUpdateAcknowledge ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENBConfigurationUpdateAcknowledge-IEs}},
...
}
ENBConfigurationUpdateAcknowledge-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional},
...
}
-- **************************************************************
--
-- ENB CONFIGURATION UPDATE FAIURE
--
-- **************************************************************
ENBConfigurationUpdateFailure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENBConfigurationUpdateFailure-IEs}},
...
}
ENBConfigurationUpdateFailure-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-TimeToWait CRITICALITY ignore TYPE TimeToWait PRESENCE optional}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional},
...
}
-- **************************************************************
--
-- RESOURCE STATUS REQUEST
--
-- **************************************************************
ResourceStatusRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ResourceStatusRequest-IEs}},
...
}
ResourceStatusRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-ENB1-Measurement-ID CRITICALITY reject TYPE Measurement-ID PRESENCE mandatory}|
{ ID id-ENB2-Measurement-ID CRITICALITY ignore TYPE Measurement-ID PRESENCE conditional}|-- The IE shall be present if the Registration Request IE is set to “Stop”, “Partial stop” or to “Add”--
{ ID id-Registration-Request CRITICALITY reject TYPE Registration-Request PRESENCE mandatory}|
{ ID id-ReportCharacteristics CRITICALITY reject TYPE ReportCharacteristics PRESENCE optional}|
{ ID id-CellToReport CRITICALITY ignore TYPE CellToReport-List PRESENCE mandatory}|
{ ID id-ReportingPeriodicity CRITICALITY ignore TYPE ReportingPeriodicity PRESENCE optional}|
{ ID id-PartialSuccessIndicator CRITICALITY ignore TYPE PartialSuccessIndicator PRESENCE optional}|
{ ID id-ReportingPeriodicityRSRPMR CRITICALITY ignore TYPE ReportingPeriodicityRSRPMR PRESENCE optional}|
{ ID id-ReportingPeriodicityCSIR CRITICALITY ignore TYPE ReportingPeriodicityCSIR PRESENCE optional},
...
}
CellToReport-List ::= SEQUENCE (SIZE (1..maxCellineNB)) OF ProtocolIE-Single-Container { {CellToReport-ItemIEs} }
CellToReport-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-CellToReport-Item CRITICALITY ignore TYPE CellToReport-Item PRESENCE mandatory}
}
CellToReport-Item ::= SEQUENCE {
cell-ID ECGI,
iE-Extensions ProtocolExtensionContainer { {CellToReport-Item-ExtIEs} } OPTIONAL,
...
}
CellToReport-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ReportingPeriodicity ::= ENUMERATED {
one-thousand-ms,
two-thousand-ms,
five-thousand-ms,
ten-thousand-ms,
...
}
PartialSuccessIndicator ::= ENUMERATED {
partial-success-allowed,
...
}
-- **************************************************************
--
-- RESOURCE STATUS RESPONSE
--
-- **************************************************************
ResourceStatusResponse ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ResourceStatusResponse-IEs}},
...
}
ResourceStatusResponse-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-ENB1-Measurement-ID CRITICALITY reject TYPE Measurement-ID PRESENCE mandatory}|
{ ID id-ENB2-Measurement-ID CRITICALITY reject TYPE Measurement-ID PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeasurementInitiationResult-List CRITICALITY ignore TYPE MeasurementInitiationResult-List PRESENCE optional},
...
}
MeasurementInitiationResult-List ::= SEQUENCE (SIZE (1..maxCellineNB)) OF ProtocolIE-Single-Container { {MeasurementInitiationResult-ItemIEs} }
MeasurementInitiationResult-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeasurementInitiationResult-Item CRITICALITY ignore TYPE MeasurementInitiationResult-Item PRESENCE mandatory}
}
MeasurementInitiationResult-Item ::= SEQUENCE {
cell-ID ECGI,
measurementFailureCause-List MeasurementFailureCause-List OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {MeasurementInitiationResult-Item-ExtIEs} } OPTIONAL,
...
}
MeasurementInitiationResult-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
MeasurementFailureCause-List ::= SEQUENCE (SIZE (1..maxFailedMeasObjects)) OF ProtocolIE-Single-Container { {MeasurementFailureCause-ItemIEs} }
MeasurementFailureCause-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeasurementFailureCause-Item CRITICALITY ignore TYPE MeasurementFailureCause-Item PRESENCE mandatory}
}
MeasurementFailureCause-Item ::= SEQUENCE {
measurementFailedReportCharacteristics ReportCharacteristics,
cause Cause,
iE-Extensions ProtocolExtensionContainer { {MeasurementFailureCause-Item-ExtIEs} } OPTIONAL,
...
}
MeasurementFailureCause-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- RESOURCE STATUS FAILURE
--
-- **************************************************************
ResourceStatusFailure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ResourceStatusFailure-IEs}},
...
}
ResourceStatusFailure-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-ENB1-Measurement-ID CRITICALITY reject TYPE Measurement-ID PRESENCE mandatory}|
{ ID id-ENB2-Measurement-ID CRITICALITY reject TYPE Measurement-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-CompleteFailureCauseInformation-List CRITICALITY ignore TYPE CompleteFailureCauseInformation-List PRESENCE optional},
...
}
CompleteFailureCauseInformation-List ::= SEQUENCE (SIZE (1..maxCellineNB)) OF ProtocolIE-Single-Container { {CompleteFailureCauseInformation-ItemIEs} }
CompleteFailureCauseInformation-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-CompleteFailureCauseInformation-Item CRITICALITY ignore TYPE CompleteFailureCauseInformation-Item PRESENCE mandatory}
}
CompleteFailureCauseInformation-Item ::= SEQUENCE {
cell-ID ECGI,
measurementFailureCause-List MeasurementFailureCause-List,
iE-Extensions ProtocolExtensionContainer { {CompleteFailureCauseInformation-Item-ExtIEs} } OPTIONAL,
...
}
CompleteFailureCauseInformation-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- RESOURCE STATUS UPDATE
--
-- **************************************************************
ResourceStatusUpdate ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ResourceStatusUpdate-IEs}},
...
}
ResourceStatusUpdate-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-ENB1-Measurement-ID CRITICALITY reject TYPE Measurement-ID PRESENCE mandatory}|
{ ID id-ENB2-Measurement-ID CRITICALITY reject TYPE Measurement-ID PRESENCE mandatory}|
{ ID id-CellMeasurementResult CRITICALITY ignore TYPE CellMeasurementResult-List PRESENCE mandatory},
...
}
CellMeasurementResult-List ::= SEQUENCE (SIZE (1..maxCellineNB)) OF ProtocolIE-Single-Container { {CellMeasurementResult-ItemIEs} }
CellMeasurementResult-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-CellMeasurementResult-Item CRITICALITY ignore TYPE CellMeasurementResult-Item PRESENCE mandatory}
}
CellMeasurementResult-Item ::= SEQUENCE {
cell-ID ECGI,
hWLoadIndicator HWLoadIndicator OPTIONAL,
s1TNLLoadIndicator S1TNLLoadIndicator OPTIONAL,
radioResourceStatus RadioResourceStatus OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {CellMeasurementResult-Item-ExtIEs} } OPTIONAL,
...
}
CellMeasurementResult-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-CompositeAvailableCapacityGroup CRITICALITY ignore EXTENSION CompositeAvailableCapacityGroup PRESENCE optional}|
{ ID id-ABS-Status CRITICALITY ignore EXTENSION ABS-Status PRESENCE optional}|
{ ID id-RSRPMRList CRITICALITY ignore EXTENSION RSRPMRList PRESENCE optional}|
{ ID id-CSIReportList CRITICALITY ignore EXTENSION CSIReportList PRESENCE optional}|
{ ID id-CellReportingIndicator CRITICALITY ignore EXTENSION CellReportingIndicator PRESENCE optional}|
{ ID id-MeasurementResultforNRCellsPossiblyAggregated CRITICALITY ignore EXTENSION MeasurementResultforNRCellsPossiblyAggregated PRESENCE optional},
...
}
-- **************************************************************
--
-- PRIVATE MESSAGE
--
-- **************************************************************
PrivateMessage ::= SEQUENCE {
privateIEs PrivateIE-Container {{PrivateMessage-IEs}},
...
}
PrivateMessage-IEs X2AP-PRIVATE-IES ::= {
...
}
-- **************************************************************
--
-- MOBILITY CHANGE REQUEST
--
-- **************************************************************
MobilityChangeRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{MobilityChangeRequest-IEs}},
...
}
MobilityChangeRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-ENB1-Cell-ID CRITICALITY reject TYPE ECGI PRESENCE mandatory}|
{ ID id-ENB2-Cell-ID CRITICALITY reject TYPE ECGI PRESENCE mandatory}|
{ ID id-ENB1-Mobility-Parameters CRITICALITY ignore TYPE MobilityParametersInformation PRESENCE optional}|
{ ID id-ENB2-Proposed-Mobility-Parameters CRITICALITY reject TYPE MobilityParametersInformation PRESENCE mandatory}|
{ ID id-Cause CRITICALITY reject TYPE Cause PRESENCE mandatory},
...
}
-- **************************************************************
--
-- MOBILITY CHANGE ACKNOWLEDGE
--
-- **************************************************************
MobilityChangeAcknowledge ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{MobilityChangeAcknowledge-IEs}},
...
}
MobilityChangeAcknowledge-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-ENB1-Cell-ID CRITICALITY reject TYPE ECGI PRESENCE mandatory}|
{ ID id-ENB2-Cell-ID CRITICALITY reject TYPE ECGI PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional},
...
}
-- **************************************************************
--
-- MOBILITY CHANGE FAILURE
--
-- **************************************************************
MobilityChangeFailure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{MobilityChangeFailure-IEs}},
...
}
MobilityChangeFailure-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-ENB1-Cell-ID CRITICALITY ignore TYPE ECGI PRESENCE mandatory}|
{ ID id-ENB2-Cell-ID CRITICALITY ignore TYPE ECGI PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-ENB2-Mobility-Parameters-Modification-Range CRITICALITY ignore TYPE MobilityParametersModificationRange PRESENCE optional}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional},
...
}
-- **************************************************************
--
-- RADIO LINK FAILURE INDICATION
--
-- **************************************************************
RLFIndication ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{RLFIndication-IEs}},
...
}
RLFIndication-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-FailureCellPCI CRITICALITY ignore TYPE PCI PRESENCE mandatory}|
{ ID id-Re-establishmentCellECGI CRITICALITY ignore TYPE ECGI PRESENCE mandatory}|
{ ID id-FailureCellCRNTI CRITICALITY ignore TYPE CRNTI PRESENCE mandatory}|
{ ID id-ShortMAC-I CRITICALITY ignore TYPE ShortMAC-I PRESENCE optional}|
{ ID id-UE-RLF-Report-Container CRITICALITY ignore TYPE UE-RLF-Report-Container PRESENCE optional}|
{ ID id-RRCConnSetupIndicator CRITICALITY reject TYPE RRCConnSetupIndicator PRESENCE optional}|
{ ID id-RRCConnReestabIndicator CRITICALITY ignore TYPE RRCConnReestabIndicator PRESENCE optional}|
{ ID id-UE-RLF-Report-Container-for-extended-bands CRITICALITY ignore TYPE UE-RLF-Report-Container-for-extended-bands PRESENCE optional}|
{ ID id-NBIoT-RLF-Report-Container CRITICALITY ignore TYPE NBIoT-RLF-Report-Container PRESENCE optional},
...
}
-- **************************************************************
--
-- CELL ACTIVATION REQUEST
--
-- **************************************************************
CellActivationRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{CellActivationRequest-IEs}},
...
}
CellActivationRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-ServedCellsToActivate CRITICALITY reject TYPE ServedCellsToActivate PRESENCE mandatory},
...
}
ServedCellsToActivate::= SEQUENCE (SIZE (1..maxCellineNB)) OF ServedCellsToActivate-Item
ServedCellsToActivate-Item::= SEQUENCE {
ecgi ECGI,
iE-Extensions ProtocolExtensionContainer { {ServedCellsToActivate-Item-ExtIEs} } OPTIONAL,
...
}
ServedCellsToActivate-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- CELL ACTIVATION RESPONSE
--
-- **************************************************************
CellActivationResponse ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{CellActivationResponse-IEs}},
...
}
CellActivationResponse-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-ActivatedCellList CRITICALITY ignore TYPE ActivatedCellList PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional},
...
}
ActivatedCellList ::= SEQUENCE (SIZE (1..maxCellineNB)) OF ActivatedCellList-Item
ActivatedCellList-Item::= SEQUENCE {
ecgi ECGI,
iE-Extensions ProtocolExtensionContainer { {ActivatedCellList-Item-ExtIEs} } OPTIONAL,
...
}
ActivatedCellList-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
--**************************************************************
--
-- CELL ACTIVATION FAILURE
--
-- **************************************************************
CellActivationFailure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{CellActivationFailure-IEs}},
...
}
CellActivationFailure-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory }|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional },
...
}
-- **************************************************************
--
-- X2 RELEASE
--
-- **************************************************************
X2Release ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{X2Release-IEs}},
...
}
X2Release-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-GlobalENB-ID CRITICALITY reject TYPE GlobalENB-ID PRESENCE mandatory},
...
}
-- **************************************************************
--
-- X2AP MESSAGE TRANSFER
--
-- **************************************************************
X2APMessageTransfer ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{X2APMessageTransfer-IEs}},
...
}
X2APMessageTransfer-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-RNL-Header CRITICALITY reject TYPE RNL-Header PRESENCE mandatory}|
{ ID id-x2APMessage CRITICALITY reject TYPE X2AP-Message PRESENCE optional},
...
}
RNL-Header ::= SEQUENCE {
source-GlobalENB-ID GlobalENB-ID,
target-GlobalENB-ID GlobalENB-ID OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {RNL-Header-Item-ExtIEs} } OPTIONAL,
...
}
RNL-Header-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
X2AP-Message ::= OCTET STRING
-- **************************************************************
--
-- SENB ADDITION REQUEST
--
-- **************************************************************
SeNBAdditionRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SeNBAdditionRequest-IEs}},
...
}
SeNBAdditionRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-UE-SecurityCapabilities CRITICALITY reject TYPE UESecurityCapabilities PRESENCE conditional}|
-- This IE shall be present if the Bearer Option IE is set to the value “SCG bearer” --
{ ID id-SeNBSecurityKey CRITICALITY reject TYPE SeNBSecurityKey PRESENCE conditional}|
-- This IE shall be present if the Bearer Option IE is set to the value “SCG bearer” --
{ ID id-SeNBUEAggregateMaximumBitRate CRITICALITY reject TYPE UEAggregateMaximumBitRate PRESENCE mandatory}|
{ ID id-ServingPLMN CRITICALITY ignore TYPE PLMN-Identity PRESENCE optional}|
{ ID id-E-RABs-ToBeAdded-List CRITICALITY reject TYPE E-RABs-ToBeAdded-List PRESENCE mandatory}|
{ ID id-MeNBtoSeNBContainer CRITICALITY reject TYPE MeNBtoSeNBContainer PRESENCE mandatory}|
{ ID id-CSGMembershipStatus CRITICALITY reject TYPE CSGMembershipStatus PRESENCE optional}|
{ ID id-SeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE optional}|
{ ID id-SeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-ExpectedUEBehaviour CRITICALITY ignore TYPE ExpectedUEBehaviour PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
E-RABs-ToBeAdded-List ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeAdded-ItemIEs} }
E-RABs-ToBeAdded-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeAdded-Item CRITICALITY reject TYPE E-RABs-ToBeAdded-Item PRESENCE mandatory},
...
}
E-RABs-ToBeAdded-Item ::= CHOICE {
sCG-Bearer E-RABs-ToBeAdded-Item-SCG-Bearer,
split-Bearer E-RABs-ToBeAdded-Item-Split-Bearer,
...
}
E-RABs-ToBeAdded-Item-SCG-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
e-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters,
dL-Forwarding DL-Forwarding OPTIONAL,
s1-UL-GTPtunnelEndpoint GTPtunnelEndpoint,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeAdded-Item-SCG-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeAdded-Item-SCG-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-Correlation-ID CRITICALITY ignore EXTENSION Correlation-ID PRESENCE optional}|
{ ID id-SIPTO-Correlation-ID CRITICALITY ignore EXTENSION Correlation-ID PRESENCE optional}|
{ ID id-BearerType CRITICALITY ignore EXTENSION BearerType PRESENCE optional}|
{ ID id-Ethernet-Type CRITICALITY ignore EXTENSION Ethernet-Type PRESENCE optional}|
{ ID id-SourceDLForwardingIPAddress CRITICALITY ignore EXTENSION TransportLayerAddress PRESENCE optional},
...
}
E-RABs-ToBeAdded-Item-Split-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
e-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters,
meNB-GTPtunnelEndpoint GTPtunnelEndpoint,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeAdded-Item-Split-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeAdded-Item-Split-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-SourceDLForwardingIPAddress CRITICALITY ignore EXTENSION TransportLayerAddress PRESENCE optional},
...
}
-- **************************************************************
--
-- SENB ADDITION REQUEST ACKNOWLEDGE
--
-- **************************************************************
SeNBAdditionRequestAcknowledge ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SeNBAdditionRequestAcknowledge-IEs}},
...
}
SeNBAdditionRequestAcknowledge-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-E-RABs-Admitted-ToBeAdded-List CRITICALITY ignore TYPE E-RABs-Admitted-ToBeAdded-List PRESENCE mandatory}|
{ ID id-E-RABs-NotAdmitted-List CRITICALITY ignore TYPE E-RAB-List PRESENCE optional}|
{ ID id-SeNBtoMeNBContainer CRITICALITY reject TYPE SeNBtoMeNBContainer PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-GW-TransportLayerAddress CRITICALITY ignore TYPE TransportLayerAddress PRESENCE optional}|
{ ID id-SIPTO-L-GW-TransportLayerAddress CRITICALITY ignore TYPE TransportLayerAddress PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-Tunnel-Information-for-BBF CRITICALITY ignore TYPE TunnelInformation PRESENCE optional},
...
}
E-RABs-Admitted-ToBeAdded-List ::= SEQUENCE (SIZE (1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-Admitted-ToBeAdded-ItemIEs} }
E-RABs-Admitted-ToBeAdded-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-Admitted-ToBeAdded-Item CRITICALITY ignore TYPE E-RABs-Admitted-ToBeAdded-Item PRESENCE mandatory}
}
E-RABs-Admitted-ToBeAdded-Item ::= CHOICE {
sCG-Bearer E-RABs-Admitted-ToBeAdded-Item-SCG-Bearer,
split-Bearer E-RABs-Admitted-ToBeAdded-Item-Split-Bearer,
...
}
E-RABs-Admitted-ToBeAdded-Item-SCG-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
s1-DL-GTPtunnelEndpoint GTPtunnelEndpoint,
dL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
uL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeAdded-Item-SCG-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeAdded-Item-SCG-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-SourceDLForwardingIPAddress CRITICALITY ignore EXTENSION TransportLayerAddress PRESENCE optional},
...
}
E-RABs-Admitted-ToBeAdded-Item-Split-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
seNB-GTPtunnelEndpoint GTPtunnelEndpoint,
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeAdded-Item-Split-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeAdded-Item-Split-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-SourceDLForwardingIPAddress CRITICALITY ignore EXTENSION TransportLayerAddress PRESENCE optional},
...
}
-- **************************************************************
--
-- SENB ADDITION REQUEST REJECT
--
-- **************************************************************
SeNBAdditionRequestReject ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SeNBAdditionRequestReject-IEs}},
...
}
SeNBAdditionRequestReject-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
-- **************************************************************
--
-- SENB RECONFIGURATION COMPLETE
--
-- **************************************************************
SeNBReconfigurationComplete ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SeNBReconfigurationComplete-IEs}},
...
}
SeNBReconfigurationComplete-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-ResponseInformationSeNBReconfComp CRITICALITY ignore TYPE ResponseInformationSeNBReconfComp PRESENCE mandatory}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
ResponseInformationSeNBReconfComp ::= CHOICE {
success ResponseInformationSeNBReconfComp-SuccessItem,
reject-by-MeNB ResponseInformationSeNBReconfComp-RejectByMeNBItem,
...
}
ResponseInformationSeNBReconfComp-SuccessItem ::= SEQUENCE {
meNBtoSeNBContainer MeNBtoSeNBContainer OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {ResponseInformationSeNBReconfComp-SuccessItemExtIEs} } OPTIONAL,
...
}
ResponseInformationSeNBReconfComp-SuccessItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ResponseInformationSeNBReconfComp-RejectByMeNBItem ::= SEQUENCE {
cause Cause,
meNBtoSeNBContainer MeNBtoSeNBContainer OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {ResponseInformationSeNBReconfComp-RejectByMeNBItemExtIEs} } OPTIONAL,
...
}
ResponseInformationSeNBReconfComp-RejectByMeNBItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- SENB MODIFICATION REQUEST
--
-- **************************************************************
SeNBModificationRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ SeNBModificationRequest-IEs}},
...
}
SeNBModificationRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-SCGChangeIndication CRITICALITY ignore TYPE SCGChangeIndication PRESENCE optional}|
{ ID id-ServingPLMN CRITICALITY ignore TYPE PLMN-Identity PRESENCE optional}|
{ ID id-UE-ContextInformationSeNBModReq CRITICALITY reject TYPE UE-ContextInformationSeNBModReq PRESENCE optional}|
{ ID id-MeNBtoSeNBContainer CRITICALITY ignore TYPE MeNBtoSeNBContainer PRESENCE optional}|
{ ID id-CSGMembershipStatus CRITICALITY reject TYPE CSGMembershipStatus PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
UE-ContextInformationSeNBModReq ::= SEQUENCE {
uE-SecurityCapabilities UESecurityCapabilities OPTIONAL,
seNB-SecurityKey SeNBSecurityKey OPTIONAL,
seNBUEAggregateMaximumBitRate UEAggregateMaximumBitRate OPTIONAL,
e-RABs-ToBeAdded E-RABs-ToBeAdded-List-ModReq OPTIONAL,
e-RABs-ToBeModified E-RABs-ToBeModified-List-ModReq OPTIONAL,
e-RABs-ToBeReleased E-RABs-ToBeReleased-List-ModReq OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {UE-ContextInformationSeNBModReqExtIEs} } OPTIONAL,
...
}
UE-ContextInformationSeNBModReqExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeAdded-List-ModReq ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeAdded-ModReqItemIEs} }
E-RABs-ToBeAdded-ModReqItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeAdded-ModReqItem CRITICALITY ignore TYPE E-RABs-ToBeAdded-ModReqItem PRESENCE mandatory},
...
}
E-RABs-ToBeAdded-ModReqItem ::= CHOICE {
sCG-Bearer E-RABs-ToBeAdded-ModReqItem-SCG-Bearer,
split-Bearer E-RABs-ToBeAdded-ModReqItem-Split-Bearer,
...
}
E-RABs-ToBeAdded-ModReqItem-SCG-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
e-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters,
dL-Forwarding DL-Forwarding OPTIONAL,
s1-UL-GTPtunnelEndpoint GTPtunnelEndpoint,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeAdded-ModReqItem-SCG-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeAdded-ModReqItem-SCG-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-Correlation-ID CRITICALITY ignore EXTENSION Correlation-ID PRESENCE optional}|
{ ID id-SIPTO-Correlation-ID CRITICALITY ignore EXTENSION Correlation-ID PRESENCE optional}|
{ ID id-BearerType CRITICALITY ignore EXTENSION BearerType PRESENCE optional}|
{ ID id-Ethernet-Type CRITICALITY ignore EXTENSION Ethernet-Type PRESENCE optional}|
{ ID id-SourceDLForwardingIPAddress CRITICALITY ignore EXTENSION TransportLayerAddress PRESENCE optional},
...
}
E-RABs-ToBeAdded-ModReqItem-Split-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
e-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters,
meNB-GTPtunnelEndpoint GTPtunnelEndpoint,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeAdded-ModReqItem-Split-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeAdded-ModReqItem-Split-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-SourceDLForwardingIPAddress CRITICALITY ignore EXTENSION TransportLayerAddress PRESENCE optional},
...
}
E-RABs-ToBeModified-List-ModReq ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeModified-ModReqItemIEs} }
E-RABs-ToBeModified-ModReqItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeModified-ModReqItem CRITICALITY ignore TYPE E-RABs-ToBeModified-ModReqItem PRESENCE mandatory},
...
}
E-RABs-ToBeModified-ModReqItem ::= CHOICE {
sCG-Bearer E-RABs-ToBeModified-ModReqItem-SCG-Bearer,
split-Bearer E-RABs-ToBeModified-ModReqItem-Split-Bearer,
...
}
E-RABs-ToBeModified-ModReqItem-SCG-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
e-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters OPTIONAL,
s1-UL-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeModified-ModReqItem-SCG-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeModified-ModReqItem-SCG-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeModified-ModReqItem-Split-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
e-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters OPTIONAL,
meNB-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeModified-ModReqItem-Split-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeModified-ModReqItem-Split-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeReleased-List-ModReq ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeReleased-ModReqItemIEs} }
E-RABs-ToBeReleased-ModReqItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeReleased-ModReqItem CRITICALITY ignore TYPE E-RABs-ToBeReleased-ModReqItem PRESENCE mandatory},
...
}
E-RABs-ToBeReleased-ModReqItem ::= CHOICE {
sCG-Bearer E-RABs-ToBeReleased-ModReqItem-SCG-Bearer,
split-Bearer E-RABs-ToBeReleased-ModReqItem-Split-Bearer,
...
}
E-RABs-ToBeReleased-ModReqItem-SCG-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
dL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
uL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-ModReqItem-SCG-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-ModReqItem-SCG-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeReleased-ModReqItem-Split-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
dL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-ModReqItem-Split-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-ModReqItem-Split-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- SENB MODIFICATION REQUEST ACKNOWLEDGE
--
-- **************************************************************
SeNBModificationRequestAcknowledge ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SeNBModificationRequestAcknowledge-IEs}},
...
}
SeNBModificationRequestAcknowledge-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-E-RABs-Admitted-ToBeAdded-ModAckList CRITICALITY ignore TYPE E-RABs-Admitted-ToBeAdded-ModAckList PRESENCE optional}|
{ ID id-E-RABs-Admitted-ToBeModified-ModAckList CRITICALITY ignore TYPE E-RABs-Admitted-ToBeModified-ModAckList PRESENCE optional}|
{ ID id-E-RABs-Admitted-ToBeReleased-ModAckList CRITICALITY ignore TYPE E-RABs-Admitted-ToBeReleased-ModAckList PRESENCE optional}|
{ ID id-E-RABs-NotAdmitted-List CRITICALITY ignore TYPE E-RAB-List PRESENCE optional}|
{ ID id-SeNBtoMeNBContainer CRITICALITY ignore TYPE SeNBtoMeNBContainer PRESENCE optional}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
E-RABs-Admitted-ToBeAdded-ModAckList ::= SEQUENCE (SIZE (1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-Admitted-ToBeAdded-ModAckItemIEs} }
E-RABs-Admitted-ToBeAdded-ModAckItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-Admitted-ToBeAdded-ModAckItem CRITICALITY ignore TYPE E-RABs-Admitted-ToBeAdded-ModAckItem PRESENCE mandatory}
}
E-RABs-Admitted-ToBeAdded-ModAckItem ::= CHOICE {
sCG-Bearer E-RABs-Admitted-ToBeAdded-ModAckItem-SCG-Bearer,
split-Bearer E-RABs-Admitted-ToBeAdded-ModAckItem-Split-Bearer,
...
}
E-RABs-Admitted-ToBeAdded-ModAckItem-SCG-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
s1-DL-GTPtunnelEndpoint GTPtunnelEndpoint,
dL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
uL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeAdded-ModAckItem-SCG-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeAdded-ModAckItem-SCG-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-SourceDLForwardingIPAddress CRITICALITY ignore EXTENSION TransportLayerAddress PRESENCE optional},
...
}
E-RABs-Admitted-ToBeAdded-ModAckItem-Split-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
seNB-GTPtunnelEndpoint GTPtunnelEndpoint,
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeAdded-ModAckItem-Split-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeAdded-ModAckItem-Split-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-SourceDLForwardingIPAddress CRITICALITY ignore EXTENSION TransportLayerAddress PRESENCE optional},
...
}
E-RABs-Admitted-ToBeModified-ModAckList ::= SEQUENCE (SIZE (1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-Admitted-ToBeModified-ModAckItemIEs} }
E-RABs-Admitted-ToBeModified-ModAckItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-Admitted-ToBeModified-ModAckItem CRITICALITY ignore TYPE E-RABs-Admitted-ToBeModified-ModAckItem PRESENCE mandatory}
}
E-RABs-Admitted-ToBeModified-ModAckItem ::= CHOICE {
sCG-Bearer E-RABs-Admitted-ToBeModified-ModAckItem-SCG-Bearer,
split-Bearer E-RABs-Admitted-ToBeModified-ModAckItem-Split-Bearer,
...
}
E-RABs-Admitted-ToBeModified-ModAckItem-SCG-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
s1-DL-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeModified-ModAckItem-SCG-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeModified-ModAckItem-SCG-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-Admitted-ToBeModified-ModAckItem-Split-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
seNB-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeModified-ModAckItem-Split-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeModified-ModAckItem-Split-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-Admitted-ToBeReleased-ModAckList ::= SEQUENCE (SIZE (1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-Admitted-ToBeReleased-ModAckItemIEs} }
E-RABs-Admitted-ToBeReleased-ModAckItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-Admitted-ToBeReleased-ModAckItem CRITICALITY ignore TYPE E-RABs-Admitted-ToReleased-ModAckItem PRESENCE mandatory}
}
E-RABs-Admitted-ToReleased-ModAckItem ::= CHOICE {
sCG-Bearer E-RABs-Admitted-ToBeReleased-ModAckItem-SCG-Bearer,
split-Bearer E-RABs-Admitted-ToBeReleased-ModAckItem-Split-Bearer,
...
}
E-RABs-Admitted-ToBeReleased-ModAckItem-SCG-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeReleased-ModAckItem-SCG-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeReleased-ModAckItem-SCG-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-Admitted-ToBeReleased-ModAckItem-Split-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeReleased-ModAckItem-Split-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeReleased-ModAckItem-Split-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- SENB MODIFICATION REQUEST REJECT
--
-- **************************************************************
SeNBModificationRequestReject ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SeNBModificationRequestReject-IEs}},
...
}
SeNBModificationRequestReject-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
-- **************************************************************
--
-- SENB MODIFICATION REQUIRED
--
-- **************************************************************
SeNBModificationRequired ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SeNBModificationRequired-IEs}},
...
}
SeNBModificationRequired-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-SCGChangeIndication CRITICALITY ignore TYPE SCGChangeIndication PRESENCE optional}|
{ ID id-E-RABs-ToBeReleased-ModReqd CRITICALITY ignore TYPE E-RABs-ToBeReleased-ModReqd PRESENCE optional}|
{ ID id-SeNBtoMeNBContainer CRITICALITY ignore TYPE SeNBtoMeNBContainer PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
E-RABs-ToBeReleased-ModReqd ::= SEQUENCE (SIZE (1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeReleased-ModReqdItemIEs} }
E-RABs-ToBeReleased-ModReqdItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeReleased-ModReqdItem CRITICALITY ignore TYPE E-RABs-ToBeReleased-ModReqdItem PRESENCE mandatory },
...
}
E-RABs-ToBeReleased-ModReqdItem ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
cause Cause,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-ModReqdItemExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-ModReqdItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- SENB MODIFICATION CONFIRM
--
-- **************************************************************
SeNBModificationConfirm ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SeNBModificationConfirm-IEs}},
...
}
SeNBModificationConfirm-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-MeNBtoSeNBContainer CRITICALITY ignore TYPE MeNBtoSeNBContainer PRESENCE optional}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
-- **************************************************************
--
-- SENB MODIFICATION REFUSE
--
-- **************************************************************
SeNBModificationRefuse ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SeNBModificationRefuse-IEs}},
...
}
SeNBModificationRefuse-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-MeNBtoSeNBContainer CRITICALITY ignore TYPE MeNBtoSeNBContainer PRESENCE optional}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
-- **************************************************************
--
-- SENB RELEASE REQUEST
--
-- **************************************************************
SeNBReleaseRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SeNBReleaseRequest-IEs}},
...
}
SeNBReleaseRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE optional}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE optional}|
{ ID id-E-RABs-ToBeReleased-List-RelReq CRITICALITY ignore TYPE E-RABs-ToBeReleased-List-RelReq PRESENCE optional}|
{ ID id-UE-ContextKeptIndicator CRITICALITY ignore TYPE UE-ContextKeptIndicator PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-MakeBeforeBreakIndicator CRITICALITY ignore TYPE MakeBeforeBreakIndicator PRESENCE optional},
...
}
E-RABs-ToBeReleased-List-RelReq ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeReleased-RelReqItemIEs} }
E-RABs-ToBeReleased-RelReqItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeReleased-RelReqItem CRITICALITY ignore TYPE E-RABs-ToBeReleased-RelReqItem PRESENCE mandatory},
...
}
E-RABs-ToBeReleased-RelReqItem ::= CHOICE {
sCG-Bearer E-RABs-ToBeReleased-RelReqItem-SCG-Bearer,
split-Bearer E-RABs-ToBeReleased-RelReqItem-Split-Bearer,
...
}
E-RABs-ToBeReleased-RelReqItem-SCG-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
uL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
dL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-RelReqItem-SCG-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-RelReqItem-SCG-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeReleased-RelReqItem-Split-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
dL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-RelReqItem-Split-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-RelReqItem-Split-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- SENB RELEASE REQUIRED
--
-- **************************************************************
SeNBReleaseRequired ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SeNBReleaseRequired-IEs}},
...
}
SeNBReleaseRequired-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
-- **************************************************************
--
-- SENB RELEASE CONFIRM
--
-- **************************************************************
SeNBReleaseConfirm ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SeNBReleaseConfirm-IEs}},
...
}
SeNBReleaseConfirm-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-E-RABs-ToBeReleased-List-RelConf CRITICALITY ignore TYPE E-RABs-ToBeReleased-List-RelConf PRESENCE optional}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
E-RABs-ToBeReleased-List-RelConf ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeReleased-RelConfItemIEs} }
E-RABs-ToBeReleased-RelConfItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeReleased-RelConfItem CRITICALITY ignore TYPE E-RABs-ToBeReleased-RelConfItem PRESENCE mandatory},
...
}
E-RABs-ToBeReleased-RelConfItem ::= CHOICE {
sCG-Bearer E-RABs-ToBeReleased-RelConfItem-SCG-Bearer,
split-Bearer E-RABs-ToBeReleased-RelConfItem-Split-Bearer,
...
}
E-RABs-ToBeReleased-RelConfItem-SCG-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
uL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
dL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-RelConfItem-SCG-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-RelConfItem-SCG-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeReleased-RelConfItem-Split-Bearer ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
dL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-RelConfItem-Split-BearerExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-RelConfItem-Split-BearerExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- SENB COUNTER CHECK REQUEST
--
-- **************************************************************
SeNBCounterCheckRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SeNBCounterCheckRequest-IEs}},
...
}
SeNBCounterCheckRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-E-RABs-SubjectToCounterCheck-List CRITICALITY ignore TYPE E-RABs-SubjectToCounterCheck-List PRESENCE mandatory}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
E-RABs-SubjectToCounterCheck-List ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-SubjectToCounterCheckItemIEs} }
E-RABs-SubjectToCounterCheckItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-SubjectToCounterCheckItem CRITICALITY ignore TYPE E-RABs-SubjectToCounterCheckItem PRESENCE mandatory},
...
}
E-RABs-SubjectToCounterCheckItem ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
uL-Count INTEGER (0..4294967295),
dL-Count INTEGER (0..4294967295),
iE-Extensions ProtocolExtensionContainer { {E-RABs-SubjectToCounterCheckItemExtIEs} } OPTIONAL,
...
}
E-RABs-SubjectToCounterCheckItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- X2 REMOVAL REQUEST
--
-- **************************************************************
X2RemovalRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{X2RemovalRequest-IEs}},
...
}
X2RemovalRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-GlobalENB-ID CRITICALITY reject TYPE GlobalENB-ID PRESENCE mandatory}|
{ ID id-X2RemovalThreshold CRITICALITY reject TYPE X2BenefitValue PRESENCE optional},
...
}
-- **************************************************************
--
-- X2 REMOVAL RESPONSE
--
-- **************************************************************
X2RemovalResponse ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{X2RemovalResponse-IEs}},
...
}
X2RemovalResponse-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-GlobalENB-ID CRITICALITY reject TYPE GlobalENB-ID PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional},
...
}
-- **************************************************************
--
-- X2 REMOVAL FAILURE
--
-- **************************************************************
X2RemovalFailure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{X2RemovalFailure-IEs}},
...
}
X2RemovalFailure-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional},
...
}
-- **************************************************************
--
-- RETRIEVE UE CONTEXT REQUEST
--
-- **************************************************************
RetrieveUEContextRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ RetrieveUEContextRequest-IEs}},
...
}
RetrieveUEContextRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-New-eNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
-- Allocated at the new eNB.
-- This IE contains an Extended eNB UE X2AP ID, which, together with the New eNB UE X2AP ID IE
-- represents the eNB UE X2AP ID allocated at the new eNB.
{ ID id-resumeID CRITICALITY reject TYPE ResumeID PRESENCE mandatory}|
{ ID id-ShortMAC-I CRITICALITY reject TYPE ShortMAC-I PRESENCE mandatory}|
{ ID id-NewEUTRANCellIdentifier CRITICALITY reject TYPE EUTRANCellIdentifier PRESENCE mandatory}|
{ID id-FailureCellCRNTI CRITICALITY reject TYPE CRNTI PRESENCE optional}|
{ID id-FailureCellPCI CRITICALITY reject TYPE PCI PRESENCE optional},
...
}
-- **************************************************************
--
-- RETRIEVE UE CONTEXT RESPONSE
--
-- **************************************************************
RetrieveUEContextResponse ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ RetrieveUEContextResponse-IEs}},
...
}
RetrieveUEContextResponse-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-New-eNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-New-eNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-Old-eNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Old-eNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-GUMMEI-ID CRITICALITY reject TYPE GUMMEI PRESENCE mandatory}|
{ ID id-UE-ContextInformationRetrieve CRITICALITY reject TYPE UE-ContextInformationRetrieve PRESENCE mandatory}|
{ ID id-TraceActivation CRITICALITY ignore TYPE TraceActivation PRESENCE optional}|
{ ID id-SRVCCOperationPossible CRITICALITY ignore TYPE SRVCCOperationPossible PRESENCE optional}|
{ ID id-Masked-IMEISV CRITICALITY ignore TYPE Masked-IMEISV PRESENCE optional}|
{ ID id-ExpectedUEBehaviour CRITICALITY ignore TYPE ExpectedUEBehaviour PRESENCE optional}|
{ ID id-ProSeAuthorized CRITICALITY ignore TYPE ProSeAuthorized PRESENCE optional}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-V2XServicesAuthorized CRITICALITY ignore TYPE V2XServicesAuthorized PRESENCE optional}|
{ ID id-AerialUEsubscriptionInformation CRITICALITY ignore TYPE AerialUEsubscriptionInformation PRESENCE optional}|
{ ID id-Subscription-Based-UE-DifferentiationInfo CRITICALITY ignore TYPE Subscription-Based-UE-DifferentiationInfo PRESENCE optional}|
{ ID id-NRV2XServicesAuthorized CRITICALITY ignore TYPE NRV2XServicesAuthorized PRESENCE optional}|
{ ID id-PC5QoSParameters CRITICALITY ignore TYPE PC5QoSParameters PRESENCE optional },
...
}
UE-ContextInformationRetrieve ::= SEQUENCE {
mME-UE-S1AP-ID UE-S1AP-ID,
uESecurityCapabilities UESecurityCapabilities,
aS-SecurityInformation AS-SecurityInformation,
uEaggregateMaximumBitRate UEAggregateMaximumBitRate,
subscriberProfileIDforRFP SubscriberProfileIDforRFP OPTIONAL,
e-RABs-ToBeSetup-ListRetrieve E-RABs-ToBeSetup-ListRetrieve,
rRC-Context RRC-Context,
handoverRestrictionList HandoverRestrictionList OPTIONAL,
locationReportingInformation LocationReportingInformation OPTIONAL,
managBasedMDTallowed ManagementBasedMDTallowed OPTIONAL,
managBasedMDTPLMNList MDTPLMNList OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {UE-ContextInformationRetrieve-ExtIEs} } OPTIONAL,
...
}
UE-ContextInformationRetrieve-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-UESidelinkAggregateMaximumBitRate CRITICALITY ignore EXTENSION UESidelinkAggregateMaximumBitRate PRESENCE optional }|
{ ID id-AdditionalRRMPriorityIndex CRITICALITY ignore EXTENSION AdditionalRRMPriorityIndex PRESENCE optional }|
{ ID id-EPCHandoverRestrictionListContainer CRITICALITY ignore EXTENSION EPCHandoverRestrictionListContainer PRESENCE optional }|
{ ID id-NRUESidelinkAggregateMaximumBitRate CRITICALITY ignore EXTENSION NRUESidelinkAggregateMaximumBitRate PRESENCE optional}|
{ ID id-UERadioCapabilityID CRITICALITY reject EXTENSION UERadioCapabilityID PRESENCE optional }|
{ ID id-IMSvoiceEPSfallbackfrom5G CRITICALITY ignore EXTENSION IMSvoiceEPSfallbackfrom5G PRESENCE optional },
...
}
E-RABs-ToBeSetup-ListRetrieve ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeSetupRetrieve-ItemIEs} }
E-RABs-ToBeSetupRetrieve-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeSetupRetrieve-Item CRITICALITY ignore TYPE E-RABs-ToBeSetupRetrieve-Item PRESENCE mandatory},
...
}
E-RABs-ToBeSetupRetrieve-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
e-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters,
bearerType BearerType OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeSetupRetrieve-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeSetupRetrieve-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-uL-GTPtunnelEndpoint CRITICALITY reject EXTENSION GTPtunnelEndpoint PRESENCE mandatory}|
{ ID id-dL-Forwarding CRITICALITY ignore EXTENSION DL-Forwarding PRESENCE optional}|
{ ID id-Ethernet-Type CRITICALITY ignore EXTENSION Ethernet-Type PRESENCE optional}|
{ ID id-SecurityIndication CRITICALITY reject EXTENSION SecurityIndication PRESENCE optional}|
{ ID id-SourceDLForwardingIPAddress CRITICALITY ignore EXTENSION TransportLayerAddress PRESENCE optional},
...
}
-- **************************************************************
--
-- RETRIEVE UE CONTEXT FAILURE
--
-- **************************************************************
RetrieveUEContextFailure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ RetrieveUEContextFailure-IEs}},
...
}
RetrieveUEContextFailure-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-New-eNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-New-eNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional},
...
}
-- **************************************************************
--
-- SGNB ADDITION REQUEST
--
-- **************************************************************
SgNBAdditionRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBAdditionRequest-IEs}},
...
}
SgNBAdditionRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-NRUESecurityCapabilities CRITICALITY reject TYPE NRUESecurityCapabilities PRESENCE mandatory}|
{ ID id-SgNBSecurityKey CRITICALITY reject TYPE SgNBSecurityKey PRESENCE mandatory}|
{ ID id-SgNBUEAggregateMaximumBitRate CRITICALITY reject TYPE UEAggregateMaximumBitRate PRESENCE mandatory}|
{ ID id-SelectedPLMN CRITICALITY ignore TYPE PLMN-Identity PRESENCE optional}|
{ ID id-HandoverRestrictionList CRITICALITY ignore TYPE HandoverRestrictionList PRESENCE optional}|
{ ID id-E-RABs-ToBeAdded-SgNBAddReqList CRITICALITY reject TYPE E-RABs-ToBeAdded-SgNBAddReqList PRESENCE mandatory}|
{ ID id-MeNBtoSgNBContainer CRITICALITY reject TYPE MeNBtoSgNBContainer PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE optional}|
{ ID id-ExpectedUEBehaviour CRITICALITY ignore TYPE ExpectedUEBehaviour PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-RequestedSplitSRBs CRITICALITY reject TYPE SplitSRBs PRESENCE optional}|
{ ID id-MeNBResourceCoordinationInformation CRITICALITY ignore TYPE MeNBResourceCoordinationInformation PRESENCE optional}|
{ ID id-SGNB-Addition-Trigger-Ind CRITICALITY reject TYPE SGNB-Addition-Trigger-Ind PRESENCE optional}|
{ ID id-SubscriberProfileIDforRFP CRITICALITY ignore TYPE SubscriberProfileIDforRFP PRESENCE optional}|
{ ID id-MeNBCell-ID CRITICALITY reject TYPE ECGI PRESENCE mandatory}|
{ ID id-DesiredActNotificationLevel CRITICALITY ignore TYPE DesiredActNotificationLevel PRESENCE optional}|
{ ID id-TraceActivation CRITICALITY ignore TYPE TraceActivation PRESENCE optional}|
{ ID id-LocationInformationSgNBReporting CRITICALITY ignore TYPE LocationInformationSgNBReporting PRESENCE optional}|
{ ID id-Masked-IMEISV CRITICALITY ignore TYPE Masked-IMEISV PRESENCE optional}|
{ ID id-AdditionalRRMPriorityIndex CRITICALITY ignore TYPE AdditionalRRMPriorityIndex PRESENCE optional}|
{ ID id-RequestedFastMCGRecoveryViaSRB3 CRITICALITY ignore TYPE RequestedFastMCGRecoveryViaSRB3 PRESENCE optional}|
{ ID id-UEContextReferenceatSourceNGRAN CRITICALITY ignore TYPE RAN-UE-NGAP-ID PRESENCE optional}|
{ ID id-ManagementBasedMDTallowed CRITICALITY ignore TYPE ManagementBasedMDTallowed PRESENCE optional }|
{ ID id-ManagementBasedMDTPLMNList CRITICALITY ignore TYPE MDTPLMNList PRESENCE optional }|
{ ID id-UERadioCapabilityID CRITICALITY reject TYPE UERadioCapabilityID PRESENCE optional}|
{ ID id-IABNodeIndication CRITICALITY reject TYPE IABNodeIndication PRESENCE optional}|
{ ID id-sourceNG-RAN-node-id CRITICALITY ignore TYPE Global-RAN-NODE-ID PRESENCE optional}|
{ ID id-UE-HistoryInformation CRITICALITY ignore TYPE UE-HistoryInformation PRESENCE optional}|
{ ID id-UE-HistoryInformationFromTheUE CRITICALITY ignore TYPE UE-HistoryInformationFromTheUE PRESENCE optional}|
{ ID id-PSCellChangeHistory CRITICALITY ignore TYPE PSCellChangeHistory PRESENCE optional}|
{ ID id-CHOinformation-AddReq CRITICALITY reject TYPE CHOinformation-AddReq PRESENCE optional}|
{ ID id-SCGActivationRequest CRITICALITY ignore TYPE SCGActivationRequest PRESENCE optional}|
{ ID id-CPAinformation-REQ CRITICALITY reject TYPE CPAinformation-REQ PRESENCE optional},
...
}
E-RABs-ToBeAdded-SgNBAddReqList ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeAdded-SgNBAddReq-ItemIEs} }
E-RABs-ToBeAdded-SgNBAddReq-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeAdded-SgNBAddReq-Item CRITICALITY reject TYPE E-RABs-ToBeAdded-SgNBAddReq-Item PRESENCE mandatory},
...
}
E-RABs-ToBeAdded-SgNBAddReq-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
drb-ID DRB-ID,
en-DC-ResourceConfiguration EN-DC-ResourceConfiguration,
resource-configuration CHOICE {
sgNBPDCPpresent E-RABs-ToBeAdded-SgNBAddReq-Item-SgNBPDCPpresent,
sgNBPDCPnotpresent E-RABs-ToBeAdded-SgNBAddReq-Item-SgNBPDCPnotpresent,
...
},
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeAdded-SgNBAddReq-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeAdded-SgNBAddReq-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeAdded-SgNBAddReq-Item-SgNBPDCPpresent ::= SEQUENCE {
full-E-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters,
max-MCG-admit-E-RAB-Level-QoS-Parameters GBR-QosInformation OPTIONAL,
-- This IE shall be present if MCG resource and SCG resources IEs in the EN-DC Resource Configuration IE are set to “present” and GBR QoS Information IE is present in Full E-RAB Level QoS Parameters IE --
dL-Forwarding DL-Forwarding OPTIONAL,
meNB-DL-GTP-TEIDatMCG GTPtunnelEndpoint OPTIONAL,
-- This IE shall be present if MCG resource IE in the EN-DC Resource Configuration IE is set to “present” --
s1-UL-GTPtunnelEndpoint GTPtunnelEndpoint,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeAdded-SgNBAddReq-Item-SgNBPDCPpresentExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeAdded-SgNBAddReq-Item-SgNBPDCPpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-RLCMode-transferred CRITICALITY ignore EXTENSION RLCMode PRESENCE optional}|
{ ID id-BearerType CRITICALITY ignore EXTENSION BearerType PRESENCE optional}|
{ ID id-Ethernet-Type CRITICALITY ignore EXTENSION Ethernet-Type PRESENCE optional}|
{ ID id-SourceDLForwardingIPAddress CRITICALITY ignore EXTENSION TransportLayerAddress PRESENCE optional}|
{ ID id-SecurityIndication CRITICALITY reject EXTENSION SecurityIndication PRESENCE optional}|
{ ID id-SourceNodeDLForwardingIPAddress CRITICALITY ignore EXTENSION TransportLayerAddress PRESENCE optional},
...
}
E-RABs-ToBeAdded-SgNBAddReq-Item-SgNBPDCPnotpresent ::= SEQUENCE {
requested-SCG-E-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters,
meNB-UL-GTP-TEIDatPDCP GTPtunnelEndpoint,
secondary-meNB-UL-GTP-TEIDatPDCP GTPtunnelEndpoint OPTIONAL,
rlc-Mode RLCMode,
uL-Configuration ULConfiguration OPTIONAL,
-- This IE shall be present if MCG resource and SCG resources IEs in the EN-DC Resource Configuration IE are set to “present” --
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeAdded-SgNBAddReq-Item-SgNBPDCPnotpresentExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeAdded-SgNBAddReq-Item-SgNBPDCPnotpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-uLpDCPSnLength CRITICALITY ignore EXTENSION PDCPSnLength PRESENCE optional}|
{ ID id-dLPDCPSnLength CRITICALITY ignore EXTENSION PDCPSnLength PRESENCE optional}|
{ ID id-duplicationActivation CRITICALITY ignore EXTENSION DuplicationActivation PRESENCE optional},
...
}
-- **************************************************************
--
-- SGNB ADDITION REQUEST ACKNOWLEDGE
--
-- **************************************************************
SgNBAdditionRequestAcknowledge ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBAdditionRequestAcknowledge-IEs}},
...
}
SgNBAdditionRequestAcknowledge-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-E-RABs-Admitted-ToBeAdded-SgNBAddReqAckList CRITICALITY ignore TYPE E-RABs-Admitted-ToBeAdded-SgNBAddReqAckList PRESENCE mandatory}|
{ ID id-E-RABs-NotAdmitted-List CRITICALITY ignore TYPE E-RAB-List PRESENCE optional}|
{ ID id-SgNBtoMeNBContainer CRITICALITY reject TYPE SgNBtoMeNBContainer PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-AdmittedSplitSRBs CRITICALITY reject TYPE SplitSRBs PRESENCE optional}|
{ ID id-SgNBResourceCoordinationInformation CRITICALITY ignore TYPE SgNBResourceCoordinationInformation PRESENCE optional}|
{ ID id-RRCConfigIndication CRITICALITY reject TYPE RRC-Config-Ind PRESENCE optional}|
{ ID id-LocationInformationSgNB CRITICALITY ignore TYPE LocationInformationSgNB PRESENCE optional}|
{ ID id-AvailableFastMCGRecoveryViaSRB3 CRITICALITY ignore TYPE AvailableFastMCGRecoveryViaSRB3 PRESENCE optional }|
{ ID id-DirectForwardingPathAvailability CRITICALITY ignore TYPE DirectForwardingPathAvailability PRESENCE optional }|
{ ID id-SCGActivationStatus CRITICALITY ignore TYPE SCGActivationStatus PRESENCE optional}|
{ ID id-CPAinformation-REQ-ACK CRITICALITY ignore TYPE CPAinformation-REQ-ACK PRESENCE optional},
...
}
E-RABs-Admitted-ToBeAdded-SgNBAddReqAckList ::= SEQUENCE (SIZE (1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-ItemIEs} }
E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item CRITICALITY ignore TYPE E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item PRESENCE mandatory}
}
E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
en-DC-ResourceConfiguration EN-DC-ResourceConfiguration,
resource-configuration CHOICE {
sgNBPDCPpresent E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item-SgNBPDCPpresent,
sgNBPDCPnotpresent E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item-SgNBPDCPnotpresent,
...
},
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeAdded-SgNBAddReqAck-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeAdded-SgNBAddReqAck-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item-SgNBPDCPpresent ::= SEQUENCE {
s1-DL-GTPtunnelEndpoint GTPtunnelEndpoint,
sgNB-UL-GTP-TEIDatPDCP GTPtunnelEndpoint OPTIONAL,
-- This IE shall be present if MCG resource IE in the EN-DC Resource Configuration IE is set to “present” --
rlc-Mode RLCMode OPTIONAL,
-- This IE shall be present if MCG resource IE in the EN-DC Resource Configuration IE is set to “present” --
dL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
uL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
mCG-E-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters OPTIONAL,
-- This IE shall be present if MCG resource and SCG resource IEs in the EN-DC Resource Configuration IE are set to “present” and the GBR QoS Information IE is present in the Requested MCG E-RAB Level QoS Parameters IE --
uL-Configuration ULConfiguration OPTIONAL,
-- This IE shall be present if MCG resource and SCG resources IEs in the EN-DC Resource Configuration IE are set to “present” --
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item-SgNBPDCPpresentExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item-SgNBPDCPpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-uLpDCPSnLength CRITICALITY ignore EXTENSION PDCPSnLength PRESENCE optional}|
{ ID id-dLPDCPSnLength CRITICALITY ignore EXTENSION PDCPSnLength PRESENCE optional}|
{ ID id-SourceDLForwardingIPAddress CRITICALITY ignore EXTENSION TransportLayerAddress PRESENCE optional}|
{ ID id-SecurityResult CRITICALITY ignore EXTENSION SecurityResult PRESENCE optional},
...
}
E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item-SgNBPDCPnotpresent ::= SEQUENCE {
sgNB-DL-GTP-TEIDatSCG GTPtunnelEndpoint,
secondary-sgNB-DL-GTP-TEIDatSCG GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item-SgNBPDCPnotpresentExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item-SgNBPDCPnotpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-lCID CRITICALITY ignore EXTENSION LCID PRESENCE optional},
...
}
-- **************************************************************
--
-- SGNB ADDITION REQUEST REJECT
--
-- **************************************************************
SgNBAdditionRequestReject ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBAdditionRequestReject-IEs}},
...
}
SgNBAdditionRequestReject-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE optional}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
-- **************************************************************
--
-- SGNB RECONFIGURATION COMPLETE
--
-- **************************************************************
SgNBReconfigurationComplete ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBReconfigurationComplete-IEs}},
...
}
SgNBReconfigurationComplete-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-ResponseInformationSgNBReconfComp CRITICALITY ignore TYPE ResponseInformationSgNBReconfComp PRESENCE mandatory}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
ResponseInformationSgNBReconfComp ::= CHOICE {
success-SgNBReconfComp ResponseInformationSgNBReconfComp-SuccessItem,
reject-by-MeNB-SgNBReconfComp ResponseInformationSgNBReconfComp-RejectByMeNBItem,
...
}
ResponseInformationSgNBReconfComp-SuccessItem ::= SEQUENCE {
meNBtoSgNBContainer MeNBtoSgNBContainer OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {ResponseInformationSgNBReconfComp-SuccessItemExtIEs} } OPTIONAL,
...
}
ResponseInformationSgNBReconfComp-SuccessItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ResponseInformationSgNBReconfComp-RejectByMeNBItem ::= SEQUENCE {
cause Cause,
iE-Extensions ProtocolExtensionContainer { {ResponseInformationSgNBReconfComp-RejectByMeNBItemExtIEs} } OPTIONAL,
...
}
ResponseInformationSgNBReconfComp-RejectByMeNBItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- SGNB MODIFICATION REQUEST
--
-- **************************************************************
SgNBModificationRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ SgNBModificationRequest-IEs}},
...
}
SgNBModificationRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-SelectedPLMN CRITICALITY ignore TYPE PLMN-Identity PRESENCE optional}|
{ ID id-HandoverRestrictionList CRITICALITY ignore TYPE HandoverRestrictionList PRESENCE optional}|
{ ID id-SCGConfigurationQuery CRITICALITY ignore TYPE SCGConfigurationQuery PRESENCE optional}|
{ ID id-UE-ContextInformation-SgNBModReq CRITICALITY reject TYPE UE-ContextInformation-SgNBModReq PRESENCE optional}|
{ ID id-MeNBtoSgNBContainer CRITICALITY reject TYPE MeNBtoSgNBContainer PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-MeNBResourceCoordinationInformation CRITICALITY ignore TYPE MeNBResourceCoordinationInformation PRESENCE optional}|
{ ID id-RequestedSplitSRBs CRITICALITY ignore TYPE SplitSRBs PRESENCE optional}|
{ ID id-RequestedSplitSRBsrelease CRITICALITY ignore TYPE SplitSRBs PRESENCE optional}|
{ ID id-DesiredActNotificationLevel CRITICALITY ignore TYPE DesiredActNotificationLevel PRESENCE optional}|
{ ID id-LocationInformationSgNBReporting CRITICALITY ignore TYPE LocationInformationSgNBReporting PRESENCE optional}|
{ ID id-MeNBCell-ID CRITICALITY ignore TYPE ECGI PRESENCE optional}|
{ ID id-RequestedFastMCGRecoveryViaSRB3 CRITICALITY ignore TYPE RequestedFastMCGRecoveryViaSRB3 PRESENCE optional}|
{ ID id-RequestedFastMCGRecoveryViaSRB3Release CRITICALITY ignore TYPE RequestedFastMCGRecoveryViaSRB3Release PRESENCE optional}|
{ ID id-SNtriggered CRITICALITY ignore TYPE SNtriggered PRESENCE optional}|
{ ID id-IABNodeIndication CRITICALITY reject TYPE IABNodeIndication PRESENCE optional}|
{ ID id-PSCellHistoryInformationRetrieve CRITICALITY ignore TYPE PSCellHistoryInformationRetrieve PRESENCE optional}|
{ ID id-UE-HistoryInformationFromTheUE CRITICALITY ignore TYPE UE-HistoryInformationFromTheUE PRESENCE optional}|
{ ID id-CHOinformation-ModReq CRITICALITY ignore TYPE CHOinformation-ModReq PRESENCE optional}|
{ ID id-SCGActivationRequest CRITICALITY ignore TYPE SCGActivationRequest PRESENCE optional}|
{ ID id-CPAinformation-MOD CRITICALITY ignore TYPE CPAinformation-MOD PRESENCE optional}|
{ ID id-CPCupdate-MOD CRITICALITY ignore TYPE CPCupdate-MOD PRESENCE optional},
...
}
UE-ContextInformation-SgNBModReq ::= SEQUENCE {
nRUE-SecurityCapabilities NRUESecurityCapabilities OPTIONAL,
sgNB-SecurityKey SgNBSecurityKey OPTIONAL,
sgNBUEAggregateMaximumBitRate UEAggregateMaximumBitRate OPTIONAL,
e-RABs-ToBeAdded E-RABs-ToBeAdded-SgNBModReq-List OPTIONAL,
e-RABs-ToBeModified E-RABs-ToBeModified-SgNBModReq-List OPTIONAL,
e-RABs-ToBeReleased E-RABs-ToBeReleased-SgNBModReq-List OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {UE-ContextInformationSgNBModReqExtIEs} } OPTIONAL,
...
}
UE-ContextInformationSgNBModReqExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-SubscriberProfileIDforRFP CRITICALITY ignore EXTENSION SubscriberProfileIDforRFP PRESENCE optional}|
{ ID id-AdditionalRRMPriorityIndex CRITICALITY ignore EXTENSION AdditionalRRMPriorityIndex PRESENCE optional}|
{ID id-LowerLayerPresenceStatusChange CRITICALITY ignore EXTENSION LowerLayerPresenceStatusChange PRESENCE optional},
...
}
E-RABs-ToBeAdded-SgNBModReq-List ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeAdded-SgNBModReq-ItemIEs} }
E-RABs-ToBeAdded-SgNBModReq-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeAdded-SgNBModReq-Item CRITICALITY ignore TYPE E-RABs-ToBeAdded-SgNBModReq-Item PRESENCE mandatory},
...
}
E-RABs-ToBeAdded-SgNBModReq-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
drb-ID DRB-ID,
en-DC-ResourceConfiguration EN-DC-ResourceConfiguration,
resource-configuration CHOICE {
sgNBPDCPpresent E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPpresent,
sgNBPDCPnotpresent E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPnotpresent,
...
},
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeAdded-SgNBModReq-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeAdded-SgNBModReq-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPpresent ::= SEQUENCE {
full-E-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters,
max-MN-admit-E-RAB-Level-QoS-Parameters GBR-QosInformation OPTIONAL,
-- This IE shall be present if MCG resource and SCG resources IEs in the EN-DC Resource Configuration IE are set to “present” and GBR QoS Information IE is present in Full E-RAB Level QoS Parameters IE --
dL-Forwarding DL-Forwarding OPTIONAL,
meNB-DL-GTP-TEIDatMCG GTPtunnelEndpoint OPTIONAL,
-- This IE shall be present if MCG resource IE in the EN-DC Resource Configuration IE is set to “present” --
s1-UL-GTPtunnelEndpoint GTPtunnelEndpoint,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPpresentExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-RLCMode-transferred CRITICALITY ignore EXTENSION RLCMode PRESENCE optional}|
{ ID id-BearerType CRITICALITY ignore EXTENSION BearerType PRESENCE optional}|
{ ID id-Ethernet-Type CRITICALITY ignore EXTENSION Ethernet-Type PRESENCE optional}|
{ ID id-SecurityIndication CRITICALITY reject EXTENSION SecurityIndication PRESENCE optional}|
{ ID id-SourceDLForwardingIPAddress CRITICALITY ignore EXTENSION TransportLayerAddress PRESENCE optional},
...
}
E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPnotpresent ::= SEQUENCE {
requested-SCG-E-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters,
meNB-UL-GTP-TEIDatPDCP GTPtunnelEndpoint,
secondary-meNB-UL-GTP-TEIDatPDCP GTPtunnelEndpoint OPTIONAL,
rlc-Mode RLCMode,
uL-Configuration ULConfiguration OPTIONAL,
-- This IE shall be present if MCG resource and SCG resources IEs in the EN-DC Resource Configuration IE are set to “present” --
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPnotpresentExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPnotpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-uLpDCPSnLength CRITICALITY ignore EXTENSION PDCPSnLength PRESENCE optional}|
{ ID id-dLPDCPSnLength CRITICALITY ignore EXTENSION PDCPSnLength PRESENCE optional}|
{ ID id-duplicationActivation CRITICALITY ignore EXTENSION DuplicationActivation PRESENCE optional},
...
}
E-RABs-ToBeModified-SgNBModReq-List ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeModified-SgNBModReq-ItemIEs} }
E-RABs-ToBeModified-SgNBModReq-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeModified-SgNBModReq-Item CRITICALITY ignore TYPE E-RABs-ToBeModified-SgNBModReq-Item PRESENCE mandatory},
...
}
E-RABs-ToBeModified-SgNBModReq-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
en-DC-ResourceConfiguration EN-DC-ResourceConfiguration,
resource-configuration CHOICE {
sgNBPDCPpresent E-RABs-ToBeModified-SgNBModReq-Item-SgNBPDCPpresent,
sgNBPDCPnotpresent E-RABs-ToBeModified-SgNBModReq-Item-SgNBPDCPnotpresent,
...
},
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeModified-SgNBModReq-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeModified-SgNBModReq-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeModified-SgNBModReq-Item-SgNBPDCPpresent ::= SEQUENCE {
full-E-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters OPTIONAL,
max-MN-admit-E-RAB-Level-QoS-Parameters GBR-QosInformation OPTIONAL,
meNB-DL-GTP-TEIDatMCG GTPtunnelEndpoint OPTIONAL,
s1-UL-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeModified-SgNBModReq-Item-SgNBPDCPpresentExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeModified-SgNBModReq-Item-SgNBPDCPpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-RLC-Status CRITICALITY ignore EXTENSION RLC-Status PRESENCE optional },
...
}
E-RABs-ToBeModified-SgNBModReq-Item-SgNBPDCPnotpresent ::= SEQUENCE {
requested-SCG-E-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters OPTIONAL,
meNB-UL-GTP-TEIDatPDCP GTPtunnelEndpoint OPTIONAL,
uL-Configuration ULConfiguration OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeModified-SgNBModReq-Item-SgNBPDCPnotpresentExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeModified-SgNBModReq-Item-SgNBPDCPnotpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-uLpDCPSnLength CRITICALITY ignore EXTENSION PDCPSnLength PRESENCE optional}|
{ ID id-dLPDCPSnLength CRITICALITY ignore EXTENSION PDCPSnLength PRESENCE optional}|
{ ID id-secondarymeNBULGTPTEIDatPDCP CRITICALITY ignore EXTENSION GTPtunnelEndpoint PRESENCE optional},
...
}
E-RABs-ToBeReleased-SgNBModReq-List ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeReleased-SgNBModReq-ItemIEs} }
E-RABs-ToBeReleased-SgNBModReq-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeReleased-SgNBModReq-Item CRITICALITY ignore TYPE E-RABs-ToBeReleased-SgNBModReq-Item PRESENCE mandatory},
...
}
E-RABs-ToBeReleased-SgNBModReq-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
en-DC-ResourceConfiguration EN-DC-ResourceConfiguration,
resource-configuration CHOICE {
sgNBPDCPpresent E-RABs-ToBeReleased-SgNBModReq-Item-SgNBPDCPpresent,
sgNBPDCPnotpresent E-RABs-ToBeReleased-SgNBModReq-Item-SgNBPDCPnotpresent,
...
},
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-SgNBModReq-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-SgNBModReq-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeReleased-SgNBModReq-Item-SgNBPDCPpresent ::= SEQUENCE {
dL-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
uL-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-SgNBModReq-Item-SgNBPDCPpresentExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-SgNBModReq-Item-SgNBPDCPpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeReleased-SgNBModReq-Item-SgNBPDCPnotpresent ::= SEQUENCE {
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-SgNBModReq-Item-SgNBPDCPnotpresentExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-SgNBModReq-Item-SgNBPDCPnotpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- SGNB MODIFICATION REQUEST ACKNOWLEDGE
--
-- **************************************************************
SgNBModificationRequestAcknowledge ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBModificationRequestAcknowledge-IEs}},
...
}
SgNBModificationRequestAcknowledge-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY ignore TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-E-RABs-Admitted-ToBeAdded-SgNBModAckList CRITICALITY ignore TYPE E-RABs-Admitted-ToBeAdded-SgNBModAckList PRESENCE optional}|
{ ID id-E-RABs-Admitted-ToBeModified-SgNBModAckList CRITICALITY ignore TYPE E-RABs-Admitted-ToBeModified-SgNBModAckList PRESENCE optional}|
{ ID id-E-RABs-Admitted-ToBeReleased-SgNBModAckList CRITICALITY ignore TYPE E-RABs-Admitted-ToBeReleased-SgNBModAckList PRESENCE optional}|
{ ID id-E-RABs-NotAdmitted-List CRITICALITY ignore TYPE E-RAB-List PRESENCE optional}|
{ ID id-SgNBtoMeNBContainer CRITICALITY ignore TYPE SgNBtoMeNBContainer PRESENCE optional}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SgNBResourceCoordinationInformation CRITICALITY ignore TYPE SgNBResourceCoordinationInformation PRESENCE optional}|
{ ID id-AdmittedSplitSRBs CRITICALITY ignore TYPE SplitSRBs PRESENCE optional}|
{ ID id-AdmittedSplitSRBsrelease CRITICALITY ignore TYPE SplitSRBs PRESENCE optional}|
{ ID id-RRCConfigIndication CRITICALITY reject TYPE RRC-Config-Ind PRESENCE optional}|
{ ID id-LocationInformationSgNB CRITICALITY ignore TYPE LocationInformationSgNB PRESENCE optional}|
{ ID id-AvailableFastMCGRecoveryViaSRB3 CRITICALITY ignore TYPE AvailableFastMCGRecoveryViaSRB3 PRESENCE optional}|
{ ID id-ReleaseFastMCGRecoveryViaSRB3 CRITICALITY ignore TYPE ReleaseFastMCGRecoveryViaSRB3 PRESENCE optional}|
{ ID id-SCG-UE-HistoryInformation CRITICALITY ignore TYPE SCG-UE-HistoryInformation PRESENCE optional}|
{ ID id-SCGActivationStatus CRITICALITY ignore TYPE SCGActivationStatus PRESENCE optional}|
{ ID id-CPAinformation-MOD-ACK CRITICALITY reject TYPE CPAinformation-MOD-ACK PRESENCE optional},
...
}
E-RABs-Admitted-ToBeAdded-SgNBModAckList ::= SEQUENCE (SIZE (1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-Admitted-ToBeAdded-SgNBModAck-ItemIEs} }
E-RABs-Admitted-ToBeAdded-SgNBModAck-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-Admitted-ToBeAdded-SgNBModAck-Item CRITICALITY ignore TYPE E-RABs-Admitted-ToBeAdded-SgNBModAck-Item PRESENCE mandatory}
}
E-RABs-Admitted-ToBeAdded-SgNBModAck-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
en-DC-ResourceConfiguration EN-DC-ResourceConfiguration,
resource-configuration CHOICE {
sgNBPDCPpresent E-RABs-Admitted-ToBeAdded-SgNBModAck-Item-SgNBPDCPpresent,
sgNBPDCPnotpresent E-RABs-Admitted-ToBeAdded-SgNBModAck-Item-SgNBPDCPnotpresent,
...
},
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeAdded-SgNBModAck-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeAdded-SgNBModAck-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-Admitted-ToBeAdded-SgNBModAck-Item-SgNBPDCPpresent ::= SEQUENCE {
s1-DL-GTPtunnelEndpoint GTPtunnelEndpoint,
sgNB-UL-GTP-TEIDatPDCP GTPtunnelEndpoint OPTIONAL,
-- This IE shall be present if MCG resource IE in the EN-DC Resource Configuration IE are set to “present” --
rlc-Mode RLCMode OPTIONAL,
-- This IE shall be present if MCG resource IE in the EN-DC Resource Configuration IE are set to “present” --
dL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
uL-Forwarding-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
mCG-E-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters OPTIONAL,
-- This IE shall be present if MCG resource and SCG resource IEs in the EN-DC Resource Configuration IE are set to “present” and the GBR QoS Information IE is present in the Requested MCG E-RAB Level QoS Parameters IE --
uL-Configuration ULConfiguration OPTIONAL,
-- This IE shall be present if MCG resource and SCG resources IEs in the EN-DC Resource Configuration IE are set to “present” --
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeAdded-SgNBModAck-Item-SgNBPDCPpresentExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeAdded-SgNBModAck-Item-SgNBPDCPpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-uLpDCPSnLength CRITICALITY ignore EXTENSION PDCPSnLength PRESENCE optional}|
{ ID id-dLPDCPSnLength CRITICALITY ignore EXTENSION PDCPSnLength PRESENCE optional}|
{ ID id-SecurityResult CRITICALITY ignore EXTENSION SecurityResult PRESENCE optional}|
{ ID id-SourceDLForwardingIPAddress CRITICALITY ignore EXTENSION TransportLayerAddress PRESENCE optional},
...
}
E-RABs-Admitted-ToBeAdded-SgNBModAck-Item-SgNBPDCPnotpresent ::= SEQUENCE {
sgNB-DL-GTP-TEIDatSCG GTPtunnelEndpoint,
secondary-sgNB-DL-GTP-TEIDatSCG GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeAdded-SgNBModAck-Item-SgNBPDCPnotpresentExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeAdded-SgNBModAck-Item-SgNBPDCPnotpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ID id-lCID CRITICALITY ignore EXTENSION LCID PRESENCE optional},
...
}
E-RABs-Admitted-ToBeModified-SgNBModAckList ::= SEQUENCE (SIZE (1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-Admitted-ToBeModified-SgNBModAck-ItemIEs} }
E-RABs-Admitted-ToBeModified-SgNBModAck-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-Admitted-ToBeModified-SgNBModAck-Item CRITICALITY ignore TYPE E-RABs-Admitted-ToBeModified-SgNBModAck-Item PRESENCE mandatory}
}
E-RABs-Admitted-ToBeModified-SgNBModAck-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
en-DC-ResourceConfiguration EN-DC-ResourceConfiguration,
resource-configuration CHOICE {
sgNBPDCPpresent E-RABs-Admitted-ToBeModified-SgNBModAck-Item-SgNBPDCPpresent,
sgNBPDCPnotpresent E-RABs-Admitted-ToBeModified-SgNBModAck-Item-SgNBPDCPnotpresent,
...
},
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeAdded-SgNBModAck-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeAdded-SgNBModAck-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-Admitted-ToBeModified-SgNBModAck-Item-SgNBPDCPpresent ::= SEQUENCE {
s1-DL-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
sgNB-UL-GTP-TEIDatPDCP GTPtunnelEndpoint OPTIONAL,
mCG-E-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters OPTIONAL,
uL-Configuration ULConfiguration OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeModified-SgNBModAck-Item-SgNBPDCPpresentExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeModified-SgNBModAck-Item-SgNBPDCPpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-uLpDCPSnLength CRITICALITY ignore EXTENSION PDCPSnLength PRESENCE optional}|
{ ID id-dLPDCPSnLength CRITICALITY ignore EXTENSION PDCPSnLength PRESENCE optional},
...
}
E-RABs-Admitted-ToBeModified-SgNBModAck-Item-SgNBPDCPnotpresent ::= SEQUENCE {
sgNB-DL-GTP-TEIDatSCG GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeModified-SgNBModAck-Item-SgNBPDCPnotpresentExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeModified-SgNBModAck-Item-SgNBPDCPnotpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-secondarysgNBDLGTPTEIDatPDCP CRITICALITY ignore EXTENSION GTPtunnelEndpoint PRESENCE optional}|
{ ID id-RLC-Status CRITICALITY ignore EXTENSION RLC-Status PRESENCE optional },
...
}
E-RABs-Admitted-ToBeReleased-SgNBModAckList ::= SEQUENCE (SIZE (1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-Admitted-ToBeReleased-SgNBModAck-ItemIEs} }
E-RABs-Admitted-ToBeReleased-SgNBModAck-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-Admitted-ToBeReleased-SgNBModAck-Item CRITICALITY ignore TYPE E-RABs-Admitted-ToReleased-SgNBModAck-Item PRESENCE mandatory}
}
E-RABs-Admitted-ToReleased-SgNBModAck-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
en-DC-ResourceConfiguration EN-DC-ResourceConfiguration,
resource-configuration CHOICE {
sgNBPDCPpresent E-RABs-Admitted-ToBeReleased-SgNBModAck-Item-SgNBPDCPpresent,
sgNBPDCPnotpresent E-RABs-Admitted-ToBeReleased-SgNBModAck-Item-SgNBPDCPnotpresent,
...
},
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-SgNBModAck-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-SgNBModAck-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-Admitted-ToBeReleased-SgNBModAck-Item-SgNBPDCPpresent ::= SEQUENCE {
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeReleased-SgNBModAck-Item-SgNBPDCPpresentExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeReleased-SgNBModAck-Item-SgNBPDCPpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-Admitted-ToBeReleased-SgNBModAck-Item-SgNBPDCPnotpresent ::= SEQUENCE {
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeReleased-SgNBModAck-Item-SgNBPDCPnotpresentExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeReleased-SgNBModAck-Item-SgNBPDCPnotpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- SGNB MODIFICATION REQUEST REJECT
--
-- **************************************************************
SgNBModificationRequestReject ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBModificationRequestReject-IEs}},
...
}
SgNBModificationRequestReject-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY ignore TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
-- **************************************************************
--
-- SGNB MODIFICATION REQUIRED
--
-- **************************************************************
SgNBModificationRequired ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBModificationRequired-IEs}},
...
}
SgNBModificationRequired-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-PDCPChangeIndication CRITICALITY ignore TYPE PDCPChangeIndication PRESENCE optional}|
{ ID id-E-RABs-ToBeReleased-SgNBModReqdList CRITICALITY ignore TYPE E-RABs-ToBeReleased-SgNBModReqdList PRESENCE optional}|
{ ID id-SgNBtoMeNBContainer CRITICALITY ignore TYPE SgNBtoMeNBContainer PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-E-RABs-ToBeModified-SgNBModReqdList CRITICALITY ignore TYPE E-RABs-ToBeModified-SgNBModReqdList PRESENCE optional}|
{ ID id-SgNBResourceCoordinationInformation CRITICALITY ignore TYPE SgNBResourceCoordinationInformation PRESENCE optional}|
{ ID id-RRCConfigIndication CRITICALITY reject TYPE RRC-Config-Ind PRESENCE optional}|
{ ID id-LocationInformationSgNB CRITICALITY ignore TYPE LocationInformationSgNB PRESENCE optional}|
{ ID id-SCG-UE-HistoryInformation CRITICALITY ignore TYPE SCG-UE-HistoryInformation PRESENCE optional}|
{ ID id-SCGActivationRequest CRITICALITY ignore TYPE SCGActivationRequest PRESENCE optional}|
{ ID id-CPACinformation-REQD CRITICALITY ignore TYPE CPACinformation-REQD PRESENCE optional}|
{ ID id-SCGreconfigNotification CRITICALITY ignore TYPE SCGreconfigNotification PRESENCE optional},
...
}
E-RABs-ToBeReleased-SgNBModReqdList ::= SEQUENCE (SIZE (1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeReleased-SgNBModReqd-ItemIEs} }
E-RABs-ToBeReleased-SgNBModReqd-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeReleased-SgNBModReqd-Item CRITICALITY ignore TYPE E-RABs-ToBeReleased-SgNBModReqd-Item PRESENCE mandatory },
...
}
E-RABs-ToBeReleased-SgNBModReqd-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
cause Cause,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-SgNBModReqd-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-SgNBModReqd-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-RLCMode-transferred CRITICALITY ignore EXTENSION RLCMode PRESENCE optional},
...
}
E-RABs-ToBeModified-SgNBModReqdList ::= SEQUENCE (SIZE (1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeModified-SgNBModReqd-ItemIEs} }
E-RABs-ToBeModified-SgNBModReqd-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeModified-SgNBModReqd-Item CRITICALITY ignore TYPE E-RABs-ToBeModified-SgNBModReqd-Item PRESENCE mandatory },
...
}
E-RABs-ToBeModified-SgNBModReqd-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
en-DC-ResourceConfiguration EN-DC-ResourceConfiguration,
resource-configuration CHOICE {
sgNBPDCPpresent E-RABs-ToBeModified-SgNBModReqd-Item-SgNBPDCPpresent,
sgNBPDCPnotpresent E-RABs-ToBeModified-SgNBModReqd-Item-SgNBPDCPnotpresent,
...
},
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeModified-SgNBModReqd-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeModified-SgNBModReqd-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeModified-SgNBModReqd-Item-SgNBPDCPpresent ::= SEQUENCE {
requested-MCG-E-RAB-Level-QoS-Parameters E-RAB-Level-QoS-Parameters OPTIONAL,
uL-Configuration ULConfiguration OPTIONAL,
sgNB-UL-GTP-TEIDatPDCP GTPtunnelEndpoint OPTIONAL,
s1-DL-GTP-TEIDatSgNB GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeModified-SgNBModReqd-Item-SgNBPDCPpresentExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeModified-SgNBModReqd-Item-SgNBPDCPpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-uLpDCPSnLength CRITICALITY ignore EXTENSION PDCPSnLength PRESENCE optional}|
{ ID id-dLPDCPSnLength CRITICALITY ignore EXTENSION PDCPSnLength PRESENCE optional}|
{ ID id-new-drb-ID-req CRITICALITY ignore EXTENSION NewDRBIDrequest PRESENCE optional},
...
}
E-RABs-ToBeModified-SgNBModReqd-Item-SgNBPDCPnotpresent ::= SEQUENCE {
sgNB-DL-GTP-TEIDatSCG GTPtunnelEndpoint OPTIONAL,
secondary-sgNB-DL-GTP-TEIDatSCG GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeModified-SgNBModReqd-Item-SgNBPDCPnotpresentExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeModified-SgNBModReqd-Item-SgNBPDCPnotpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-RLC-Status CRITICALITY ignore EXTENSION RLC-Status PRESENCE optional}|
{ ID id-lCID CRITICALITY ignore EXTENSION LCID PRESENCE optional},
...
}
-- **************************************************************
--
-- SGNB MODIFICATION CONFIRM
--
-- **************************************************************
SgNBModificationConfirm ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBModificationConfirm-IEs}},
...
}
SgNBModificationConfirm-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY ignore TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-E-RABs-AdmittedToBeModified-SgNBModConfList CRITICALITY ignore TYPE E-RABs-AdmittedToBeModified-SgNBModConfList PRESENCE optional}|
{ ID id-MeNBtoSgNBContainer CRITICALITY ignore TYPE MeNBtoSgNBContainer PRESENCE optional}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-MeNBResourceCoordinationInformation CRITICALITY ignore TYPE MeNBResourceCoordinationInformation PRESENCE optional},
...
}
E-RABs-AdmittedToBeModified-SgNBModConfList ::= SEQUENCE (SIZE (1..maxnoofBearers)) OF ProtocolIE-Single-Container
{ {E-RABs-AdmittedToBeModified-SgNBModConf-ItemIEs} }
E-RABs-AdmittedToBeModified-SgNBModConf-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-AdmittedToBeModified-SgNBModConf-Item CRITICALITY ignore TYPE E-RABs-AdmittedToBeModified-SgNBModConf-Item PRESENCE mandatory },
...
}
E-RABs-AdmittedToBeModified-SgNBModConf-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
en-DC-ResourceConfiguration EN-DC-ResourceConfiguration,
resource-configuration CHOICE {
sgNBPDCPpresent E-RABs-AdmittedToBeModified-SgNBModConf-Item-SgNBPDCPpresent,
sgNBPDCPnotpresent E-RABs-AdmittedToBeModified-SgNBModConf-Item-SgNBPDCPnotpresent,
...
},
iE-Extensions ProtocolExtensionContainer { {E-RABs-AdmittedToBeModified-SgNBModConf-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-AdmittedToBeModified-SgNBModConf-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-AdmittedToBeModified-SgNBModConf-Item-SgNBPDCPpresent ::= SEQUENCE {
iE-Extensions ProtocolExtensionContainer { {E-RABs-AdmittedToBeModified-SgNBModConf-Item-SgNBPDCPpresentExtIEs} } OPTIONAL,
...
}
E-RABs-AdmittedToBeModified-SgNBModConf-Item-SgNBPDCPpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-AdmittedToBeModified-SgNBModConf-Item-SgNBPDCPnotpresent ::= SEQUENCE {
secondary-meNB-UL-GTP-TEIDatPDCP GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-AdmittedToBeModified-SgNBModConf-Item-SgNBPDCPnotpresentExtIEs} } OPTIONAL,
...
}
E-RABs-AdmittedToBeModified-SgNBModConf-Item-SgNBPDCPnotpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-uLpDCPSnLength CRITICALITY ignore EXTENSION PDCPSnLength PRESENCE optional}|
{ ID id-dLPDCPSnLength CRITICALITY ignore EXTENSION PDCPSnLength PRESENCE optional},
...
}
-- **************************************************************
--
-- SGNB MODIFICATION REFUSE
--
-- **************************************************************
SgNBModificationRefuse ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBModificationRefuse-IEs}},
...
}
SgNBModificationRefuse-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY ignore TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-MeNBtoSgNBContainer CRITICALITY ignore TYPE MeNBtoSgNBContainer PRESENCE optional}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
-- **************************************************************
--
-- SGNB RELEASE REQUEST
--
-- **************************************************************
SgNBReleaseRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBReleaseRequest-IEs}},
...
}
SgNBReleaseRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE optional}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-E-RABs-ToBeReleased-SgNBRelReqList CRITICALITY ignore TYPE E-RABs-ToBeReleased-SgNBRelReqList PRESENCE optional}|
{ ID id-UE-ContextKeptIndicator CRITICALITY ignore TYPE UE-ContextKeptIndicator PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-MeNBtoSgNBContainer CRITICALITY reject TYPE MeNBtoSgNBContainer PRESENCE optional}|
{ ID id-ERABs-transferred-to-MeNB CRITICALITY ignore TYPE E-RAB-List PRESENCE optional},
...
}
E-RABs-ToBeReleased-SgNBRelReqList ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeReleased-SgNBRelReq-ItemIEs} }
E-RABs-ToBeReleased-SgNBRelReq-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeReleased-SgNBRelReq-Item CRITICALITY ignore TYPE E-RABs-ToBeReleased-SgNBRelReq-Item PRESENCE mandatory},
...
}
E-RABs-ToBeReleased-SgNBRelReq-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
en-DC-ResourceConfiguration EN-DC-ResourceConfiguration,
resource-configuration CHOICE {
sgNBPDCPpresent E-RABs-ToBeReleased-SgNBRelReq-Item-SgNBPDCPpresent,
sgNBPDCPnotpresent E-RABs-ToBeReleased-SgNBRelReq-Item-SgNBPDCPnotpresent,
...
},
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-SgNBRelReq-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-SgNBRelReq-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeReleased-SgNBRelReq-Item-SgNBPDCPpresent ::= SEQUENCE {
uL-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
dL-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-SgNBRelReq-Item-SgNBPDCPpresentExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-SgNBRelReq-Item-SgNBPDCPpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeReleased-SgNBRelReq-Item-SgNBPDCPnotpresent ::= SEQUENCE {
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-SgNBRelReq-Item-SgNBPDCPnotpresentExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-SgNBRelReq-Item-SgNBPDCPnotpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- SGNB RELEASE REQUEST ACKNOWLEDGE
--
-- **************************************************************
SgNBReleaseRequestAcknowledge ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBReleaseRequestAcknowledge-IEs}},
...
}
SgNBReleaseRequestAcknowledge-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY ignore TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional }|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional }|
{ ID id-E-RABs-Admitted-ToBeReleased-SgNBRelReqAckList CRITICALITY ignore TYPE E-RABs-Admitted-ToBeReleased-SgNBRelReqAckList PRESENCE optional }|
{ ID id-SCG-UE-HistoryInformation CRITICALITY ignore TYPE SCG-UE-HistoryInformation PRESENCE optional},
...
}
E-RABs-Admitted-ToBeReleased-SgNBRelReqAckList ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF
ProtocolIE-Single-Container { {E-RABs-Admitted-ToBeReleased-SgNBRelReqAck-ItemIEs} }
E-RABs-Admitted-ToBeReleased-SgNBRelReqAck-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-Admitted-ToBeReleased-SgNBRelReqAck-Item CRITICALITY ignore TYPE E-RABs-Admitted-ToBeReleased-SgNBRelReqAck-Item PRESENCE mandatory},
...
}
E-RABs-Admitted-ToBeReleased-SgNBRelReqAck-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
rlc-Mode-transferred RLCMode,
iE-Extensions ProtocolExtensionContainer { {E-RABs-Admitted-ToBeReleased-SgNBRelReqAck-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-Admitted-ToBeReleased-SgNBRelReqAck-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- SGNB RELEASE REQUEST REJECT
--
-- **************************************************************
SgNBReleaseRequestReject ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBReleaseRequestReject-IEs}},
...
}
SgNBReleaseRequestReject-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY ignore TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
-- **************************************************************
--
-- SGNB RELEASE REQUIRED
--
-- **************************************************************
SgNBReleaseRequired ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBReleaseRequired-IEs}},
...
}
SgNBReleaseRequired-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional }|
{ ID id-E-RABs-ToBeReleased-SgNBRelReqdList CRITICALITY ignore TYPE E-RABs-ToBeReleased-SgNBRelReqdList PRESENCE optional }|
{ ID id-SgNBtoMeNBContainer CRITICALITY ignore TYPE SgNBtoMeNBContainer PRESENCE optional }|
{ ID id-SCG-UE-HistoryInformation CRITICALITY ignore TYPE SCG-UE-HistoryInformation PRESENCE optional},
...
}
E-RABs-ToBeReleased-SgNBRelReqdList ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeReleased-SgNBRelReqd-ItemIEs} }
E-RABs-ToBeReleased-SgNBRelReqd-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeReleased-SgNBRelReqd-Item CRITICALITY ignore TYPE E-RABs-ToBeReleased-SgNBRelReqd-Item PRESENCE mandatory},
...
}
E-RABs-ToBeReleased-SgNBRelReqd-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
rlc-Mode-transferred RLCMode,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-SgNBRelReqd-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-SgNBRelReqd-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- SGNB RELEASE CONFIRM
--
-- **************************************************************
SgNBReleaseConfirm ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBReleaseConfirm-IEs}},
...
}
SgNBReleaseConfirm-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY ignore TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-E-RABs-ToBeReleased-SgNBRelConfList CRITICALITY ignore TYPE E-RABs-ToBeReleased-SgNBRelConfList PRESENCE optional}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
E-RABs-ToBeReleased-SgNBRelConfList ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeReleased-SgNBRelConf-ItemIEs} }
E-RABs-ToBeReleased-SgNBRelConf-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeReleased-SgNBRelConf-Item CRITICALITY ignore TYPE E-RABs-ToBeReleased-SgNBRelConf-Item PRESENCE mandatory},
...
}
E-RABs-ToBeReleased-SgNBRelConf-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
en-DC-ResourceConfiguration EN-DC-ResourceConfiguration,
resource-configuration CHOICE {
sgNBPDCPpresent E-RABs-ToBeReleased-SgNBRelConf-Item-SgNBPDCPpresent,
sgNBPDCPnotpresent E-RABs-ToBeReleased-SgNBRelConf-Item-SgNBPDCPnotpresent,
...
},
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-SgNBRelConf-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-SgNBRelConf-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeReleased-SgNBRelConf-Item-SgNBPDCPpresent ::= SEQUENCE {
uL-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
dL-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-SgNBRelConf-Item-SgNBPDCPpresentExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-SgNBRelConf-Item-SgNBPDCPpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeReleased-SgNBRelConf-Item-SgNBPDCPnotpresent ::= SEQUENCE {
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-SgNBRelConf-Item-SgNBPDCPnotpresentExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-SgNBRelConf-Item-SgNBPDCPnotpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- SGNB COUNTER CHECK REQUEST
--
-- **************************************************************
SgNBCounterCheckRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBCounterCheckRequest-IEs}},
...
}
SgNBCounterCheckRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-E-RABs-SubjectToSgNBCounterCheck-List CRITICALITY ignore TYPE E-RABs-SubjectToSgNBCounterCheck-List PRESENCE mandatory}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
E-RABs-SubjectToSgNBCounterCheck-List ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-SubjectToSgNBCounterCheck-ItemIEs} }
E-RABs-SubjectToSgNBCounterCheck-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-SubjectToSgNBCounterCheck-Item CRITICALITY ignore TYPE E-RABs-SubjectToSgNBCounterCheck-Item PRESENCE mandatory},
...
}
E-RABs-SubjectToSgNBCounterCheck-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
uL-Count INTEGER (0..4294967295),
dL-Count INTEGER (0..4294967295),
iE-Extensions ProtocolExtensionContainer { {E-RABs-SubjectToSgNBCounterCheck-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-SubjectToSgNBCounterCheck-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- SGNB CHANGE REQUIRED
--
-- **************************************************************
SgNBChangeRequired ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBChangeRequired-IEs}},
...
}
SgNBChangeRequired-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Target-SgNB-ID CRITICALITY reject TYPE GlobalGNB-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-SgNBtoMeNBContainer CRITICALITY reject TYPE SgNBtoMeNBContainer PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-SCG-UE-HistoryInformation CRITICALITY ignore TYPE SCG-UE-HistoryInformation PRESENCE optional}|
{ ID id-CPCinformation-REQD CRITICALITY reject TYPE CPCinformation-REQD PRESENCE optional},
...
}
-- **************************************************************
--
-- ACCESS AND MOBILITY INDICATION
--
-- **************************************************************
AccessAndMobilityIndication ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ AccessAndMobilityIndication-IEs}},
...
}
AccessAndMobilityIndication-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-NRRACHReportInformation CRITICALITY ignore TYPE NRRACHReportInformation PRESENCE optional},
...
}
-- **************************************************************
--
-- SGNB CHANGE CONFIRM
--
-- **************************************************************
SgNBChangeConfirm ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBChangeConfirm-IEs}},
...
}
SgNBChangeConfirm-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY ignore TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-E-RABs-ToBeReleased-SgNBChaConfList CRITICALITY ignore TYPE E-RABs-ToBeReleased-SgNBChaConfList PRESENCE optional}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-CPCinformation-CONF CRITICALITY ignore TYPE CPCinformation-CONF PRESENCE optional}|
{ ID id-MeNBtoSgNBContainer CRITICALITY ignore TYPE MeNBtoSgNBContainer PRESENCE optional},
...
}
E-RABs-ToBeReleased-SgNBChaConfList ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-ToBeReleased-SgNBChaConf-ItemIEs} }
E-RABs-ToBeReleased-SgNBChaConf-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-ToBeReleased-SgNBChaConf-Item CRITICALITY ignore TYPE E-RABs-ToBeReleased-SgNBChaConf-Item PRESENCE mandatory},
...
}
E-RABs-ToBeReleased-SgNBChaConf-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
en-DC-ResourceConfiguration EN-DC-ResourceConfiguration,
resource-configuration CHOICE {
sgNBPDCPpresent E-RABs-ToBeReleased-SgNBChaConf-Item-SgNBPDCPpresent,
sgNBPDCPnotpresent E-RABs-ToBeReleased-SgNBChaConf-Item-SgNBPDCPnotpresent,
...
},
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-SgNBChaConf-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-SgNBChaConf-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
E-RABs-ToBeReleased-SgNBChaConf-Item-SgNBPDCPpresent ::= SEQUENCE {
uL-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
dL-GTPtunnelEndpoint GTPtunnelEndpoint OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-SgNBChaConf-Item-SgNBPDCPpresentExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-SgNBChaConf-Item-SgNBPDCPpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-AdditionalListofForwardingGTPTunnelEndpoint CRITICALITY ignore EXTENSION AdditionalListofForwardingGTPTunnelEndpoint PRESENCE optional },
...
}
E-RABs-ToBeReleased-SgNBChaConf-Item-SgNBPDCPnotpresent ::= SEQUENCE {
iE-Extensions ProtocolExtensionContainer { {E-RABs-ToBeReleased-SgNBChaConf-Item-SgNBPDCPnotpresentExtIEs} } OPTIONAL,
...
}
E-RABs-ToBeReleased-SgNBChaConf-Item-SgNBPDCPnotpresentExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- RRC TRANSFER
--
-- **************************************************************
RRCTransfer ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{RRCTransfer-IEs}},
...
}
RRCTransfer-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SplitSRB CRITICALITY reject TYPE SplitSRB PRESENCE optional}|
{ ID id-NRUeReport CRITICALITY reject TYPE NRUeReport PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-FastMCGRecovery-SN-to-MN CRITICALITY ignore TYPE FastMCGRecovery PRESENCE optional}|
{ ID id-FastMCGRecovery-MN-to-SN CRITICALITY ignore TYPE FastMCGRecovery PRESENCE optional},
...
}
-- **************************************************************
--
-- SGNB CHANGE REFUSE
--
-- **************************************************************
SgNBChangeRefuse ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBChangeRefuse-IEs}},
...
}
SgNBChangeRefuse-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY ignore TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
-- **************************************************************
--
-- EN-DC X2 SETUP REQUEST
--
-- **************************************************************
ENDCX2SetupRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCX2SetupRequest-IEs}},
...
}
ENDCX2SetupRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-InitiatingNodeType-EndcX2Setup CRITICALITY reject TYPE InitiatingNodeType-EndcX2Setup PRESENCE mandatory}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional}|
{ ID id-TNLConfigurationInfo CRITICALITY ignore TYPE TNLConfigurationInfo PRESENCE optional},
...
}
InitiatingNodeType-EndcX2Setup ::= CHOICE {
init-eNB ProtocolIE-Container {{ENB-ENDCX2SetupReqIEs}},
init-en-gNB ProtocolIE-Container {{En-gNB-ENDCX2SetupReqIEs}},
...
}
ENB-ENDCX2SetupReqIEs X2AP-PROTOCOL-IES ::= {
{ ID id-GlobalENB-ID CRITICALITY reject TYPE GlobalENB-ID PRESENCE mandatory}|
{ ID id-ServedEUTRAcellsENDCX2ManagementList CRITICALITY reject TYPE ServedEUTRAcellsENDCX2ManagementList PRESENCE mandatory}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional }|
-- NOTE: In the current version of this specification the Interface Instance Indication IE is not included in the Initiating NodeType IE --
{ ID id-CellandCapacityAssistInfo CRITICALITY ignore TYPE CellandCapacityAssistInfo PRESENCE optional },
...
}
ServedEUTRAcellsENDCX2ManagementList ::= SEQUENCE (SIZE (1.. maxCellineNB)) OF SEQUENCE {
servedEUTRACellInfo ServedCell-Information,
nrNeighbourInfo NRNeighbour-Information OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {ServedEUTRAcellsENDCX2Management-ExtIEs} } OPTIONAL,
...
}
ServedEUTRAcellsENDCX2Management-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
En-gNB-ENDCX2SetupReqIEs X2AP-PROTOCOL-IES ::= {
{ ID id-Globalen-gNB-ID CRITICALITY reject TYPE GlobalGNB-ID PRESENCE mandatory}|
{ ID id-ServedNRcellsENDCX2ManagementList CRITICALITY reject TYPE ServedNRcellsENDCX2ManagementList PRESENCE mandatory}|
{ ID id-PartialListIndicator CRITICALITY ignore TYPE PartialListIndicator PRESENCE optional },
...
}
ServedNRcellsENDCX2ManagementList ::= SEQUENCE (SIZE (1.. maxCellinengNB)) OF SEQUENCE {
servedNRCellInfo ServedNRCell-Information,
nRNeighbourInfo NRNeighbour-Information OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {En-gNBServedCells-ExtIEs} } OPTIONAL,
...
}
En-gNBServedCells-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-ServedCellSpecificInfoReq-NR CRITICALITY ignore EXTENSION ServedCellSpecificInfoReq-NR PRESENCE optional },
...
}
ServedNRCell-Information ::= SEQUENCE {
nrpCI NRPCI,
nrCellID NRCGI,
fiveGS-TAC FiveGS-TAC OPTIONAL,
configured-TAC TAC OPTIONAL,
broadcastPLMNs BroadcastPLMNs-Item,
nrModeInfo CHOICE {
fdd FDD-InfoServedNRCell-Information,
tdd TDD-InfoServedNRCell-Information,
...
},
measurementTimingConfiguration OCTET STRING,
iE-Extensions ProtocolExtensionContainer { {ServedNRCell-Information-ExtIEs} } OPTIONAL,
...
}
ServedNRCell-Information-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-additionalPLMNs-Item CRITICALITY ignore EXTENSION AdditionalPLMNs-Item PRESENCE optional}|
{ ID id-BPLMN-ID-Info-NR CRITICALITY ignore EXTENSION BPLMN-ID-Info-NR PRESENCE optional}|
{ ID id-SSB-PositionsInBurst CRITICALITY ignore EXTENSION SSB-PositionsInBurst PRESENCE optional}|
{ ID id-NRCellPRACHConfig CRITICALITY ignore EXTENSION NRCellPRACHConfig PRESENCE optional}|
{ ID id-CSI-RSTransmissionIndication CRITICALITY ignore EXTENSION CSI-RSTransmissionIndication PRESENCE optional}|
{ ID id-SFN-Offset CRITICALITY ignore EXTENSION SFN-Offset PRESENCE optional}|
{ ID id-Additional-Measurement-Timing-Configuration-List CRITICALITY ignore EXTENSION Additional-Measurement-Timing-Configuration-List PRESENCE optional },
...
}
FDD-InfoServedNRCell-Information ::= SEQUENCE {
ul-NRFreqInfo NRFreqInfo,
dl-NRFreqInfo NRFreqInfo,
ul-NR-TxBW NR-TxBW,
dl-NR-TxBW NR-TxBW,
iE-Extensions ProtocolExtensionContainer { {FDD-InfoServedNRCell-Information-ExtIEs} } OPTIONAL,
...
}
FDD-InfoServedNRCell-Information-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-ULCarrierList CRITICALITY ignore EXTENSION NRCarrierList PRESENCE optional }|
{ ID id-DLCarrierList CRITICALITY ignore EXTENSION NRCarrierList PRESENCE optional },
...
}
TDD-InfoServedNRCell-Information ::= SEQUENCE {
nRFreqInfo NRFreqInfo,
nR-TxBW NR-TxBW,
iE-Extensions ProtocolExtensionContainer { {TDD-InfoServedNRCell-Information-ExtIEs} } OPTIONAL,
...
}
TDD-InfoServedNRCell-Information-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
{ ID id-TDDULDLConfigurationCommonNR CRITICALITY ignore EXTENSION TDDULDLConfigurationCommonNR PRESENCE optional}|
{ ID id-CarrierList CRITICALITY ignore EXTENSION NRCarrierList PRESENCE optional}|
{ ID id-IntendedTDD-DL-ULConfiguration-NR CRITICALITY ignore EXTENSION IntendedTDD-DL-ULConfiguration-NR PRESENCE optional},
...
}
CellandCapacityAssistInfo::= SEQUENCE {
maximumCellListSize MaximumCellListSize OPTIONAL,
cellAssistanceInformation CellAssistanceInformation OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {CellandCapacityAssistInfo-ExtIEs} } OPTIONAL,
...
}
CellandCapacityAssistInfo-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CellAssistanceInformation ::= CHOICE {
limited-list Limited-list,
full-list ENUMERATED {allServedNRcells, ...},
...
}
Limited-list ::= SEQUENCE (SIZE (1..maxCellinengNB)) OF SEQUENCE {
nrCellID NRCGI,
iE-Extensions ProtocolExtensionContainer { {Limited-list-ExtIEs} } OPTIONAL,
...
}
Limited-list-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- EN-DC X2 SETUP RESPONSE
--
-- **************************************************************
ENDCX2SetupResponse ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCX2SetupResponse-IEs}},
...
}
ENDCX2SetupResponse-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-RespondingNodeType-EndcX2Setup CRITICALITY reject TYPE RespondingNodeType-EndcX2Setup PRESENCE mandatory}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional }|
{ ID id-TNLConfigurationInfo CRITICALITY ignore TYPE TNLConfigurationInfo PRESENCE optional },
...
}
RespondingNodeType-EndcX2Setup ::= CHOICE {
respond-eNB ProtocolIE-Container {{ENB-ENDCX2SetupReqAckIEs}},
respond-en-gNB ProtocolIE-Container {{En-gNB-ENDCX2SetupReqAckIEs}},
...
}
ENB-ENDCX2SetupReqAckIEs X2AP-PROTOCOL-IES ::= {
{ ID id-GlobalENB-ID CRITICALITY reject TYPE GlobalENB-ID PRESENCE mandatory}|
{ ID id-ServedEUTRAcellsENDCX2ManagementList CRITICALITY reject TYPE ServedEUTRAcellsENDCX2ManagementList PRESENCE mandatory}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional }|
-- NOTE: In the current version of this specification the Interface Instance Indication IE is not included in the Responding NodeType IE --
{ ID id-CellandCapacityAssistInfo CRITICALITY ignore TYPE CellandCapacityAssistInfo PRESENCE optional },
...
}
En-gNB-ENDCX2SetupReqAckIEs X2AP-PROTOCOL-IES ::= {
{ ID id-Globalen-gNB-ID CRITICALITY reject TYPE GlobalGNB-ID PRESENCE mandatory}|
{ ID id-ServedNRcellsENDCX2ManagementList CRITICALITY reject TYPE ServedNRcellsENDCX2ManagementList PRESENCE mandatory}|
{ ID id-PartialListIndicator CRITICALITY ignore TYPE PartialListIndicator PRESENCE optional },
...
}
-- **************************************************************
--
-- EN-DC X2 SETUP FAILURE
--
-- **************************************************************
ENDCX2SetupFailure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCX2SetupFailure-IEs}},
...
}
ENDCX2SetupFailure-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory} |
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional } |
{ ID id-TimeToWait CRITICALITY ignore TYPE TimeToWait PRESENCE optional } |
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional }|
{ ID id-MessageOversizeNotification CRITICALITY ignore TYPE MessageOversizeNotification PRESENCE optional },
...
}
-- **************************************************************
--
-- EN-DC CONFIGURATION UPDATE
--
-- **************************************************************
ENDCConfigurationUpdate ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCConfigurationUpdate-IEs}},
...
}
ENDCConfigurationUpdate-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-InitiatingNodeType-EndcConfigUpdate CRITICALITY reject TYPE InitiatingNodeType-EndcConfigUpdate PRESENCE mandatory}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional}|
{ ID id-TNLConfigurationInfo CRITICALITY ignore TYPE TNLConfigurationInfo PRESENCE optional }|
{ ID id-TNLA-To-Add-List CRITICALITY ignore TYPE TNLA-To-Add-List PRESENCE optional }|
{ ID id-TNLA-To-Update-List CRITICALITY ignore TYPE TNLA-To-Update-List PRESENCE optional }|
{ ID id-TNLA-To-Remove-List CRITICALITY ignore TYPE TNLA-To-Remove-List PRESENCE optional },
...
}
InitiatingNodeType-EndcConfigUpdate::= CHOICE {
init-eNB ProtocolIE-Container {{ENB-ENDCConfigUpdateIEs}},
init-en-gNB ProtocolIE-Container {{En-gNB-ENDCConfigUpdateIEs}},
...
}
ENB-ENDCConfigUpdateIEs X2AP-PROTOCOL-IES ::= {
{ ID id-CellAssistanceInformation CRITICALITY reject TYPE CellAssistanceInformation PRESENCE optional }|
{ ID id-ServedEUTRAcellsENDCX2ManagementList CRITICALITY reject TYPE ServedEUTRAcellsENDCX2ManagementList PRESENCE optional }|
{ ID id-ServedEUTRAcellsToModifyListENDCConfUpd CRITICALITY reject TYPE ServedEUTRAcellsToModifyListENDCConfUpd PRESENCE optional }|
{ ID id-ServedEUTRAcellsToDeleteListENDCConfUpd CRITICALITY reject TYPE ServedEUTRAcellsToDeleteListENDCConfUpd PRESENCE optional },
...
}
ServedEUTRAcellsToModifyListENDCConfUpd ::= SEQUENCE (SIZE (1.. maxCellineNB)) OF SEQUENCE {
old-ECGI ECGI,
servedEUTRACellInfo ServedCell-Information,
nrNeighbourInfo NRNeighbour-Information OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {ServedEUTRAcellsToModifyListENDCConfUpd-ExtIEs} } OPTIONAL,
...
}
ServedEUTRAcellsToModifyListENDCConfUpd-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ServedEUTRAcellsToDeleteListENDCConfUpd ::= SEQUENCE (SIZE (1..maxCellineNB)) OF ECGI
En-gNB-ENDCConfigUpdateIEs X2AP-PROTOCOL-IES ::= {
{ ID id-ServedNRcellsENDCX2ManagementList CRITICALITY reject TYPE ServedNRcellsENDCX2ManagementList PRESENCE optional }|
{ ID id-ServedNRcellsToModifyListENDCConfUpd CRITICALITY reject TYPE ServedNRcellsToModifyENDCConfUpdList PRESENCE optional }|
{ ID id-ServedNRcellsToDeleteListENDCConfUpd CRITICALITY reject TYPE ServedNRcellsToDeleteENDCConfUpdList PRESENCE optional },
...
}
ServedNRcellsToModifyENDCConfUpdList ::= SEQUENCE (SIZE (1..maxCellinengNB)) OF ServedNRCellsToModify-Item
ServedNRCellsToModify-Item::= SEQUENCE {
old-nrcgi NRCGI,
servedNRCellInformation ServedNRCell-Information,
nrNeighbourInformation NRNeighbour-Information OPTIONAL,
nrDeactivationIndication DeactivationIndication OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {ServedNRCellsToModify-Item-ExtIEs} } OPTIONAL,
...
}
ServedNRCellsToModify-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
ServedNRcellsToDeleteENDCConfUpdList ::= SEQUENCE (SIZE (1..maxCellinengNB)) OF NRCGI
-- **************************************************************
--
-- EN-DC CONFIGURATION UPDATE ACKNOWLEDGE
--
-- **************************************************************
ENDCConfigurationUpdateAcknowledge ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCConfigurationUpdateAcknowledge-IEs}},
...
}
ENDCConfigurationUpdateAcknowledge-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-RespondingNodeType-EndcConfigUpdate CRITICALITY reject TYPE RespondingNodeType-EndcConfigUpdate PRESENCE mandatory}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional }|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional }|
{ ID id-TNLConfigurationInfo CRITICALITY ignore TYPE TNLConfigurationInfo PRESENCE optional }|
{ ID id-TNLA-Setup-List CRITICALITY ignore TYPE TNLA-Setup-List PRESENCE optional }|
{ ID id-TNLA-Failed-To-Setup-List CRITICALITY ignore TYPE TNLA-Failed-To-Setup-List PRESENCE optional },
...
}
RespondingNodeType-EndcConfigUpdate::= CHOICE {
respond-eNB ProtocolIE-Container {{ENB-ENDCConfigUpdateAckIEs}},
respond-en-gNB ProtocolIE-Container {{En-gNB-ENDCConfigUpdateAckIEs}},
...
}
ENB-ENDCConfigUpdateAckIEs X2AP-PROTOCOL-IES ::= {
...
}
En-gNB-ENDCConfigUpdateAckIEs X2AP-PROTOCOL-IES ::= {
{ ID id-ServedNRcellsENDCX2ManagementList CRITICALITY reject TYPE ServedNRcellsENDCX2ManagementList PRESENCE optional},
...
}
-- **************************************************************
--
-- EN-DC CONFIGURATION UPDATE FAILURE
--
-- **************************************************************
ENDCConfigurationUpdateFailure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCConfigurationUpdateFailure-IEs}},
...
}
ENDCConfigurationUpdateFailure-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional }|
{ ID id-TimeToWait CRITICALITY ignore TYPE TimeToWait PRESENCE optional }|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional },
...
}
-- **************************************************************
--
-- EN-DC CELL ACTIVATION REQUEST
--
-- **************************************************************
ENDCCellActivationRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCCellActivationRequest-IEs}},
...
}
ENDCCellActivationRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-ServedNRCellsToActivate CRITICALITY reject TYPE ServedNRCellsToActivate PRESENCE mandatory}|
{ ID id-ActivationID CRITICALITY reject TYPE ActivationID PRESENCE mandatory}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional },
...
}
ServedNRCellsToActivate::= SEQUENCE (SIZE (1.. maxCellinengNB)) OF ServedNRCellsToActivate-Item
ServedNRCellsToActivate-Item::= SEQUENCE {
nrCellID NRCGI,
iE-Extensions ProtocolExtensionContainer { {ServedNRCellsToActivate-Item-ExtIEs} } OPTIONAL,
...
}
ServedNRCellsToActivate-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- EN-DC CELL ACTIVATION RESPONSE
--
-- **************************************************************
ENDCCellActivationResponse ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCCellActivationResponse-IEs}},
...
}
ENDCCellActivationResponse-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-ActivatedNRCellList CRITICALITY ignore TYPE ActivatedNRCellList PRESENCE mandatory}|
{ ID id-ActivationID CRITICALITY reject TYPE ActivationID PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional }|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional },
...
}
ActivatedNRCellList ::= SEQUENCE (SIZE (1.. maxCellinengNB)) OF ActivatedNRCellList-Item
ActivatedNRCellList-Item::= SEQUENCE {
nrCellID NRCGI,
iE-Extensions ProtocolExtensionContainer { {ActivatedNRCellList-Item-ExtIEs} } OPTIONAL,
...
}
ActivatedNRCellList-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
--**************************************************************
--
-- EN-DC CELL ACTIVATION FAILURE
--
-- **************************************************************
ENDCCellActivationFailure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCCellActivationFailure-IEs}},
...
}
ENDCCellActivationFailure-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-ActivationID CRITICALITY reject TYPE ActivationID PRESENCE mandatory }|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory }|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional }|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional },
...
}
-- **************************************************************
--
-- EN-DC RESOURCE STATUS REQUEST
--
-- **************************************************************
ENDCResourceStatusRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCResourceStatusRequest-IEs}},
...
}
ENDCResourceStatusRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-UTRAN-Node1-Measurement-ID CRITICALITY reject TYPE Measurement-ID-ENDC PRESENCE mandatory }|
{ ID id-E-UTRAN-Node2-Measurement-ID CRITICALITY ignore TYPE Measurement-ID-ENDC PRESENCE conditional}| -- The IE shall be present if the Registration Request EN-DC IE is set to “Stop” or to “Add”
{ ID id-Registration-Request CRITICALITY reject TYPE Registration-Request-ENDC PRESENCE mandatory }|
{ ID id-ReportingPeriodicity CRITICALITY ignore TYPE ReportingPeriodicity-ENDC PRESENCE optional }|
{ ID id-ReportCharacteristics CRITICALITY ignore TYPE ReportCharacteristics-ENDC PRESENCE conditional}| -- The IE shall be present if the Registration Request EN-DC IE is set to “Start”
{ ID id-CellToReport-NR-ENDC CRITICALITY ignore TYPE CellToReport-NR-ENDC-List PRESENCE optional } |
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional }|
{ ID id-CellToReport-E-UTRA-ENDC CRITICALITY ignore TYPE CellToReport-E-UTRA-ENDC-List PRESENCE optional},
...
}
ReportingPeriodicity-ENDC ::= ENUMERATED {ms500, ms1000, ms2000, ms5000, ms10000, ...}
CellToReport-NR-ENDC-List ::= SEQUENCE (SIZE (1..maxCellinengNB)) OF ProtocolIE-Single-Container { {CellToReport-NR-ENDC-ItemIEs} }
CellToReport-NR-ENDC-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-CellToReport-NR-ENDC-Item CRITICALITY ignore TYPE CellToReport-NR-ENDC-Item PRESENCE mandatory}
}
CellToReport-NR-ENDC-Item ::= SEQUENCE {
nr-cell-ID NRCGI,
ssbToReport-List SSBToReport-List OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {CellToReport-NR-ENDC-Item-ExtIEs} } OPTIONAL,
...
}
CellToReport-NR-ENDC-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CellToReport-E-UTRA-ENDC-List ::= SEQUENCE (SIZE (1..maxCellineNB)) OF ProtocolIE-Single-Container { {CellToReport-E-UTRA-ENDC-Item-IEs} }
CellToReport-E-UTRA-ENDC-Item-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-CellToReport-E-UTRA-ENDC-Item CRITICALITY ignore TYPE CellToReport-E-UTRA-ENDC-Item PRESENCE mandatory}
}
CellToReport-E-UTRA-ENDC-Item ::= SEQUENCE {
e-utra-cell-ID ECGI,
iE-Extensions ProtocolExtensionContainer { {CellToReport-E-UTRA-ENDC-Item-ExtIEs} } OPTIONAL,
...
}
CellToReport-E-UTRA-ENDC-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
SSBToReport-List ::= SEQUENCE (SIZE (1.. maxnoofSSBAreas)) OF SSBToReport-Item
SSBToReport-Item ::= SEQUENCE {
ssbIndex SSBIndex,
iE-Extensions ProtocolExtensionContainer { {SSBToReport-Item-ExtIEs} } OPTIONAL,
...
}
SSBToReport-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- EN-DC RESOURCE STATUS RESPONSE
--
-- **************************************************************
ENDCResourceStatusResponse ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCResourceStatusResponse-IEs}},
...
}
ENDCResourceStatusResponse-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-UTRAN-Node1-Measurement-ID CRITICALITY reject TYPE Measurement-ID-ENDC PRESENCE mandatory}|
{ ID id-E-UTRAN-Node2-Measurement-ID CRITICALITY reject TYPE Measurement-ID-ENDC PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional } |
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional },
...
}
-- **************************************************************
--
-- EN-DC RESOURCE STATUS FAILURE
--
-- **************************************************************
ENDCResourceStatusFailure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCResourceStatusFailure-IEs}},
...
}
ENDCResourceStatusFailure-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-UTRAN-Node1-Measurement-ID CRITICALITY reject TYPE Measurement-ID-ENDC PRESENCE mandatory}|
{ ID id-E-UTRAN-Node2-Measurement-ID CRITICALITY reject TYPE Measurement-ID-ENDC PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional }|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional },
...
}
-- **************************************************************
--
-- EN-DC RESOURCE STATUS UPDATE
--
-- **************************************************************
ENDCResourceStatusUpdate ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCResourceStatusUpdate-IEs}},
...
}
ENDCResourceStatusUpdate-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-UTRAN-Node1-Measurement-ID CRITICALITY reject TYPE Measurement-ID-ENDC PRESENCE mandatory}|
{ ID id-E-UTRAN-Node2-Measurement-ID CRITICALITY reject TYPE Measurement-ID-ENDC PRESENCE mandatory}|
{ ID id-CellMeasurementResult-NR-ENDC CRITICALITY ignore TYPE CellMeasurementResult-NR-ENDC-List PRESENCE optional }|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional }|
{ ID id-CellMeasurementResult-E-UTRA-ENDC CRITICALITY ignore TYPE CellMeasurementResult-E-UTRA-ENDC-List PRESENCE optional},
...
}
CellMeasurementResult-NR-ENDC-List ::= SEQUENCE (SIZE (1..maxCellinengNB)) OF ProtocolIE-Single-Container { {CellMeasurementResult-NR-ENDC-ItemIEs} }
CellMeasurementResult-NR-ENDC-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-CellMeasurementResult-NR-ENDC-Item CRITICALITY ignore TYPE CellMeasurementResult-NR-ENDC-Item PRESENCE mandatory}
}
CellMeasurementResult-NR-ENDC-Item ::= SEQUENCE {
nr-cell-ID NRCGI,
nr-radioResourceStatus NRRadioResourceStatus OPTIONAL,
tnlCapacityIndicator TNLCapacityIndicator OPTIONAL,
nr-compositeAvailableCapacityGroup NRCompositeAvailableCapacityGroup OPTIONAL,
numberofActiveUEs INTEGER (0..16777215, ...) OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {CellMeasurementResult-NR-ENDC-Item-ExtIEs} } OPTIONAL,
...
}
CellMeasurementResult-NR-ENDC-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
CellMeasurementResult-E-UTRA-ENDC-List ::= SEQUENCE (SIZE (1..maxCellineNB))
OF ProtocolIE-Single-Container { {CellMeasurementResult-E-UTRA-ENDC-ItemIEs} }
CellMeasurementResult-E-UTRA-ENDC-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-CellMeasurementResult-E-UTRA-ENDC-Item CRITICALITY ignore TYPE CellMeasurementResult-E-UTRA-ENDC-Item PRESENCE mandatory}
}
CellMeasurementResult-E-UTRA-ENDC-Item ::= SEQUENCE {
e-utra-cell-ID ECGI,
hWLoadIndicator HWLoadIndicator OPTIONAL,
s1TNLLoadIndicator S1TNLLoadIndicator OPTIONAL,
radioResourceStatus RadioResourceStatus OPTIONAL,
compositeAvailableCapacityGroup CompositeAvailableCapacityGroup OPTIONAL,
iE-Extensions ProtocolExtensionContainer { {CellMeasurementResult-E-UTRA-ENDC-Item-ExtIEs} } OPTIONAL,
...
}
CellMeasurementResult-E-UTRA-ENDC-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- SECONDARY RAT DATA USAGE REPORT
--
-- **************************************************************
SecondaryRATDataUsageReport ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SecondaryRATDataUsageReport-IEs}},
...
}
SecondaryRATDataUsageReport-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SecondaryRATUsageReportList CRITICALITY reject TYPE SecondaryRATUsageReportList PRESENCE mandatory}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
-- **************************************************************
--
-- SGNB ACTIVITY NOTIFICATION
--
-- **************************************************************
SgNBActivityNotification ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{SgNBActivityNotification-IEs}},
...
}
SgNBActivityNotification-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-UEContextLevelUserPlaneActivity CRITICALITY ignore TYPE UserPlaneTrafficActivityReport PRESENCE optional}|
{ ID id-ERABActivityNotifyItemList CRITICALITY ignore TYPE ERABActivityNotifyItemList PRESENCE optional}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
-- **************************************************************
--
-- EN-DC PARTIAL RESET REQUIRED
--
-- **************************************************************
ENDCPartialResetRequired ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCPartialResetRequired-IEs}},
...
}
ENDCPartialResetRequired-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-UEs-ToBeReset CRITICALITY reject TYPE UEsToBeResetList PRESENCE mandatory}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional},
...
}
-- **************************************************************
--
-- EN-DC PARTIAL RESET CONFIRM
--
-- **************************************************************
ENDCPartialResetConfirm ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCPartialResetConfirm-IEs}},
...
}
ENDCPartialResetConfirm-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-UEs-Admitted-ToBeReset CRITICALITY reject TYPE UEsToBeResetList PRESENCE mandatory}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional},
...
}
-- **************************************************************
--
-- E-UTRA - NR CELL RESOURCE COORDINATION REQUEST
--
-- **************************************************************
EUTRANRCellResourceCoordinationRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{EUTRANRCellResourceCoordinationRequest-IEs}},
...
}
EUTRANRCellResourceCoordinationRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-InitiatingNodeType-EutranrCellResourceCoordination CRITICALITY reject TYPE InitiatingNodeType-EutranrCellResourceCoordination PRESENCE mandatory}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional },
...
}
InitiatingNodeType-EutranrCellResourceCoordination ::= CHOICE {
initiate-eNB ProtocolIE-Container {{ENB-EUTRA-NRCellResourceCoordinationReqIEs}},
initiate-en-gNB ProtocolIE-Container {{En-gNB-EUTRA-NRCellResourceCoordinationReqIEs}},
...
}
ENB-EUTRA-NRCellResourceCoordinationReqIEs X2AP-PROTOCOL-IES ::= {
{ ID id-DataTrafficResourceIndication CRITICALITY reject TYPE DataTrafficResourceIndication PRESENCE mandatory}|
{ ID id-SpectrumSharingGroupID CRITICALITY reject TYPE SpectrumSharingGroupID PRESENCE mandatory}|
{ ID id-ListofEUTRACellsinEUTRACoordinationReq CRITICALITY reject TYPE ListofEUTRACellsinEUTRACoordinationReq PRESENCE mandatory},
...
}
En-gNB-EUTRA-NRCellResourceCoordinationReqIEs X2AP-PROTOCOL-IES ::= {
{ ID id-DataTrafficResourceIndication CRITICALITY reject TYPE DataTrafficResourceIndication PRESENCE mandatory}|
{ ID id-ListofEUTRACellsinNRCoordinationReq CRITICALITY reject TYPE ListofEUTRACellsinNRCoordinationReq PRESENCE mandatory }|
{ ID id-SpectrumSharingGroupID CRITICALITY reject TYPE SpectrumSharingGroupID PRESENCE mandatory}|
{ ID id-ListofNRCellsinNRCoordinationReq CRITICALITY reject TYPE ListofNRCellsinNRCoordinationReq PRESENCE mandatory},
...
}
ListofEUTRACellsinEUTRACoordinationReq ::= SEQUENCE (SIZE (0..maxCellineNB)) OF ECGI
ListofEUTRACellsinNRCoordinationReq ::= SEQUENCE (SIZE (1..maxCellineNB)) OF ECGI
ListofNRCellsinNRCoordinationReq ::= SEQUENCE (SIZE (0..maxnoNRcellsSpectrumSharingWithE-UTRA)) OF NRCGI
-- **************************************************************
--
-- E-UTRA - NR CELL RESOURCE COORDINATION RESPONSE
--
-- **************************************************************
EUTRANRCellResourceCoordinationResponse ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{EUTRANRCellResourceCoordinationResponse-IEs}},
...
}
EUTRANRCellResourceCoordinationResponse-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-RespondingNodeType-EutranrCellResourceCoordination CRITICALITY reject TYPE RespondingNodeType-EutranrCellResourceCoordination PRESENCE mandatory}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional },
...
}
RespondingNodeType-EutranrCellResourceCoordination ::= CHOICE {
respond-eNB ProtocolIE-Container {{ENB-EUTRA-NRCellResourceCoordinationReqAckIEs}},
respond-en-gNB ProtocolIE-Container {{En-gNB-EUTRA-NRCellResourceCoordinationReqAckIEs}},
...
}
ENB-EUTRA-NRCellResourceCoordinationReqAckIEs X2AP-PROTOCOL-IES ::= {
{ ID id-DataTrafficResourceIndication CRITICALITY reject TYPE DataTrafficResourceIndication PRESENCE mandatory}|
{ ID id-SpectrumSharingGroupID CRITICALITY reject TYPE SpectrumSharingGroupID PRESENCE mandatory}|
{ ID id-ListofEUTRACellsinEUTRACoordinationResp CRITICALITY reject TYPE ListofEUTRACellsinEUTRACoordinationResp PRESENCE mandatory},
...
}
En-gNB-EUTRA-NRCellResourceCoordinationReqAckIEs X2AP-PROTOCOL-IES ::= {
{ ID id-DataTrafficResourceIndication CRITICALITY reject TYPE DataTrafficResourceIndication PRESENCE mandatory}|
{ ID id-SpectrumSharingGroupID CRITICALITY reject TYPE SpectrumSharingGroupID PRESENCE mandatory}|
{ ID id-ListofNRCellsinNRCoordinationResp CRITICALITY reject TYPE ListofNRCellsinNRCoordinationResp PRESENCE mandatory},
...
}
ListofEUTRACellsinEUTRACoordinationResp ::= SEQUENCE (SIZE (0..maxCellineNB)) OF ECGI
ListofNRCellsinNRCoordinationResp ::= SEQUENCE (SIZE (0..maxnoNRcellsSpectrumSharingWithE-UTRA)) OF NRCGI
-- **************************************************************
--
-- EN-DC X2 REMOVAL REQUEST
--
-- **************************************************************
ENDCX2RemovalRequest ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCX2RemovalRequest-IEs}},
...
}
ENDCX2RemovalRequest-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-InitiatingNodeType-EndcX2Removal CRITICALITY reject TYPE InitiatingNodeType-EndcX2Removal PRESENCE mandatory}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional },
...
}
InitiatingNodeType-EndcX2Removal ::= CHOICE {
init-eNB ProtocolIE-Container {{ENB-ENDCX2RemovalReqIEs}},
init-en-gNB ProtocolIE-Container {{En-gNB-ENDCX2RemovalReqIEs}},
...
}
ENB-ENDCX2RemovalReqIEs X2AP-PROTOCOL-IES ::= {
{ ID id-GlobalENB-ID CRITICALITY reject TYPE GlobalENB-ID PRESENCE mandatory},
...
}
En-gNB-ENDCX2RemovalReqIEs X2AP-PROTOCOL-IES ::= {
{ ID id-Globalen-gNB-ID CRITICALITY reject TYPE GlobalGNB-ID PRESENCE mandatory},
...
}
-- **************************************************************
--
-- EN-DC X2 REMOVAL RESPONSE
--
-- **************************************************************
ENDCX2RemovalResponse ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCX2RemovalResponse-IEs}},
...
}
ENDCX2RemovalResponse-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-RespondingNodeType-EndcX2Removal CRITICALITY reject TYPE RespondingNodeType-EndcX2Removal PRESENCE mandatory}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional },
...
}
RespondingNodeType-EndcX2Removal ::= CHOICE {
respond-eNB ProtocolIE-Container {{ENB-ENDCX2RemovalReqAckIEs}},
respond-en-gNB ProtocolIE-Container {{En-gNB-ENDCX2RemovalReqAckIEs}},
...
}
ENB-ENDCX2RemovalReqAckIEs X2AP-PROTOCOL-IES ::= {
{ ID id-GlobalENB-ID CRITICALITY reject TYPE GlobalENB-ID PRESENCE mandatory},
...
}
En-gNB-ENDCX2RemovalReqAckIEs X2AP-PROTOCOL-IES ::= {
{ ID id-Globalen-gNB-ID CRITICALITY reject TYPE GlobalGNB-ID PRESENCE mandatory},
...
}
-- **************************************************************
--
-- EN-DC X2 REMOVAL FAILURE
--
-- **************************************************************
ENDCX2RemovalFailure ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCX2RemovalFailure-IEs}},
...
}
ENDCX2RemovalFailure-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE mandatory} |
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional }|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional },
...
}
-- **************************************************************
--
-- DATA FORWARDING ADDRESS INDICATION
--
-- **************************************************************
DataForwardingAddressIndication ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{DataForwardingAddressIndication-IEs}},
...
}
DataForwardingAddressIndication-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-New-eNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-New-eNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional }|
{ ID id-Old-eNB-UE-X2AP-ID CRITICALITY ignore TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-Old-eNB-UE-X2AP-ID-Extension CRITICALITY ignore TYPE UE-X2AP-ID-Extension PRESENCE optional }|
{ ID id-E-RABs-DataForwardingAddress-List CRITICALITY ignore TYPE E-RABs-DataForwardingAddress-List PRESENCE mandatory}|
{ ID id-CHO-DC-Indicator CRITICALITY reject TYPE CHO-DC-Indicator PRESENCE optional}|
{ ID id-CHO-DC-EarlyDataForwarding CRITICALITY ignore TYPE CHO-DC-EarlyDataForwarding PRESENCE optional}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY ignore TYPE SgNB-UE-X2AP-ID PRESENCE optional}|
{ ID id-CPCinformation-NOTIFY CRITICALITY reject TYPE CPCinformation-NOTIFY PRESENCE optional},
...
}
E-RABs-DataForwardingAddress-List ::= SEQUENCE (SIZE(1..maxnoofBearers)) OF ProtocolIE-Single-Container { {E-RABs-DataForwardingAddress-ItemIEs} }
E-RABs-DataForwardingAddress-ItemIEs X2AP-PROTOCOL-IES ::= {
{ ID id-E-RABs-DataForwardingAddress-Item CRITICALITY ignore TYPE E-RABs-DataForwardingAddress-Item PRESENCE mandatory},
...
}
E-RABs-DataForwardingAddress-Item ::= SEQUENCE {
e-RAB-ID E-RAB-ID,
dl-GTPtunnelEndpoint GTPtunnelEndpoint,
iE-Extensions ProtocolExtensionContainer { {E-RABs-DataForwardingAddress-ItemExtIEs} } OPTIONAL,
...
}
E-RABs-DataForwardingAddress-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
...
}
-- **************************************************************
--
-- GNB STATUS INDICATION
--
-- **************************************************************
GNBStatusIndication ::= SEQUENCE {
protocolIEs ProtocolIE-Container { { GNBStatusIndicationIEs} },
...
}
GNBStatusIndicationIEs X2AP-PROTOCOL-IES ::= {
{ ID id-GNBOverloadInformation CRITICALITY ignore TYPE GNBOverloadInformation PRESENCE mandatory}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional },
...
}
-- **************************************************************
--
-- EN-DC CONFIGURATION TRANSFER
--
-- **************************************************************
ENDCConfigurationTransfer ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ENDCConfigurationTransfer-IEs}},
...
}
ENDCConfigurationTransfer-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-endcSONConfigurationTransfer CRITICALITY ignore TYPE EndcSONConfigurationTransfer PRESENCE optional}|
{ ID id-InterfaceInstanceIndication CRITICALITY reject TYPE InterfaceInstanceIndication PRESENCE optional },
...
}
-- **************************************************************
--
-- TRACE START
--
-- **************************************************************
TraceStart ::= SEQUENCE {
protocolIEs ProtocolIE-Container { {TraceStartIEs} },
...
}
TraceStartIEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory }|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE mandatory }|
{ ID id-TraceActivation CRITICALITY ignore TYPE TraceActivation PRESENCE mandatory }|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
-- **************************************************************
--
-- DEACTIVATE TRACE
--
-- **************************************************************
DeactivateTrace ::= SEQUENCE {
protocolIEs ProtocolIE-Container { {DeactivateTraceIEs} },
...
}
DeactivateTraceIEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory }|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE mandatory }|
{ ID id-EUTRANTraceID CRITICALITY ignore TYPE EUTRANTraceID PRESENCE mandatory }|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
-- **************************************************************
--
-- CELL TRAFFIC TRACE
--
-- **************************************************************
CellTrafficTrace ::= SEQUENCE {
protocolIEs ProtocolIE-Container { {CellTrafficTraceIEs} },
...
}
CellTrafficTraceIEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory }|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE mandatory }|
{ ID id-EUTRANTraceID CRITICALITY ignore TYPE EUTRANTraceID PRESENCE mandatory }|
{ ID id-TraceCollectionEntityIPAddress CRITICALITY ignore TYPE TraceCollectionEntityIPAddress PRESENCE mandatory }|
{ ID id-PrivacyIndicator CRITICALITY ignore TYPE PrivacyIndicator PRESENCE optional }|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
-- **************************************************************
--
-- F1-C TRAFFIC TRANSFER
--
-- **************************************************************
F1CTrafficTransfer ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{ F1CTrafficTransfer-IEs}},
...
}
F1CTrafficTransfer-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-F1CTrafficContainer CRITICALITY reject TYPE F1CTrafficContainer PRESENCE mandatory}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional},
...
}
-- **************************************************************
--
-- UE RADIO CAPABILITY ID MAPPING REQUEST
--
-- **************************************************************
UERadioCapabilityIDMappingRequest::= SEQUENCE {
protocolIEs ProtocolIE-Container { { UERadioCapabilityIDMappingRequestIEs} },
...
}
UERadioCapabilityIDMappingRequestIEs X2AP-PROTOCOL-IES ::= {
{ ID id-UERadioCapabilityID CRITICALITY reject TYPE UERadioCapabilityID PRESENCE mandatory },
...
}
-- **************************************************************
--
-- UE RADIO CAPABILITY ID MAPPING RESPONSE
--
-- **************************************************************
UERadioCapabilityIDMappingResponse ::= SEQUENCE {
protocolIEs ProtocolIE-Container { { UERadioCapabilityIDMappingResponseIEs} },
...
}
UERadioCapabilityIDMappingResponseIEs X2AP-PROTOCOL-IES ::= {
{ ID id-UERadioCapabilityID CRITICALITY reject TYPE UERadioCapabilityID PRESENCE mandatory }|
{ ID id-UERadioCapability CRITICALITY ignore TYPE UERadioCapability PRESENCE mandatory }|
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE CriticalityDiagnostics PRESENCE optional },
...
}
-- **************************************************************
--
-- CONDITIONAL PSCELL CHANGE CANCEL
--
-- **************************************************************
CPC-cancel ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{CPC-cancel-IEs}},
...
}
CPC-cancel-IEs X2AP-PROTOCOL-IES ::= {
{ ID id-MeNB-UE-X2AP-ID CRITICALITY reject TYPE UE-X2AP-ID PRESENCE mandatory}|
{ ID id-SgNB-UE-X2AP-ID CRITICALITY reject TYPE SgNB-UE-X2AP-ID PRESENCE mandatory}|
{ ID id-MeNB-UE-X2AP-ID-Extension CRITICALITY reject TYPE UE-X2AP-ID-Extension PRESENCE optional}|
{ ID id-Cause CRITICALITY ignore TYPE Cause PRESENCE optional}|
{ ID id-Target-SgNB-ID CRITICALITY reject TYPE GlobalGNB-ID PRESENCE mandatory},
...
}
END |
ASN.1 | wireshark/epan/dissectors/asn1/x2ap/X2AP-PDU-Descriptions.asn | -- 3GPP TS 36.423 V17.5.0 (2023-06)
-- 9.3.3 Elementary Procedure Definitions
-- **************************************************************
--
-- Elementary Procedure definitions
--
-- **************************************************************
X2AP-PDU-Descriptions {
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
eps-Access (21) modules (3) x2ap (2) version1 (1) x2ap-PDU-Descriptions (0) }
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
-- **************************************************************
--
-- IE parameter types from other modules.
--
-- **************************************************************
IMPORTS
Criticality,
ProcedureCode
FROM X2AP-CommonDataTypes
CellActivationRequest,
CellActivationResponse,
CellActivationFailure,
ENBConfigurationUpdate,
ENBConfigurationUpdateAcknowledge,
ENBConfigurationUpdateFailure,
ErrorIndication,
HandoverCancel,
HandoverReport,
HandoverPreparationFailure,
HandoverRequest,
HandoverRequestAcknowledge,
LoadInformation,
PrivateMessage,
ResetRequest,
ResetResponse,
ResourceStatusFailure,
ResourceStatusRequest,
ResourceStatusResponse,
ResourceStatusUpdate,
RLFIndication,
SNStatusTransfer,
UEContextRelease,
X2SetupFailure,
X2SetupRequest,
X2SetupResponse,
MobilityChangeRequest,
MobilityChangeAcknowledge,
MobilityChangeFailure,
X2Release,
X2APMessageTransfer,
SeNBAdditionRequest,
SeNBAdditionRequestAcknowledge,
SeNBAdditionRequestReject,
SeNBReconfigurationComplete,
SeNBModificationRequest,
SeNBModificationRequestAcknowledge,
SeNBModificationRequestReject,
SeNBModificationRequired,
SeNBModificationConfirm,
SeNBModificationRefuse,
SeNBReleaseRequest,
SeNBReleaseRequired,
SeNBReleaseConfirm,
SeNBCounterCheckRequest,
X2RemovalFailure,
X2RemovalRequest,
X2RemovalResponse,
RetrieveUEContextRequest,
RetrieveUEContextResponse,
RetrieveUEContextFailure,
SgNBAdditionRequest,
SgNBAdditionRequestAcknowledge,
SgNBAdditionRequestReject,
SgNBReconfigurationComplete,
SgNBModificationRequest,
SgNBModificationRequestAcknowledge,
SgNBModificationRequestReject,
SgNBModificationRequired,
SgNBModificationConfirm,
SgNBModificationRefuse,
SgNBReleaseRequest,
SgNBReleaseRequestAcknowledge,
SgNBReleaseRequestReject,
SgNBReleaseRequired,
SgNBReleaseConfirm,
SgNBCounterCheckRequest,
SgNBChangeRequired,
SgNBChangeConfirm,
SgNBChangeRefuse,
RRCTransfer,
ENDCX2SetupRequest,
ENDCX2SetupResponse,
ENDCX2SetupFailure,
ENDCConfigurationUpdate,
ENDCConfigurationUpdateAcknowledge,
ENDCConfigurationUpdateFailure,
SecondaryRATDataUsageReport,
ENDCCellActivationRequest,
ENDCCellActivationResponse,
ENDCCellActivationFailure,
ENDCPartialResetRequired,
ENDCPartialResetConfirm,
EUTRANRCellResourceCoordinationRequest,
EUTRANRCellResourceCoordinationResponse,
SgNBActivityNotification,
ENDCX2RemovalRequest,
ENDCX2RemovalResponse,
ENDCX2RemovalFailure,
DataForwardingAddressIndication,
GNBStatusIndication,
ENDCConfigurationTransfer,
DeactivateTrace,
TraceStart,
HandoverSuccess,
EarlyStatusTransfer,
ConditionalHandoverCancel,
ENDCResourceStatusRequest,
ENDCResourceStatusResponse,
ENDCResourceStatusFailure,
ENDCResourceStatusUpdate,
CellTrafficTrace,
F1CTrafficTransfer,
UERadioCapabilityIDMappingRequest,
UERadioCapabilityIDMappingResponse,
AccessAndMobilityIndication,
CPC-cancel
FROM X2AP-PDU-Contents
id-cellActivation,
id-eNBConfigurationUpdate,
id-errorIndication,
id-handoverCancel,
id-handoverReport,
id-handoverPreparation,
id-loadIndication,
id-privateMessage,
id-reset,
id-resourceStatusReporting,
id-resourceStatusReportingInitiation,
id-rLFIndication,
id-snStatusTransfer,
id-uEContextRelease,
id-x2Setup,
id-mobilitySettingsChange,
id-x2Release,
id-x2APMessageTransfer,
id-seNBAdditionPreparation,
id-seNBReconfigurationCompletion,
id-meNBinitiatedSeNBModificationPreparation,
id-seNBinitiatedSeNBModification,
id-meNBinitiatedSeNBRelease,
id-seNBinitiatedSeNBRelease,
id-seNBCounterCheck,
id-x2Removal,
id-retrieveUEContext,
id-sgNBAdditionPreparation,
id-sgNBReconfigurationCompletion,
id-meNBinitiatedSgNBModificationPreparation,
id-sgNBinitiatedSgNBModification,
id-meNBinitiatedSgNBRelease,
id-sgNBinitiatedSgNBRelease,
id-sgNBChange,
id-sgNBCounterCheck,
id-rRCTransfer,
id-endcX2Setup,
id-endcConfigurationUpdate,
id-secondaryRATDataUsageReport,
id-endcCellActivation,
id-endcPartialReset,
id-eUTRANRCellResourceCoordination,
id-SgNBActivityNotification,
id-endcX2Removal,
id-dataForwardingAddressIndication,
id-gNBStatusIndication,
id-endcConfigurationTransfer,
id-deactivateTrace,
id-traceStart,
id-handoverSuccess,
id-earlyStatusTransfer,
id-conditionalHandoverCancel,
id-endcresourceStatusReporting,
id-endcresourceStatusReportingInitiation,
id-cellTrafficTrace,
id-f1CTrafficTransfer,
id-UERadioCapabilityIDMapping,
id-accessAndMobilityIndication,
id-CPC-cancel
FROM X2AP-Constants;
-- **************************************************************
--
-- Interface Elementary Procedure Class
--
-- **************************************************************
X2AP-ELEMENTARY-PROCEDURE ::= CLASS {
&InitiatingMessage ,
&SuccessfulOutcome OPTIONAL,
&UnsuccessfulOutcome OPTIONAL,
&procedureCode ProcedureCode UNIQUE,
&criticality Criticality DEFAULT ignore
}
WITH SYNTAX {
INITIATING MESSAGE &InitiatingMessage
[SUCCESSFUL OUTCOME &SuccessfulOutcome]
[UNSUCCESSFUL OUTCOME &UnsuccessfulOutcome]
PROCEDURE CODE &procedureCode
[CRITICALITY &criticality]
}
-- **************************************************************
--
-- Interface PDU Definition
--
-- **************************************************************
X2AP-PDU ::= CHOICE {
initiatingMessage InitiatingMessage,
successfulOutcome SuccessfulOutcome,
unsuccessfulOutcome UnsuccessfulOutcome,
...
}
InitiatingMessage ::= SEQUENCE {
procedureCode X2AP-ELEMENTARY-PROCEDURE.&procedureCode ({X2AP-ELEMENTARY-PROCEDURES}),
criticality X2AP-ELEMENTARY-PROCEDURE.&criticality ({X2AP-ELEMENTARY-PROCEDURES}{@procedureCode}),
value X2AP-ELEMENTARY-PROCEDURE.&InitiatingMessage ({X2AP-ELEMENTARY-PROCEDURES}{@procedureCode})
}
SuccessfulOutcome ::= SEQUENCE {
procedureCode X2AP-ELEMENTARY-PROCEDURE.&procedureCode ({X2AP-ELEMENTARY-PROCEDURES}),
criticality X2AP-ELEMENTARY-PROCEDURE.&criticality ({X2AP-ELEMENTARY-PROCEDURES}{@procedureCode}),
value X2AP-ELEMENTARY-PROCEDURE.&SuccessfulOutcome ({X2AP-ELEMENTARY-PROCEDURES}{@procedureCode})
}
UnsuccessfulOutcome ::= SEQUENCE {
procedureCode X2AP-ELEMENTARY-PROCEDURE.&procedureCode ({X2AP-ELEMENTARY-PROCEDURES}),
criticality X2AP-ELEMENTARY-PROCEDURE.&criticality ({X2AP-ELEMENTARY-PROCEDURES}{@procedureCode}),
value X2AP-ELEMENTARY-PROCEDURE.&UnsuccessfulOutcome ({X2AP-ELEMENTARY-PROCEDURES}{@procedureCode})
}
-- **************************************************************
--
-- Interface Elementary Procedure List
--
-- **************************************************************
X2AP-ELEMENTARY-PROCEDURES X2AP-ELEMENTARY-PROCEDURE ::= {
X2AP-ELEMENTARY-PROCEDURES-CLASS-1 |
X2AP-ELEMENTARY-PROCEDURES-CLASS-2 ,
...
}
X2AP-ELEMENTARY-PROCEDURES-CLASS-1 X2AP-ELEMENTARY-PROCEDURE ::= {
handoverPreparation |
reset |
x2Setup |
resourceStatusReportingInitiation |
eNBConfigurationUpdate |
mobilitySettingsChange |
cellActivation |
seNBAdditionPreparation |
meNBinitiatedSeNBModificationPreparation |
seNBinitiatedSeNBModification |
seNBinitiatedSeNBRelease |
x2Removal |
retrieveUEContext |
sgNBAdditionPreparation |
meNBinitiatedSgNBModificationPreparation |
sgNBinitiatedSgNBModification |
meNBinitiatedSgNBRelease |
sgNBinitiatedSgNBRelease |
sgNBChange |
endcX2Setup |
endcConfigurationUpdate |
endcCellActivation |
endcPartialReset |
eUTRANRCellResourceCoordination |
endcX2Removal |
endcresourceStatusReportingInitiation |
uERadioCapabilityIDMapping ,
...
}
X2AP-ELEMENTARY-PROCEDURES-CLASS-2 X2AP-ELEMENTARY-PROCEDURE ::= {
snStatusTransfer |
uEContextRelease |
handoverCancel |
errorIndication |
resourceStatusReporting |
loadIndication |
privateMessage |
rLFIndication |
handoverReport |
x2Release |
x2APMessageTransfer |
seNBReconfigurationCompletion |
meNBinitiatedSeNBRelease |
seNBCounterCheck |
sgNBReconfigurationCompletion |
sgNBCounterCheck |
rRCTransfer |
secondaryRATDataUsageReport |
sgNBActivityNotification |
dataForwardingAddressIndication |
gNBStatusIndication |
endcConfigurationTransfer |
deactivateTrace |
traceStart |
handoverSuccess |
earlyStatusTransfer |
conditionalHandoverCancel |
endcresourceStatusReporting |
cellTrafficTrace |
f1CTrafficTransfer |
accessAndMobilityIndication |
cPC-cancel ,
...
}
-- **************************************************************
--
-- Interface Elementary Procedures
--
-- **************************************************************
handoverPreparation X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE HandoverRequest
SUCCESSFUL OUTCOME HandoverRequestAcknowledge
UNSUCCESSFUL OUTCOME HandoverPreparationFailure
PROCEDURE CODE id-handoverPreparation
CRITICALITY reject
}
snStatusTransfer X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SNStatusTransfer
PROCEDURE CODE id-snStatusTransfer
CRITICALITY ignore
}
uEContextRelease X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE UEContextRelease
PROCEDURE CODE id-uEContextRelease
CRITICALITY ignore
}
handoverCancel X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE HandoverCancel
PROCEDURE CODE id-handoverCancel
CRITICALITY ignore
}
handoverReport X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE HandoverReport
PROCEDURE CODE id-handoverReport
CRITICALITY ignore
}
errorIndication X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE ErrorIndication
PROCEDURE CODE id-errorIndication
CRITICALITY ignore
}
reset X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE ResetRequest
SUCCESSFUL OUTCOME ResetResponse
PROCEDURE CODE id-reset
CRITICALITY reject
}
x2Setup X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE X2SetupRequest
SUCCESSFUL OUTCOME X2SetupResponse
UNSUCCESSFUL OUTCOME X2SetupFailure
PROCEDURE CODE id-x2Setup
CRITICALITY reject
}
loadIndication X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE LoadInformation
PROCEDURE CODE id-loadIndication
CRITICALITY ignore
}
eNBConfigurationUpdate X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE ENBConfigurationUpdate
SUCCESSFUL OUTCOME ENBConfigurationUpdateAcknowledge
UNSUCCESSFUL OUTCOME ENBConfigurationUpdateFailure
PROCEDURE CODE id-eNBConfigurationUpdate
CRITICALITY reject
}
resourceStatusReportingInitiation X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE ResourceStatusRequest
SUCCESSFUL OUTCOME ResourceStatusResponse
UNSUCCESSFUL OUTCOME ResourceStatusFailure
PROCEDURE CODE id-resourceStatusReportingInitiation
CRITICALITY reject
}
resourceStatusReporting X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE ResourceStatusUpdate
PROCEDURE CODE id-resourceStatusReporting
CRITICALITY ignore
}
rLFIndication X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE RLFIndication
PROCEDURE CODE id-rLFIndication
CRITICALITY ignore
}
privateMessage X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE PrivateMessage
PROCEDURE CODE id-privateMessage
CRITICALITY ignore
}
mobilitySettingsChange X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE MobilityChangeRequest
SUCCESSFUL OUTCOME MobilityChangeAcknowledge
UNSUCCESSFUL OUTCOME MobilityChangeFailure
PROCEDURE CODE id-mobilitySettingsChange
CRITICALITY reject
}
cellActivation X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE CellActivationRequest
SUCCESSFUL OUTCOME CellActivationResponse
UNSUCCESSFUL OUTCOME CellActivationFailure
PROCEDURE CODE id-cellActivation
CRITICALITY reject
}
x2Release X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE X2Release
PROCEDURE CODE id-x2Release
CRITICALITY reject
}
x2APMessageTransfer X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE X2APMessageTransfer
PROCEDURE CODE id-x2APMessageTransfer
CRITICALITY reject
}
seNBAdditionPreparation X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SeNBAdditionRequest
SUCCESSFUL OUTCOME SeNBAdditionRequestAcknowledge
UNSUCCESSFUL OUTCOME SeNBAdditionRequestReject
PROCEDURE CODE id-seNBAdditionPreparation
CRITICALITY reject
}
seNBReconfigurationCompletion X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SeNBReconfigurationComplete
PROCEDURE CODE id-seNBReconfigurationCompletion
CRITICALITY ignore
}
meNBinitiatedSeNBModificationPreparation X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SeNBModificationRequest
SUCCESSFUL OUTCOME SeNBModificationRequestAcknowledge
UNSUCCESSFUL OUTCOME SeNBModificationRequestReject
PROCEDURE CODE id-meNBinitiatedSeNBModificationPreparation
CRITICALITY reject
}
seNBinitiatedSeNBModification X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SeNBModificationRequired
SUCCESSFUL OUTCOME SeNBModificationConfirm
UNSUCCESSFUL OUTCOME SeNBModificationRefuse
PROCEDURE CODE id-seNBinitiatedSeNBModification
CRITICALITY reject
}
meNBinitiatedSeNBRelease X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SeNBReleaseRequest
PROCEDURE CODE id-meNBinitiatedSeNBRelease
CRITICALITY ignore
}
seNBinitiatedSeNBRelease X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SeNBReleaseRequired
SUCCESSFUL OUTCOME SeNBReleaseConfirm
PROCEDURE CODE id-seNBinitiatedSeNBRelease
CRITICALITY reject
}
seNBCounterCheck X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SeNBCounterCheckRequest
PROCEDURE CODE id-seNBCounterCheck
CRITICALITY reject
}
x2Removal X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE X2RemovalRequest
SUCCESSFUL OUTCOME X2RemovalResponse
UNSUCCESSFUL OUTCOME X2RemovalFailure
PROCEDURE CODE id-x2Removal
CRITICALITY reject
}
retrieveUEContext X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE RetrieveUEContextRequest
SUCCESSFUL OUTCOME RetrieveUEContextResponse
UNSUCCESSFUL OUTCOME RetrieveUEContextFailure
PROCEDURE CODE id-retrieveUEContext
CRITICALITY reject
}
sgNBAdditionPreparation X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SgNBAdditionRequest
SUCCESSFUL OUTCOME SgNBAdditionRequestAcknowledge
UNSUCCESSFUL OUTCOME SgNBAdditionRequestReject
PROCEDURE CODE id-sgNBAdditionPreparation
CRITICALITY reject
}
sgNBReconfigurationCompletion X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SgNBReconfigurationComplete
PROCEDURE CODE id-sgNBReconfigurationCompletion
CRITICALITY ignore
}
meNBinitiatedSgNBModificationPreparation X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SgNBModificationRequest
SUCCESSFUL OUTCOME SgNBModificationRequestAcknowledge
UNSUCCESSFUL OUTCOME SgNBModificationRequestReject
PROCEDURE CODE id-meNBinitiatedSgNBModificationPreparation
CRITICALITY reject
}
sgNBinitiatedSgNBModification X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SgNBModificationRequired
SUCCESSFUL OUTCOME SgNBModificationConfirm
UNSUCCESSFUL OUTCOME SgNBModificationRefuse
PROCEDURE CODE id-sgNBinitiatedSgNBModification
CRITICALITY reject
}
meNBinitiatedSgNBRelease X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SgNBReleaseRequest
SUCCESSFUL OUTCOME SgNBReleaseRequestAcknowledge
UNSUCCESSFUL OUTCOME SgNBReleaseRequestReject
PROCEDURE CODE id-meNBinitiatedSgNBRelease
CRITICALITY ignore
}
sgNBinitiatedSgNBRelease X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SgNBReleaseRequired
SUCCESSFUL OUTCOME SgNBReleaseConfirm
PROCEDURE CODE id-sgNBinitiatedSgNBRelease
CRITICALITY reject
}
sgNBCounterCheck X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SgNBCounterCheckRequest
PROCEDURE CODE id-sgNBCounterCheck
CRITICALITY reject
}
sgNBChange X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SgNBChangeRequired
SUCCESSFUL OUTCOME SgNBChangeConfirm
UNSUCCESSFUL OUTCOME SgNBChangeRefuse
PROCEDURE CODE id-sgNBChange
CRITICALITY reject
}
rRCTransfer X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE RRCTransfer
PROCEDURE CODE id-rRCTransfer
CRITICALITY reject
}
endcX2Setup X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE ENDCX2SetupRequest
SUCCESSFUL OUTCOME ENDCX2SetupResponse
UNSUCCESSFUL OUTCOME ENDCX2SetupFailure
PROCEDURE CODE id-endcX2Setup
CRITICALITY reject
}
endcConfigurationUpdate X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE ENDCConfigurationUpdate
SUCCESSFUL OUTCOME ENDCConfigurationUpdateAcknowledge
UNSUCCESSFUL OUTCOME ENDCConfigurationUpdateFailure
PROCEDURE CODE id-endcConfigurationUpdate
CRITICALITY reject
}
secondaryRATDataUsageReport X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SecondaryRATDataUsageReport
PROCEDURE CODE id-secondaryRATDataUsageReport
CRITICALITY reject
}
endcCellActivation X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE ENDCCellActivationRequest
SUCCESSFUL OUTCOME ENDCCellActivationResponse
UNSUCCESSFUL OUTCOME ENDCCellActivationFailure
PROCEDURE CODE id-endcCellActivation
CRITICALITY reject
}
endcPartialReset X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE ENDCPartialResetRequired
SUCCESSFUL OUTCOME ENDCPartialResetConfirm
PROCEDURE CODE id-endcPartialReset
CRITICALITY reject
}
eUTRANRCellResourceCoordination X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE EUTRANRCellResourceCoordinationRequest
SUCCESSFUL OUTCOME EUTRANRCellResourceCoordinationResponse
PROCEDURE CODE id-eUTRANRCellResourceCoordination
CRITICALITY reject
}
sgNBActivityNotification X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE SgNBActivityNotification
PROCEDURE CODE id-SgNBActivityNotification
CRITICALITY reject
}
endcX2Removal X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE ENDCX2RemovalRequest
SUCCESSFUL OUTCOME ENDCX2RemovalResponse
UNSUCCESSFUL OUTCOME ENDCX2RemovalFailure
PROCEDURE CODE id-endcX2Removal
CRITICALITY reject
}
dataForwardingAddressIndication X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE DataForwardingAddressIndication
PROCEDURE CODE id-dataForwardingAddressIndication
CRITICALITY ignore
}
gNBStatusIndication X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE GNBStatusIndication
PROCEDURE CODE id-gNBStatusIndication
CRITICALITY ignore
}
endcConfigurationTransfer X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE ENDCConfigurationTransfer
PROCEDURE CODE id-endcConfigurationTransfer
CRITICALITY ignore
}
deactivateTrace X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE DeactivateTrace
PROCEDURE CODE id-deactivateTrace
CRITICALITY ignore
}
traceStart X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE TraceStart
PROCEDURE CODE id-traceStart
CRITICALITY ignore
}
handoverSuccess X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE HandoverSuccess
PROCEDURE CODE id-handoverSuccess
CRITICALITY ignore
}
earlyStatusTransfer X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE EarlyStatusTransfer
PROCEDURE CODE id-earlyStatusTransfer
CRITICALITY ignore
}
conditionalHandoverCancel X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE ConditionalHandoverCancel
PROCEDURE CODE id-conditionalHandoverCancel
CRITICALITY ignore
}
endcresourceStatusReportingInitiation X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE ENDCResourceStatusRequest
SUCCESSFUL OUTCOME ENDCResourceStatusResponse
UNSUCCESSFUL OUTCOME ENDCResourceStatusFailure
PROCEDURE CODE id-endcresourceStatusReportingInitiation
CRITICALITY reject
}
endcresourceStatusReporting X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE ENDCResourceStatusUpdate
PROCEDURE CODE id-endcresourceStatusReporting
CRITICALITY ignore
}
cellTrafficTrace X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE CellTrafficTrace
PROCEDURE CODE id-cellTrafficTrace
CRITICALITY ignore
}
f1CTrafficTransfer X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE F1CTrafficTransfer
PROCEDURE CODE id-f1CTrafficTransfer
CRITICALITY ignore
}
uERadioCapabilityIDMapping X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE UERadioCapabilityIDMappingRequest
SUCCESSFUL OUTCOME UERadioCapabilityIDMappingResponse
PROCEDURE CODE id-UERadioCapabilityIDMapping
CRITICALITY reject
}
accessAndMobilityIndication X2AP-ELEMENTARY-PROCEDURE ::={
INITIATING MESSAGE AccessAndMobilityIndication
PROCEDURE CODE id-accessAndMobilityIndication
CRITICALITY ignore
}
cPC-cancel X2AP-ELEMENTARY-PROCEDURE ::= {
INITIATING MESSAGE CPC-cancel
PROCEDURE CODE id-CPC-cancel
CRITICALITY ignore
}
END |
Configuration | wireshark/epan/dissectors/asn1/x2ap/x2ap.cnf | # x2ap.cnf
# x2ap conformation file
# Copyright 2007 Anders Broman
#.OPT
PER
ALIGNED
#.END
#.OMIT_ASSIGNMENT
# Get rid of unused code warnings
Presence
ProtocolIE-FieldPair
ProtocolIE-ContainerList
ProtocolIE-ContainerPair
ProtocolIE-ContainerPairList
SourceDLForwardingIPAddress
#.END
#.PDU
X2AP-PDU
#.MAKE_ENUM
ProtocolIE-ID
ProcedureCode
#.USE_VALS_EXT
CauseRadioNetwork
OffsetOfNbiotChannelNumberToEARFCN
NRNRB
ProcedureCode
ProtocolIE-ID
#.EXPORTS
EUTRANRCellResourceCoordinationRequest_PDU
EUTRANRCellResourceCoordinationResponse_PDU
MeNBResourceCoordinationInformation_PDU
ProtectedEUTRAResourceIndication_PDU
SgNBResourceCoordinationInformation_PDU
#.PDU
EUTRANRCellResourceCoordinationRequest
EUTRANRCellResourceCoordinationResponse
MeNBResourceCoordinationInformation
ProtectedEUTRAResourceIndication
SgNBResourceCoordinationInformation
#.TYPE_RENAME
ProtocolIE-Field/value ProtocolIE_Field_value
PrivateIE-Field/value PrivateIE_Field_value
InitiatingMessage/value InitiatingMessage_value
SuccessfulOutcome/value SuccessfulOutcome_value
UnsuccessfulOutcome/value UnsuccessfulOutcome_value
#.FIELD_RENAME
ProtocolExtensionField/id extension_id
PrivateIE-Field/id private_id
InitiatingMessage/value initiatingMessage_value
ProtocolIE-Field/value protocolIE_Field_value
SuccessfulOutcome/value successfulOutcome_value
PrivateIE-Field/value privateIE_Field_value
#.FN_BODY ProtocolIE-ID VAL_PTR = &x2ap_data->protocol_ie_id
struct x2ap_private_data *x2ap_data = x2ap_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_ext(x2ap_data->protocol_ie_id, &x2ap_ProtocolIE_ID_vals_ext, "unknown (%d)"));
}
#.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_BODY ProcedureCode VAL_PTR = &x2ap_data->procedure_code
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo);
%(DEFAULT_BODY)s
#.FN_PARS InitiatingMessage/value FN_VARIANT=_pdu_new TYPE_REF_FN=dissect_InitiatingMessageValue
#.FN_PARS SuccessfulOutcome/value FN_VARIANT=_pdu_new TYPE_REF_FN=dissect_SuccessfulOutcomeValue
#.FN_PARS UnsuccessfulOutcome/value FN_VARIANT=_pdu_new TYPE_REF_FN=dissect_UnsuccessfulOutcomeValue
#.FN_BODY PrivateIE-ID/global FN_VARIANT = _str VAL_PTR = &actx->external.direct_reference
%(DEFAULT_BODY)s
actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? TRUE : FALSE;
#.FN_BODY PrivateIE-Field/value
if (actx->external.direct_ref_present){
offset=call_per_oid_callback(actx->external.direct_reference, tvb, actx->pinfo, tree, offset, actx, hf_index);
}else{
%(DEFAULT_BODY)s
}
#.FN_BODY TargeteNBtoSource-eNBTransparentContainer VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_TargeteNBtoSource_eNBTransparentContainer);
dissect_lte_rrc_HandoverCommand_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
#.TYPE_ATTR
ProtocolExtensionID TYPE = FT_UINT8 DISPLAY = BASE_DEC|BASE_EXT_STRING STRINGS = &x2ap_ProtocolIE_ID_vals_ext
#.END
#.FN_BODY TransportLayerAddress VAL_PTR = ¶meter_tvb LEN_PTR = &len
# For details on the Transport Layer Address, see
# ref. [8], [19]
# [8] 3GPP TS 36.424: "Evolved Universal Terrestrial Radio Access Network (E-UTRAN); X2 data transport".
# [19] 3GPP TS 36.414: "Evolved Universal Terrestrial Radio Access Network (E-UTRAN); S1 data transport".
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
int len;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_TransportLayerAddress);
if (len == 32) {
/* IPv4 */
proto_tree_add_item(subtree, hf_x2ap_transportLayerAddressIPv4, parameter_tvb, 0, 4, ENC_BIG_ENDIAN);
} else if (len == 128) {
/* IPv6 */
proto_tree_add_item(subtree, hf_x2ap_transportLayerAddressIPv6, parameter_tvb, 0, 16, ENC_NA);
} else if (len == 160) {
/* IPv4 */
proto_tree_add_item(subtree, hf_x2ap_transportLayerAddressIPv4, parameter_tvb, 0, 4, ENC_BIG_ENDIAN);
/* IPv6 */
proto_tree_add_item(subtree, hf_x2ap_transportLayerAddressIPv6, parameter_tvb, 4, 16, ENC_NA);
}
#.TYPE_ATTR
Port-Number TYPE = FT_UINT16 DISPLAY = BASE_DEC
#.FN_BODY Port-Number VAL_PTR = ¶meter_tvb HF_INDEX = -1
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
}
#.FN_BODY RRC-Context VAL_PTR = ¶meter_tvb
# Includes the RRC Handover Preparation Information message as defined in
# subclause 10.2.2 of [9].
# [9] 3GPP TS 36.331: "Evolved Universal Terrestrial Radio Access (E-UTRAN); Radio Resource
# Control (RRC) Protocol Specification".
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_RRC_Context);
if (g_x2ap_dissect_rrc_context_as == X2AP_RRC_CONTEXT_NBIOT) {
dissect_lte_rrc_HandoverPreparationInformation_NB_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
} else {
dissect_lte_rrc_HandoverPreparationInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY UE-HistoryInformationFromTheUE VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_UE_HistoryInformationFromTheUE);
dissect_lte_rrc_VisitedCellInfoList_r12_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
#.FN_BODY RAT-RestrictionsItem/rAT-RestrictionInformation VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if(parameter_tvb){
static int * const fields[] = {
&hf_x2ap_rAT_RestrictionInformation_LEO,
&hf_x2ap_rAT_RestrictionInformation_MEO,
&hf_x2ap_rAT_RestrictionInformation_GEO,
&hf_x2ap_rAT_RestrictionInformation_OTHERSAT,
&hf_x2ap_rAT_RestrictionInformation_Reserved,
NULL
};
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_rAT_RestrictionInformation);
proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN);
}
#.FN_BODY ReportCharacteristics VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if(parameter_tvb){
static int * const fields[] = {
&hf_x2ap_ReportCharacteristics_PRBPeriodic,
&hf_x2ap_ReportCharacteristics_TNLLoadIndPeriodic,
&hf_x2ap_ReportCharacteristics_HWLoadIndPeriodic,
&hf_x2ap_ReportCharacteristics_CompositeAvailableCapacityPeriodic,
&hf_x2ap_ReportCharacteristics_ABSStatusPeriodic,
&hf_x2ap_ReportCharacteristics_RSRPMeasurementReportPeriodic,
&hf_x2ap_ReportCharacteristics_CSIReportPeriodic,
&hf_x2ap_ReportCharacteristics_Reserved,
NULL
};
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_ReportCharacteristics);
proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 4, fields, ENC_BIG_ENDIAN);
}
#.FN_BODY MeasurementFailureCause-Item/measurementFailedReportCharacteristics VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index,
32, 32, FALSE, NULL, 0, ¶meter_tvb, NULL);
if(parameter_tvb){
static int * const fields[] = {
&hf_x2ap_measurementFailedReportCharacteristics_PRBPeriodic,
&hf_x2ap_measurementFailedReportCharacteristics_TNLLoadIndPeriodic,
&hf_x2ap_measurementFailedReportCharacteristics_HWLoadIndPeriodic,
&hf_x2ap_measurementFailedReportCharacteristics_CompositeAvailableCapacityPeriodic,
&hf_x2ap_measurementFailedReportCharacteristics_ABSStatusPeriodic,
&hf_x2ap_measurementFailedReportCharacteristics_RSRPMeasurementReportPeriodic,
&hf_x2ap_measurementFailedReportCharacteristics_CSIReportPeriodic,
&hf_x2ap_measurementFailedReportCharacteristics_Reserved,
NULL
};
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_measurementFailedReportCharacteristics);
proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 4, fields, ENC_BIG_ENDIAN);
}
#.FN_BODY UE-RLF-Report-Container VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree = NULL;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_UE_RLF_Report_Container);
dissect_lte_rrc_RLF_Report_r9_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
#.FN_BODY UE-RLF-Report-Container-for-extended-bands VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree = NULL;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_UE_RLF_Report_Container_for_extended_bands);
dissect_lte_rrc_RLF_Report_v9e0_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
#.FN_BODY NBIoT-RLF-Report-Container VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_NBIoT_RLF_Report_Container);
dissect_lte_rrc_RLF_Report_NB_r16_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
#.FN_BODY MeNBtoSeNBContainer VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree = NULL;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_MeNBtoSeNBContainer);
dissect_lte_rrc_SCG_ConfigInfo_r12_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
#.FN_BODY SeNBtoMeNBContainer VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree = NULL;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_SeNBtoMeNBContainer);
dissect_lte_rrc_SCG_Config_r12_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
#.FN_BODY MeNBtoSgNBContainer VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree = NULL;
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo);
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_MeNBtoSgNBContainer);
if ((x2ap_data->procedure_code == id_sgNBReconfigurationCompletion &&
x2ap_data->message_type == INITIATING_MESSAGE) ||
(x2ap_data->procedure_code == id_sgNBinitiatedSgNBModification &&
x2ap_data->message_type == SUCCESSFUL_OUTCOME)) {
dissect_nr_rrc_RRCReconfigurationComplete_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
} else {
dissect_nr_rrc_CG_ConfigInfo_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY SgNBtoMeNBContainer VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree = NULL;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_SgNBtoMeNBContainer);
dissect_nr_rrc_CG_Config_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
#.FN_HDR SplitSRB/rrcContainer
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo);
x2ap_data->rrc_container_type = RRC_CONTAINER_TYPE_PDCP_C_PDU;
#.FN_HDR NRUeReport/uENRMeasurements
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo);
x2ap_data->rrc_container_type = RRC_CONTAINER_TYPE_NR_UE_MEAS_REPORT;
#.FN_HDR FastMCGRecovery
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo);
if (x2ap_data->protocol_ie_id == id_FastMCGRecovery_SN_to_MN)
x2ap_data->rrc_container_type = RRC_CONTAINER_TYPE_FAST_MCG_RECOVERY_SgNB_TO_MeNB;
else if (x2ap_data->protocol_ie_id == id_FastMCGRecovery_MN_to_SN)
x2ap_data->rrc_container_type = RRC_CONTAINER_TYPE_FAST_MCG_RECOVERY_MeNB_TO_SgNB;
#.FN_BODY RRCContainer VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree = NULL;
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo);
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
switch (x2ap_data->rrc_container_type) {
case RRC_CONTAINER_TYPE_NR_UE_MEAS_REPORT:
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_RRCContainer);
dissect_nr_rrc_UL_DCCH_Message_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
break;
case RRC_CONTAINER_TYPE_FAST_MCG_RECOVERY_SgNB_TO_MeNB:
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_RRCContainer);
dissect_lte_rrc_UL_DCCH_Message_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
break;
case RRC_CONTAINER_TYPE_FAST_MCG_RECOVERY_MeNB_TO_SgNB:
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_RRCContainer);
dissect_lte_rrc_DL_DCCH_Message_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
break;
default:
break;
}
x2ap_data->rrc_container_type = RRC_CONTAINER_TYPE_UNKNOWN;
#.FN_BODY EUTRANTraceID VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree = NULL;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_EUTRANTraceID);
dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, subtree, 0, E212_NONE, FALSE);
proto_tree_add_item(subtree, hf_x2ap_eUTRANTraceID_TraceID, parameter_tvb, 3, 3, ENC_BIG_ENDIAN);
proto_tree_add_item(subtree, hf_x2ap_eUTRANTraceID_TraceRecordingSessionReference, parameter_tvb, 6, 2, ENC_BIG_ENDIAN);
#.FN_BODY InterfacesToTrace VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if(parameter_tvb){
static int * const fields[] = {
&hf_x2ap_interfacesToTrace_S1_MME,
&hf_x2ap_interfacesToTrace_X2,
&hf_x2ap_interfacesToTrace_Uu,
&hf_x2ap_interfacesToTrace_F1_C,
&hf_x2ap_interfacesToTrace_E1,
&hf_x2ap_interfacesToTrace_Reserved,
NULL
};
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_InterfacesToTrace);
proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN);
}
#.FN_BODY LastVisitedPSCell-Item VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_LastVisitedPSCell_Item);
dissect_s1ap_PSCellInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY TraceCollectionEntityIPAddress VAL_PTR = ¶meter_tvb LEN_PTR = &len
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
int len;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_TraceCollectionEntityIPAddress);
if (len == 32) {
/* IPv4 */
proto_tree_add_item(subtree, hf_x2ap_traceCollectionEntityIPAddress_IPv4, parameter_tvb, 0, 4, ENC_BIG_ENDIAN);
} else if (len == 128) {
/* IPv6 */
proto_tree_add_item(subtree, hf_x2ap_traceCollectionEntityIPAddress_IPv6, parameter_tvb, 0, 16, ENC_NA);
} else if (len == 160) {
/* IPv4 */
proto_tree_add_item(subtree, hf_x2ap_traceCollectionEntityIPAddress_IPv4, parameter_tvb, 0, 4, ENC_BIG_ENDIAN);
/* IPv6 */
proto_tree_add_item(subtree, hf_x2ap_traceCollectionEntityIPAddress_IPv6, parameter_tvb, 4, 16, ENC_NA);
}
#.FN_BODY ECGI
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo);
x2ap_data->number_type = E212_ECGI;
%(DEFAULT_BODY)s
#.FN_BODY NRCGI
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo);
x2ap_data->number_type = E212_NRCGI;
%(DEFAULT_BODY)s
#.FN_BODY TAI-Item
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo);
x2ap_data->number_type = E212_TAI;
%(DEFAULT_BODY)s
#.TYPE_ATTR
TAC TYPE = FT_UINT16 DISPLAY = BASE_DEC_HEX
#.FN_BODY TAC VAL_PTR = ¶meter_tvb HF_INDEX = -1
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
LAC TYPE = FT_UINT16 DISPLAY = BASE_DEC_HEX
#.FN_BODY LAC VAL_PTR = ¶meter_tvb HF_INDEX = -1
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
FiveGS-TAC TYPE = FT_UINT24 DISPLAY = BASE_DEC_HEX
#.FN_BODY FiveGS-TAC VAL_PTR = ¶meter_tvb HF_INDEX = -1
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 3, ENC_BIG_ENDIAN);
}
#.FN_BODY PLMN-Identity VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo);
e212_number_type_t number_type = x2ap_data->number_type;
x2ap_data->number_type = E212_NONE;
%(DEFAULT_BODY)s
if(tvb_reported_length(tvb)==0)
return offset;
if (!parameter_tvb)
return offset;
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_PLMN_Identity);
dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, subtree, 0, number_type, FALSE);
#.TYPE_ATTR
BitRate DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_bit_sec
#.FN_BODY GUMMEI
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo);
x2ap_data->number_type = E212_GUMMEI;
%(DEFAULT_BODY)s
#.TYPE_ATTR
MME-Code TYPE = FT_UINT8 DISPLAY = BASE_DEC_HEX
#.FN_BODY MME-Code VAL_PTR = ¶meter_tvb HF_INDEX = -1
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 1, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
MME-Group-ID TYPE = FT_UINT16 DISPLAY = BASE_DEC_HEX
#.FN_BODY MME-Group-ID VAL_PTR = ¶meter_tvb HF_INDEX = -1
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb) {
actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
}
#.FN_BODY EncryptionAlgorithms VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if(parameter_tvb){
static int * const fields[] = {
&hf_x2ap_encryptionAlgorithms_EEA1,
&hf_x2ap_encryptionAlgorithms_EEA2,
&hf_x2ap_encryptionAlgorithms_EEA3,
&hf_x2ap_encryptionAlgorithms_Reserved,
NULL
};
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_EncryptionAlgorithms);
proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 2, fields, ENC_BIG_ENDIAN);
}
#.FN_BODY IntegrityProtectionAlgorithms VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if(parameter_tvb){
static int * const fields[] = {
&hf_x2ap_integrityProtectionAlgorithms_EIA1,
&hf_x2ap_integrityProtectionAlgorithms_EIA2,
&hf_x2ap_integrityProtectionAlgorithms_EIA3,
&hf_x2ap_integrityProtectionAlgorithms_Reserved,
NULL
};
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_IntegrityProtectionAlgorithms);
proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 2, fields, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
Time-UE-StayedInCell DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds
#.TYPE_ATTR
Time-UE-StayedInCell-EnhancedGranularity DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(x2ap_Time_UE_StayedInCell_EnhancedGranularity_fmt)
#.TYPE_ATTR
MobilityParametersInformation/handoverTriggerChange DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(x2ap_handoverTriggerChange_fmt)
#.TYPE_ATTR
MobilityParametersModificationRange/handoverTriggerChangeLowerLimit DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(x2ap_handoverTriggerChange_fmt)
#.TYPE_ATTR
MobilityParametersModificationRange/handoverTriggerChangeUpperLimit DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(x2ap_handoverTriggerChange_fmt)
#.FN_BODY MeasurementsToActivate VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if(parameter_tvb){
static int * const fields[] = {
&hf_x2ap_measurementsToActivate_M1,
&hf_x2ap_measurementsToActivate_M2,
&hf_x2ap_measurementsToActivate_M3,
&hf_x2ap_measurementsToActivate_M4,
&hf_x2ap_measurementsToActivate_M5,
&hf_x2ap_measurementsToActivate_LoggingM1FromEventTriggered,
&hf_x2ap_measurementsToActivate_M6,
&hf_x2ap_measurementsToActivate_M7,
NULL
};
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_MeasurementsToActivate);
proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
Threshold-RSRP DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(x2ap_Threshold_RSRP_fmt)
#.TYPE_ATTR
Threshold-RSRQ DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(x2ap_Threshold_RSRQ_fmt)
#.FN_BODY MDT-Location-Info VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if(parameter_tvb){
static int * const fields[] = {
&hf_x2ap_MDT_Location_Info_GNSS,
&hf_x2ap_MDT_Location_Info_E_CID,
&hf_x2ap_MDT_Location_Info_Reserved,
NULL
};
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_MDT_Location_Info);
proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
ExpectedActivityPeriod DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds
#.TYPE_ATTR
ExpectedIdlePeriod DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds
#.TYPE_ATTR
RSRPMeasurementResult/_item/rSRPMeasured DISPLAY=BASE_CUSTOM STRINGS=CF_FUNC(x2ap_Threshold_RSRP_fmt)
#.FN_BODY DynamicNAICSInformation/transmissionModes VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if(parameter_tvb){
static int * const fields[] = {
&hf_x2ap_MDT_transmissionModes_tm1,
&hf_x2ap_MDT_transmissionModes_tm2,
&hf_x2ap_MDT_transmissionModes_tm3,
&hf_x2ap_MDT_transmissionModes_tm4,
&hf_x2ap_MDT_transmissionModes_tm6,
&hf_x2ap_MDT_transmissionModes_tm8,
&hf_x2ap_MDT_transmissionModes_tm9,
&hf_x2ap_MDT_transmissionModes_tm10,
NULL
};
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_transmissionModes);
proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN);
}
#.TYPE_ATTR
LHN-ID TYPE=FT_STRING DISPLAY = BASE_NONE
#.FN_BODY LHN-ID VAL_PTR = ¶meter_tvb HF_INDEX = -1
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, -1, ENC_UTF_8|ENC_NA);
#.FN_BODY X2AP-Message VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
%(DEFAULT_BODY)s
if (parameter_tvb) {
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_X2AP_Message);
dissect_X2AP_PDU_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.TYPE_ATTR
ExtendedBitRate DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_bit_sec
#.FN_BODY NRencryptionAlgorithms VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb) {
static int * const fields[] = {
&hf_x2ap_NRencryptionAlgorithms_NEA1,
&hf_x2ap_NRencryptionAlgorithms_NEA2,
&hf_x2ap_NRencryptionAlgorithms_NEA3,
&hf_x2ap_NRencryptionAlgorithms_Reserved,
NULL
};
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_NRencryptionAlgorithms);
proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 2, fields, ENC_BIG_ENDIAN);
}
#.FN_BODY NRintegrityProtectionAlgorithms VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if (parameter_tvb) {
static int * const fields[] = {
&hf_x2ap_NRintegrityProtectionAlgorithms_NIA1,
&hf_x2ap_NRintegrityProtectionAlgorithms_NIA2,
&hf_x2ap_NRintegrityProtectionAlgorithms_NIA3,
&hf_x2ap_NRintegrityProtectionAlgorithms_Reserved,
NULL
};
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_NRintegrityProtectionAlgorithms);
proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 2, fields, ENC_BIG_ENDIAN);
}
#.FN_BODY E-RABUsageReport-Item/startTimeStamp VAL_PTR = ×tamp_tvb
tvbuff_t *timestamp_tvb = NULL;
%(DEFAULT_BODY)s
#.FN_FTR E-RABUsageReport-Item/startTimeStamp
if (timestamp_tvb) {
proto_item_append_text(actx->created_item, " (%s)", tvb_ntp_fmt_ts_sec(timestamp_tvb, 0));
}
#.FN_BODY E-RABUsageReport-Item/endTimeStamp VAL_PTR = ×tamp_tvb
tvbuff_t *timestamp_tvb = NULL;
%(DEFAULT_BODY)s
#.FN_FTR E-RABUsageReport-Item/endTimeStamp
if (timestamp_tvb) {
proto_item_append_text(actx->created_item, " (%s)", tvb_ntp_fmt_ts_sec(timestamp_tvb, 0));
}
#.TYPE_ATTR
E-RABUsageReport-Item/usageCountUL DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_octet_octets
#.TYPE_ATTR
E-RABUsageReport-Item/usageCountDL DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_octet_octets
#.FN_BODY ServedNRCell-Information/measurementTimingConfiguration VAL_PTR = ¶m_tvb
tvbuff_t *param_tvb = NULL;
%(DEFAULT_BODY)s
if (param_tvb) {
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_measurementTimingConfiguration);
dissect_nr_rrc_MeasurementTimingConfiguration_PDU(param_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY NRNeighbour-Information/_item/measurementTimingConfiguration VAL_PTR = ¶m_tvb
tvbuff_t *param_tvb = NULL;
%(DEFAULT_BODY)s
if (param_tvb) {
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_measurementTimingConfiguration);
dissect_nr_rrc_MeasurementTimingConfiguration_PDU(param_tvb, actx->pinfo, subtree, NULL);
}
#.TYPE_ATTR
Packet-LossRate DISPLAY = BASE_CUSTOM STRINGS = CF_FUNC(x2ap_Packet_LossRate_fmt)
#.FN_FTR ProtectedEUTRAResourceIndication/mBSFNControlRegionLength
proto_item_append_text(actx->created_item, " REs");
#.FN_FTR ProtectedEUTRAResourceIndication/pDCCHRegionLength
proto_item_append_text(actx->created_item, " REs");
#.FN_FTR ReservedSubframePattern/mBSFNControlRegionLength
proto_item_append_text(actx->created_item, " REs");
#.TYPE_ATTR
BluetoothName TYPE=FT_STRING DISPLAY = BASE_NONE
#.FN_BODY BluetoothName VAL_PTR = ¶meter_tvb HF_INDEX = -1
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, -1, ENC_UTF_8|ENC_NA);
#.END
#.TYPE_ATTR
WLANName TYPE=FT_STRING DISPLAY = BASE_NONE
#.FN_BODY WLANName VAL_PTR = ¶meter_tvb HF_INDEX = -1
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, -1, ENC_UTF_8|ENC_NA);
#.END
#.TYPE_ATTR
Subscription-Based-UE-DifferentiationInfo/periodicTime DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds
#.TYPE_ATTR
ScheduledCommunicationTime/timeofDayStart DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds
#.TYPE_ATTR
ScheduledCommunicationTime/timeofDayEnd DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds
#.FN_BODY LastVisitedNGRANCellInformation VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_LastVisitedNGRANCellInformation);
dissect_ngap_LastVisitedNGRANCellInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY LastVisitedUTRANCellInformation VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_LastVisitedUTRANCellInformation);
dissect_ranap_LastVisitedUTRANCell_Item_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY EndcSONConfigurationTransfer VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_EndcSONConfigurationTransfer);
dissect_s1ap_EN_DCSONConfigurationTransfer_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY EPCHandoverRestrictionListContainer VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_EPCHandoverRestrictionListContainer);
dissect_s1ap_HandoverRestrictionList_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY NPRACHConfiguration-FDD/anchorCarrier-NPRACHConfig VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_anchorCarrier_NPRACHConfig);
dissect_lte_rrc_NPRACH_ParametersList_NB_r13_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY NPRACHConfiguration-FDD/anchorCarrier-EDT-NPRACHConfig VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_anchorCarrier_EDT_NPRACHConfig);
dissect_lte_rrc_NPRACH_ParametersList_NB_r14_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY NPRACHConfiguration-FDD/anchorCarrier-Format2-NPRACHConfig VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_anchorCarrier_Format2_NPRACHConfig);
dissect_lte_rrc_NPRACH_ParametersListFmt2_NB_r15_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY NPRACHConfiguration-FDD/anchorCarrier-Format2-EDT-NPRACHConfig VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_anchorCarrier_Format2_EDT_NPRACHConfig);
dissect_lte_rrc_NPRACH_ParametersListFmt2_NB_r15_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY NPRACHConfiguration-FDD/non-anchorCarrier-NPRACHConfig VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_non_anchorCarrier_NPRACHConfig);
dissect_lte_rrc_UL_ConfigCommonList_NB_r14_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY NPRACHConfiguration-FDD/non-anchorCarrier-Format2-NPRACHConfig VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_non_anchorCarrier_Format2_NPRACHConfig);
dissect_lte_rrc_UL_ConfigCommonList_NB_v1530_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY NPRACHConfiguration-TDD/anchorCarrier-NPRACHConfigTDD VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_anchorCarrier_NPRACHConfigTDD);
dissect_lte_rrc_NPRACH_ParametersListTDD_NB_r15_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY NPRACHConfiguration-TDD/non-anchorCarrier-NPRACHConfigTDD VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_non_anchorCarrier_NPRACHConfigTDD);
dissect_lte_rrc_UL_ConfigCommonListTDD_NB_r15_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY Non-anchorCarrierFrequency VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_Non_anchorCarrierFrequency);
dissect_lte_rrc_DL_CarrierConfigCommon_NB_r14_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY ReportCharacteristics-ENDC VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
if(parameter_tvb){
static int * const fields[] = {
&hf_x2ap_ReportCharacteristics_ENDC_PRBPeriodic,
&hf_x2ap_ReportCharacteristics_ENDC_TNLCapacityIndPeriodic,
&hf_x2ap_ReportCharacteristics_ENDC_CompositeAvailableCapacityPeriodic,
&hf_x2ap_ReportCharacteristics_ENDC_NumberOfActiveUEs,
&hf_x2ap_ReportCharacteristics_ENDC_Reserved,
NULL
};
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_ReportCharacteristics_ENDC);
proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 4, fields, ENC_BIG_ENDIAN);
}
#.FN_BODY TargetCellInNGRAN VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_TargetCellInNGRAN);
dissect_ngap_NGRAN_CGI_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY TDDULDLConfigurationCommonNR VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_TDDULDLConfigurationCommonNR);
dissect_nr_rrc_TDD_UL_DL_ConfigCommon_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_HDR Registration-Request
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo);
if (x2ap_data->procedure_code == id_endcresourceStatusReportingInitiation)
return dissect_x2ap_Registration_Request_ENDC(tvb, offset, actx, tree, hf_x2ap_Registration_Request_ENDC_PDU);
#.FN_HDR ReportingPeriodicity
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo);
if (x2ap_data->procedure_code == id_endcresourceStatusReportingInitiation)
return dissect_x2ap_ReportingPeriodicity_ENDC(tvb, offset, actx, tree, hf_x2ap_ReportingPeriodicity_ENDC_PDU);
#.FN_HDR ReportCharacteristics
struct x2ap_private_data *x2ap_data = x2ap_get_private_data(actx->pinfo);
if (x2ap_data->procedure_code == id_endcresourceStatusReportingInitiation)
return dissect_x2ap_ReportCharacteristics_ENDC(tvb, offset, actx, tree, hf_x2ap_ReportCharacteristics_ENDC_PDU);
#.FN_BODY MDT-ConfigurationNR VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_MDT_ConfigurationNR);
dissect_ngap_MDT_Configuration_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY NRCellPRACHConfig VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_NRCellPRACHConfig);
dissect_f1ap_NRPRACHConfig_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY NRRACHReportContainer VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_NRRACHReportContainer);
dissect_nr_rrc_RA_ReportList_r16_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY IntendedTDD-DL-ULConfiguration-NR VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_IntendedTDD_DL_ULConfiguration_NR);
dissect_xnap_IntendedTDD_DL_ULConfiguration_NR_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.FN_BODY UERadioCapability VAL_PTR = ¶meter_tvb
tvbuff_t *parameter_tvb = NULL;
proto_tree *subtree;
%(DEFAULT_BODY)s
if (parameter_tvb) {
subtree = proto_item_add_subtree(actx->created_item, ett_x2ap_UERadioCapability);
dissect_lte_rrc_UERadioAccessCapabilityInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
}
#.END
#.FN_HDR HandoverRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverRequest");
#.FN_HDR HandoverRequestAcknowledge
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverRequestAcknowledge");
#.FN_HDR HandoverPreparationFailure
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverPreparationFailure");
#.FN_HDR SNStatusTransfer
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SNStatusTransfer");
#.FN_HDR UEContextRelease
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEContextRelease");
#.FN_HDR HandoverCancel
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverCancel");
#.FN_HDR ErrorIndication
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ErrorIndication");
#.FN_HDR ResetRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResetRequest");
#.FN_HDR ResetResponse
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResetResponse");
#.FN_HDR X2SetupRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "X2SetupRequest");
#.FN_HDR X2SetupResponse
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "X2SetupResponse");
#.FN_HDR X2SetupFailure
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "X2SetupFailure");
#.FN_HDR LoadInformation
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "LoadInformation");
#.FN_HDR ENBConfigurationUpdate
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENBConfigurationUpdate");
#.FN_HDR ENBConfigurationUpdateAcknowledge
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENBConfigurationUpdateAcknowledge");
#.FN_HDR ENBConfigurationUpdateFailure
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENBConfigurationUpdateFailure");
#.FN_HDR ResourceStatusRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResourceStatusRequest");
#.FN_HDR ResourceStatusResponse
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResourceStatusResponse");
#.FN_HDR ResourceStatusFailure
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResourceStatusFailure");
#.FN_HDR ResourceStatusUpdate
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResourceStatusUpdate");
#.FN_HDR PrivateMessage
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "PrivateMessage");
#.FN_HDR HandoverReport
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverReport");
#.FN_HDR RLFIndication
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RLFIndication");
#.FN_HDR MobilityChangeRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "MobilityChangeRequest");
#.FN_HDR MobilityChangeAcknowledge
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "MobilityChangeAcknowledge");
#.FN_HDR MobilityChangeFailure
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "MobilityChangeFailure");
#.FN_HDR CellActivationRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "CellActivationRequest");
#.FN_HDR CellActivationResponse
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "CellActivationResponse");
#.FN_HDR CellActivationFailure
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "CellActivationFailure");
#.FN_HDR X2Release
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "X2Release");
#.FN_HDR X2APMessageTransfer
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "X2APMessageTransfer");
#.FN_HDR X2RemovalRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "X2RemovalRequest");
#.FN_HDR X2RemovalResponse
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "X2RemovalResponse");
#.FN_HDR X2RemovalFailure
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "X2RemovalFailure");
#.FN_HDR SeNBAdditionRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBAdditionRequest");
#.FN_HDR SeNBAdditionRequestAcknowledge
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBAdditionRequestAcknowledge");
#.FN_HDR SeNBAdditionRequestReject
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBAdditionRequestReject");
#.FN_HDR SeNBReconfigurationComplete
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBReconfigurationComplete");
#.FN_HDR SeNBModificationRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBModificationRequest");
#.FN_HDR SeNBModificationRequestAcknowledge
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBModificationRequestAcknowledge");
#.FN_HDR SeNBModificationRequestReject
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBModificationRequestReject");
#.FN_HDR SeNBModificationRequired
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBModificationRequired");
#.FN_HDR SeNBModificationConfirm
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBModificationConfirm");
#.FN_HDR SeNBModificationRefuse
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBModificationRefuse");
#.FN_HDR SeNBReleaseRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBReleaseRequest");
#.FN_HDR SeNBReleaseRequired
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBReleaseRequired");
#.FN_HDR SeNBReleaseConfirm
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBReleaseConfirm");
#.FN_HDR SeNBCounterCheckRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SeNBCounterCheckRequest");
#.FN_HDR RetrieveUEContextRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RetrieveUEContextRequest");
#.FN_HDR RetrieveUEContextResponse
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RetrieveUEContextResponse");
#.FN_HDR RetrieveUEContextFailure
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RetrieveUEContextFailure");
#.FN_HDR SgNBAdditionRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBAdditionRequest");
#.FN_HDR SgNBAdditionRequestAcknowledge
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBAdditionRequestAcknowledge");
#.FN_HDR SgNBAdditionRequestReject
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBAdditionRequestReject");
#.FN_HDR SgNBReconfigurationComplete
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBReconfigurationComplete");
#.FN_HDR SgNBModificationRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBModificationRequest");
#.FN_HDR SgNBModificationRequestAcknowledge
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBModificationRequestAcknowledge");
#.FN_HDR SgNBModificationRequestReject
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBModificationRequestReject");
#.FN_HDR SgNBModificationRequired
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBModificationRequired");
#.FN_HDR SgNBModificationConfirm
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBModificationConfirm");
#.FN_HDR SgNBModificationRefuse
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBModificationRefuse");
#.FN_HDR SgNBReleaseRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBReleaseRequest");
#.FN_HDR SgNBReleaseRequestAcknowledge
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBReleaseRequestAcknowledge");
#.FN_HDR SgNBReleaseRequestReject
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBReleaseRequestReject");
#.FN_HDR SgNBReleaseRequired
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBReleaseRequired");
#.FN_HDR SgNBReleaseConfirm
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBReleaseConfirm");
#.FN_HDR SgNBCounterCheckRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBCounterCheckRequest");
#.FN_HDR SgNBChangeRequired
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBChangeRequired");
#.FN_HDR SgNBChangeConfirm
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBChangeConfirm");
#.FN_HDR SgNBChangeRefuse
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBChangeRefuse");
#.FN_HDR RRCTransfer
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RRCTransfer");
#.FN_HDR ENDCX2SetupRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCX2SetupRequest");
#.FN_HDR ENDCX2SetupResponse
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCX2SetupResponse");
#.FN_HDR ENDCX2SetupFailure
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCX2SetupFailure");
#.FN_HDR ENDCConfigurationUpdate
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCConfigurationUpdate");
#.FN_HDR ENDCConfigurationUpdateAcknowledge
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCConfigurationUpdateAcknowledge");
#.FN_HDR ENDCConfigurationUpdateFailure
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCConfigurationUpdateFailure");
#.FN_HDR SecondaryRATDataUsageReport
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SecondaryRATDataUsageReport");
#.FN_HDR ENDCCellActivationRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCCellActivationRequest");
#.FN_HDR ENDCCellActivationResponse
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCCellActivationResponse");
#.FN_HDR ENDCCellActivationFailure
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCCellActivationFailure");
#.FN_HDR ENDCPartialResetRequired
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCPartialResetRequired");
#.FN_HDR ENDCPartialResetConfirm
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCPartialResetConfirm");
#.FN_HDR EUTRANRCellResourceCoordinationRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "EUTRANRCellResourceCoordinationRequest");
#.FN_HDR EUTRANRCellResourceCoordinationResponse
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "EUTRANRCellResourceCoordinationResponse");
#.FN_HDR SgNBActivityNotification
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SgNBActivityNotification");
#.FN_HDR ENDCX2RemovalRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCX2RemovalRequest");
#.FN_HDR ENDCX2RemovalResponse
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCX2RemovalResponse");
#.FN_HDR ENDCX2RemovalFailure
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCX2RemovalFailure");
#.FN_HDR DataForwardingAddressIndication
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "DataForwardingAddressIndication");
#.FN_HDR GNBStatusIndication
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "GNBStatusIndication");
#.FN_HDR ENDCConfigurationTransfer
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCConfigurationTransfer");
#.FN_HDR DeactivateTrace
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "DeactivateTrace");
#.FN_HDR TraceStart
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "TraceStart");
#.FN_HDR HandoverSuccess
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverSuccess");
#.FN_HDR EarlyStatusTransfer
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "EarlyStatusTransfer");
#.FN_HDR ConditionalHandoverCancel
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ConditionalHandoverCancel");
#.FN_HDR ENDCResourceStatusRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCResourceStatusRequest");
#.FN_HDR ENDCResourceStatusResponse
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCResourceStatusResponse");
#.FN_HDR ENDCResourceStatusFailure
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCResourceStatusFailure");
#.FN_HDR ENDCResourceStatusUpdate
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENDCResourceStatusUpdate");
#.FN_HDR CellTrafficTrace
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "CellTrafficTrace");
#.FN_HDR F1CTrafficTransfer
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "F1CTrafficTransfer");
#.FN_HDR UERadioCapabilityIDMappingRequest
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UERadioCapabilityIDMappingRequest");
#.FN_HDR UERadioCapabilityIDMappingResponse
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UERadioCapabilityIDMappingResponse");
#.FN_HDR AccessAndMobilityIndication
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "AccessAndMobilityIndication");
#.FN_HDR CPC-cancel
col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "CPC-cancel");
#.ASSIGN_VALUE_TO_TYPE # X2AP does not have constants assigned to types, they are pure INTEGER
# ProcedureCode
id-handoverPreparation ProcedureCode
id-handoverCancel ProcedureCode
id-loadIndication ProcedureCode
id-errorIndication ProcedureCode
id-snStatusTransfer ProcedureCode
id-uEContextRelease ProcedureCode
id-x2Setup ProcedureCode
id-reset ProcedureCode
id-eNBConfigurationUpdate ProcedureCode
id-resourceStatusReportingInitiation ProcedureCode
id-resourceStatusReporting ProcedureCode
id-privateMessage ProcedureCode
id-mobilitySettingsChange ProcedureCode
id-rLFIndication ProcedureCode
id-handoverReport ProcedureCode
id-cellActivation ProcedureCode
id-x2Release ProcedureCode
id-x2APMessageTransfer ProcedureCode
id-x2Removal ProcedureCode
id-seNBAdditionPreparation ProcedureCode
id-seNBReconfigurationCompletion ProcedureCode
id-meNBinitiatedSeNBModificationPreparation ProcedureCode
id-seNBinitiatedSeNBModification ProcedureCode
id-meNBinitiatedSeNBRelease ProcedureCode
id-seNBinitiatedSeNBRelease ProcedureCode
id-seNBCounterCheck ProcedureCode
id-retrieveUEContext ProcedureCode
id-sgNBAdditionPreparation ProcedureCode
id-sgNBReconfigurationCompletion ProcedureCode
id-meNBinitiatedSgNBModificationPreparation ProcedureCode
id-sgNBinitiatedSgNBModification ProcedureCode
id-meNBinitiatedSgNBRelease ProcedureCode
id-sgNBinitiatedSgNBRelease ProcedureCode
id-sgNBCounterCheck ProcedureCode
id-sgNBChange ProcedureCode
id-rRCTransfer ProcedureCode
id-endcX2Setup ProcedureCode
id-endcConfigurationUpdate ProcedureCode
id-secondaryRATDataUsageReport ProcedureCode
id-endcCellActivation ProcedureCode
id-endcPartialReset ProcedureCode
id-eUTRANRCellResourceCoordination ProcedureCode
id-SgNBActivityNotification ProcedureCode
id-endcX2Removal ProcedureCode
id-dataForwardingAddressIndication ProcedureCode
id-gNBStatusIndication ProcedureCode
id-deactivateTrace ProcedureCode
id-traceStart ProcedureCode
id-endcConfigurationTransfer ProcedureCode
id-handoverSuccess ProcedureCode
id-conditionalHandoverCancel ProcedureCode
id-earlyStatusTransfer ProcedureCode
id-cellTrafficTrace ProcedureCode
id-endcresourceStatusReporting ProcedureCode
id-endcresourceStatusReportingInitiation ProcedureCode
id-f1CTrafficTransfer ProcedureCode
id-UERadioCapabilityIDMapping ProcedureCode
id-accessAndMobilityIndication ProcedureCode
id-procedure-code-58-not-to-be-used ProcedureCode
id-CPC-cancel ProcedureCode
# ProtocolIE-ID
id-E-RABs-Admitted-Item ProtocolIE-ID
id-E-RABs-Admitted-List ProtocolIE-ID
id-E-RAB-Item ProtocolIE-ID
id-E-RABs-NotAdmitted-List ProtocolIE-ID
id-E-RABs-ToBeSetup-Item ProtocolIE-ID
id-Cause ProtocolIE-ID
id-CellInformation ProtocolIE-ID
id-CellInformation-Item ProtocolIE-ID
id-New-eNB-UE-X2AP-ID ProtocolIE-ID
id-Old-eNB-UE-X2AP-ID ProtocolIE-ID
id-TargetCell-ID ProtocolIE-ID
id-TargeteNBtoSource-eNBTransparentContainer ProtocolIE-ID
id-TraceActivation ProtocolIE-ID
id-UE-ContextInformation ProtocolIE-ID
id-UE-HistoryInformation ProtocolIE-ID
id-UE-X2AP-ID ProtocolIE-ID
id-CriticalityDiagnostics ProtocolIE-ID
id-E-RABs-SubjectToStatusTransfer-List ProtocolIE-ID
id-E-RABs-SubjectToStatusTransfer-Item ProtocolIE-ID
id-ServedCells ProtocolIE-ID
id-GlobalENB-ID ProtocolIE-ID
id-TimeToWait ProtocolIE-ID
id-GUMMEI-ID ProtocolIE-ID
id-GUGroupIDList ProtocolIE-ID
id-ServedCellsToAdd ProtocolIE-ID
id-ServedCellsToModify ProtocolIE-ID
id-ServedCellsToDelete ProtocolIE-ID
id-Registration-Request ProtocolIE-ID
id-CellToReport ProtocolIE-ID
id-ReportingPeriodicity ProtocolIE-ID
id-CellToReport-Item ProtocolIE-ID
id-CellMeasurementResult ProtocolIE-ID
id-CellMeasurementResult-Item ProtocolIE-ID
id-GUGroupIDToAddList ProtocolIE-ID
id-GUGroupIDToDeleteList ProtocolIE-ID
id-SRVCCOperationPossible ProtocolIE-ID
id-Measurement-ID ProtocolIE-ID
id-ReportCharacteristics ProtocolIE-ID
id-ENB1-Measurement-ID ProtocolIE-ID
id-ENB2-Measurement-ID ProtocolIE-ID
id-Number-of-Antennaports ProtocolIE-ID
id-CompositeAvailableCapacityGroup ProtocolIE-ID
id-ENB1-Cell-ID ProtocolIE-ID
id-ENB2-Cell-ID ProtocolIE-ID
id-ENB2-Proposed-Mobility-Parameters ProtocolIE-ID
id-ENB1-Mobility-Parameters ProtocolIE-ID
id-ENB2-Mobility-Parameters-Modification-Range ProtocolIE-ID
id-FailureCellPCI ProtocolIE-ID
id-Re-establishmentCellECGI ProtocolIE-ID
id-FailureCellCRNTI ProtocolIE-ID
id-ShortMAC-I ProtocolIE-ID
id-SourceCellECGI ProtocolIE-ID
id-FailureCellECGI ProtocolIE-ID
id-HandoverReportType ProtocolIE-ID
id-PRACH-Configuration ProtocolIE-ID
id-MBSFN-Subframe-Info ProtocolIE-ID
id-ServedCellsToActivate ProtocolIE-ID
id-ActivatedCellList ProtocolIE-ID
id-DeactivationIndication ProtocolIE-ID
id-UE-RLF-Report-Container ProtocolIE-ID
id-ABSInformation ProtocolIE-ID
id-InvokeIndication ProtocolIE-ID
id-ABS-Status ProtocolIE-ID
id-PartialSuccessIndicator ProtocolIE-ID
id-MeasurementInitiationResult-List ProtocolIE-ID
id-MeasurementInitiationResult-Item ProtocolIE-ID
id-MeasurementFailureCause-Item ProtocolIE-ID
id-CompleteFailureCauseInformation-List ProtocolIE-ID
id-CompleteFailureCauseInformation-Item ProtocolIE-ID
id-CSG-Id ProtocolIE-ID
id-CSGMembershipStatus ProtocolIE-ID
id-MDTConfiguration ProtocolIE-ID
id-ManagementBasedMDTallowed ProtocolIE-ID
id-RRCConnSetupIndicator ProtocolIE-ID
id-NeighbourTAC ProtocolIE-ID
id-Time-UE-StayedInCell-EnhancedGranularity ProtocolIE-ID
id-RRCConnReestabIndicator ProtocolIE-ID
id-MBMS-Service-Area-List ProtocolIE-ID
id-HO-cause ProtocolIE-ID
id-TargetCellInUTRAN ProtocolIE-ID
id-MobilityInformation ProtocolIE-ID
id-SourceCellCRNTI ProtocolIE-ID
id-MultibandInfoList ProtocolIE-ID
id-M3Configuration ProtocolIE-ID
id-M4Configuration ProtocolIE-ID
id-M5Configuration ProtocolIE-ID
id-MDT-Location-Info ProtocolIE-ID
id-ManagementBasedMDTPLMNList ProtocolIE-ID
id-SignallingBasedMDTPLMNList ProtocolIE-ID
id-ReceiveStatusOfULPDCPSDUsExtended ProtocolIE-ID
id-ULCOUNTValueExtended ProtocolIE-ID
id-DLCOUNTValueExtended ProtocolIE-ID
id-eARFCNExtension ProtocolIE-ID
id-UL-EARFCNExtension ProtocolIE-ID
id-DL-EARFCNExtension ProtocolIE-ID
id-AdditionalSpecialSubframe-Info ProtocolIE-ID
id-Masked-IMEISV ProtocolIE-ID
id-IntendedULDLConfiguration ProtocolIE-ID
id-ExtendedULInterferenceOverloadInfo ProtocolIE-ID
id-RNL-Header ProtocolIE-ID
id-x2APMessage ProtocolIE-ID
id-ProSeAuthorized ProtocolIE-ID
id-ExpectedUEBehaviour ProtocolIE-ID
id-UE-HistoryInformationFromTheUE ProtocolIE-ID
id-DynamicDLTransmissionInformation ProtocolIE-ID
id-UE-RLF-Report-Container-for-extended-bands ProtocolIE-ID
id-CoMPInformation ProtocolIE-ID
id-ReportingPeriodicityRSRPMR ProtocolIE-ID
id-RSRPMRList ProtocolIE-ID
id-MeNB-UE-X2AP-ID ProtocolIE-ID
id-SeNB-UE-X2AP-ID ProtocolIE-ID
id-UE-SecurityCapabilities ProtocolIE-ID
id-SeNBSecurityKey ProtocolIE-ID
id-SeNBUEAggregateMaximumBitRate ProtocolIE-ID
id-ServingPLMN ProtocolIE-ID
id-E-RABs-ToBeAdded-List ProtocolIE-ID
id-E-RABs-ToBeAdded-Item ProtocolIE-ID
id-MeNBtoSeNBContainer ProtocolIE-ID
id-E-RABs-Admitted-ToBeAdded-List ProtocolIE-ID
id-E-RABs-Admitted-ToBeAdded-Item ProtocolIE-ID
id-SeNBtoMeNBContainer ProtocolIE-ID
id-ResponseInformationSeNBReconfComp ProtocolIE-ID
id-UE-ContextInformationSeNBModReq ProtocolIE-ID
id-E-RABs-ToBeAdded-ModReqItem ProtocolIE-ID
id-E-RABs-ToBeModified-ModReqItem ProtocolIE-ID
id-E-RABs-ToBeReleased-ModReqItem ProtocolIE-ID
id-E-RABs-Admitted-ToBeAdded-ModAckList ProtocolIE-ID
id-E-RABs-Admitted-ToBeModified-ModAckList ProtocolIE-ID
id-E-RABs-Admitted-ToBeReleased-ModAckList ProtocolIE-ID
id-E-RABs-Admitted-ToBeAdded-ModAckItem ProtocolIE-ID
id-E-RABs-Admitted-ToBeModified-ModAckItem ProtocolIE-ID
id-E-RABs-Admitted-ToBeReleased-ModAckItem ProtocolIE-ID
id-E-RABs-ToBeReleased-ModReqd ProtocolIE-ID
id-E-RABs-ToBeReleased-ModReqdItem ProtocolIE-ID
id-SCGChangeIndication ProtocolIE-ID
id-E-RABs-ToBeReleased-List-RelReq ProtocolIE-ID
id-E-RABs-ToBeReleased-RelReqItem ProtocolIE-ID
id-E-RABs-ToBeReleased-List-RelConf ProtocolIE-ID
id-E-RABs-ToBeReleased-RelConfItem ProtocolIE-ID
id-E-RABs-SubjectToCounterCheck-List ProtocolIE-ID
id-E-RABs-SubjectToCounterCheckItem ProtocolIE-ID
id-CoverageModificationList ProtocolIE-ID
id-ReportingPeriodicityCSIR ProtocolIE-ID
id-CSIReportList ProtocolIE-ID
id-UEID ProtocolIE-ID
id-enhancedRNTP ProtocolIE-ID
id-ProSeUEtoNetworkRelaying ProtocolIE-ID
id-ReceiveStatusOfULPDCPSDUsPDCP-SNlength18 ProtocolIE-ID
id-ULCOUNTValuePDCP-SNlength18 ProtocolIE-ID
id-DLCOUNTValuePDCP-SNlength18 ProtocolIE-ID
id-UE-ContextReferenceAtSeNB ProtocolIE-ID
id-UE-ContextKeptIndicator ProtocolIE-ID
id-New-eNB-UE-X2AP-ID-Extension ProtocolIE-ID
id-Old-eNB-UE-X2AP-ID-Extension ProtocolIE-ID
id-MeNB-UE-X2AP-ID-Extension ProtocolIE-ID
id-SeNB-UE-X2AP-ID-Extension ProtocolIE-ID
id-LHN-ID ProtocolIE-ID
id-FreqBandIndicatorPriority ProtocolIE-ID
id-M6Configuration ProtocolIE-ID
id-M7Configuration ProtocolIE-ID
id-Tunnel-Information-for-BBF ProtocolIE-ID
id-SIPTO-BearerDeactivationIndication ProtocolIE-ID
id-GW-TransportLayerAddress ProtocolIE-ID
id-Correlation-ID ProtocolIE-ID
id-SIPTO-Correlation-ID ProtocolIE-ID
id-SIPTO-L-GW-TransportLayerAddress ProtocolIE-ID
id-X2RemovalThreshold ProtocolIE-ID
id-CellReportingIndicator ProtocolIE-ID
id-BearerType ProtocolIE-ID
id-resumeID ProtocolIE-ID
id-UE-ContextInformationRetrieve ProtocolIE-ID
id-E-RABs-ToBeSetupRetrieve-Item ProtocolIE-ID
id-NewEUTRANCellIdentifier ProtocolIE-ID
id-V2XServicesAuthorized ProtocolIE-ID
id-OffsetOfNbiotChannelNumberToDL-EARFCN ProtocolIE-ID
id-OffsetOfNbiotChannelNumberToUL-EARFCN ProtocolIE-ID
id-AdditionalSpecialSubframeExtension-Info ProtocolIE-ID
id-BandwidthReducedSI ProtocolIE-ID
id-MakeBeforeBreakIndicator ProtocolIE-ID
id-UE-ContextReferenceAtWT ProtocolIE-ID
id-WT-UE-ContextKeptIndicator ProtocolIE-ID
id-UESidelinkAggregateMaximumBitRate ProtocolIE-ID
id-uL-GTPtunnelEndpoint ProtocolIE-ID
id-DL-scheduling-PDCCH-CCE-usage ProtocolIE-ID
id-UL-scheduling-PDCCH-CCE-usage ProtocolIE-ID
id-UEAppLayerMeasConfig ProtocolIE-ID
id-extended-e-RAB-MaximumBitrateDL ProtocolIE-ID
id-extended-e-RAB-MaximumBitrateUL ProtocolIE-ID
id-extended-e-RAB-GuaranteedBitrateDL ProtocolIE-ID
id-extended-e-RAB-GuaranteedBitrateUL ProtocolIE-ID
id-extended-uEaggregateMaximumBitRateDownlink ProtocolIE-ID
id-extended-uEaggregateMaximumBitRateUplink ProtocolIE-ID
id-NRrestrictioninEPSasSecondaryRAT ProtocolIE-ID
id-SgNBSecurityKey ProtocolIE-ID
id-SgNBUEAggregateMaximumBitRate ProtocolIE-ID
id-E-RABs-ToBeAdded-SgNBAddReqList ProtocolIE-ID
id-MeNBtoSgNBContainer ProtocolIE-ID
id-SgNB-UE-X2AP-ID ProtocolIE-ID
id-RequestedSplitSRBs ProtocolIE-ID
id-E-RABs-ToBeAdded-SgNBAddReq-Item ProtocolIE-ID
id-E-RABs-Admitted-ToBeAdded-SgNBAddReqAckList ProtocolIE-ID
id-SgNBtoMeNBContainer ProtocolIE-ID
id-AdmittedSplitSRBs ProtocolIE-ID
id-E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item ProtocolIE-ID
id-ResponseInformationSgNBReconfComp ProtocolIE-ID
id-UE-ContextInformation-SgNBModReq ProtocolIE-ID
id-E-RABs-ToBeAdded-SgNBModReq-Item ProtocolIE-ID
id-E-RABs-ToBeModified-SgNBModReq-Item ProtocolIE-ID
id-E-RABs-ToBeReleased-SgNBModReq-Item ProtocolIE-ID
id-E-RABs-Admitted-ToBeAdded-SgNBModAckList ProtocolIE-ID
id-E-RABs-Admitted-ToBeModified-SgNBModAckList ProtocolIE-ID
id-E-RABs-Admitted-ToBeReleased-SgNBModAckList ProtocolIE-ID
id-E-RABs-Admitted-ToBeAdded-SgNBModAck-Item ProtocolIE-ID
id-E-RABs-Admitted-ToBeModified-SgNBModAck-Item ProtocolIE-ID
id-E-RABs-Admitted-ToBeReleased-SgNBModAck-Item ProtocolIE-ID
id-E-RABs-ToBeReleased-SgNBModReqdList ProtocolIE-ID
id-E-RABs-ToBeModified-SgNBModReqdList ProtocolIE-ID
id-E-RABs-ToBeReleased-SgNBModReqd-Item ProtocolIE-ID
id-E-RABs-ToBeModified-SgNBModReqd-Item ProtocolIE-ID
id-E-RABs-ToBeReleased-SgNBChaConfList ProtocolIE-ID
id-E-RABs-ToBeReleased-SgNBChaConf-Item ProtocolIE-ID
id-E-RABs-ToBeReleased-SgNBRelReqList ProtocolIE-ID
id-E-RABs-ToBeReleased-SgNBRelReq-Item ProtocolIE-ID
id-E-RABs-ToBeReleased-SgNBRelConfList ProtocolIE-ID
id-E-RABs-ToBeReleased-SgNBRelConf-Item ProtocolIE-ID
id-E-RABs-SubjectToSgNBCounterCheck-List ProtocolIE-ID
id-E-RABs-SubjectToSgNBCounterCheck-Item ProtocolIE-ID
id-RRCContainer ProtocolIE-ID
id-SRBType ProtocolIE-ID
id-Target-SgNB-ID ProtocolIE-ID
id-HandoverRestrictionList ProtocolIE-ID
id-SCGConfigurationQuery ProtocolIE-ID
id-SplitSRB ProtocolIE-ID
id-NRUeReport ProtocolIE-ID
id-InitiatingNodeType-EndcX2Setup ProtocolIE-ID
id-InitiatingNodeType-EndcConfigUpdate ProtocolIE-ID
id-RespondingNodeType-EndcX2Setup ProtocolIE-ID
id-RespondingNodeType-EndcConfigUpdate ProtocolIE-ID
id-NRUESecurityCapabilities ProtocolIE-ID
id-PDCPChangeIndication ProtocolIE-ID
id-ServedEUTRAcellsENDCX2ManagementList ProtocolIE-ID
id-CellAssistanceInformation ProtocolIE-ID
id-Globalen-gNB-ID ProtocolIE-ID
id-ServedNRcellsENDCX2ManagementList ProtocolIE-ID
id-UE-ContextReferenceAtSgNB ProtocolIE-ID
id-SecondaryRATUsageReport ProtocolIE-ID
id-ActivationID ProtocolIE-ID
id-MeNBResourceCoordinationInformation ProtocolIE-ID
id-SgNBResourceCoordinationInformation ProtocolIE-ID
id-ServedEUTRAcellsToModifyListENDCConfUpd ProtocolIE-ID
id-ServedEUTRAcellsToDeleteListENDCConfUpd ProtocolIE-ID
id-ServedNRcellsToModifyListENDCConfUpd ProtocolIE-ID
id-ServedNRcellsToDeleteListENDCConfUpd ProtocolIE-ID
id-E-RABUsageReport-Item ProtocolIE-ID
id-Old-SgNB-UE-X2AP-ID ProtocolIE-ID
id-SecondaryRATUsageReportList ProtocolIE-ID
id-SecondaryRATUsageReport-Item ProtocolIE-ID
id-ServedNRCellsToActivate ProtocolIE-ID
id-ActivatedNRCellList ProtocolIE-ID
id-SelectedPLMN ProtocolIE-ID
id-UEs-ToBeReset ProtocolIE-ID
id-UEs-Admitted-ToBeReset ProtocolIE-ID
id-RRCConfigIndication ProtocolIE-ID
id-DownlinkPacketLossRate ProtocolIE-ID
id-UplinkPacketLossRate ProtocolIE-ID
id-SubscriberProfileIDforRFP ProtocolIE-ID
id-serviceType ProtocolIE-ID
id-AerialUEsubscriptionInformation ProtocolIE-ID
id-SGNB-Addition-Trigger-Ind ProtocolIE-ID
id-MeNBCell-ID ProtocolIE-ID
id-RequestedSplitSRBsrelease ProtocolIE-ID
id-AdmittedSplitSRBsrelease ProtocolIE-ID
id-NRS-NSSS-PowerOffset ProtocolIE-ID
id-NSSS-NumOccasionDifferentPrecoder ProtocolIE-ID
id-ProtectedEUTRAResourceIndication ProtocolIE-ID
id-InitiatingNodeType-EutranrCellResourceCoordination ProtocolIE-ID
id-RespondingNodeType-EutranrCellResourceCoordination ProtocolIE-ID
id-DataTrafficResourceIndication ProtocolIE-ID
id-SpectrumSharingGroupID ProtocolIE-ID
id-ListofEUTRACellsinEUTRACoordinationReq ProtocolIE-ID
id-ListofEUTRACellsinEUTRACoordinationResp ProtocolIE-ID
id-ListofEUTRACellsinNRCoordinationReq ProtocolIE-ID
id-ListofNRCellsinNRCoordinationReq ProtocolIE-ID
id-ListofNRCellsinNRCoordinationResp ProtocolIE-ID
id-E-RABs-AdmittedToBeModified-SgNBModConfList ProtocolIE-ID
id-E-RABs-AdmittedToBeModified-SgNBModConf-Item ProtocolIE-ID
id-UEContextLevelUserPlaneActivity ProtocolIE-ID
id-ERABActivityNotifyItemList ProtocolIE-ID
id-InitiatingNodeType-EndcX2Removal ProtocolIE-ID
id-RespondingNodeType-EndcX2Removal ProtocolIE-ID
id-RLC-Status ProtocolIE-ID
id-CNTypeRestrictions ProtocolIE-ID
id-uLpDCPSnLength ProtocolIE-ID
id-BluetoothMeasurementConfiguration ProtocolIE-ID
id-WLANMeasurementConfiguration ProtocolIE-ID
id-NRrestrictionin5GS ProtocolIE-ID
id-dL-Forwarding ProtocolIE-ID
id-E-RABs-DataForwardingAddress-List ProtocolIE-ID
id-E-RABs-DataForwardingAddress-Item ProtocolIE-ID
id-Subscription-Based-UE-DifferentiationInfo ProtocolIE-ID
id-GNBOverloadInformation ProtocolIE-ID
id-dLPDCPSnLength ProtocolIE-ID
id-secondarysgNBDLGTPTEIDatPDCP ProtocolIE-ID
id-secondarymeNBULGTPTEIDatPDCP ProtocolIE-ID
id-lCID ProtocolIE-ID
id-duplicationActivation ProtocolIE-ID
id-ECGI ProtocolIE-ID
id-RLCMode-transferred ProtocolIE-ID
id-E-RABs-Admitted-ToBeReleased-SgNBRelReqAckList ProtocolIE-ID
id-E-RABs-Admitted-ToBeReleased-SgNBRelReqAck-Item ProtocolIE-ID
id-E-RABs-ToBeReleased-SgNBRelReqdList ProtocolIE-ID
id-E-RABs-ToBeReleased-SgNBRelReqd-Item ProtocolIE-ID
id-NRCGI ProtocolIE-ID
id-MeNBCoordinationAssistanceInformation ProtocolIE-ID
id-SgNBCoordinationAssistanceInformation ProtocolIE-ID
id-new-drb-ID-req ProtocolIE-ID
id-endcSONConfigurationTransfer ProtocolIE-ID
id-NRNeighbourInfoToAdd ProtocolIE-ID
id-NRNeighbourInfoToModify ProtocolIE-ID
id-DesiredActNotificationLevel ProtocolIE-ID
id-LocationInformationSgNBReporting ProtocolIE-ID
id-LocationInformationSgNB ProtocolIE-ID
id-LastNG-RANPLMNIdentity ProtocolIE-ID
id-EUTRANTraceID ProtocolIE-ID
id-additionalPLMNs-Item ProtocolIE-ID
id-InterfaceInstanceIndication ProtocolIE-ID
id-BPLMN-ID-Info-EUTRA ProtocolIE-ID
id-BPLMN-ID-Info-NR ProtocolIE-ID
id-NBIoT-UL-DL-AlignmentOffset ProtocolIE-ID
id-ERABs-transferred-to-MeNB ProtocolIE-ID
id-AdditionalRRMPriorityIndex ProtocolIE-ID
id-LowerLayerPresenceStatusChange ProtocolIE-ID
id-FastMCGRecovery-SN-to-MN ProtocolIE-ID
id-RequestedFastMCGRecoveryViaSRB3 ProtocolIE-ID
id-AvailableFastMCGRecoveryViaSRB3 ProtocolIE-ID
id-RequestedFastMCGRecoveryViaSRB3Release ProtocolIE-ID
id-ReleaseFastMCGRecoveryViaSRB3 ProtocolIE-ID
id-FastMCGRecovery-MN-to-SN ProtocolIE-ID
id-PartialListIndicator ProtocolIE-ID
id-MaximumCellListSize ProtocolIE-ID
id-MessageOversizeNotification ProtocolIE-ID
id-CellandCapacityAssistInfo ProtocolIE-ID
id-TNLConfigurationInfo ProtocolIE-ID
id-TNLA-To-Add-List ProtocolIE-ID
id-TNLA-To-Update-List ProtocolIE-ID
id-TNLA-To-Remove-List ProtocolIE-ID
id-TNLA-Setup-List ProtocolIE-ID
id-TNLA-Failed-To-Setup-List ProtocolIE-ID
id-UnlicensedSpectrumRestriction ProtocolIE-ID
id-UEContextReferenceatSourceNGRAN ProtocolIE-ID
id-EPCHandoverRestrictionListContainer ProtocolIE-ID
id-CHOinformation-REQ ProtocolIE-ID
id-CHOinformation-ACK ProtocolIE-ID
id-DAPSRequestInfo ProtocolIE-ID
id-RequestedTargetCellID ProtocolIE-ID
id-CandidateCellsToBeCancelledList ProtocolIE-ID
id-DAPSResponseInfo ProtocolIE-ID
id-ProcedureStage ProtocolIE-ID
id-CHO-DC-Indicator ProtocolIE-ID
id-Ethernet-Type ProtocolIE-ID
id-NRV2XServicesAuthorized ProtocolIE-ID
id-NRUESidelinkAggregateMaximumBitRate ProtocolIE-ID
id-PC5QoSParameters ProtocolIE-ID
id-NPRACHConfiguration ProtocolIE-ID
id-NBIoT-RLF-Report-Container ProtocolIE-ID
id-MDTConfigurationNR ProtocolIE-ID
id-PrivacyIndicator ProtocolIE-ID
id-TraceCollectionEntityIPAddress ProtocolIE-ID
id-UERadioCapabilityID ProtocolIE-ID
id-SNtriggered ProtocolIE-ID
id-CSI-RSTransmissionIndication ProtocolIE-ID
id-DLCarrierList ProtocolIE-ID
id-TargetCellInNGRAN ProtocolIE-ID
id-E-UTRAN-Node1-Measurement-ID ProtocolIE-ID
id-E-UTRAN-Node2-Measurement-ID ProtocolIE-ID
id-TDDULDLConfigurationCommonNR ProtocolIE-ID
id-CarrierList ProtocolIE-ID
id-ULCarrierList ProtocolIE-ID
id-FrequencyShift7p5khz ProtocolIE-ID
id-SSB-PositionsInBurst ProtocolIE-ID
id-NRCellPRACHConfig ProtocolIE-ID
id-CellToReport-NR-ENDC ProtocolIE-ID
id-CellToReport-NR-ENDC-Item ProtocolIE-ID
id-CellMeasurementResult-NR-ENDC ProtocolIE-ID
id-CellMeasurementResult-NR-ENDC-Item ProtocolIE-ID
id-IABNodeIndication ProtocolIE-ID
id-QoS-Mapping-Information ProtocolIE-ID
id-F1CTrafficContainer ProtocolIE-ID
id-IntendedTDD-DL-ULConfiguration-NR ProtocolIE-ID
id-UERadioCapability ProtocolIE-ID
id-CellMeasurementResult-E-UTRA-ENDC ProtocolIE-ID
id-CellMeasurementResult-E-UTRA-ENDC-Item ProtocolIE-ID
id-CellToReport-E-UTRA-ENDC ProtocolIE-ID
id-CellToReport-E-UTRA-ENDC-Item ProtocolIE-ID
id-TraceCollectionEntityURI ProtocolIE-ID
id-SFN-Offset ProtocolIE-ID
id-CHO-DC-EarlyDataForwarding ProtocolIE-ID
id-IMSvoiceEPSfallbackfrom5G ProtocolIE-ID
id-AdditionLocationInformation ProtocolIE-ID
id-DirectForwardingPathAvailability ProtocolIE-ID
id-sourceNG-RAN-node-id ProtocolIE-ID
id-SourceDLForwardingIPAddress ProtocolIE-ID
id-SourceNodeDLForwardingIPAddress ProtocolIE-ID
id-NRRACHReportInformation ProtocolIE-ID
id-SCG-UE-HistoryInformation ProtocolIE-ID
id-PSCellHistoryInformationRetrieve ProtocolIE-ID
id-MeasurementResultforNRCellsPossiblyAggregated ProtocolIE-ID
id-PSCell-UE-HistoryInformation ProtocolIE-ID
id-PSCellChangeHistory ProtocolIE-ID
id-CHOinformation-AddReq ProtocolIE-ID
id-CHOinformation-ModReq ProtocolIE-ID
id-SCGActivationStatus ProtocolIE-ID
id-SCGActivationRequest ProtocolIE-ID
id-CPAinformation-REQ ProtocolIE-ID
id-CPAinformation-REQ-ACK ProtocolIE-ID
id-CPAinformation-MOD ProtocolIE-ID
id-CPAinformation-MOD-ACK ProtocolIE-ID
id-CPACinformation-REQD ProtocolIE-ID
id-CPCinformation-REQD ProtocolIE-ID
id-CPCinformation-CONF ProtocolIE-ID
id-CPCinformation-NOTIFY ProtocolIE-ID
id-CPCupdate-MOD ProtocolIE-ID
id-Additional-Measurement-Timing-Configuration-List ProtocolIE-ID
id-ServedCellSpecificInfoReq-NR ProtocolIE-ID
id-SecurityIndication ProtocolIE-ID
id-SecurityResult ProtocolIE-ID
id-RAT-Restrictions ProtocolIE-ID
id-SCGreconfigNotification ProtocolIE-ID
id-MIMOPRBusageInformation ProtocolIE-ID
id-SensorMeasurementConfiguration ProtocolIE-ID
id-AdditionalListofForwardingGTPTunnelEndpoint ProtocolIE-ID
#.REGISTER
#X2AP-PROTOCOL-IES
E-RABs-Admitted-Item N x2ap.ies id-E-RABs-Admitted-Item
E-RABs-Admitted-List N x2ap.ies id-E-RABs-Admitted-List
E-RAB-Item N x2ap.ies id-E-RAB-Item
E-RAB-List N x2ap.ies id-E-RABs-NotAdmitted-List
E-RABs-ToBeSetup-Item N x2ap.ies id-E-RABs-ToBeSetup-Item
Cause N x2ap.ies id-Cause
CellInformation-List N x2ap.ies id-CellInformation
CellInformation-Item N x2ap.ies id-CellInformation-Item
UE-X2AP-ID N x2ap.ies id-New-eNB-UE-X2AP-ID
UE-X2AP-ID N x2ap.ies id-Old-eNB-UE-X2AP-ID
ECGI N x2ap.ies id-TargetCell-ID
TargeteNBtoSource-eNBTransparentContainer N x2ap.ies id-TargeteNBtoSource-eNBTransparentContainer
TraceActivation N x2ap.ies id-TraceActivation
UE-ContextInformation N x2ap.ies id-UE-ContextInformation
UE-HistoryInformation N x2ap.ies id-UE-HistoryInformation
UE-X2AP-ID N x2ap.ies id-UE-X2AP-ID
CriticalityDiagnostics N x2ap.ies id-CriticalityDiagnostics
E-RABs-SubjectToStatusTransfer-List N x2ap.ies id-E-RABs-SubjectToStatusTransfer-List
E-RABs-SubjectToStatusTransfer-Item N x2ap.ies id-E-RABs-SubjectToStatusTransfer-Item
ServedCells N x2ap.ies id-ServedCells
GlobalENB-ID N x2ap.ies id-GlobalENB-ID
TimeToWait N x2ap.ies id-TimeToWait
GUMMEI N x2ap.ies id-GUMMEI-ID
GUGroupIDList N x2ap.ies id-GUGroupIDList
ServedCells N x2ap.ies id-ServedCellsToAdd
ServedCellsToModify N x2ap.ies id-ServedCellsToModify
Old-ECGIs N x2ap.ies id-ServedCellsToDelete
Registration-Request N x2ap.ies id-Registration-Request
CellToReport-List N x2ap.ies id-CellToReport
ReportingPeriodicity N x2ap.ies id-ReportingPeriodicity
CellToReport-Item N x2ap.ies id-CellToReport-Item
CellMeasurementResult-List N x2ap.ies id-CellMeasurementResult
CellMeasurementResult-Item N x2ap.ies id-CellMeasurementResult-Item
GUGroupIDList N x2ap.ies id-GUGroupIDToAddList
GUGroupIDList N x2ap.ies id-GUGroupIDToDeleteList
SRVCCOperationPossible N x2ap.ies id-SRVCCOperationPossible
# N x2ap.ies id-Measurement-ID
ReportCharacteristics N x2ap.ies id-ReportCharacteristics
Measurement-ID N x2ap.ies id-ENB1-Measurement-ID
Measurement-ID N x2ap.ies id-ENB2-Measurement-ID
ECGI N x2ap.ies id-ENB1-Cell-ID
ECGI N x2ap.ies id-ENB2-Cell-ID
MobilityParametersInformation N x2ap.ies id-ENB2-Proposed-Mobility-Parameters
MobilityParametersInformation N x2ap.ies id-ENB1-Mobility-Parameters
MobilityParametersModificationRange N x2ap.ies id-ENB2-Mobility-Parameters-Modification-Range
PCI N x2ap.ies id-FailureCellPCI
ECGI N x2ap.ies id-Re-establishmentCellECGI
CRNTI N x2ap.ies id-FailureCellCRNTI
ShortMAC-I N x2ap.ies id-ShortMAC-I
ECGI N x2ap.ies id-SourceCellECGI
ECGI N x2ap.ies id-FailureCellECGI
HandoverReportType N x2ap.ies id-HandoverReportType
UE-RLF-Report-Container N x2ap.ies id-UE-RLF-Report-Container
ServedCellsToActivate N x2ap.ies id-ServedCellsToActivate
ActivatedCellList N x2ap.ies id-ActivatedCellList
PartialSuccessIndicator N x2ap.ies id-PartialSuccessIndicator
MeasurementInitiationResult-List N x2ap.ies id-MeasurementInitiationResult-List
MeasurementInitiationResult-Item N x2ap.ies id-MeasurementInitiationResult-Item
MeasurementFailureCause-Item N x2ap.ies id-MeasurementFailureCause-Item
CompleteFailureCauseInformation-List N x2ap.ies id-CompleteFailureCauseInformation-List
CompleteFailureCauseInformation-Item N x2ap.ies id-CompleteFailureCauseInformation-Item
CSGMembershipStatus N x2ap.ies id-CSGMembershipStatus
RRCConnSetupIndicator N x2ap.ies id-RRCConnSetupIndicator
RRCConnReestabIndicator N x2ap.ies id-RRCConnReestabIndicator
TargetCellInUTRAN N x2ap.ies id-TargetCellInUTRAN
MobilityInformation N x2ap.ies id-MobilityInformation
CRNTI N x2ap.ies id-SourceCellCRNTI
Masked-IMEISV N x2ap.ies id-Masked-IMEISV
RNL-Header N x2ap.ies id-RNL-Header
X2AP-Message N x2ap.ies id-x2APMessage
ProSeAuthorized N x2ap.ies id-ProSeAuthorized
ExpectedUEBehaviour N x2ap.ies id-ExpectedUEBehaviour
UE-HistoryInformationFromTheUE N x2ap.ies id-UE-HistoryInformationFromTheUE
UE-RLF-Report-Container-for-extended-bands N x2ap.ies id-UE-RLF-Report-Container-for-extended-bands
ReportingPeriodicityRSRPMR N x2ap.ies id-ReportingPeriodicityRSRPMR
UE-X2AP-ID N x2ap.ies id-MeNB-UE-X2AP-ID
UE-X2AP-ID N x2ap.ies id-SeNB-UE-X2AP-ID
UESecurityCapabilities N x2ap.ies id-UE-SecurityCapabilities
SeNBSecurityKey N x2ap.ies id-SeNBSecurityKey
UEAggregateMaximumBitRate N x2ap.ies id-SeNBUEAggregateMaximumBitRate
PLMN-Identity N x2ap.ies id-ServingPLMN
E-RABs-ToBeAdded-List N x2ap.ies id-E-RABs-ToBeAdded-List
E-RABs-ToBeAdded-Item N x2ap.ies id-E-RABs-ToBeAdded-Item
MeNBtoSeNBContainer N x2ap.ies id-MeNBtoSeNBContainer
E-RABs-Admitted-ToBeAdded-List N x2ap.ies id-E-RABs-Admitted-ToBeAdded-List
E-RABs-Admitted-ToBeAdded-Item N x2ap.ies id-E-RABs-Admitted-ToBeAdded-Item
SeNBtoMeNBContainer N x2ap.ies id-SeNBtoMeNBContainer
ResponseInformationSeNBReconfComp N x2ap.ies id-ResponseInformationSeNBReconfComp
UE-ContextInformationSeNBModReq N x2ap.ies id-UE-ContextInformationSeNBModReq
E-RABs-ToBeAdded-ModReqItem N x2ap.ies id-E-RABs-ToBeAdded-ModReqItem
E-RABs-ToBeModified-ModReqItem N x2ap.ies id-E-RABs-ToBeModified-ModReqItem
E-RABs-ToBeReleased-ModReqItem N x2ap.ies id-E-RABs-ToBeReleased-ModReqItem
E-RABs-Admitted-ToBeAdded-ModAckList N x2ap.ies id-E-RABs-Admitted-ToBeAdded-ModAckList
E-RABs-Admitted-ToBeModified-ModAckList N x2ap.ies id-E-RABs-Admitted-ToBeModified-ModAckList
E-RABs-Admitted-ToBeReleased-ModAckList N x2ap.ies id-E-RABs-Admitted-ToBeReleased-ModAckList
E-RABs-Admitted-ToBeAdded-ModAckItem N x2ap.ies id-E-RABs-Admitted-ToBeAdded-ModAckItem
E-RABs-Admitted-ToBeModified-ModAckItem N x2ap.ies id-E-RABs-Admitted-ToBeModified-ModAckItem
E-RABs-Admitted-ToReleased-ModAckItem N x2ap.ies id-E-RABs-Admitted-ToBeReleased-ModAckItem
E-RABs-ToBeReleased-ModReqd N x2ap.ies id-E-RABs-ToBeReleased-ModReqd
E-RABs-ToBeReleased-ModReqdItem N x2ap.ies id-E-RABs-ToBeReleased-ModReqdItem
SCGChangeIndication N x2ap.ies id-SCGChangeIndication
E-RABs-ToBeReleased-List-RelReq N x2ap.ies id-E-RABs-ToBeReleased-List-RelReq
E-RABs-ToBeReleased-RelReqItem N x2ap.ies id-E-RABs-ToBeReleased-RelReqItem
E-RABs-ToBeReleased-List-RelConf N x2ap.ies id-E-RABs-ToBeReleased-List-RelConf
E-RABs-ToBeReleased-RelConfItem N x2ap.ies id-E-RABs-ToBeReleased-RelConfItem
E-RABs-SubjectToCounterCheck-List N x2ap.ies id-E-RABs-SubjectToCounterCheck-List
E-RABs-SubjectToCounterCheckItem N x2ap.ies id-E-RABs-SubjectToCounterCheckItem
CoverageModificationList N x2ap.ies id-CoverageModificationList
ReportingPeriodicityCSIR N x2ap.ies id-ReportingPeriodicityCSIR
UE-ContextReferenceAtSeNB N x2ap.ies id-UE-ContextReferenceAtSeNB
UE-ContextKeptIndicator N x2ap.ies id-UE-ContextKeptIndicator
UE-X2AP-ID-Extension N x2ap.ies id-New-eNB-UE-X2AP-ID-Extension
UE-X2AP-ID-Extension N x2ap.ies id-Old-eNB-UE-X2AP-ID-Extension
UE-X2AP-ID-Extension N x2ap.ies id-MeNB-UE-X2AP-ID-Extension
UE-X2AP-ID-Extension N x2ap.ies id-SeNB-UE-X2AP-ID-Extension
LHN-ID N x2ap.ies id-LHN-ID
TunnelInformation N x2ap.ies id-Tunnel-Information-for-BBF
SIPTOBearerDeactivationIndication N x2ap.ies id-SIPTO-BearerDeactivationIndication
TransportLayerAddress N x2ap.ies id-GW-TransportLayerAddress
TransportLayerAddress N x2ap.ies id-SIPTO-L-GW-TransportLayerAddress
X2BenefitValue N x2ap.ies id-X2RemovalThreshold
ResumeID N x2ap.ies id-resumeID
UE-ContextInformationRetrieve N x2ap.ies id-UE-ContextInformationRetrieve
E-RABs-ToBeSetupRetrieve-Item N x2ap.ies id-E-RABs-ToBeSetupRetrieve-Item
EUTRANCellIdentifier N x2ap.ies id-NewEUTRANCellIdentifier
V2XServicesAuthorized N x2ap.ies id-V2XServicesAuthorized
UE-ContextReferenceAtWT N x2ap.ies id-UE-ContextReferenceAtWT
UE-ContextKeptIndicator N x2ap.ies id-WT-UE-ContextKeptIndicator
MakeBeforeBreakIndicator N x2ap.ies id-MakeBeforeBreakIndicator
SgNBSecurityKey N x2ap.ies id-SgNBSecurityKey
UEAggregateMaximumBitRate N x2ap.ies id-SgNBUEAggregateMaximumBitRate
E-RABs-ToBeAdded-SgNBAddReqList N x2ap.ies id-E-RABs-ToBeAdded-SgNBAddReqList
MeNBtoSgNBContainer N x2ap.ies id-MeNBtoSgNBContainer
SgNB-UE-X2AP-ID N x2ap.ies id-SgNB-UE-X2AP-ID
SplitSRBs N x2ap.ies id-RequestedSplitSRBs
E-RABs-ToBeAdded-SgNBAddReq-Item N x2ap.ies id-E-RABs-ToBeAdded-SgNBAddReq-Item
E-RABs-Admitted-ToBeAdded-SgNBAddReqAckList N x2ap.ies id-E-RABs-Admitted-ToBeAdded-SgNBAddReqAckList
SgNBtoMeNBContainer N x2ap.ies id-SgNBtoMeNBContainer
SplitSRBs N x2ap.ies id-AdmittedSplitSRBs
E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item N x2ap.ies id-E-RABs-Admitted-ToBeAdded-SgNBAddReqAck-Item
ResponseInformationSgNBReconfComp N x2ap.ies id-ResponseInformationSgNBReconfComp
UE-ContextInformation-SgNBModReq N x2ap.ies id-UE-ContextInformation-SgNBModReq
E-RABs-ToBeAdded-SgNBModReq-Item N x2ap.ies id-E-RABs-ToBeAdded-SgNBModReq-Item
E-RABs-ToBeModified-SgNBModReq-Item N x2ap.ies id-E-RABs-ToBeModified-SgNBModReq-Item
E-RABs-ToBeReleased-SgNBModReq-Item N x2ap.ies id-E-RABs-ToBeReleased-SgNBModReq-Item
E-RABs-Admitted-ToBeAdded-SgNBModAckList N x2ap.ies id-E-RABs-Admitted-ToBeAdded-SgNBModAckList
E-RABs-Admitted-ToBeModified-SgNBModAckList N x2ap.ies id-E-RABs-Admitted-ToBeModified-SgNBModAckList
E-RABs-Admitted-ToBeReleased-SgNBModAckList N x2ap.ies id-E-RABs-Admitted-ToBeReleased-SgNBModAckList
E-RABs-Admitted-ToBeAdded-SgNBModAck-Item N x2ap.ies id-E-RABs-Admitted-ToBeAdded-SgNBModAck-Item
E-RABs-Admitted-ToBeModified-SgNBModAck-Item N x2ap.ies id-E-RABs-Admitted-ToBeModified-SgNBModAck-Item
E-RABs-Admitted-ToReleased-SgNBModAck-Item N x2ap.ies id-E-RABs-Admitted-ToBeReleased-SgNBModAck-Item
E-RABs-ToBeReleased-SgNBModReqdList N x2ap.ies id-E-RABs-ToBeReleased-SgNBModReqdList
E-RABs-ToBeModified-SgNBModReqdList N x2ap.ies id-E-RABs-ToBeModified-SgNBModReqdList
E-RABs-ToBeReleased-SgNBModReqd-Item N x2ap.ies id-E-RABs-ToBeReleased-SgNBModReqd-Item
E-RABs-ToBeModified-SgNBModReqd-Item N x2ap.ies id-E-RABs-ToBeModified-SgNBModReqd-Item
E-RABs-ToBeReleased-SgNBChaConfList N x2ap.ies id-E-RABs-ToBeReleased-SgNBChaConfList
E-RABs-ToBeReleased-SgNBChaConf-Item N x2ap.ies id-E-RABs-ToBeReleased-SgNBChaConf-Item
E-RABs-ToBeReleased-SgNBRelReqList N x2ap.ies id-E-RABs-ToBeReleased-SgNBRelReqList
E-RABs-ToBeReleased-SgNBRelReq-Item N x2ap.ies id-E-RABs-ToBeReleased-SgNBRelReq-Item
E-RABs-ToBeReleased-SgNBRelConfList N x2ap.ies id-E-RABs-ToBeReleased-SgNBRelConfList
E-RABs-ToBeReleased-SgNBRelConf-Item N x2ap.ies id-E-RABs-ToBeReleased-SgNBRelConf-Item
E-RABs-SubjectToSgNBCounterCheck-List N x2ap.ies id-E-RABs-SubjectToSgNBCounterCheck-List
E-RABs-SubjectToSgNBCounterCheck-Item N x2ap.ies id-E-RABs-SubjectToSgNBCounterCheck-Item
GlobalGNB-ID N x2ap.ies id-Target-SgNB-ID
HandoverRestrictionList N x2ap.ies id-HandoverRestrictionList
SCGConfigurationQuery N x2ap.ies id-SCGConfigurationQuery
SplitSRB N x2ap.ies id-SplitSRB
NRUeReport N x2ap.ies id-NRUeReport
InitiatingNodeType-EndcX2Setup N x2ap.ies id-InitiatingNodeType-EndcX2Setup
InitiatingNodeType-EndcConfigUpdate N x2ap.ies id-InitiatingNodeType-EndcConfigUpdate
RespondingNodeType-EndcX2Setup N x2ap.ies id-RespondingNodeType-EndcX2Setup
RespondingNodeType-EndcConfigUpdate N x2ap.ies id-RespondingNodeType-EndcConfigUpdate
NRUESecurityCapabilities N x2ap.ies id-NRUESecurityCapabilities
PDCPChangeIndication N x2ap.ies id-PDCPChangeIndication
ServedEUTRAcellsENDCX2ManagementList N x2ap.ies id-ServedEUTRAcellsENDCX2ManagementList
CellAssistanceInformation N x2ap.ies id-CellAssistanceInformation
GlobalGNB-ID N x2ap.ies id-Globalen-gNB-ID
ServedNRcellsENDCX2ManagementList N x2ap.ies id-ServedNRcellsENDCX2ManagementList
UE-ContextReferenceAtSgNB N x2ap.ies id-UE-ContextReferenceAtSgNB
ActivationID N x2ap.ies id-ActivationID
MeNBResourceCoordinationInformation N x2ap.ies id-MeNBResourceCoordinationInformation
SgNBResourceCoordinationInformation N x2ap.ies id-SgNBResourceCoordinationInformation
ServedEUTRAcellsToModifyListENDCConfUpd N x2ap.ies id-ServedEUTRAcellsToModifyListENDCConfUpd
ServedEUTRAcellsToDeleteListENDCConfUpd N x2ap.ies id-ServedEUTRAcellsToDeleteListENDCConfUpd
ServedNRcellsToModifyENDCConfUpdList N x2ap.ies id-ServedNRcellsToModifyListENDCConfUpd
ServedNRcellsToDeleteENDCConfUpdList N x2ap.ies id-ServedNRcellsToDeleteListENDCConfUpd
E-RABUsageReport-Item N x2ap.ies id-E-RABUsageReport-Item
SgNB-UE-X2AP-ID N x2ap.ies id-Old-SgNB-UE-X2AP-ID
SecondaryRATUsageReportList N x2ap.ies id-SecondaryRATUsageReportList
SecondaryRATUsageReport-Item N x2ap.ies id-SecondaryRATUsageReport-Item
ServedNRCellsToActivate N x2ap.ies id-ServedNRCellsToActivate
ActivatedNRCellList N x2ap.ies id-ActivatedNRCellList
PLMN-Identity N x2ap.ies id-SelectedPLMN
UEsToBeResetList N x2ap.ies id-UEs-ToBeReset
UEsToBeResetList N x2ap.ies id-UEs-Admitted-ToBeReset
RRC-Config-Ind N x2ap.ies id-RRCConfigIndication
SubscriberProfileIDforRFP N x2ap.ies id-SubscriberProfileIDforRFP
AerialUEsubscriptionInformation N x2ap.ies id-AerialUEsubscriptionInformation
SGNB-Addition-Trigger-Ind N x2ap.ies id-SGNB-Addition-Trigger-Ind
ECGI N x2ap.ies id-MeNBCell-ID
SplitSRBs N x2ap.ies id-RequestedSplitSRBsrelease
SplitSRBs N x2ap.ies id-AdmittedSplitSRBsrelease
InitiatingNodeType-EutranrCellResourceCoordination N x2ap.ies id-InitiatingNodeType-EutranrCellResourceCoordination
RespondingNodeType-EutranrCellResourceCoordination N x2ap.ies id-RespondingNodeType-EutranrCellResourceCoordination
DataTrafficResourceIndication N x2ap.ies id-DataTrafficResourceIndication
SpectrumSharingGroupID N x2ap.ies id-SpectrumSharingGroupID
ListofEUTRACellsinEUTRACoordinationReq N x2ap.ies id-ListofEUTRACellsinEUTRACoordinationReq
ListofEUTRACellsinEUTRACoordinationResp N x2ap.ies id-ListofEUTRACellsinEUTRACoordinationResp
ListofEUTRACellsinNRCoordinationReq N x2ap.ies id-ListofEUTRACellsinNRCoordinationReq
ListofNRCellsinNRCoordinationReq N x2ap.ies id-ListofNRCellsinNRCoordinationReq
ListofNRCellsinNRCoordinationResp N x2ap.ies id-ListofNRCellsinNRCoordinationResp
E-RABs-AdmittedToBeModified-SgNBModConfList N x2ap.ies id-E-RABs-AdmittedToBeModified-SgNBModConfList
E-RABs-AdmittedToBeModified-SgNBModConf-Item N x2ap.ies id-E-RABs-AdmittedToBeModified-SgNBModConf-Item
UserPlaneTrafficActivityReport N x2ap.ies id-UEContextLevelUserPlaneActivity
ERABActivityNotifyItemList N x2ap.ies id-ERABActivityNotifyItemList
InitiatingNodeType-EndcX2Removal N x2ap.ies id-InitiatingNodeType-EndcX2Removal
RespondingNodeType-EndcX2Removal N x2ap.ies id-RespondingNodeType-EndcX2Removal
E-RABs-DataForwardingAddress-List N x2ap.ies id-E-RABs-DataForwardingAddress-List
E-RABs-DataForwardingAddress-Item N x2ap.ies id-E-RABs-DataForwardingAddress-Item
Subscription-Based-UE-DifferentiationInfo N x2ap.ies id-Subscription-Based-UE-DifferentiationInfo
GNBOverloadInformation N x2ap.ies id-GNBOverloadInformation
E-RABs-Admitted-ToBeReleased-SgNBRelReqAckList N x2ap.ies id-E-RABs-Admitted-ToBeReleased-SgNBRelReqAckList
E-RABs-Admitted-ToBeReleased-SgNBRelReqAck-Item N x2ap.ies id-E-RABs-Admitted-ToBeReleased-SgNBRelReqAck-Item
E-RABs-ToBeReleased-SgNBRelReqdList N x2ap.ies id-E-RABs-ToBeReleased-SgNBRelReqdList
E-RABs-ToBeReleased-SgNBRelReqd-Item N x2ap.ies id-E-RABs-ToBeReleased-SgNBRelReqd-Item
EndcSONConfigurationTransfer N x2ap.ies id-endcSONConfigurationTransfer
DesiredActNotificationLevel N x2ap.ies id-DesiredActNotificationLevel
LocationInformationSgNBReporting N x2ap.ies id-LocationInformationSgNBReporting
LocationInformationSgNB N x2ap.ies id-LocationInformationSgNB
EUTRANTraceID N x2ap.ies id-EUTRANTraceID
InterfaceInstanceIndication N x2ap.ies id-InterfaceInstanceIndication
E-RAB-List N x2ap.ies id-ERABs-transferred-to-MeNB
AdditionalRRMPriorityIndex N x2ap.ies id-AdditionalRRMPriorityIndex
FastMCGRecovery N x2ap.ies id-FastMCGRecovery-SN-to-MN
RequestedFastMCGRecoveryViaSRB3 N x2ap.ies id-RequestedFastMCGRecoveryViaSRB3
AvailableFastMCGRecoveryViaSRB3 N x2ap.ies id-AvailableFastMCGRecoveryViaSRB3
RequestedFastMCGRecoveryViaSRB3Release N x2ap.ies id-RequestedFastMCGRecoveryViaSRB3Release
ReleaseFastMCGRecoveryViaSRB3 N x2ap.ies id-ReleaseFastMCGRecoveryViaSRB3
FastMCGRecovery N x2ap.ies id-FastMCGRecovery-MN-to-SN
PartialListIndicator N x2ap.ies id-PartialListIndicator
# id-MaximumCellListSize
MessageOversizeNotification N x2ap.ies id-MessageOversizeNotification
CellandCapacityAssistInfo N x2ap.ies id-CellandCapacityAssistInfo
TNLConfigurationInfo N x2ap.ies id-TNLConfigurationInfo
TNLA-To-Add-List N x2ap.ies id-TNLA-To-Add-List
TNLA-To-Update-List N x2ap.ies id-TNLA-To-Update-List
TNLA-To-Remove-List N x2ap.ies id-TNLA-To-Remove-List
TNLA-Setup-List N x2ap.ies id-TNLA-Setup-List
TNLA-Failed-To-Setup-List N x2ap.ies id-TNLA-Failed-To-Setup-List
RAN-UE-NGAP-ID N x2ap.ies id-UEContextReferenceatSourceNGRAN
CHOinformation-REQ N x2ap.ies id-CHOinformation-REQ
CHOinformation-ACK N x2ap.ies id-CHOinformation-ACK
ECGI N x2ap.ies id-RequestedTargetCellID
CandidateCellsToBeCancelledList N x2ap.ies id-CandidateCellsToBeCancelledList
ProcedureStageChoice N x2ap.ies id-ProcedureStage
CHO-DC-Indicator N x2ap.ies id-CHO-DC-Indicator
NRV2XServicesAuthorized N x2ap.ies id-NRV2XServicesAuthorized
PC5QoSParameters N x2ap.ies id-PC5QoSParameters
NBIoT-RLF-Report-Container N x2ap.ies id-NBIoT-RLF-Report-Container
PrivacyIndicator N x2ap.ies id-PrivacyIndicator
TransportLayerAddress N x2ap.ies id-TraceCollectionEntityIPAddress
UERadioCapabilityID N x2ap.ies id-UERadioCapabilityID
SNtriggered N x2ap.ies id-SNtriggered
TargetCellInNGRAN N x2ap.ies id-TargetCellInNGRAN
Measurement-ID-ENDC N x2ap.ies id-E-UTRAN-Node1-Measurement-ID
Measurement-ID-ENDC N x2ap.ies id-E-UTRAN-Node2-Measurement-ID
CellToReport-NR-ENDC-List N x2ap.ies id-CellToReport-NR-ENDC
CellToReport-NR-ENDC-Item N x2ap.ies id-CellToReport-NR-ENDC-Item
CellMeasurementResult-NR-ENDC-List N x2ap.ies id-CellMeasurementResult-NR-ENDC
CellMeasurementResult-NR-ENDC-Item N x2ap.ies id-CellMeasurementResult-NR-ENDC-Item
IABNodeIndication N x2ap.ies id-IABNodeIndication
F1CTrafficContainer N x2ap.ies id-F1CTrafficContainer
UERadioCapability N x2ap.ies id-UERadioCapability
CellMeasurementResult-E-UTRA-ENDC-List N x2ap.ies id-CellMeasurementResult-E-UTRA-ENDC
CellMeasurementResult-E-UTRA-ENDC-Item N x2ap.ies id-CellMeasurementResult-E-UTRA-ENDC-Item
CellToReport-E-UTRA-ENDC-List N x2ap.ies id-CellToReport-E-UTRA-ENDC
CellToReport-E-UTRA-ENDC-Item N x2ap.ies id-CellToReport-E-UTRA-ENDC-Item
CHO-DC-EarlyDataForwarding N x2ap.ies id-CHO-DC-EarlyDataForwarding
DirectForwardingPathAvailability N x2ap.ies id-DirectForwardingPathAvailability
Global-RAN-NODE-ID N x2ap.ies id-sourceNG-RAN-node-id
NRRACHReportInformation N x2ap.ies id-NRRACHReportInformation
SCG-UE-HistoryInformation N x2ap.ies id-SCG-UE-HistoryInformation
PSCellHistoryInformationRetrieve N x2ap.ies id-PSCellHistoryInformationRetrieve
PSCellChangeHistory N x2ap.ies id-PSCellChangeHistory
CHOinformation-AddReq N x2ap.ies id-CHOinformation-AddReq
CHOinformation-ModReq N x2ap.ies id-CHOinformation-ModReq
SCGActivationStatus N x2ap.ies id-SCGActivationStatus
SCGActivationRequest N x2ap.ies id-SCGActivationRequest
CPAinformation-REQ N x2ap.ies id-CPAinformation-REQ
CPAinformation-REQ-ACK N x2ap.ies id-CPAinformation-REQ-ACK
CPAinformation-MOD N x2ap.ies id-CPAinformation-MOD
CPAinformation-MOD-ACK N x2ap.ies id-CPAinformation-MOD-ACK
CPACinformation-REQD N x2ap.ies id-CPACinformation-REQD
CPCinformation-REQD N x2ap.ies id-CPCinformation-REQD
CPCinformation-CONF N x2ap.ies id-CPCinformation-CONF
CPCinformation-NOTIFY N x2ap.ies id-CPCinformation-NOTIFY
CPCupdate-MOD N x2ap.ies id-CPCupdate-MOD
SCGreconfigNotification N x2ap.ies id-SCGreconfigNotification
#X2AP-PROTOCOL-EXTENSION
Number-of-Antennaports N x2ap.extension id-Number-of-Antennaports
CompositeAvailableCapacityGroup N x2ap.extension id-CompositeAvailableCapacityGroup
PRACH-Configuration N x2ap.extension id-PRACH-Configuration
MBSFN-Subframe-Infolist N x2ap.extension id-MBSFN-Subframe-Info
DeactivationIndication N x2ap.extension id-DeactivationIndication
ABSInformation N x2ap.extension id-ABSInformation
InvokeIndication N x2ap.extension id-InvokeIndication
ABS-Status N x2ap.extension id-ABS-Status
CSG-Id N x2ap.extension id-CSG-Id
MDT-Configuration N x2ap.extension id-MDTConfiguration
ManagementBasedMDTallowed N x2ap.extension id-ManagementBasedMDTallowed
TAC N x2ap.extension id-NeighbourTAC
Time-UE-StayedInCell-EnhancedGranularity N x2ap.extension id-Time-UE-StayedInCell-EnhancedGranularity
MBMS-Service-Area-Identity-List N x2ap.extension id-MBMS-Service-Area-List
Cause N x2ap.extension id-HO-cause
MultibandInfoList N x2ap.extension id-MultibandInfoList
M3Configuration N x2ap.extension id-M3Configuration
M4Configuration N x2ap.extension id-M4Configuration
M5Configuration N x2ap.extension id-M5Configuration
MDT-Location-Info N x2ap.extension id-MDT-Location-Info
MDTPLMNList N x2ap.extension id-ManagementBasedMDTPLMNList
MDTPLMNList N x2ap.extension id-SignallingBasedMDTPLMNList
ReceiveStatusOfULPDCPSDUsExtended N x2ap.extension id-ReceiveStatusOfULPDCPSDUsExtended
COUNTValueExtended N x2ap.extension id-ULCOUNTValueExtended
COUNTValueExtended N x2ap.extension id-DLCOUNTValueExtended
EARFCNExtension N x2ap.extension id-eARFCNExtension
EARFCNExtension N x2ap.extension id-UL-EARFCNExtension
EARFCNExtension N x2ap.extension id-DL-EARFCNExtension
AdditionalSpecialSubframe-Info N x2ap.extension id-AdditionalSpecialSubframe-Info
SubframeAssignment N x2ap.extension id-IntendedULDLConfiguration
ExtendedULInterferenceOverloadInfo N x2ap.extension id-ExtendedULInterferenceOverloadInfo
DynamicDLTransmissionInformation N x2ap.extension id-DynamicDLTransmissionInformation
CoMPInformation N x2ap.extension id-CoMPInformation
RSRPMRList N x2ap.extension id-RSRPMRList
CSIReportList N x2ap.extension id-CSIReportList
UEID N x2ap.extension id-UEID
EnhancedRNTP N x2ap.extension id-enhancedRNTP
ProSeUEtoNetworkRelaying N x2ap.extension id-ProSeUEtoNetworkRelaying
ReceiveStatusOfULPDCPSDUsPDCP-SNlength18 N x2ap.extension id-ReceiveStatusOfULPDCPSDUsPDCP-SNlength18
COUNTvaluePDCP-SNlength18 N x2ap.extension id-ULCOUNTValuePDCP-SNlength18
COUNTvaluePDCP-SNlength18 N x2ap.extension id-DLCOUNTValuePDCP-SNlength18
FreqBandIndicatorPriority N x2ap.extension id-FreqBandIndicatorPriority
M6Configuration N x2ap.extension id-M6Configuration
M7Configuration N x2ap.extension id-M7Configuration
Correlation-ID N x2ap.extension id-Correlation-ID
Correlation-ID N x2ap.extension id-SIPTO-Correlation-ID
CellReportingIndicator N x2ap.extension id-CellReportingIndicator
BearerType N x2ap.extension id-BearerType
OffsetOfNbiotChannelNumberToEARFCN N x2ap.extension id-OffsetOfNbiotChannelNumberToDL-EARFCN
OffsetOfNbiotChannelNumberToEARFCN N x2ap.extension id-OffsetOfNbiotChannelNumberToUL-EARFCN
GTPtunnelEndpoint N x2ap.extension id-uL-GTPtunnelEndpoint
UESidelinkAggregateMaximumBitRate N x2ap.extension id-UESidelinkAggregateMaximumBitRate
BandwidthReducedSI N x2ap.extension id-BandwidthReducedSI
AdditionalSpecialSubframeExtension-Info N x2ap.extension id-AdditionalSpecialSubframeExtension-Info
DL-scheduling-PDCCH-CCE-usage N x2ap.extension id-DL-scheduling-PDCCH-CCE-usage
UL-scheduling-PDCCH-CCE-usage N x2ap.extension id-UL-scheduling-PDCCH-CCE-usage
UEAppLayerMeasConfig N x2ap.extension id-UEAppLayerMeasConfig
ExtendedBitRate N x2ap.extension id-extended-e-RAB-MaximumBitrateDL
ExtendedBitRate N x2ap.extension id-extended-e-RAB-MaximumBitrateUL
ExtendedBitRate N x2ap.extension id-extended-e-RAB-GuaranteedBitrateDL
ExtendedBitRate N x2ap.extension id-extended-e-RAB-GuaranteedBitrateUL
ExtendedBitRate N x2ap.extension id-extended-uEaggregateMaximumBitRateDownlink
ExtendedBitRate N x2ap.extension id-extended-uEaggregateMaximumBitRateUplink
NRrestrictioninEPSasSecondaryRAT N x2ap.extension id-NRrestrictioninEPSasSecondaryRAT
Packet-LossRate N x2ap.extension id-DownlinkPacketLossRate
Packet-LossRate N x2ap.extension id-UplinkPacketLossRate
SubscriberProfileIDforRFP N x2ap.extension id-SubscriberProfileIDforRFP
ServiceType N x2ap.extension id-serviceType
NRS-NSSS-PowerOffset N x2ap.extension id-NRS-NSSS-PowerOffset
NSSS-NumOccasionDifferentPrecoder N x2ap.extension id-NSSS-NumOccasionDifferentPrecoder
ProtectedEUTRAResourceIndication N x2ap.extension id-ProtectedEUTRAResourceIndication
RLC-Status N x2ap.extension id-RLC-Status
CNTypeRestrictions N x2ap.extension id-CNTypeRestrictions
PDCPSnLength N x2ap.extension id-uLpDCPSnLength
BluetoothMeasurementConfiguration N x2ap.extension id-BluetoothMeasurementConfiguration
WLANMeasurementConfiguration N x2ap.extension id-WLANMeasurementConfiguration
NRrestrictionin5GS N x2ap.extension id-NRrestrictionin5GS
DL-Forwarding N x2ap.extension id-dL-Forwarding
PDCPSnLength N x2ap.extension id-dLPDCPSnLength
GTPtunnelEndpoint N x2ap.extension id-secondarysgNBDLGTPTEIDatPDCP
GTPtunnelEndpoint N x2ap.extension id-secondarymeNBULGTPTEIDatPDCP
LCID N x2ap.extension id-lCID
DuplicationActivation N x2ap.extension id-duplicationActivation
ECGI N x2ap.extension id-ECGI
RLCMode N x2ap.extension id-RLCMode-transferred
NRCGI N x2ap.extension id-NRCGI
MeNBCoordinationAssistanceInformation N x2ap.extension id-MeNBCoordinationAssistanceInformation
SgNBCoordinationAssistanceInformation N x2ap.extension id-SgNBCoordinationAssistanceInformation
NewDRBIDrequest N x2ap.extension id-new-drb-ID-req
NRNeighbour-Information N x2ap.extension id-NRNeighbourInfoToAdd
NRNeighbour-Information N x2ap.extension id-NRNeighbourInfoToModify
PLMN-Identity N x2ap.extension id-LastNG-RANPLMNIdentity
AdditionalPLMNs-Item N x2ap.extension id-additionalPLMNs-Item
BPLMN-ID-Info-EUTRA N x2ap.extension id-BPLMN-ID-Info-EUTRA
BPLMN-ID-Info-NR N x2ap.extension id-BPLMN-ID-Info-NR
NBIoT-UL-DL-AlignmentOffset N x2ap.extension id-NBIoT-UL-DL-AlignmentOffset
EPCHandoverRestrictionListContainer N x2ap.extension id-EPCHandoverRestrictionListContainer
AdditionalRRMPriorityIndex N x2ap.extension id-AdditionalRRMPriorityIndex
LowerLayerPresenceStatusChange N x2ap.extension id-LowerLayerPresenceStatusChange
UnlicensedSpectrumRestriction N x2ap.extension id-UnlicensedSpectrumRestriction
DAPSRequestInfo N x2ap.extension id-DAPSRequestInfo
DAPSResponseInfo N x2ap.extension id-DAPSResponseInfo
Ethernet-Type N x2ap.extension id-Ethernet-Type
NRUESidelinkAggregateMaximumBitRate N x2ap.extension id-NRUESidelinkAggregateMaximumBitRate
NPRACHConfiguration N x2ap.extension id-NPRACHConfiguration
MDT-ConfigurationNR N x2ap.extension id-MDTConfigurationNR
UERadioCapabilityID N x2ap.extension id-UERadioCapabilityID
CSI-RSTransmissionIndication N x2ap.extension id-CSI-RSTransmissionIndication
NRCarrierList N x2ap.extension id-DLCarrierList
TDDULDLConfigurationCommonNR N x2ap.extension id-TDDULDLConfigurationCommonNR
NRCarrierList N x2ap.extension id-CarrierList
NRCarrierList N x2ap.extension id-ULCarrierList
FrequencyShift7p5khz N x2ap.extension id-FrequencyShift7p5khz
SSB-PositionsInBurst N x2ap.extension id-SSB-PositionsInBurst
NRCellPRACHConfig N x2ap.extension id-NRCellPRACHConfig
QoS-Mapping-Information N x2ap.extension id-QoS-Mapping-Information
IntendedTDD-DL-ULConfiguration-NR N x2ap.extension id-IntendedTDD-DL-ULConfiguration-NR
URI-Address N x2ap.extension id-TraceCollectionEntityURI
SFN-Offset N x2ap.extension id-SFN-Offset
IMSvoiceEPSfallbackfrom5G N x2ap.extension id-IMSvoiceEPSfallbackfrom5G
AdditionLocationInformation N x2ap.extension id-AdditionLocationInformation
TransportLayerAddress N x2ap.extension id-SourceDLForwardingIPAddress
TransportLayerAddress N x2ap.extension id-SourceNodeDLForwardingIPAddress
MeasurementResultforNRCellsPossiblyAggregated N x2ap.extension id-MeasurementResultforNRCellsPossiblyAggregated
PSCell-UE-HistoryInformation N x2ap.extension id-PSCell-UE-HistoryInformation
Additional-Measurement-Timing-Configuration-List N x2ap.extension id-Additional-Measurement-Timing-Configuration-List
ServedCellSpecificInfoReq-NR N x2ap.extension id-ServedCellSpecificInfoReq-NR
SecurityIndication N x2ap.extension id-SecurityIndication
SecurityResult N x2ap.extension id-SecurityResult
RAT-Restrictions N x2ap.extension id-RAT-Restrictions
MIMOPRBusageInformation N x2ap.extension id-MIMOPRBusageInformation
SensorMeasurementConfiguration N x2ap.extension id-SensorMeasurementConfiguration
AdditionalListofForwardingGTPTunnelEndpoint N x2ap.extension id-AdditionalListofForwardingGTPTunnelEndpoint
# X2AP-PDU-Descriptions.asn Interface Elementary Procedures
#X2AP-ELEMENTARY-PROCEDURE
HandoverRequest N x2ap.proc.imsg id-handoverPreparation
HandoverRequestAcknowledge N x2ap.proc.sout id-handoverPreparation
HandoverPreparationFailure N x2ap.proc.uout id-handoverPreparation
SNStatusTransfer N x2ap.proc.imsg id-snStatusTransfer
UEContextRelease N x2ap.proc.imsg id-uEContextRelease
HandoverCancel N x2ap.proc.imsg id-handoverCancel
ErrorIndication N x2ap.proc.imsg id-errorIndication
ResetRequest N x2ap.proc.imsg id-reset
ResetResponse N x2ap.proc.sout id-reset
X2SetupRequest N x2ap.proc.imsg id-x2Setup
X2SetupResponse N x2ap.proc.sout id-x2Setup
X2SetupFailure N x2ap.proc.uout id-x2Setup
LoadInformation N x2ap.proc.imsg id-loadIndication
ENBConfigurationUpdate N x2ap.proc.imsg id-eNBConfigurationUpdate
ENBConfigurationUpdateAcknowledge N x2ap.proc.sout id-eNBConfigurationUpdate
ENBConfigurationUpdateFailure N x2ap.proc.uout id-eNBConfigurationUpdate
ResourceStatusRequest N x2ap.proc.imsg id-resourceStatusReportingInitiation
ResourceStatusResponse N x2ap.proc.sout id-resourceStatusReportingInitiation
ResourceStatusFailure N x2ap.proc.uout id-resourceStatusReportingInitiation
ResourceStatusUpdate N x2ap.proc.imsg id-resourceStatusReporting
PrivateMessage N x2ap.proc.imsg id-privateMessage
HandoverReport N x2ap.proc.imsg id-handoverReport
RLFIndication N x2ap.proc.imsg id-rLFIndication
MobilityChangeRequest N x2ap.proc.imsg id-mobilitySettingsChange
MobilityChangeAcknowledge N x2ap.proc.sout id-mobilitySettingsChange
MobilityChangeFailure N x2ap.proc.uout id-mobilitySettingsChange
CellActivationRequest N x2ap.proc.imsg id-cellActivation
CellActivationResponse N x2ap.proc.sout id-cellActivation
CellActivationFailure N x2ap.proc.uout id-cellActivation
X2Release N x2ap.proc.imsg id-x2Release
X2APMessageTransfer N x2ap.proc.imsg id-x2APMessageTransfer
X2RemovalRequest N x2ap.proc.imsg id-x2Removal
X2RemovalResponse N x2ap.proc.sout id-x2Removal
X2RemovalFailure N x2ap.proc.uout id-x2Removal
SeNBAdditionRequest N x2ap.proc.imsg id-seNBAdditionPreparation
SeNBAdditionRequestAcknowledge N x2ap.proc.sout id-seNBAdditionPreparation
SeNBAdditionRequestReject N x2ap.proc.uout id-seNBAdditionPreparation
SeNBReconfigurationComplete N x2ap.proc.imsg id-seNBReconfigurationCompletion
SeNBModificationRequest N x2ap.proc.imsg id-meNBinitiatedSeNBModificationPreparation
SeNBModificationRequestAcknowledge N x2ap.proc.sout id-meNBinitiatedSeNBModificationPreparation
SeNBModificationRequestReject N x2ap.proc.uout id-meNBinitiatedSeNBModificationPreparation
SeNBModificationRequired N x2ap.proc.imsg id-seNBinitiatedSeNBModification
SeNBModificationConfirm N x2ap.proc.sout id-seNBinitiatedSeNBModification
SeNBModificationRefuse N x2ap.proc.uout id-seNBinitiatedSeNBModification
SeNBReleaseRequest N x2ap.proc.imsg id-meNBinitiatedSeNBRelease
SeNBReleaseRequired N x2ap.proc.imsg id-seNBinitiatedSeNBRelease
SeNBReleaseConfirm N x2ap.proc.sout id-seNBinitiatedSeNBRelease
SeNBCounterCheckRequest N x2ap.proc.imsg id-seNBCounterCheck
RetrieveUEContextRequest N x2ap.proc.imsg id-retrieveUEContext
RetrieveUEContextResponse N x2ap.proc.sout id-retrieveUEContext
RetrieveUEContextFailure N x2ap.proc.uout id-retrieveUEContext
SgNBAdditionRequest N x2ap.proc.imsg id-sgNBAdditionPreparation
SgNBAdditionRequestAcknowledge N x2ap.proc.sout id-sgNBAdditionPreparation
SgNBAdditionRequestReject N x2ap.proc.uout id-sgNBAdditionPreparation
SgNBReconfigurationComplete N x2ap.proc.imsg id-sgNBReconfigurationCompletion
SgNBModificationRequest N x2ap.proc.imsg id-meNBinitiatedSgNBModificationPreparation
SgNBModificationRequestAcknowledge N x2ap.proc.sout id-meNBinitiatedSgNBModificationPreparation
SgNBModificationRequestReject N x2ap.proc.uout id-meNBinitiatedSgNBModificationPreparation
SgNBModificationRequired N x2ap.proc.imsg id-sgNBinitiatedSgNBModification
SgNBModificationConfirm N x2ap.proc.sout id-sgNBinitiatedSgNBModification
SgNBModificationRefuse N x2ap.proc.uout id-sgNBinitiatedSgNBModification
SgNBReleaseRequest N x2ap.proc.imsg id-meNBinitiatedSgNBRelease
SgNBReleaseRequestAcknowledge N x2ap.proc.sout id-meNBinitiatedSgNBRelease
SgNBReleaseRequestReject N x2ap.proc.uout id-meNBinitiatedSgNBRelease
SgNBReleaseRequired N x2ap.proc.imsg id-sgNBinitiatedSgNBRelease
SgNBReleaseConfirm N x2ap.proc.sout id-sgNBinitiatedSgNBRelease
SgNBCounterCheckRequest N x2ap.proc.imsg id-sgNBCounterCheck
SgNBChangeRequired N x2ap.proc.imsg id-sgNBChange
SgNBChangeConfirm N x2ap.proc.sout id-sgNBChange
SgNBChangeRefuse N x2ap.proc.uout id-sgNBChange
RRCTransfer N x2ap.proc.imsg id-rRCTransfer
ENDCX2SetupRequest N x2ap.proc.imsg id-endcX2Setup
ENDCX2SetupResponse N x2ap.proc.sout id-endcX2Setup
ENDCX2SetupFailure N x2ap.proc.uout id-endcX2Setup
ENDCConfigurationUpdate N x2ap.proc.imsg id-endcConfigurationUpdate
ENDCConfigurationUpdateAcknowledge N x2ap.proc.sout id-endcConfigurationUpdate
ENDCConfigurationUpdateFailure N x2ap.proc.uout id-endcConfigurationUpdate
SecondaryRATDataUsageReport N x2ap.proc.imsg id-secondaryRATDataUsageReport
ENDCCellActivationRequest N x2ap.proc.imsg id-endcCellActivation
ENDCCellActivationResponse N x2ap.proc.sout id-endcCellActivation
ENDCCellActivationFailure N x2ap.proc.uout id-endcCellActivation
ENDCPartialResetRequired N x2ap.proc.imsg id-endcPartialReset
ENDCPartialResetConfirm N x2ap.proc.sout id-endcPartialReset
EUTRANRCellResourceCoordinationRequest N x2ap.proc.imsg id-eUTRANRCellResourceCoordination
EUTRANRCellResourceCoordinationResponse N x2ap.proc.sout id-eUTRANRCellResourceCoordination
SgNBActivityNotification N x2ap.proc.imsg id-SgNBActivityNotification
ENDCX2RemovalRequest N x2ap.proc.imsg id-endcX2Removal
ENDCX2RemovalResponse N x2ap.proc.sout id-endcX2Removal
ENDCX2RemovalFailure N x2ap.proc.uout id-endcX2Removal
DataForwardingAddressIndication N x2ap.proc.imsg id-dataForwardingAddressIndication
GNBStatusIndication N x2ap.proc.imsg id-gNBStatusIndication
ENDCConfigurationTransfer N x2ap.proc.imsg id-endcConfigurationTransfer
DeactivateTrace N x2ap.proc.imsg id-deactivateTrace
TraceStart N x2ap.proc.imsg id-traceStart
HandoverSuccess N x2ap.proc.imsg id-handoverSuccess
EarlyStatusTransfer N x2ap.proc.imsg id-earlyStatusTransfer
ConditionalHandoverCancel N x2ap.proc.imsg id-conditionalHandoverCancel
ENDCResourceStatusRequest N x2ap.proc.imsg id-endcresourceStatusReportingInitiation
ENDCResourceStatusResponse N x2ap.proc.sout id-endcresourceStatusReportingInitiation
ENDCResourceStatusFailure N x2ap.proc.uout id-endcresourceStatusReportingInitiation
ENDCResourceStatusUpdate N x2ap.proc.imsg id-endcresourceStatusReporting
CellTrafficTrace N x2ap.proc.imsg id-cellTrafficTrace
F1CTrafficTransfer N x2ap.proc.imsg id-f1CTrafficTransfer
UERadioCapabilityIDMappingRequest N x2ap.proc.imsg id-UERadioCapabilityIDMapping
UERadioCapabilityIDMappingResponse N x2ap.proc.sout id-UERadioCapabilityIDMapping
AccessAndMobilityIndication N x2ap.proc.imsg id-accessAndMobilityIndication
CPC-cancel N x2ap.proc.imsg id-CPC-cancel
#.END |
ASN.1 | wireshark/epan/dissectors/asn1/x509af/AuthenticationFramework.asn | -- Module AuthenticationFramework (X.509:08/1997)
AuthenticationFramework {joint-iso-itu-t ds(5) module(1)
authenticationFramework(7) 3} DEFINITIONS ::=
BEGIN
-- EXPORTS All
-- The types and values defined in this module are exported for use in the other ASN.1 modules contained
-- within the Directory Specifications, and for the use of other applications which will use them to access
-- Directory services. Other applications may use them for their own purposes, but this will not constrain
-- extensions and modifications needed to maintain or improve the Directory service.
IMPORTS
id-at, id-mr, informationFramework, upperBounds, selectedAttributeTypes,
basicAccessControl, certificateExtensions
FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1)
usefulDefinitions(0) 3}
Name, ATTRIBUTE, AttributeType, MATCHING-RULE, Attribute, RDNSequence
FROM InformationFramework informationFramework
ub-user-password
FROM UpperBounds upperBounds
AuthenticationLevel
FROM BasicAccessControl basicAccessControl
UniqueIdentifier, octetStringMatch
FROM SelectedAttributeTypes selectedAttributeTypes
certificateExactMatch, certificatePairExactMatch, certificateListExactMatch,
GeneralNames
FROM CertificateExtensions certificateExtensions;
-- basic certificate definition
Certificate ::= SEQUENCE {
signedCertificate SEQUENCE {
version [0] Version DEFAULT v1,
serialNumber CertificateSerialNumber,
signature AlgorithmIdentifier,
issuer Name,
validity Validity,
subject SubjectName,
subjectPublicKeyInfo SubjectPublicKeyInfo,
issuerUniqueIdentifier [1] IMPLICIT UniqueIdentifier OPTIONAL,
-- if present, version must be v2 or v3
subjectUniqueIdentifier [2] IMPLICIT UniqueIdentifier OPTIONAL,
-- if present, version must be v2 or v3
extensions [3] Extensions OPTIONAL
-- If present, version must be v3 -- },
algorithmIdentifier AlgorithmIdentifier,
encrypted BIT STRING
}
-- imported to allow labelling
SubjectName ::= CHOICE {
rdnSequence RDNSequence
}
Version ::= INTEGER {v1(0), v2(1), v3(2)}
CertificateSerialNumber ::= INTEGER
AlgorithmIdentifier ::= SEQUENCE {
algorithmId OBJECT IDENTIFIER,
parameters ANY OPTIONAL
}
-- Definition of the following information object set is deferred, perhaps to standardized
-- profiles or to protocol implementation conformance statements. The set is required to
-- specify a table constraint on the parameters component of AlgorithmIdentifier.
--SupportedAlgorithms ALGORITHM ::=
--{...}
Validity ::= SEQUENCE {notBefore Time,
notAfter Time
}
SubjectPublicKeyInfo ::= SEQUENCE {
algorithm AlgorithmIdentifier,
subjectPublicKey BIT STRING
}
Time ::= CHOICE {utcTime UTCTime,
generalizedTime GeneralizedTime
}
Extensions ::= SEQUENCE OF Extension
-- For those extensions where ordering of individual extensions within the SEQUENCE is significant, the
-- specification of those individual extensions shall include the rules for the significance of the order therein
Extension ::= SEQUENCE {
extnId OBJECT IDENTIFIER,
critical BOOLEAN OPTIONAL,
extnValue OCTET STRING
-- contains a DER encoding of a value of type &ExtnType
-- for the extension object identified by extnId
}
--ExtensionSet EXTENSION ::=
-- {...}
EXTENSION ::= CLASS {&id OBJECT IDENTIFIER UNIQUE,
&ExtnType
}WITH SYNTAX {SYNTAX &ExtnType
IDENTIFIED BY &id
}
-- other certificate constructs
Certificates ::= SEQUENCE {
userCertificate Certificate,
certificationPath ForwardCertificationPath OPTIONAL
}
ForwardCertificationPath ::= SEQUENCE OF CrossCertificates
CrossCertificates ::= SET OF Certificate
CertificationPath ::= SEQUENCE {
userCertificate Certificate,
theCACertificates SEQUENCE OF CertificatePair OPTIONAL
}
CertificatePair ::= SEQUENCE {
issuedByThisCA [0] Certificate OPTIONAL,
issuedToThisCA [1] Certificate OPTIONAL
-- at least one of the pair shall be present
}
-- Certificate Revocation List (CRL)
CertificateList ::= SEQUENCE {
signedCertificateList SEQUENCE {
version Version OPTIONAL,
-- if present, version must be v2
signature AlgorithmIdentifier,
issuer Name,
thisUpdate Time,
nextUpdate Time OPTIONAL,
revokedCertificates
SEQUENCE OF
SEQUENCE {userCertificate CertificateSerialNumber,
revocationDate Time,
crlEntryExtensions Extensions OPTIONAL} OPTIONAL,
crlExtensions [0] Extensions OPTIONAL},
algorithmIdentifier AlgorithmIdentifier,
encrypted BIT STRING
}
-- attribute certificate
AttributeCertificationPath ::= SEQUENCE {
attributeCertificate AttributeCertificate,
acPath SEQUENCE OF ACPathData OPTIONAL
}
ACPathData ::= SEQUENCE {
certificate [0] Certificate OPTIONAL,
attributeCertificate [1] AttributeCertificate OPTIONAL
}
--attributeCertificate ATTRIBUTE ::= {
-- WITH SYNTAX AttributeCertificate
-- EQUALITY MATCHING RULE attributeCertificateMatch
-- ID id-at-attributeCertificate
--}
AttributeCertificate ::= SEQUENCE {
signedAttributeCertificateInfo AttributeCertificateInfo,
algorithmIdentifier AlgorithmIdentifier,
encrypted BIT STRING
}
AttributeCertificateInfo ::= SEQUENCE {
version Version DEFAULT v1,
subject
CHOICE {baseCertificateID [0] IssuerSerial,
subjectName [1] GeneralNames
},
issuer GeneralNames,
signature AlgorithmIdentifier,
serialNumber CertificateSerialNumber,
attCertValidityPeriod AttCertValidityPeriod,
attributes SEQUENCE OF Attribute,
issuerUniqueID UniqueIdentifier OPTIONAL,
extensions Extensions OPTIONAL
}
IssuerSerial ::= SEQUENCE {
issuer GeneralNames,
serial CertificateSerialNumber,
issuerUID UniqueIdentifier OPTIONAL
}
AttCertValidityPeriod ::= SEQUENCE {
notBeforeTime GeneralizedTime,
notAfterTime GeneralizedTime
}
--attributeCertificateMatch MATCHING-RULE ::= {
-- SYNTAX AttributeCertificateAssertion
-- ID id-mr-attributeCertificateMatch
--}
AttributeCertificateAssertion ::= SEQUENCE {
subject
[0] CHOICE {baseCertificateID [0] IssuerSerial,
subjectName [1] SubjectName} OPTIONAL,
issuer [1] Name OPTIONAL,
attCertValidity [2] GeneralizedTime OPTIONAL,
attType [3] SET OF AttributeType OPTIONAL
}
-- At least one component of the sequence must be present
-- attribute types
--userPassword ATTRIBUTE ::= {
-- WITH SYNTAX OCTET STRING(SIZE (0..ub-user-password))
-- EQUALITY MATCHING RULE octetStringMatch
-- ID id-at-userPassword
--}
--userCertificate ATTRIBUTE ::= {
-- WITH SYNTAX Certificate
-- EQUALITY MATCHING RULE certificateExactMatch
-- ID id-at-userCertificate
--}
--cACertificate ATTRIBUTE ::= {
-- WITH SYNTAX Certificate
-- EQUALITY MATCHING RULE certificateExactMatch
-- ID id-at-cAcertificate
--}
--crossCertificatePair ATTRIBUTE ::= {
-- WITH SYNTAX CertificatePair
-- EQUALITY MATCHING RULE certificatePairExactMatch
-- ID id-at-crossCertificatePair
--}
--authorityRevocationList ATTRIBUTE ::= {
-- WITH SYNTAX CertificateList
-- EQUALITY MATCHING RULE certificateListExactMatch
-- ID id-at-authorityRevocationList
--}
--certificateRevocationList ATTRIBUTE ::= {
-- WITH SYNTAX CertificateList
-- EQUALITY MATCHING RULE certificateListExactMatch
-- ID id-at-certificateRevocationList
--}
--attributeCertificateRevocationList ATTRIBUTE ::= {
-- WITH SYNTAX CertificateList
-- ID id-at-attributeCertificateRevocationList
--}
-- information object classes
--ALGORITHM ::= TYPE-IDENTIFIER
-- object identifier assignments
--id-at-userPassword OBJECT IDENTIFIER ::=
-- {id-at 35}
id-at-userCertificate OBJECT IDENTIFIER ::= {id-at 36}
id-at-cAcertificate OBJECT IDENTIFIER ::= {id-at 37}
id-at-authorityRevocationList OBJECT IDENTIFIER ::= {id-at 38}
id-at-certificateRevocationList OBJECT IDENTIFIER ::= {id-at 39}
id-at-crossCertificatePair OBJECT IDENTIFIER ::= {id-at 40}
id-at-attributeCertificate OBJECT IDENTIFIER ::= {id-at 58}
id-at-attributeCertificateRevocationList OBJECT IDENTIFIER ::= {id-at 59}
--id-mr-attributeCertificateMatch OBJECT IDENTIFIER ::= {id-mr 42}
-- these are sneaked in from DSS - a separate dissector seems OTT
DSS-Params ::= SEQUENCE {
p INTEGER,
q INTEGER,
g INTEGER
}
-- WS Add some stuff fytom RFC 1274
ub-user-identifier INTEGER ::= 256
Userid ::= UTF8String (SIZE (1 .. ub-user-identifier))
END
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
Text | wireshark/epan/dissectors/asn1/x509af/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME x509af )
set( PROTO_OPT )
set( EXPORT_FILES
${PROTOCOL_NAME}-exp.cnf
)
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
AuthenticationFramework.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
set( EXTRA_CNF
"${CMAKE_CURRENT_BINARY_DIR}/../x509ce/x509ce-exp.cnf"
"${CMAKE_CURRENT_BINARY_DIR}/../x509if/x509if-exp.cnf"
"${CMAKE_CURRENT_BINARY_DIR}/../x509sat/x509sat-exp.cnf"
)
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/x509af/packet-x509af-template.c | /* packet-x509af.c
* Routines for X.509 Authentication Framework packet dissection
* Ronnie Sahlberg 2004
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/oids.h>
#include <epan/asn1.h>
#include <epan/strutil.h>
#include "packet-ber.h"
#include "packet-x509af.h"
#include "packet-x509ce.h"
#include "packet-x509if.h"
#include "packet-x509sat.h"
#include "packet-ldap.h"
#include "packet-pkcs1.h"
#if defined(HAVE_LIBGNUTLS)
#include <gnutls/gnutls.h>
#endif
#define PNAME "X.509 Authentication Framework"
#define PSNAME "X509AF"
#define PFNAME "x509af"
void proto_register_x509af(void);
void proto_reg_handoff_x509af(void);
static dissector_handle_t pkix_crl_handle;
/* Initialize the protocol and registered fields */
static int proto_x509af = -1;
static int hf_x509af_algorithm_id = -1;
static int hf_x509af_extension_id = -1;
#include "packet-x509af-hf.c"
/* Initialize the subtree pointers */
static gint ett_pkix_crl = -1;
#include "packet-x509af-ett.c"
static const char *algorithm_id = NULL;
static void
x509af_export_publickey(tvbuff_t *tvb, asn1_ctx_t *actx, int offset, int len);
#include "packet-x509af-fn.c"
/* Exports the SubjectPublicKeyInfo structure as gnutls_datum_t.
* actx->private_data is assumed to be a gnutls_datum_t pointer which will be
* filled in if non-NULL. */
static void
x509af_export_publickey(tvbuff_t *tvb _U_, asn1_ctx_t *actx _U_, int offset _U_, int len _U_)
{
#if defined(HAVE_LIBGNUTLS)
gnutls_datum_t *subjectPublicKeyInfo = (gnutls_datum_t *)actx->private_data;
if (subjectPublicKeyInfo) {
subjectPublicKeyInfo->data = (guchar *) tvb_get_ptr(tvb, offset, len);
subjectPublicKeyInfo->size = len;
actx->private_data = NULL;
}
#endif
}
const char *x509af_get_last_algorithm_id(void) {
return algorithm_id;
}
static int
dissect_pkix_crl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *data _U_)
{
proto_tree *tree;
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
col_set_str(pinfo->cinfo, COL_PROTOCOL, "PKIX-CRL");
col_set_str(pinfo->cinfo, COL_INFO, "Certificate Revocation List");
tree=proto_tree_add_subtree(parent_tree, tvb, 0, -1, ett_pkix_crl, NULL, "Certificate Revocation List");
return dissect_x509af_CertificateList(FALSE, tvb, 0, &asn1_ctx, tree, -1);
}
static void
x509af_cleanup_protocol(void)
{
algorithm_id = NULL;
}
/*--- proto_register_x509af ----------------------------------------------*/
void proto_register_x509af(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_x509af_algorithm_id,
{ "Algorithm Id", "x509af.algorithm.id",
FT_OID, BASE_NONE, NULL, 0,
NULL, HFILL }},
{ &hf_x509af_extension_id,
{ "Extension Id", "x509af.extension.id",
FT_OID, BASE_NONE, NULL, 0,
NULL, HFILL }},
#include "packet-x509af-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_pkix_crl,
#include "packet-x509af-ettarr.c"
};
/* Register protocol */
proto_x509af = proto_register_protocol(PNAME, PSNAME, PFNAME);
/* Register fields and subtrees */
proto_register_field_array(proto_x509af, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
register_cleanup_routine(&x509af_cleanup_protocol);
pkix_crl_handle = register_dissector(PFNAME, dissect_pkix_crl, proto_x509af);
register_ber_syntax_dissector("Certificate", proto_x509af, dissect_x509af_Certificate_PDU);
register_ber_syntax_dissector("CertificateList", proto_x509af, dissect_CertificateList_PDU);
register_ber_syntax_dissector("CrossCertificatePair", proto_x509af, dissect_CertificatePair_PDU);
register_ber_oid_syntax(".cer", NULL, "Certificate");
register_ber_oid_syntax(".crt", NULL, "Certificate");
register_ber_oid_syntax(".crl", NULL, "CertificateList");
}
/*--- proto_reg_handoff_x509af -------------------------------------------*/
void proto_reg_handoff_x509af(void) {
dissector_add_string("media_type", "application/pkix-crl", pkix_crl_handle);
#include "packet-x509af-dis-tab.c"
/*XXX these should really go to a better place but since
I have not that ITU standard, I'll put it here for the time
being.
Only implemented those algorithms that take no parameters
for the time being, ronnie
*/
/* from http://www.alvestrand.no/objectid/1.3.14.3.2.html */
register_ber_oid_dissector("1.3.14.3.2.2", dissect_ber_oid_NULL_callback, proto_x509af, "md4WithRSA");
register_ber_oid_dissector("1.3.14.3.2.3", dissect_ber_oid_NULL_callback, proto_x509af, "md5WithRSA");
register_ber_oid_dissector("1.3.14.3.2.4", dissect_ber_oid_NULL_callback, proto_x509af, "md4WithRSAEncryption");
register_ber_oid_dissector("1.3.14.3.2.6", dissect_ber_oid_NULL_callback, proto_x509af, "desECB");
register_ber_oid_dissector("1.3.14.3.2.11", dissect_ber_oid_NULL_callback, proto_x509af, "rsaSignature");
register_ber_oid_dissector("1.3.14.3.2.14", dissect_ber_oid_NULL_callback, proto_x509af, "mdc2WithRSASignature");
register_ber_oid_dissector("1.3.14.3.2.15", dissect_ber_oid_NULL_callback, proto_x509af, "shaWithRSASignature");
register_ber_oid_dissector("1.3.14.3.2.16", dissect_ber_oid_NULL_callback, proto_x509af, "dhWithCommonModulus");
register_ber_oid_dissector("1.3.14.3.2.17", dissect_ber_oid_NULL_callback, proto_x509af, "desEDE");
register_ber_oid_dissector("1.3.14.3.2.18", dissect_ber_oid_NULL_callback, proto_x509af, "sha");
register_ber_oid_dissector("1.3.14.3.2.19", dissect_ber_oid_NULL_callback, proto_x509af, "mdc-2");
register_ber_oid_dissector("1.3.14.3.2.20", dissect_ber_oid_NULL_callback, proto_x509af, "dsaCommon");
register_ber_oid_dissector("1.3.14.3.2.21", dissect_ber_oid_NULL_callback, proto_x509af, "dsaCommonWithSHA");
register_ber_oid_dissector("1.3.14.3.2.22", dissect_ber_oid_NULL_callback, proto_x509af, "rsaKeyTransport");
register_ber_oid_dissector("1.3.14.3.2.23", dissect_ber_oid_NULL_callback, proto_x509af, "keyed-hash-seal");
register_ber_oid_dissector("1.3.14.3.2.24", dissect_ber_oid_NULL_callback, proto_x509af, "md2WithRSASignature");
register_ber_oid_dissector("1.3.14.3.2.25", dissect_ber_oid_NULL_callback, proto_x509af, "md5WithRSASignature");
register_ber_oid_dissector("1.3.14.3.2.26", dissect_ber_oid_NULL_callback, proto_x509af, "SHA-1");
register_ber_oid_dissector("1.3.14.3.2.27", dissect_ber_oid_NULL_callback, proto_x509af, "dsaWithSHA1");
register_ber_oid_dissector("1.3.14.3.2.28", dissect_ber_oid_NULL_callback, proto_x509af, "dsaWithCommonSHA1");
register_ber_oid_dissector("1.3.14.3.2.29", dissect_ber_oid_NULL_callback, proto_x509af, "sha-1WithRSAEncryption");
/* these will generally be encoded as ";binary" in LDAP */
dissector_add_string("ldap.name", "cACertificate", create_dissector_handle(dissect_x509af_Certificate_PDU, proto_x509af));
dissector_add_string("ldap.name", "userCertificate", create_dissector_handle(dissect_x509af_Certificate_PDU, proto_x509af));
dissector_add_string("ldap.name", "certificateRevocationList", create_dissector_handle(dissect_CertificateList_PDU, proto_x509af));
dissector_add_string("ldap.name", "crl", create_dissector_handle(dissect_CertificateList_PDU, proto_x509af));
dissector_add_string("ldap.name", "authorityRevocationList", create_dissector_handle(dissect_CertificateList_PDU, proto_x509af));
dissector_add_string("ldap.name", "arl", create_dissector_handle(dissect_CertificateList_PDU, proto_x509af));
dissector_add_string("ldap.name", "crossCertificatePair", create_dissector_handle(dissect_CertificatePair_PDU, proto_x509af));
/* RFC 7468 files */
dissector_add_string("rfc7468.preeb_label", "CERTIFICATE", create_dissector_handle(dissect_x509af_Certificate_PDU, proto_x509af));
dissector_add_string("rfc7468.preeb_label", "X509 CRL", create_dissector_handle(dissect_CertificateList_PDU, proto_x509af));
dissector_add_string("rfc7468.preeb_label", "ATTRIBUTE CERTIFICATE", create_dissector_handle(dissect_AttributeCertificate_PDU, proto_x509af));
dissector_add_string("rfc7468.preeb_label", "PUBLIC KEY", create_dissector_handle(dissect_SubjectPublicKeyInfo_PDU, proto_x509af));
} |
C/C++ | wireshark/epan/dissectors/asn1/x509af/packet-x509af-template.h | /* packet-x509af.h
* Routines for X.509 Authentication Framework packet dissection
* Ronnie Sahlberg 2004
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_X509AF_H
#define PACKET_X509AF_H
#include "packet-x509af-exp.h"
extern const char* x509af_get_last_algorithm_id(void);
#endif /* PACKET_X509AF_H */ |
Configuration | wireshark/epan/dissectors/asn1/x509af/x509af.cnf | # x509.cnf
# X509 conformation file
#.IMPORT ../x509ce/x509ce-exp.cnf
#.IMPORT ../x509if/x509if-exp.cnf
#.IMPORT ../x509sat/x509sat-exp.cnf
#.MODULE_EXPORTS
EXTENSION
ACPathData
AlgorithmIdentifier
AttCertValidityPeriod
AttributeCertificate
AttributeCertificateAssertion
AttributeCertificateInfo
AttributeCertificationPath
Certificate
Certificate_PDU
Certificates
CertificateList
CertificatePair
CertificateSerialNumber
CertificationPath
CrossCertificates
Extension
Extensions
ForwardCertificationPath
IssuerSerial
SubjectPublicKeyInfo
Time
Validity
Version
#.PDU
SubjectPublicKeyInfo
#.REGISTER
Certificate B "2.5.4.36" "id-at-userCertificate"
Certificate B "2.5.4.37" "id-at-cAcertificate"
CertificateList B "2.5.4.38" "id-at-authorityRevocationList"
CertificateList B "2.5.4.39" "id-at-certificateRevocationList"
CertificatePair B "2.5.4.40" "id-at-crossCertificatePair"
CertificateList B "2.5.4.53" "id-at-deltaRevocationList"
AttributeCertificate B "2.5.4.58" "id-at-attributeCertificate"
CertificateList B "2.5.4.59" "id-at-attributeCertificateRevocationList"
DSS-Params B "1.2.840.10040.4.1" "id-dsa"
# WS Implemet from RFC 1274
Userid B "0.9.2342.19200300.100.1.1" "id-userid"
#.TYPE_RENAME
AttributeCertificateInfo/subject InfoSubject
AttributeCertificateAssertion/subject AssertionSubject
#.FIELD_RENAME
AttributeCertificateInfo/issuer issuerName
AttributeCertificateInfo/subject info_subject
AttributeCertificateAssertion/subject assertion_subject
AttributeCertificateAssertion/issuer assertionIssuer
AttributeCertificateInfo/subject/subjectName infoSubjectName
AttributeCertificateAssertion/subject/subjectName assertionSubjectName
IssuerSerial/issuer issuerName
CertificateList/signedCertificateList/revokedCertificates/_item/userCertificate revokedUserCertificate
#.END
#.FN_PARS AlgorithmIdentifier/algorithmId
FN_VARIANT = _str HF_INDEX = hf_x509af_algorithm_id VAL_PTR = &actx->external.direct_reference
#.FN_BODY AlgorithmIdentifier/algorithmId
const char *name;
%(DEFAULT_BODY)s
if (algorithm_id) {
wmem_free(wmem_file_scope(), (void*)algorithm_id);
}
if(actx->external.direct_reference) {
algorithm_id = (const char *)wmem_strdup(wmem_file_scope(), actx->external.direct_reference);
name = oid_resolved_from_string(actx->pinfo->pool, actx->external.direct_reference);
proto_item_append_text(tree, " (%%s)", name ? name : actx->external.direct_reference);
} else {
algorithm_id = NULL;
}
#.FN_BODY AlgorithmIdentifier/parameters
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL);
#.FN_HDR SubjectPublicKeyInfo
int orig_offset = offset;
#.FN_FTR SubjectPublicKeyInfo
x509af_export_publickey(tvb, actx, orig_offset, offset - orig_offset);
#.END
#.FN_BODY SubjectPublicKeyInfo/subjectPublicKey
tvbuff_t *bs_tvb = NULL;
# proto_tree *subtree;
dissect_ber_bitstring(FALSE, actx, NULL, tvb, offset,
NULL, 0, hf_index, -1, &bs_tvb);
/* See RFC 3279 for possible subjectPublicKey values given an Algorithm ID.
* The contents of subjectPublicKey are always explicitly tagged. */
if (bs_tvb && !g_strcmp0(algorithm_id, "1.2.840.113549.1.1.1")) { /* id-rsa */
offset += dissect_pkcs1_RSAPublicKey(FALSE, bs_tvb, 0, actx, tree, hf_index);
# TODO: PKCS#1 only defines RSA; DH and DSA are from PKIX1Algorithms2008
# } else if (bs_tvb && !g_strcmp0(algorithm_id, "1.2.840.10040.4.1")) { /* id-dsa */
# subtree = proto_item_add_subtree(actx->created_item, ett_subjectpublickey);
# offset += dissect_DSAPublicKey(FALSE, bs_tvb, 0, actx, subtree, hf_dsa_y);
#
# } else if (bs_tvb && !g_strcmp0(algorithm_id, "1.2.840.10046.2.1")) { /* dhpublicnumber */
# subtree = proto_item_add_subtree(actx->created_item, ett_subjectpublickey);
# offset += dissect_DHPublicKey(FALSE, bs_tvb, 0, actx, subtree, hf_dh_y);
#
} else {
offset = dissect_ber_bitstring(FALSE, actx, tree, tvb, offset,
NULL, 0, hf_index, -1, NULL);
}
#.FN_PARS Extension/extnId
FN_VARIANT = _str HF_INDEX = hf_x509af_extension_id VAL_PTR = &actx->external.direct_reference
#.FN_BODY Extension/extnId
const char *name;
%(DEFAULT_BODY)s
if(actx->external.direct_reference) {
name = oid_resolved_from_string(actx->pinfo->pool, actx->external.direct_reference);
proto_item_append_text(tree, " (%%s)", name ? name : actx->external.direct_reference);
}
#.FN_BODY Extension/extnValue
gint8 ber_class;
bool pc, ind;
gint32 tag;
guint32 len;
/* skip past the T and L */
offset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &ber_class, &pc, &tag);
offset = dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, &ind);
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL);
#.FN_BODY Time/utcTime
char *outstr, *newstr;
guint32 tvblen;
/* the 2-digit year can only be in the range 1950..2049 https://tools.ietf.org/html/rfc5280#section-4.1.2.5.1 */
offset = dissect_ber_UTCTime(implicit_tag, actx, tree, tvb, offset, hf_index, &outstr, &tvblen);
if (hf_index >= 0 && outstr) {
newstr = wmem_strconcat(actx->pinfo->pool, outstr[0] < '5' ? "20": "19", outstr, NULL);
proto_tree_add_string(tree, hf_index, tvb, offset - tvblen, tvblen, newstr);
}
#.FN_BODY SubjectName
const char* str;
%(DEFAULT_BODY)s
str = x509if_get_last_dn();
proto_item_append_text(proto_item_get_parent(tree), " (%%s)", str?str:"");
#.TYPE_ATTR
CertificateSerialNumber TYPE = FT_BYTES DISPLAY = BASE_NONE
DSS-Params/p TYPE = FT_BYTES DISPLAY = BASE_NONE
DSS-Params/q TYPE = FT_BYTES DISPLAY = BASE_NONE
DSS-Params/g TYPE = FT_BYTES DISPLAY = BASE_NONE
#.FN_PARS CertificateSerialNumber FN_VARIANT = 64
#.END |
ASN.1 | wireshark/epan/dissectors/asn1/x509ce/CertificateExtensions.asn | -- Module CertificateExtensions (X.509:08/2005)
CertificateExtensions {joint-iso-itu-t ds(5) module(1)
certificateExtensions(26) 5} DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- EXPORTS ALL
IMPORTS
id-at, id-ce, id-mr, informationFramework, authenticationFramework,
selectedAttributeTypes, upperBounds
FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1)
usefulDefinitions(0) 5}
Name, RelativeDistinguishedName, ATTRIBUTE, Attribute, MATCHING-RULE
FROM InformationFramework informationFramework
CertificateSerialNumber, CertificateList, AlgorithmIdentifier, EXTENSION,
Time, PolicyID
FROM AuthenticationFramework authenticationFramework
DirectoryString{}
FROM SelectedAttributeTypes selectedAttributeTypes
ub-name
FROM UpperBounds upperBounds
ORAddress
FROM MTSAbstractService {joint-iso-itu-t mhs(6) mts(3) modules(0)
mts-abstract-service(1) version-1999(1)};
-- Unless explicitly noted otherwise, there is no significance to the ordering
-- of components of a SEQUENCE OF construct in this Specification.
-- public-key certificate and CRL extensions
authorityKeyIdentifier EXTENSION ::= {
SYNTAX AuthorityKeyIdentifier
IDENTIFIED BY id-ce-authorityKeyIdentifier
}
AuthorityKeyIdentifier ::= SEQUENCE {
keyIdentifier [0] KeyIdentifier OPTIONAL,
authorityCertIssuer [1] GeneralNames OPTIONAL,
authorityCertSerialNumber [2] CertificateSerialNumber OPTIONAL
}
(WITH COMPONENTS {
...,
authorityCertIssuer PRESENT,
authorityCertSerialNumber PRESENT
} |
WITH COMPONENTS {
...,
authorityCertIssuer ABSENT,
authorityCertSerialNumber ABSENT
})
KeyIdentifier ::= OCTET STRING
subjectKeyIdentifier EXTENSION ::= {
SYNTAX SubjectKeyIdentifier
IDENTIFIED BY id-ce-subjectKeyIdentifier
}
SubjectKeyIdentifier ::= KeyIdentifier
keyUsage EXTENSION ::= {SYNTAX KeyUsage
IDENTIFIED BY id-ce-keyUsage
}
KeyUsage ::= BIT STRING {
digitalSignature(0), contentCommitment(1), keyEncipherment(2),
dataEncipherment(3), keyAgreement(4), keyCertSign(5), cRLSign(6),
encipherOnly(7), decipherOnly(8)}
extKeyUsage EXTENSION ::= {
SYNTAX SEQUENCE SIZE (1..MAX) OF KeyPurposeId
IDENTIFIED BY id-ce-extKeyUsage
}
KeyPurposeId ::= OBJECT IDENTIFIER
KeyPurposeIDs ::= SEQUENCE OF KeyPurposeId
privateKeyUsagePeriod EXTENSION ::= {
SYNTAX PrivateKeyUsagePeriod
IDENTIFIED BY id-ce-privateKeyUsagePeriod
}
PrivateKeyUsagePeriod ::= SEQUENCE {
notBefore [0] GeneralizedTime OPTIONAL,
notAfter [1] GeneralizedTime OPTIONAL
}
(WITH COMPONENTS {
...,
notBefore PRESENT
} | WITH COMPONENTS {
...,
notAfter PRESENT
})
certificatePolicies EXTENSION ::= {
SYNTAX CertificatePoliciesSyntax
IDENTIFIED BY id-ce-certificatePolicies
}
CertificatePoliciesSyntax ::= SEQUENCE SIZE (1..MAX) OF PolicyInformation
PolicyInformation ::= SEQUENCE {
policyIdentifier CertPolicyId,
policyQualifiers SEQUENCE SIZE (1..MAX) OF PolicyQualifierInfo OPTIONAL
}
CertPolicyId ::= OBJECT IDENTIFIER
PolicyQualifierInfo ::= SEQUENCE {
policyQualifierId CERT-POLICY-QUALIFIER.&id({SupportedPolicyQualifiers}),
qualifier
CERT-POLICY-QUALIFIER.&Qualifier
({SupportedPolicyQualifiers}{@policyQualifierId}) OPTIONAL
}
SupportedPolicyQualifiers CERT-POLICY-QUALIFIER ::=
{...}
anyPolicy OBJECT IDENTIFIER ::= {2 5 29 32 0}
CERT-POLICY-QUALIFIER ::= CLASS {
&id OBJECT IDENTIFIER UNIQUE,
&Qualifier OPTIONAL
}WITH SYNTAX {POLICY-QUALIFIER-ID &id
[QUALIFIER-TYPE &Qualifier]
}
policyMappings EXTENSION ::= {
SYNTAX PolicyMappingsSyntax
IDENTIFIED BY id-ce-policyMappings
}
PolicyMappingsSyntax ::=
SEQUENCE SIZE (1..MAX) OF
SEQUENCE {issuerDomainPolicy CertPolicyId,
subjectDomainPolicy CertPolicyId}
subjectAltName EXTENSION ::= {
SYNTAX GeneralNames
IDENTIFIED BY id-ce-subjectAltName
}
GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName
GeneralName ::= CHOICE {
otherName [0] -- INSTANCE OF OTHER-NAME-- OtherName,
rfc822Name [1] IA5String,
dNSName [2] IA5String,
x400Address [3] ORAddress,
directoryName [4] Name,
ediPartyName [5] EDIPartyName,
uniformResourceIdentifier [6] IA5String,
iPAddress [7] OCTET STRING,
registeredID [8] OBJECT IDENTIFIER
}
-- OTHER-NAME ::= TYPE-IDENTIFIER
OtherName ::= SEQUENCE {
type-id OtherNameType,
value [0] EXPLICIT OtherNameValue
}
OtherNameType ::= OBJECT IDENTIFIER
OtherNameValue ::= ANY
EDIPartyName ::= SEQUENCE {
nameAssigner [0] DirectoryString{ub-name} OPTIONAL,
partyName [1] DirectoryString{ub-name}
}
issuerAltName EXTENSION ::= {
SYNTAX GeneralNames
IDENTIFIED BY id-ce-issuerAltName
}
subjectDirectoryAttributes EXTENSION ::= {
SYNTAX AttributesSyntax
IDENTIFIED BY id-ce-subjectDirectoryAttributes
}
AttributesSyntax ::= SEQUENCE SIZE (1..MAX) OF Attribute
basicConstraints EXTENSION ::= {
SYNTAX BasicConstraintsSyntax
IDENTIFIED BY id-ce-basicConstraints
}
BasicConstraintsSyntax ::= SEQUENCE {
cA BOOLEAN DEFAULT FALSE,
pathLenConstraint INTEGER(0..MAX) OPTIONAL
}
nameConstraints EXTENSION ::= {
SYNTAX NameConstraintsSyntax
IDENTIFIED BY id-ce-nameConstraints
}
NameConstraintsSyntax ::= SEQUENCE {
permittedSubtrees [0] GeneralSubtrees OPTIONAL,
excludedSubtrees [1] GeneralSubtrees OPTIONAL
}(-- ALL EXCEPT -- ({ --none; at least one component shall be present--}))
GeneralSubtrees ::= SEQUENCE SIZE (1..MAX) OF GeneralSubtree
GeneralSubtree ::= SEQUENCE {
base GeneralName,
minimum [0] BaseDistance DEFAULT 0,
maximum [1] BaseDistance OPTIONAL
}
BaseDistance ::= INTEGER(0..MAX)
policyConstraints EXTENSION ::= {
SYNTAX PolicyConstraintsSyntax
IDENTIFIED BY id-ce-policyConstraints
}
PolicyConstraintsSyntax ::= SEQUENCE {
requireExplicitPolicy [0] SkipCerts OPTIONAL,
inhibitPolicyMapping [1] SkipCerts OPTIONAL
}
SkipCerts ::= INTEGER(0..MAX)
cRLNumber EXTENSION ::= {
SYNTAX CRLNumber
IDENTIFIED BY id-ce-cRLNumber
}
CRLNumber ::= INTEGER(0..MAX)
reasonCode EXTENSION ::= {
SYNTAX CRLReason
IDENTIFIED BY id-ce-reasonCode
}
CRLReason ::= ENUMERATED {
unspecified(0), keyCompromise(1), cACompromise(2), affiliationChanged(3),
superseded(4), cessationOfOperation(5), certificateHold(6), removeFromCRL(8),
privilegeWithdrawn(9), aaCompromise(10)}
holdInstructionCode EXTENSION ::= {
SYNTAX HoldInstruction
IDENTIFIED BY id-ce-instructionCode
}
HoldInstruction ::= OBJECT IDENTIFIER
invalidityDate EXTENSION ::= {
SYNTAX GeneralizedTime
IDENTIFIED BY id-ce-invalidityDate
}
crlScope EXTENSION ::= {
SYNTAX CRLScopeSyntax
IDENTIFIED BY id-ce-cRLScope
}
CRLScopeSyntax ::= SEQUENCE SIZE (1..MAX) OF PerAuthorityScope
PerAuthorityScope ::= SEQUENCE {
authorityName [0] GeneralName OPTIONAL,
distributionPoint [1] DistributionPointName OPTIONAL,
onlyContains [2] OnlyCertificateTypes OPTIONAL,
onlySomeReasons [4] ReasonFlags OPTIONAL,
serialNumberRange [5] NumberRange OPTIONAL,
subjectKeyIdRange [6] NumberRange OPTIONAL,
nameSubtrees [7] GeneralNames OPTIONAL,
baseRevocationInfo [9] BaseRevocationInfo OPTIONAL
}
OnlyCertificateTypes ::= BIT STRING {user(0), authority(1), attribute(2)}
NumberRange ::= SEQUENCE {
startingNumber [0] INTEGER OPTIONAL,
endingNumber [1] INTEGER OPTIONAL,
modulus INTEGER OPTIONAL
}
BaseRevocationInfo ::= SEQUENCE {
cRLStreamIdentifier [0] CRLStreamIdentifier OPTIONAL,
cRLNumber [1] CRLNumber,
baseThisUpdate [2] GeneralizedTime
}
statusReferrals EXTENSION ::= {
SYNTAX StatusReferrals
IDENTIFIED BY id-ce-statusReferrals
}
StatusReferrals ::= SEQUENCE SIZE (1..MAX) OF StatusReferral
StatusReferral ::= CHOICE {
cRLReferral [0] CRLReferral
-- otherReferral [1] INSTANCE OF OTHER-REFERRAL
}
CRLReferral ::= SEQUENCE {
issuer [0] GeneralName OPTIONAL,
location [1] GeneralName OPTIONAL,
deltaRefInfo [2] DeltaRefInfo OPTIONAL,
cRLScope CRLScopeSyntax,
lastUpdate [3] GeneralizedTime OPTIONAL,
lastChangedCRL [4] GeneralizedTime OPTIONAL
}
DeltaRefInfo ::= SEQUENCE {
deltaLocation GeneralName,
lastDelta GeneralizedTime OPTIONAL
}
--OTHER-REFERRAL ::= TYPE-IDENTIFIER
--
cRLStreamIdentifier EXTENSION ::= {
SYNTAX CRLStreamIdentifier
IDENTIFIED BY id-ce-cRLStreamIdentifier
}
CRLStreamIdentifier ::= INTEGER(0..MAX)
orderedList EXTENSION ::= {
SYNTAX OrderedListSyntax
IDENTIFIED BY id-ce-orderedList
}
OrderedListSyntax ::= ENUMERATED {ascSerialNum(0), ascRevDate(1)}
deltaInfo EXTENSION ::= {
SYNTAX DeltaInformation
IDENTIFIED BY id-ce-deltaInfo
}
DeltaInformation ::= SEQUENCE {
deltaLocation GeneralName,
nextDelta GeneralizedTime OPTIONAL
}
cRLDistributionPoints EXTENSION ::= {
SYNTAX CRLDistPointsSyntax
IDENTIFIED BY id-ce-cRLDistributionPoints
}
CRLDistPointsSyntax ::= SEQUENCE SIZE (1..MAX) OF DistributionPoint
DistributionPoint ::= SEQUENCE {
distributionPoint [0] DistributionPointName OPTIONAL,
reasons [1] ReasonFlags OPTIONAL,
cRLIssuer [2] GeneralNames OPTIONAL
}
DistributionPointName ::= CHOICE {
fullName [0] GeneralNames,
nameRelativeToCRLIssuer [1] RelativeDistinguishedName
}
ReasonFlags ::= BIT STRING {
unused(0), keyCompromise(1), cACompromise(2), affiliationChanged(3),
superseded(4), cessationOfOperation(5), certificateHold(6),
privilegeWithdrawn(7), aACompromise(8)}
issuingDistributionPoint EXTENSION ::= {
SYNTAX IssuingDistPointSyntax
IDENTIFIED BY id-ce-issuingDistributionPoint
}
IssuingDistPointSyntax ::= SEQUENCE {
-- If onlyContainsUserPublicKeyCerts and onlyContainsCACerts are both FALSE,
-- the CRL covers both certificate types
distributionPoint [0] DistributionPointName OPTIONAL,
onlyContainsUserPublicKeyCerts [1] BOOLEAN DEFAULT FALSE,
onlyContainsCACerts [2] BOOLEAN DEFAULT FALSE,
onlySomeReasons [3] ReasonFlags OPTIONAL,
indirectCRL [4] BOOLEAN DEFAULT FALSE
}
certificateIssuer EXTENSION ::= {
SYNTAX GeneralNames
IDENTIFIED BY id-ce-certificateIssuer
}
deltaCRLIndicator EXTENSION ::= {
SYNTAX BaseCRLNumber
IDENTIFIED BY id-ce-deltaCRLIndicator
}
BaseCRLNumber ::= CRLNumber
toBeRevoked EXTENSION ::= {
SYNTAX ToBeRevokedSyntax
IDENTIFIED BY id-ce-toBeRevoked
}
ToBeRevokedSyntax ::= SEQUENCE SIZE (1..MAX) OF ToBeRevokedGroup
ToBeRevokedGroup ::= SEQUENCE {
certificateIssuer [0] GeneralName OPTIONAL,
reasonInfo [1] ReasonInfo OPTIONAL,
revocationTime GeneralizedTime,
certificateGroup CertificateGroup
}
ReasonInfo ::= SEQUENCE {
reasonCode CRLReason,
holdInstructionCode HoldInstruction OPTIONAL
}
CertificateGroup ::= CHOICE {
serialNumbers [0] CertificateSerialNumbers,
serialNumberRange [1] CertificateGroupNumberRange,
nameSubtree [2] GeneralName
}
CertificateGroupNumberRange ::= SEQUENCE {
startingNumber [0] INTEGER,
endingNumber [1] INTEGER
}
CertificateSerialNumbers ::= SEQUENCE SIZE (1..MAX) OF CertificateSerialNumber
revokedGroups EXTENSION ::= {
SYNTAX RevokedGroupsSyntax
IDENTIFIED BY id-ce-RevokedGroups
}
RevokedGroupsSyntax ::= SEQUENCE SIZE (1..MAX) OF RevokedGroup
RevokedGroup ::= SEQUENCE {
certificateIssuer [0] GeneralName OPTIONAL,
reasonInfo [1] ReasonInfo OPTIONAL,
invalidityDate [2] GeneralizedTime OPTIONAL,
revokedcertificateGroup [3] RevokedCertificateGroup
}
RevokedCertificateGroup ::= CHOICE {
serialNumberRange NumberRange,
nameSubtree GeneralName
}
expiredCertsOnCRL EXTENSION ::= {
SYNTAX ExpiredCertsOnCRL
IDENTIFIED BY id-ce-expiredCertsOnCRL
}
ExpiredCertsOnCRL ::= GeneralizedTime
baseUpdateTime EXTENSION ::= {
SYNTAX GeneralizedTime
IDENTIFIED BY id-ce-baseUpdateTime
}
freshestCRL EXTENSION ::= {
SYNTAX CRLDistPointsSyntax
IDENTIFIED BY id-ce-freshestCRL
}
aAissuingDistributionPoint EXTENSION ::= {
SYNTAX AAIssuingDistPointSyntax
IDENTIFIED BY id-ce-aAissuingDistributionPoint
}
AAIssuingDistPointSyntax ::= SEQUENCE {
distributionPoint [0] DistributionPointName OPTIONAL,
onlySomeReasons [1] ReasonFlags OPTIONAL,
indirectCRL [2] BOOLEAN DEFAULT FALSE,
containsUserAttributeCerts [3] BOOLEAN DEFAULT TRUE,
containsAACerts [4] BOOLEAN DEFAULT TRUE,
containsSOAPublicKeyCerts [5] BOOLEAN DEFAULT TRUE
}
inhibitAnyPolicy EXTENSION ::= {
SYNTAX SkipCerts
IDENTIFIED BY id-ce-inhibitAnyPolicy
}
-- PKI matching rules
certificateExactMatch MATCHING-RULE ::= {
SYNTAX CertificateExactAssertion
ID id-mr-certificateExactMatch
}
CertificateExactAssertion ::= SEQUENCE {
serialNumber CertificateSerialNumber,
issuer Name
}
certificateMatch MATCHING-RULE ::= {
SYNTAX CertificateAssertion
ID id-mr-certificateMatch
}
CertificateAssertion ::= SEQUENCE {
serialNumber [0] CertificateSerialNumber OPTIONAL,
issuer [1] Name OPTIONAL,
subjectKeyIdentifier [2] SubjectKeyIdentifier OPTIONAL,
authorityKeyIdentifier [3] AuthorityKeyIdentifier OPTIONAL,
certificateValid [4] Time OPTIONAL,
privateKeyValid [5] GeneralizedTime OPTIONAL,
subjectPublicKeyAlgID [6] OBJECT IDENTIFIER OPTIONAL,
keyUsage [7] KeyUsage OPTIONAL,
subjectAltName [8] AltNameType OPTIONAL,
policy [9] CertPolicySet OPTIONAL,
pathToName [10] Name OPTIONAL,
subject [11] Name OPTIONAL,
nameConstraints [12] NameConstraintsSyntax OPTIONAL
}
AltNameType ::= CHOICE {
builtinNameForm
ENUMERATED {rfc822Name(1), dNSName(2), x400Address(3), directoryName(4),
ediPartyName(5), uniformResourceIdentifier(6), iPAddress(7),
registeredId(8)},
otherNameForm OBJECT IDENTIFIER
}
CertPolicySet ::= SEQUENCE SIZE (1..MAX) OF CertPolicyId
certificatePairExactMatch MATCHING-RULE ::= {
SYNTAX CertificatePairExactAssertion
ID id-mr-certificatePairExactMatch
}
CertificatePairExactAssertion ::= SEQUENCE {
issuedToThisCAAssertion [0] CertificateExactAssertion OPTIONAL,
issuedByThisCAAssertion [1] CertificateExactAssertion OPTIONAL
}
(WITH COMPONENTS {
...,
issuedToThisCAAssertion PRESENT
} | WITH COMPONENTS {
...,
issuedByThisCAAssertion PRESENT
})
certificatePairMatch MATCHING-RULE ::= {
SYNTAX CertificatePairAssertion
ID id-mr-certificatePairMatch
}
CertificatePairAssertion ::= SEQUENCE {
issuedToThisCAAssertion [0] CertificateAssertion OPTIONAL,
issuedByThisCAAssertion [1] CertificateAssertion OPTIONAL
}
(WITH COMPONENTS {
...,
issuedToThisCAAssertion PRESENT
} | WITH COMPONENTS {
...,
issuedByThisCAAssertion PRESENT
})
certificateListExactMatch MATCHING-RULE ::= {
SYNTAX CertificateListExactAssertion
ID id-mr-certificateListExactMatch
}
CertificateListExactAssertion ::= SEQUENCE {
issuer Name,
thisUpdate Time,
distributionPoint DistributionPointName OPTIONAL
}
certificateListMatch MATCHING-RULE ::= {
SYNTAX CertificateListAssertion
ID id-mr-certificateListMatch
}
CertificateListAssertion ::= SEQUENCE {
issuer Name OPTIONAL,
minCRLNumber [0] CRLNumber OPTIONAL,
maxCRLNumber [1] CRLNumber OPTIONAL,
reasonFlags ReasonFlags OPTIONAL,
dateAndTime Time OPTIONAL,
distributionPoint [2] DistributionPointName OPTIONAL,
authorityKeyIdentifier [3] AuthorityKeyIdentifier OPTIONAL
}
algorithmIdentifierMatch MATCHING-RULE ::= {
SYNTAX AlgorithmIdentifier
ID id-mr-algorithmIdentifierMatch
}
policyMatch MATCHING-RULE ::= {SYNTAX PolicyID
ID id-mr-policyMatch
}
pkiPathMatch MATCHING-RULE ::= {
SYNTAX PkiPathMatchSyntax
ID id-mr-pkiPathMatch
}
PkiPathMatchSyntax ::= SEQUENCE {firstIssuer Name,
lastSubject Name
}
enhancedCertificateMatch MATCHING-RULE ::= {
SYNTAX EnhancedCertificateAssertion
ID id-mr-enhancedCertificateMatch
}
EnhancedCertificateAssertion ::= SEQUENCE {
serialNumber [0] CertificateSerialNumber OPTIONAL,
issuer [1] Name OPTIONAL,
subjectKeyIdentifier [2] SubjectKeyIdentifier OPTIONAL,
authorityKeyIdentifier [3] AuthorityKeyIdentifier OPTIONAL,
certificateValid [4] Time OPTIONAL,
privateKeyValid [5] GeneralizedTime OPTIONAL,
subjectPublicKeyAlgID [6] OBJECT IDENTIFIER OPTIONAL,
keyUsage [7] KeyUsage OPTIONAL,
subjectAltName [8] AltName OPTIONAL,
policy [9] CertPolicySet OPTIONAL,
pathToName [10] GeneralNames OPTIONAL,
subject [11] Name OPTIONAL,
nameConstraints [12] NameConstraintsSyntax OPTIONAL
}(--ALL EXCEPT-- ({ -- none; at least one component shall be present --}))
AltName ::= SEQUENCE {
altnameType AltNameType,
altNameValue GeneralName OPTIONAL
}
-- Object identifier assignments
id-ce-subjectDirectoryAttributes OBJECT IDENTIFIER ::=
{id-ce 9}
id-ce-subjectKeyIdentifier OBJECT IDENTIFIER ::= {id-ce 14}
id-ce-keyUsage OBJECT IDENTIFIER ::= {id-ce 15}
id-ce-privateKeyUsagePeriod OBJECT IDENTIFIER ::= {id-ce 16}
id-ce-subjectAltName OBJECT IDENTIFIER ::= {id-ce 17}
id-ce-issuerAltName OBJECT IDENTIFIER ::= {id-ce 18}
id-ce-basicConstraints OBJECT IDENTIFIER ::= {id-ce 19}
id-ce-cRLNumber OBJECT IDENTIFIER ::= {id-ce 20}
id-ce-reasonCode OBJECT IDENTIFIER ::= {id-ce 21}
id-ce-instructionCode OBJECT IDENTIFIER ::= {id-ce 23}
id-ce-invalidityDate OBJECT IDENTIFIER ::= {id-ce 24}
id-ce-deltaCRLIndicator OBJECT IDENTIFIER ::= {id-ce 27}
id-ce-issuingDistributionPoint OBJECT IDENTIFIER ::= {id-ce 28}
id-ce-certificateIssuer OBJECT IDENTIFIER ::= {id-ce 29}
id-ce-nameConstraints OBJECT IDENTIFIER ::= {id-ce 30}
id-ce-cRLDistributionPoints OBJECT IDENTIFIER ::= {id-ce 31}
id-ce-certificatePolicies OBJECT IDENTIFIER ::= {id-ce 32}
id-ce-policyMappings OBJECT IDENTIFIER ::= {id-ce 33}
-- deprecated OBJECT IDENTIFIER ::= {id-ce 34}
id-ce-authorityKeyIdentifier OBJECT IDENTIFIER ::=
{id-ce 35}
id-ce-policyConstraints OBJECT IDENTIFIER ::= {id-ce 36}
id-ce-extKeyUsage OBJECT IDENTIFIER ::= {id-ce 37}
id-ce-cRLStreamIdentifier OBJECT IDENTIFIER ::= {id-ce 40}
id-ce-cRLScope OBJECT IDENTIFIER ::= {id-ce 44}
id-ce-statusReferrals OBJECT IDENTIFIER ::= {id-ce 45}
id-ce-freshestCRL OBJECT IDENTIFIER ::= {id-ce 46}
id-ce-orderedList OBJECT IDENTIFIER ::= {id-ce 47}
id-ce-baseUpdateTime OBJECT IDENTIFIER ::= {id-ce 51}
id-ce-deltaInfo OBJECT IDENTIFIER ::= {id-ce 53}
id-ce-inhibitAnyPolicy OBJECT IDENTIFIER ::= {id-ce 54}
id-ce-toBeRevoked OBJECT IDENTIFIER ::= {id-ce 58}
id-ce-RevokedGroups OBJECT IDENTIFIER ::= {id-ce 59}
id-ce-expiredCertsOnCRL OBJECT IDENTIFIER ::= {id-ce 60}
id-ce-aAissuingDistributionPoint OBJECT IDENTIFIER ::= {id-ce 63}
-- matching rule OIDs
id-mr-certificateExactMatch OBJECT IDENTIFIER ::=
{id-mr 34}
id-mr-certificateMatch OBJECT IDENTIFIER ::= {id-mr 35}
id-mr-certificatePairExactMatch OBJECT IDENTIFIER ::= {id-mr 36}
id-mr-certificatePairMatch OBJECT IDENTIFIER ::= {id-mr 37}
id-mr-certificateListExactMatch OBJECT IDENTIFIER ::= {id-mr 38}
id-mr-certificateListMatch OBJECT IDENTIFIER ::= {id-mr 39}
id-mr-algorithmIdentifierMatch OBJECT IDENTIFIER ::= {id-mr 40}
id-mr-policyMatch OBJECT IDENTIFIER ::= {id-mr 60}
id-mr-pkiPathMatch OBJECT IDENTIFIER ::= {id-mr 62}
id-mr-enhancedCertificateMatch OBJECT IDENTIFIER ::= {id-mr 65}
-- The following OBJECT IDENTIFIERS are not used by this Specification:
-- {id-ce 2}, {id-ce 3}, {id-ce 4}, {id-ce 5}, {id-ce 6}, {id-ce 7},
-- {id-ce 8}, {id-ce 10}, {id-ce 11}, {id-ce 12}, {id-ce 13},
-- {id-ce 22}, {id-ce 25}, {id-ce 26}
-- Microsoft Certificate Extension
CertificateTemplate ::= SEQUENCE {
templateID OBJECT IDENTIFIER,
templateMajorVersion INTEGER,
templateMinorVersion INTEGER OPTIONAL
}
-- Microsoft NTDS CA Security Extension
NtdsCaSecurity ::= SEQUENCE {
ntdsObjectSid NtdsObjectSid
}
NtdsObjectSid ::= [0] SEQUENCE {
type-id OBJECT IDENTIFIER,
sid [0] PrintableString
}
-- Entrust Certificate Extension
EntrustVersionInfo ::= SEQUENCE {
entrustVers GeneralString,
entrustVersInfoFlags EntrustInfoFlags OPTIONAL
}
EntrustInfoFlags ::= BIT STRING {
keyUpdateAllowed(0),
newExtensions(1),
pKIXCertificate(2),
enterpriseCategory(3),
webCategory(4),
sETCategory(5)
}
END
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
ASN.1 | wireshark/epan/dissectors/asn1/x509ce/CertificateExtensionsCiplus.asn | -- Module CertificateExtensionsCiplus
-- X.509 certificate extensions defined by CI+ (www.ci-plus.com)
CertificateExtensionsCiplus DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- EXPORTS ALL
IMPORTS
id-pkix
FROM PKIX1Explicit93 {iso(1) identified-organization(3) dod(6) internet(1)
security(5) mechanisms(5) pkix(7) id-mod(0) id-pkix1-explicit-93(3)}
EXTENSION
FROM AuthenticationFramework { joint-iso-itu-t ds(5)
module(1) authenticationFramework(7) 3 };
scramblerCapabilities EXTENSION ::= {
SYNTAX ScramblerCapabilities
IDENTIFIED BY id-pe-scramblerCapabilities
}
ScramblerCapabilities ::= SEQUENCE {
capability INTEGER (0..MAX),
version INTEGER (0..MAX)
}
ciplusInfo EXTENSION ::= {
SYNTAX CiplusInfo
IDENTIFIED BY id-pe-ciplusInfo
}
CiplusInfo ::= BIT STRING
cicamBrandId EXTENSION ::= {
SYNTAX CicamBrandId
IDENTIFIED BY id-pe-cicamBrandId
}
CicamBrandId ::= INTEGER(1..65535)
-- Object identifier assignments
id-pe-scramblerCapabilities OBJECT IDENTIFIER ::= { id-pkix id-pe(1) 25 }
id-pe-ciplusInfo OBJECT IDENTIFIER ::= { id-pkix id-pe(1) 26 }
id-pe-cicamBrandId OBJECT IDENTIFIER ::= { id-pkix id-pe(1) 27 }
END |
ASN.1 | wireshark/epan/dissectors/asn1/x509ce/CertificateExtensionsRFC9310.asn | -- ASN.1 file from the RFC9310 definition
NFTypeCertExtn
{ iso(1) identified-organization(3) dod(6) internet(1)
security(5) mechanisms(5) pkix(7) id-mod(0)
id-mod-nftype(106) }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- NFTypes Certificate Extension
ext-NFType EXTENSION ::= {
SYNTAX NFTypes
IDENTIFIED BY id-pe-nftype }
-- NFTypes Certificate Extension OID
id-pe-nftype OBJECT IDENTIFIER ::=
{ iso(1) identified-organization(3) dod(6) internet(1)
security(5) mechanisms(5) pkix(7) id-pe(1) 34 }
-- NFTypes Certificate Extension Syntax
NFTypes ::= SEQUENCE SIZE (1..MAX) OF NFType
NFType ::= IA5String (SIZE (1..32))
END |
Text | wireshark/epan/dissectors/asn1/x509ce/CMakeLists.txt | # CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <[email protected]>
# Copyright 1998 Gerald Combs
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
set( PROTOCOL_NAME x509ce )
set( PROTO_OPT )
set( EXPORT_FILES
${PROTOCOL_NAME}-exp.cnf
)
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
CertificateExtensions.asn
CertificateExtensionsRFC9310.asn
CertificateExtensionsCiplus.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
set( EXTRA_CNF
"${CMAKE_CURRENT_BINARY_DIR}/../p1/p1-exp.cnf"
"${CMAKE_CURRENT_BINARY_DIR}/../x509af/x509af-exp.cnf"
"${CMAKE_CURRENT_BINARY_DIR}/../x509if/x509if-exp.cnf"
"${CMAKE_CURRENT_BINARY_DIR}/../x509sat/x509sat-exp.cnf"
)
set( EXPORT_DEPENDS
"${CMAKE_CURRENT_BINARY_DIR}/../x509af/x509af-exp.cnf"
)
ASN2WRS() |
C | wireshark/epan/dissectors/asn1/x509ce/packet-x509ce-template.c | /* packet-x509ce.c
* Routines for X.509 Certificate Extensions packet dissection
* Ronnie Sahlberg 2004
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/asn1.h>
#include <epan/oids.h>
#include "packet-ber.h"
#include "packet-x509ce.h"
#include "packet-x509af.h"
#include "packet-x509if.h"
#include "packet-x509sat.h"
#include "packet-p1.h"
#define PNAME "X.509 Certificate Extensions"
#define PSNAME "X509CE"
#define PFNAME "x509ce"
void proto_register_x509ce(void);
void proto_reg_handoff_x509ce(void);
/* Initialize the protocol and registered fields */
static int proto_x509ce = -1;
static int hf_x509ce_id_ce_invalidityDate = -1;
static int hf_x509ce_id_ce_baseUpdateTime = -1;
static int hf_x509ce_object_identifier_id = -1;
static int hf_x509ce_IPAddress_ipv4 = -1;
static int hf_x509ce_IPAddress_ipv6 = -1;
#include "packet-x509ce-hf.c"
/* Initialize the subtree pointers */
#include "packet-x509ce-ett.c"
#include "packet-x509ce-fn.c"
/* CI+ (www.ci-plus.com) defines some X.509 certificate extensions
that use OIDs which are not officially assigned
dissection of these extensions can be enabled temporarily using the
functions below */
void
x509ce_enable_ciplus(void)
{
dissector_handle_t dh25, dh26, dh27;
dh25 = create_dissector_handle(dissect_ScramblerCapabilities_PDU, proto_x509ce);
dissector_change_string("ber.oid", "1.3.6.1.5.5.7.1.25", dh25);
dh26 = create_dissector_handle(dissect_CiplusInfo_PDU, proto_x509ce);
dissector_change_string("ber.oid", "1.3.6.1.5.5.7.1.26", dh26);
dh27 = create_dissector_handle(dissect_CicamBrandId_PDU, proto_x509ce);
dissector_change_string("ber.oid", "1.3.6.1.5.5.7.1.27", dh27);
}
void
x509ce_disable_ciplus(void)
{
dissector_reset_string("ber.oid", "1.3.6.1.5.5.7.1.25");
dissector_reset_string("ber.oid", "1.3.6.1.5.5.7.1.26");
dissector_reset_string("ber.oid", "1.3.6.1.5.5.7.1.27");
}
static int
dissect_x509ce_invalidityDate_callback(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
{
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
return dissect_x509ce_GeneralizedTime(FALSE, tvb, 0, &asn1_ctx, tree, hf_x509ce_id_ce_invalidityDate);
}
static int
dissect_x509ce_baseUpdateTime_callback(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
{
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
return dissect_x509ce_GeneralizedTime(FALSE, tvb, 0, &asn1_ctx, tree, hf_x509ce_id_ce_baseUpdateTime);
}
/*--- proto_register_x509ce ----------------------------------------------*/
void proto_register_x509ce(void) {
/* List of fields */
static hf_register_info hf[] = {
{ &hf_x509ce_id_ce_baseUpdateTime,
{ "baseUpdateTime", "x509ce.id_ce_baseUpdateTime",
FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0,
NULL, HFILL }},
{ &hf_x509ce_id_ce_invalidityDate,
{ "invalidityDate", "x509ce.id_ce_invalidityDate",
FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0,
NULL, HFILL }},
{ &hf_x509ce_object_identifier_id,
{ "Id", "x509ce.id", FT_OID, BASE_NONE, NULL, 0,
"Object identifier Id", HFILL }},
{ &hf_x509ce_IPAddress_ipv4,
{ "iPAddress", "x509ce.IPAddress.ipv4", FT_IPv4, BASE_NONE, NULL, 0,
"IPv4 address", HFILL }},
{ &hf_x509ce_IPAddress_ipv6,
{ "iPAddress", "x509ce.IPAddress.ipv6", FT_IPv6, BASE_NONE, NULL, 0,
"IPv6 address", HFILL }},
#include "packet-x509ce-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
#include "packet-x509ce-ettarr.c"
};
/* Register protocol */
proto_x509ce = proto_register_protocol(PNAME, PSNAME, PFNAME);
/* Register fields and subtrees */
proto_register_field_array(proto_x509ce, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
}
/*--- proto_reg_handoff_x509ce -------------------------------------------*/
void proto_reg_handoff_x509ce(void) {
#include "packet-x509ce-dis-tab.c"
register_ber_oid_dissector("2.5.29.24", dissect_x509ce_invalidityDate_callback, proto_x509ce, "id-ce-invalidityDate");
register_ber_oid_dissector("2.5.29.51", dissect_x509ce_baseUpdateTime_callback, proto_x509ce, "id-ce-baseUpdateTime");
oid_add_from_string("anyPolicy","2.5.29.32.0");
}
/*
* Editor modelines - https://www.wireshark.org/tools/modelines.html
*
* Local Variables:
* c-basic-offset: 2
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* vi: set shiftwidth=2 tabstop=8 expandtab:
* :indentSize=2:tabSize=8:noTabs=true:
*/ |
C/C++ | wireshark/epan/dissectors/asn1/x509ce/packet-x509ce-template.h | /* packet-x509ce.h
* Routines for X.509 Certificate Extensions packet dissection
* Ronnie Sahlberg 2004
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_X509CE_H
#define PACKET_X509CE_H
#include "packet-x509ce-exp.h"
void x509ce_enable_ciplus(void);
void x509ce_disable_ciplus(void);
#endif /* PACKET_X509CE_H */
/*
* Editor modelines - https://www.wireshark.org/tools/modelines.html
*
* Local Variables:
* c-basic-offset: 2
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* vi: set shiftwidth=2 tabstop=8 expandtab:
* :indentSize=2:tabSize=8:noTabs=true:
*/ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.