update it

This commit is contained in:
Sukchan Lee 2018-02-26 11:57:49 +09:00
parent 888cbfbdb8
commit 7e8718e346
4 changed files with 26 additions and 5 deletions

View File

@ -722,6 +722,7 @@ FROM S1AP-CommonDataTypes
ExtendedRepetitionPeriod,
GTP-TEID,
GUMMEI,
GUMMEIType,
HandoverRestrictionList,
HandoverType,
LAI,
@ -847,6 +848,7 @@ FROM S1AP-Containers
id-eNB-UE-S1AP-ID,
id-GERANtoLTEHOInformationRes,
id-GUMMEI-ID,
id-GUMMEIType,
id-HandoverRestrictionList,
id-HandoverType,
id-InitialContextSetup,
@ -2233,7 +2235,8 @@ InitialUEMessage-IEs S1AP-PROTOCOL-IES ::= {
{ ID id-GUMMEI-ID CRITICALITY reject TYPE GUMMEI PRESENCE optional} |
{ ID id-CellAccessMode CRITICALITY reject TYPE CellAccessMode PRESENCE optional} |
{ ID id-GW-TransportLayerAddress CRITICALITY ignore TYPE TransportLayerAddress PRESENCE optional} |
{ ID id-RelayNode-Indicator CRITICALITY reject TYPE RelayNode-Indicator PRESENCE optional},
{ ID id-RelayNode-Indicator CRITICALITY reject TYPE RelayNode-Indicator PRESENCE optional} |
{ ID id-GUMMEIType CRITICALITY ignore TYPE GUMMEIType PRESENCE optional},
...
}
@ -4183,6 +4186,11 @@ GUMMEI-ExtIEs S1AP-PROTOCOL-EXTENSION ::= {
...
}
GUMMEIType ::= ENUMERATED {
native,
mapped,
...
}
GWContextReleaseIndication ::= ENUMERATED {
true,
@ -5440,7 +5448,8 @@ ProtocolIE-ID ::= INTEGER {
id-MMERelaySupportIndicator(163),
id-GWContextReleaseIndication(164),
id-ManagementBasedMDTAllowed(165),
id-PrivacyIndicator(166)
id-PrivacyIndicator(166),
id-GUMMEIType(170)
} (0..65535)
@ -5747,6 +5756,7 @@ id-MMERelaySupportIndicator Proto
id-GWContextReleaseIndication ProtocolIE-ID ::= 164
id-ManagementBasedMDTAllowed ProtocolIE-ID ::= 165
id-PrivacyIndicator ProtocolIE-ID ::= 166
id-GUMMEIType S1ap-ProtocolIE-ID ::= 170
END

View File

@ -8,7 +8,7 @@ user@host ~/Documents/git/nextepc/lib/s1ap/support$ \
* EUROCOM S1AP-IEs support files
user@host ~/Documents/git/nextepc/lib/s1ap/support$ \
python asn1tostruct.py -f fix-a90.asn -o ..
python asn1tostruct.py -f S1AP-PDU.asn -o ..
* Use AuthenticEshkinKot's fork for asn1c
user@host ~/Documents/git$ \

View File

@ -722,6 +722,7 @@ FROM S1AP-CommonDataTypes
S1ap-ExtendedRepetitionPeriod,
S1ap-GTP-TEID,
S1ap-GUMMEI,
S1ap-GUMMEIType,
S1ap-HandoverRestrictionList,
S1ap-HandoverType,
S1ap-LAI,
@ -847,6 +848,7 @@ FROM S1AP-Containers
id-eNB-UE-S1AP-ID,
id-GERANtoLTEHOInformationRes,
id-GUMMEI-ID,
id-GUMMEIType,
id-HandoverRestrictionList,
id-HandoverType,
id-InitialContextSetup,
@ -2233,7 +2235,8 @@ S1ap-InitialUEMessage-IEs S1AP-PROTOCOL-IES ::= {
{ ID id-GUMMEI-ID CRITICALITY reject TYPE S1ap-GUMMEI PRESENCE optional} |
{ ID id-CellAccessMode CRITICALITY reject TYPE S1ap-CellAccessMode PRESENCE optional} |
{ ID id-GW-TransportLayerAddress CRITICALITY ignore TYPE S1ap-TransportLayerAddress PRESENCE optional} |
{ ID id-RelayNode-Indicator CRITICALITY reject TYPE S1ap-RelayNode-Indicator PRESENCE optional},
{ ID id-RelayNode-Indicator CRITICALITY reject TYPE S1ap-RelayNode-Indicator PRESENCE optional} |
{ ID id-GUMMEIType CRITICALITY ignore TYPE S1ap-GUMMEIType PRESENCE optional},
...
}
@ -4183,6 +4186,11 @@ S1ap-GUMMEI-ExtIEs S1AP-PROTOCOL-EXTENSION ::= {
...
}
S1ap-GUMMEIType ::= ENUMERATED {
native,
mapped,
...
}
S1ap-GWContextReleaseIndication ::= ENUMERATED {
true,
@ -5440,7 +5448,8 @@ S1ap-ProtocolIE-ID ::= INTEGER {
id-MMERelaySupportIndicator(163),
id-GWContextReleaseIndication(164),
id-ManagementBasedMDTAllowed(165),
id-PrivacyIndicator(166)
id-PrivacyIndicator(166),
id-GUMMEIType(170)
} (0..65535)
@ -5747,6 +5756,7 @@ id-MMERelaySupportIndicator S1ap-
id-GWContextReleaseIndication S1ap-ProtocolIE-ID ::= 164
id-ManagementBasedMDTAllowed S1ap-ProtocolIE-ID ::= 165
id-PrivacyIndicator S1ap-ProtocolIE-ID ::= 166
id-GUMMEIType S1ap-ProtocolIE-ID ::= 170
END

View File

@ -120,6 +120,7 @@ for line in in_file:
line = line.replace('GW-S1ap-TransportLayerAddress', 'GW-TransportLayerAddress')
line = line.replace('SourceMME-S1ap-S1ap-GUMMEI', 'SourceMME-GUMMEI')
line = line.replace('SourceMME-S1ap-GUMMEI', 'SourceMME-GUMMEI')
line = line.replace('S1ap-S1ap-ProtocolIE-ID', 'S1ap-ProtocolIE-ID')
out_file.write(line)
in_file.close()