Compare commits
287 Commits
Author | SHA1 | Date |
---|---|---|
Harald Welte | 977d3b666c | |
Oliver Smith | cd318cc032 | |
Harald Welte | fc08927fd2 | |
Harald Welte | c16281f5e7 | |
Harald Welte | da6d72b47a | |
Harald Welte | 6c1857a113 | |
Harald Welte | 50a0675cde | |
Vadim Yanitskiy | a251647639 | |
Oliver Smith | 06daf81a92 | |
Daniel Willmann | a99b82b82c | |
Daniel Willmann | 2c909d1e8b | |
Pau Espin | 5484d958c6 | |
Pau Espin | 20b9eeb310 | |
Harald Welte | 801d8b0e73 | |
Vadim Yanitskiy | d6bde3f6a6 | |
Pau Espin | 0ded29a701 | |
Neels Hofmeyr | 520c406b85 | |
Neels Hofmeyr | d90552df8a | |
Neels Hofmeyr | a33955ce8f | |
Neels Hofmeyr | 29d7e780fc | |
Oliver Smith | be0b55e047 | |
Oliver Smith | c61a74f6c4 | |
arehbein | 409d497eea | |
Pau Espin | f0b84cc200 | |
Oliver Smith | a3193e4daa | |
Oliver Smith | 69bb2fab2b | |
Oliver Smith | bee7ce3f6f | |
Oliver Smith | 1d19c8e21e | |
Oliver Smith | 8d3f18888b | |
Oliver Smith | 8073e5195c | |
Oliver Smith | b3a8345189 | |
Oliver Smith | 05bb6ad563 | |
Oliver Smith | 8b6dad3331 | |
Oliver Smith | 3de4055839 | |
Oliver Smith | 535ada7cff | |
Oliver Smith | 0b19040eb0 | |
Oliver Smith | 48c038d399 | |
Oliver Smith | 0c04a7e03f | |
Vadim Yanitskiy | a9c380afae | |
Vadim Yanitskiy | c62adff36b | |
Pau Espin | f5a5e01feb | |
Harald Welte | de3c2e54f1 | |
Harald Welte | 23f9c3701d | |
Neels Hofmeyr | 3ae6e812f1 | |
Pau Espin | 753a48141e | |
Philipp Maier | c6e118af7a | |
Philipp Maier | 55e573ca33 | |
Philipp Maier | 7755801cf5 | |
Philipp Maier | d97f94a7ea | |
Philipp Maier | 63a0cfe04e | |
Philipp Maier | ca6054ef8c | |
Philipp Maier | fb58a448b1 | |
Pau Espin | fd410172bf | |
Philipp Maier | bc518cf152 | |
Pau Espin | adec82f3b1 | |
Philipp Maier | c0a0b2562b | |
Philipp Maier | 45631aa04f | |
Pau Espin | 75f77e257a | |
Philipp Maier | f3ab579e99 | |
Philipp Maier | ed1537e9cb | |
Philipp Maier | 48b8af2bde | |
Philipp Maier | 6ce5684fba | |
Pau Espin | 0ac9844c92 | |
Philipp Maier | 52ceee7c90 | |
Philipp Maier | 48612cee44 | |
Pau Espin | 140c631e50 | |
Pau Espin | a3c221728a | |
Pau Espin | e91b57d963 | |
Pau Espin | 1562225332 | |
Pau Espin | 53052963c1 | |
Oliver Smith | 9b4de3f401 | |
Pau Espin | 1bc3fb4dd9 | |
Pau Espin | d5ce4e7d2b | |
Pau Espin | ef1b61fc6c | |
Oliver Smith | f8ed10a323 | |
Oliver Smith | e321f0f77f | |
Pau Espin | df5fb9adf2 | |
Pau Espin | 1ddedcfa46 | |
Pau Espin | 52eabf3a55 | |
Pau Espin | c72d654cec | |
Pau Espin | 41fefdb12d | |
Pau Espin | 02de780ceb | |
Pau Espin | bc7c69d170 | |
Pau Espin | 651ff175d5 | |
Pau Espin | b292db8923 | |
Pau Espin | 861d9d2ebf | |
Pau Espin | e395b75619 | |
Pau Espin | 6334953f1c | |
Pau Espin | 5310f5458e | |
Oliver Smith | 6a77d1ffa5 | |
Pau Espin | b1103fc8e3 | |
Pau Espin | 44481e435e | |
Pau Espin | dba8b0c334 | |
Pau Espin | 35f2bd60ae | |
Pau Espin | 2127a71515 | |
Pau Espin | 40c1729c61 | |
Pau Espin | 6f1de40430 | |
Pau Espin | 1f6c117d07 | |
Pau Espin | 7fcd33df8c | |
Pau Espin | 68a796ebc5 | |
Harald Welte | 09d635ce9b | |
Pau Espin | c1385f2986 | |
Harald Welte | 356f49e723 | |
Pau Espin | ff8c223440 | |
Pau Espin | 79d001fcb6 | |
Harald Welte | d24839fea0 | |
Pau Espin | a94752e684 | |
Pau Espin | 2c6aed38bd | |
Harald Welte | e8299eb745 | |
Harald Welte | e3f707b8c6 | |
Harald Welte | f05c5bf6cd | |
Oliver Smith | dee13c345f | |
Pau Espin | e6342e1cab | |
Pau Espin | 8653233b57 | |
Pau Espin | 4c928485ba | |
Pau Espin | 84c3e8649a | |
Pau Espin | 634fd81f3d | |
Pau Espin | 101fba211a | |
Pau Espin | 96a94bc482 | |
Pau Espin | b4ff1f42b8 | |
Pau Espin | 89f4c80541 | |
Pau Espin | 825a1e40a8 | |
Oliver Smith | 220f0e2d94 | |
Harald Welte | d37d3c8181 | |
Harald Welte | 3f70fcd417 | |
Harald Welte | c6d93452b2 | |
Harald Welte | dc529f3d78 | |
Pau Espin | 294610160d | |
Pau Espin | 4875f09f85 | |
Vadim Yanitskiy | 83417696da | |
Pau Espin | 9074d91451 | |
Vadim Yanitskiy | 9922e083ea | |
Harald Welte | 4f18ce1ecc | |
Oliver Smith | c879975742 | |
Oliver Smith | 70abda0ab2 | |
Pau Espin | 4f35665b9f | |
Pau Espin | 6f66feb42d | |
Oliver Smith | 0e3a02776c | |
Harald Welte | 7712808e07 | |
Philipp Maier | 554dbf4fb7 | |
Eric Wild | 8d88271570 | |
Vadim Yanitskiy | 065c192475 | |
Vadim Yanitskiy | 81fd48d741 | |
Vadim Yanitskiy | 89062aeb21 | |
Neels Hofmeyr | a959dd90d2 | |
Neels Hofmeyr | 50865f8a6f | |
Pau Espin | 35e2058348 | |
Pau Espin | a008b17f2e | |
Pau Espin | ca74126d54 | |
Pau Espin | 4ab00db868 | |
Martin Hauke | c593da5d45 | |
Pau Espin | 67d32a0386 | |
Pau Espin | d5d3efb546 | |
Pau Espin | d48430d4fb | |
Vadim Yanitskiy | 11a1639b2d | |
Oliver Smith | 16441ffbb3 | |
Oliver Smith | 08699f6636 | |
Harald Welte | cc0914d018 | |
Harald Welte | 6d839f5354 | |
Alexander Couzens | 9fb8cac6dc | |
Alexander Couzens | a6eb09d6db | |
Harald Welte | e844bf7828 | |
Harald Welte | 7095c7ed0c | |
Harald Welte | f7f85ef092 | |
Harald Welte | d673facccd | |
Harald Welte | 175cc0f710 | |
Pau Espin | 965d53348e | |
Alexander Couzens | 32fc82a803 | |
Alexander Couzens | ff79699b48 | |
Alexander Couzens | 8e2a0ee8e2 | |
Alexander Couzens | 790212fcaf | |
Alexander Couzens | efdd80dc0a | |
Alexander Couzens | 609994d146 | |
Alexander Couzens | 4ae261b89b | |
Alexander Couzens | 87482b335c | |
Alexander Couzens | 80307924f1 | |
Vadim Yanitskiy | dab16ff3f5 | |
Pau Espin | 505fa9eae7 | |
Pau Espin | 92ea15a53f | |
Daniel Willmann | d4a0a77319 | |
Daniel Willmann | dc468e6442 | |
Oliver Smith | 30301f263c | |
Thorsten Alteholz | 445bdccffa | |
Oliver Smith | 89ccf5517c | |
Harald Welte | 11b1ddee21 | |
Harald Welte | 8fa35b840c | |
Oliver Smith | f601526970 | |
Neels Hofmeyr | e22027ae2a | |
Neels Hofmeyr | 39d7b5c646 | |
Neels Hofmeyr | f8d5f37c20 | |
Neels Hofmeyr | 3c839966b6 | |
Neels Hofmeyr | 04b5b662db | |
Harald Welte | 92a88ee73f | |
Oliver Smith | 456964fc41 | |
Oliver Smith | e9fd1ed4b5 | |
Stefan Sperling | 319c28581e | |
Harald Welte | 9aad185151 | |
Neels Hofmeyr | a770f6967b | |
Neels Hofmeyr | b876b421e3 | |
Pau Espin | 37c1ffdadf | |
Pau Espin | a68b6828c8 | |
Pau Espin | b69c902fe0 | |
Neels Hofmeyr | 236d1d4865 | |
Harald Welte | 2d3fae7e36 | |
Alexander Couzens | ad4ea3b10e | |
Bernhard M. Wiedemann | 7a97fcafed | |
Pau Espin | ba941e553d | |
Pau Espin | 2b88cc40eb | |
Neels Hofmeyr | cf5fbea78f | |
Neels Hofmeyr | 666121a9d9 | |
Neels Hofmeyr | 3050864b73 | |
Stefan Sperling | c964a2cfa1 | |
Pau Espin | e1c01a0262 | |
Pau Espin | aec91ab347 | |
Neels Hofmeyr | 2293df070c | |
Neels Hofmeyr | 8a2b6e2b6f | |
Neels Hofmeyr | 02296af07d | |
Neels Hofmeyr | e3644ac476 | |
Neels Hofmeyr | 6814d22d5f | |
Neels Hofmeyr | 70d3ece487 | |
Pau Espin | e9b4c390b4 | |
Max | 9d60ce6107 | |
Max | bfeea6713b | |
Max | ef727410b2 | |
Max | 1e57ba503e | |
Harald Welte | f8b73b15c0 | |
Harald Welte | 8e88d37cec | |
Neels Hofmeyr | 3bd8a55661 | |
Neels Hofmeyr | 23f3fdc6b2 | |
Neels Hofmeyr | 4e2681df26 | |
Neels Hofmeyr | da58d26cbc | |
Neels Hofmeyr | e045da0261 | |
Neels Hofmeyr | 1e9f4f5432 | |
Neels Hofmeyr | b10e2937d9 | |
Neels Hofmeyr | aa3e9ebcb4 | |
Neels Hofmeyr | f33d16404d | |
Neels Hofmeyr | 9e17e054e4 | |
Neels Hofmeyr | 140f38c55e | |
Neels Hofmeyr | 6eeef115a9 | |
Neels Hofmeyr | 66d6d760aa | |
Philipp Maier | aa8d48cbe0 | |
Philipp Maier | 1eb19cf690 | |
Philipp Maier | ee03876dd1 | |
Neels Hofmeyr | ade7e8b19b | |
Neels Hofmeyr | f898d6bc10 | |
Neels Hofmeyr | 2c56f6d454 | |
Neels Hofmeyr | 69888c86ed | |
Neels Hofmeyr | accb78000b | |
Neels Hofmeyr | b593969dd7 | |
Neels Hofmeyr | 2af648f443 | |
Neels Hofmeyr | c6ed1c3ae8 | |
Neels Hofmeyr | 54df0a1095 | |
Neels Hofmeyr | d9cb19a8fb | |
Harald Welte | da86fe5ae3 | |
Harald Welte | ffc2093858 | |
Harald Welte | ee69470da6 | |
Harald Welte | 47bba70cec | |
Neels Hofmeyr | e90f13e82d | |
Neels Hofmeyr | 8e1c07308c | |
Neels Hofmeyr | 4325a2ac4b | |
Neels Hofmeyr | dfc75df199 | |
Neels Hofmeyr | b0c650e7b0 | |
Harald Welte | 493366ec7b | |
Harald Welte | 7235ea02d7 | |
Neels Hofmeyr | 8a257b6c5a | |
Harald Welte | cc1afdfb7e | |
Harald Welte | 257771ca65 | |
Harald Welte | 961674aa09 | |
Alexander Couzens | 5164038993 | |
Harald Welte | a3f4e79a9d | |
Max | 5a3df8fa9f | |
Max | 3ce7584281 | |
Alexander Couzens | e03d8a0c97 | |
Neels Hofmeyr | 1aef9a6e1f | |
Alexander Couzens | e485cdd38b | |
Neels Hofmeyr | ecbdc5cb06 | |
Alexander Couzens | 5e0292a641 | |
Neels Hofmeyr | aae68b2791 | |
Neels Hofmeyr | 13850b1e5d | |
Neels Hofmeyr | a3bcd6d1e7 | |
Neels Hofmeyr | 3b42658836 | |
Neels Hofmeyr | 54e6e1fc30 | |
Neels Hofmeyr | c3614318af | |
Neels Hofmeyr | cb24631650 | |
Neels Hofmeyr | 0f88c11009 | |
Neels Hofmeyr | 12ed975996 | |
Neels Hofmeyr | e305f4d506 |
|
@ -21,23 +21,35 @@ missing
|
|||
Makefile.in
|
||||
Makefile
|
||||
Makefile.am.sample
|
||||
src/tests/atconfig
|
||||
src/tests/dummy-cn
|
||||
src/tests/hnb-test
|
||||
src/tests/package.m4
|
||||
src/tests/test-helpers
|
||||
src/tests/test-hnbap
|
||||
src/tests/test-ranap
|
||||
src/tests/testsuite
|
||||
src/tests/testsuite.dir
|
||||
src/tests/testsuite.log
|
||||
tests/atconfig
|
||||
tests/dummy-cn
|
||||
tests/hnb-test
|
||||
tests/package.m4
|
||||
tests/test-helpers
|
||||
tests/test-hnbap
|
||||
tests/test-ranap
|
||||
tests/testsuite
|
||||
tests/testsuite.dir
|
||||
tests/testsuite.log
|
||||
src/osmo-hnbgw
|
||||
tags
|
||||
libosmo-hnbap.pc
|
||||
libosmo-ranap.pc
|
||||
libosmo-rua.pc
|
||||
libosmo-sabp.pc
|
||||
m4
|
||||
gen_hnbap.stamp
|
||||
gen_rua.stamp
|
||||
gen_ranap.stamp
|
||||
gen_sabp.stamp
|
||||
include/osmocom/hnbap/hnbap_ies_defs.h
|
||||
include/osmocom/rua/rua_ies_defs.h
|
||||
include/osmocom/ranap/ranap_ies_defs.h
|
||||
include/osmocom/sabp/sabp_ies_defs.h
|
||||
|
||||
doc/manuals/build
|
||||
doc/manuals/common
|
||||
doc/manuals/generated
|
||||
doc/manuals/*.pdf
|
||||
|
||||
contrib/osmo-iuh.spec
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
[gerrit]
|
||||
host=gerrit.osmocom.org
|
||||
project=osmo-iuh
|
14
Makefile.am
14
Makefile.am
|
@ -1,11 +1,19 @@
|
|||
AUTOMAKE_OPTIONS = foreign dist-bzip2
|
||||
|
||||
SUBDIRS = src include doc
|
||||
SUBDIRS = src include doc tests
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = libosmo-ranap.pc
|
||||
pkgconfig_DATA = libosmo-hnbap.pc libosmo-ranap.pc libosmo-rua.pc libosmo-sabp.pc
|
||||
|
||||
EXTRA_DIST = asn1 .version README.md
|
||||
EXTRA_DIST = \
|
||||
.version \
|
||||
README.md \
|
||||
asn1 \
|
||||
debian \
|
||||
git-version-gen \
|
||||
$(NULL)
|
||||
|
||||
@RELMAKE@
|
||||
|
||||
BUILT_SOURCES = $(top_srcdir)/.version
|
||||
$(top_srcdir)/.version:
|
||||
|
|
37
README.md
37
README.md
|
@ -1,10 +1,9 @@
|
|||
osmo-iuh - Osmocom Iuh and HNB-GW implementation
|
||||
osmo-iuh - Osmocom Iuh implementation
|
||||
================================================
|
||||
|
||||
This repository contains a C-language implementation of the 3GPP Iuh
|
||||
interface, together with a HNB-GW (Home NodeB Gateway). You can use it
|
||||
to interface Iuh-speaking femtocells/small cells to Iu-speaking MSCs and
|
||||
SGSNs.
|
||||
interface. You can use it to interface Iuh-speaking femtocells/small cells to
|
||||
Iu-speaking MSCs and SGSNs.
|
||||
|
||||
It is part of the [Osmocom](https://osmocom.org/) Open Source Mobile
|
||||
Communications project.
|
||||
|
@ -20,9 +19,9 @@ GIT Repository
|
|||
|
||||
You can clone from the official libosmocore.git repository using
|
||||
|
||||
git clone git://git.osmocom.org/osmo-iuh.git
|
||||
git clone https://gitea.osmocom.org/cellular-infrastructure/osmo-iuh
|
||||
|
||||
There is a cgit interface at http://git.osmocom.org/osmo-iuh/
|
||||
There is a web interface at <https://gitea.osmocom.org/cellular-infrastructure/osmo-iuh>
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
@ -65,11 +64,11 @@ It is generally best to check the wiki for the most up-to-date build
|
|||
instructions.
|
||||
|
||||
As external library dependencies, you will need
|
||||
* libosmocore from git://git.osmocom.org/libosmocore
|
||||
* libasn1c from git://git.osmocom.org/libasn1c
|
||||
* libosmocore from https://gitea.osmocom.org/osmocom/libosmocore
|
||||
* libasn1c from https://gitea.osmocom.org/cellular-infrastructure/libasn1c
|
||||
* libsctp-dev (this is the package name in Debian)
|
||||
* libosmo-netif from git://git.osmocom.org/libosmo-netif (sysmocom/sctp branch)
|
||||
* libosmo-sccp from git://git.osmocom.org/libosmo-sccp (sysmocom/iu branch)
|
||||
* libosmo-netif from https://gitea.osmocom.org/osmocom/libosmo-netif
|
||||
* libosmo-sccp from https://gitea.osmocom.org/osmocom/libosmo-sccp
|
||||
|
||||
To bootstrap the build, in the root directory, run:
|
||||
|
||||
|
@ -81,23 +80,13 @@ After that, run the usual
|
|||
make
|
||||
[sudo] make install
|
||||
|
||||
Using
|
||||
-----
|
||||
|
||||
Note: osmo-iuh just left very active development (December 2015, January
|
||||
2016), so your mileage may vary.
|
||||
|
||||
If you run the 'hnbgw' executable, it will open a listening SCTP socket
|
||||
and wait for incoming Iuh connections. It will accept any
|
||||
HNB-REGISTER-REQUEST, and it will establish Iu (over SUA) connections
|
||||
towards the MSC and SGSN.
|
||||
|
||||
Regenerating C code from ASN.1 source
|
||||
-------------------------------------
|
||||
|
||||
In order to re-generate the C source code from the ASN.1 source,
|
||||
you will need a modified asn1c which has the following features:
|
||||
* APER support (the patch from Eurecom, or its forward-ported version
|
||||
from the aper branch of git://git.osmocom.org/asn1c)
|
||||
* support for prefixing the generated types (aper-prefix branch of
|
||||
git://git.osmocom.org/asn1c)
|
||||
from the aper branch of https://gitea.osmocom.org/osmocom/asn1c)
|
||||
* Support for prefixing the generated types (aper-prefix branch of
|
||||
https://gitea.osmocom.org/osmocom/asn1c)
|
||||
* Then in osmo-iuh.git: make -C src/ regen
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
# When cleaning up this file: bump API version in corresponding Makefile.am and rename corresponding debian/lib*.install
|
||||
# according to https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info
|
||||
# In short:
|
||||
# LIBVERSION=c:r:a
|
||||
# If the library source code has changed at all since the last update, then increment revision: c:r + 1:a.
|
||||
# If any interfaces have been added, removed, or changed since the last update: c + 1:0:0.
|
||||
# If any interfaces have been added since the last public release: c:r:a + 1.
|
||||
# If any interfaces have been removed or changed since the last public release: c:r:0.
|
||||
#library what description / commit summary line
|
|
@ -22,7 +22,7 @@ foreach my $k (keys %h) {
|
|||
next;
|
||||
}
|
||||
printf("%s ::= INTEGER {\n", $k);
|
||||
foreach my $r (sort { $a <=> $b } keys $h{$k}) {
|
||||
foreach my $r (sort { $a <=> $b } keys %{$h{$k}}) {
|
||||
printf("\t%s(%d),\n", $h{$k}{$r}, $r);
|
||||
}
|
||||
printf("}\n");
|
||||
|
|
|
@ -127,7 +127,8 @@ CriticalityDiagnostics ::= SEQUENCE {
|
|||
...
|
||||
}
|
||||
|
||||
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF
|
||||
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF CriticalityDiagnostics-IE-List-Value
|
||||
CriticalityDiagnostics-IE-List-Value ::=
|
||||
SEQUENCE {
|
||||
iECriticality Criticality,
|
||||
iE-ID ProtocolIE-ID,
|
||||
|
|
|
@ -265,7 +265,8 @@ Ass-RAB-Parameter-GuaranteedBitrateList ::= SEQUENCE (SIZE (1..maxNrOfSeparateTr
|
|||
|
||||
Ass-RAB-Parameter-MaxBitrateList ::= SEQUENCE (SIZE (1..maxNrOfSeparateTrafficDirections)) OF MaxBitrate
|
||||
|
||||
AuthorisedPLMNs ::= SEQUENCE (SIZE (1..maxNrOfPLMNsSN)) OF
|
||||
AuthorisedPLMNs ::= SEQUENCE (SIZE (1..maxNrOfPLMNsSN)) OF AuthorisedPLMNs-Value
|
||||
AuthorisedPLMNs-Value ::=
|
||||
SEQUENCE {
|
||||
pLMNidentity PLMNidentity,
|
||||
authorisedSNAsList AuthorisedSNAs OPTIONAL,
|
||||
|
@ -479,7 +480,8 @@ CriticalityDiagnostics ::= SEQUENCE {
|
|||
...
|
||||
}
|
||||
|
||||
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF
|
||||
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF CriticalityDiagnostics-IE-List-Value
|
||||
CriticalityDiagnostics-IE-List-Value ::=
|
||||
SEQUENCE {
|
||||
iECriticality Criticality,
|
||||
iE-ID ProtocolIE-ID,
|
||||
|
@ -488,7 +490,8 @@ CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF
|
|||
...
|
||||
}
|
||||
|
||||
MessageStructure ::= SEQUENCE (SIZE (1..maxNrOfLevels)) OF
|
||||
MessageStructure ::= SEQUENCE (SIZE (1..maxNrOfLevels)) OF MessageStructure-Value
|
||||
MessageStructure-Value ::=
|
||||
SEQUENCE {
|
||||
iE-ID ProtocolIE-ID,
|
||||
repetitionNumber RepetitionNumber1 OPTIONAL,
|
||||
|
@ -753,7 +756,8 @@ GA-PointWithUnCertaintyEllipse ::= SEQUENCE {
|
|||
...
|
||||
}
|
||||
|
||||
GA-Polygon ::= SEQUENCE (SIZE (1..maxNrOfPoints)) OF
|
||||
GA-Polygon ::= SEQUENCE (SIZE (1..maxNrOfPoints)) OF GA-Polygon-Value
|
||||
GA-Polygon-Value ::=
|
||||
SEQUENCE {
|
||||
geographicalCoordinates GeographicalCoordinates,
|
||||
iE-Extensions IE-Extensions OPTIONAL,
|
||||
|
@ -923,7 +927,8 @@ KeyStatus ::= ENUMERATED {
|
|||
}
|
||||
-- L
|
||||
|
||||
LA-LIST ::= SEQUENCE (SIZE (1..maxNrOfLAs)) OF
|
||||
LA-LIST ::= SEQUENCE (SIZE (1..maxNrOfLAs)) OF LA-LIST-Value
|
||||
LA-LIST-Value ::=
|
||||
SEQUENCE {
|
||||
lAC LAC,
|
||||
listOF-SNAs ListOF-SNAs,
|
||||
|
@ -1336,7 +1341,8 @@ LoggingDuration ::= ENUMERATED {
|
|||
|
||||
PLMNidentity ::= OCTET STRING (SIZE (3))
|
||||
|
||||
PLMNs-in-shared-network ::= SEQUENCE (SIZE (1..maxNrOfPLMNsSN)) OF
|
||||
PLMNs-in-shared-network ::= SEQUENCE (SIZE (1..maxNrOfPLMNsSN)) OF PLMNs-in-shared-network-Value
|
||||
PLMNs-in-shared-network-Value ::=
|
||||
SEQUENCE {
|
||||
pLMNidentity PLMNidentity,
|
||||
lA-LIST LA-LIST,
|
||||
|
@ -1414,7 +1420,8 @@ RABased ::= SEQUENCE {
|
|||
RAI-List ::= SEQUENCE (SIZE (1..maxNrOfRAIs)) OF
|
||||
RAI
|
||||
|
||||
RABDataVolumeReport ::= SEQUENCE (SIZE (1..maxNrOfVol)) OF
|
||||
RABDataVolumeReport ::= SEQUENCE (SIZE (1..maxNrOfVol)) OF RABDataVolumeReport-Value
|
||||
RABDataVolumeReport-Value ::=
|
||||
SEQUENCE {
|
||||
dl-UnsuccessfullyTransmittedDataVolume UnsuccessfullyTransmittedDataVolume,
|
||||
dataVolumeReference DataVolumeReference OPTIONAL,
|
||||
|
@ -1456,7 +1463,8 @@ RAB-Parameters ::= SEQUENCE {
|
|||
...
|
||||
}
|
||||
|
||||
RABParametersList ::= SEQUENCE (SIZE (1.. maxNrOfRABs)) OF SEQUENCE {
|
||||
RABParametersList ::= SEQUENCE (SIZE (1.. maxNrOfRABs)) OF RABParametersList-Value
|
||||
RABParametersList-Value ::= SEQUENCE {
|
||||
rab-Id RAB-ID,
|
||||
cn-domain CN-DomainIndicator,
|
||||
rabDataVolumeReport RABDataVolumeReport OPTIONAL,
|
||||
|
@ -1848,7 +1856,8 @@ RSRQ-Type ::= SEQUENCE {
|
|||
|
||||
RSRQ-Extension ::= INTEGER (-30..46, ...)
|
||||
|
||||
EUTRANFrequencies ::= SEQUENCE (SIZE (1..maxNrOfEUTRAFreqs)) OF SEQUENCE {
|
||||
EUTRANFrequencies ::= SEQUENCE (SIZE (1..maxNrOfEUTRAFreqs)) OF EUTRANFrequencies-Value
|
||||
EUTRANFrequencies-Value ::= SEQUENCE {
|
||||
earfcn INTEGER (0..65535),
|
||||
measBand MeasBand OPTIONAL,
|
||||
iE-Extensions IE-Extensions OPTIONAL}
|
||||
|
|
|
@ -780,7 +780,8 @@ CNMBMSLinkingInformation-ExtIEs RANAP-PROTOCOL-EXTENSION ::= {
|
|||
...
|
||||
}
|
||||
|
||||
JoinedMBMSBearerService-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF
|
||||
JoinedMBMSBearerService-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF JoinedMBMSBearerService-IEs-Value
|
||||
JoinedMBMSBearerService-IEs-Value ::=
|
||||
SEQUENCE {
|
||||
tMGI TMGI,
|
||||
mBMS-PTP-RAB-ID MBMS-PTP-RAB-ID,
|
||||
|
@ -2301,7 +2302,8 @@ RAB-ReleasedItem-ExtIEs RANAP-PROTOCOL-EXTENSION ::= {
|
|||
...
|
||||
}
|
||||
|
||||
DataVolumeList ::= SEQUENCE (SIZE (1..maxNrOfVol)) OF
|
||||
DataVolumeList ::= SEQUENCE (SIZE (1..maxNrOfVol)) OF DataVolumeList-Value
|
||||
DataVolumeList-Value ::=
|
||||
SEQUENCE {
|
||||
dl-UnsuccessfullyTransmittedDataVolume UnsuccessfullyTransmittedDataVolume,
|
||||
dataVolumeReference DataVolumeReference OPTIONAL,
|
||||
|
@ -3210,7 +3212,8 @@ MBMSUELinkingRequestIEs RANAP-PROTOCOL-IES ::= {
|
|||
...
|
||||
}
|
||||
|
||||
LeftMBMSBearerService-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF
|
||||
LeftMBMSBearerService-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF LeftMBMSBearerService-IEs-Value
|
||||
LeftMBMSBearerService-IEs-Value ::=
|
||||
SEQUENCE {
|
||||
tMGI TMGI,
|
||||
iE-Extensions ProtocolExtensionContainer { {LeftMBMSBearerService-ExtIEs} } OPTIONAL,
|
||||
|
@ -3243,7 +3246,8 @@ MBMSUELinkingResponseIEs RANAP-PROTOCOL-IES ::= {
|
|||
...
|
||||
}
|
||||
|
||||
UnsuccessfulLinking-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF
|
||||
UnsuccessfulLinking-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF UnsuccessfulLinking-IEs-Value
|
||||
UnsuccessfulLinking-IEs-Value ::=
|
||||
SEQUENCE {
|
||||
tMGI TMGI,
|
||||
cause Cause,
|
||||
|
|
|
@ -735,7 +735,8 @@ CNMBMSLinkingInformation ::= SEQUENCE {
|
|||
...
|
||||
}
|
||||
|
||||
JoinedMBMSBearerService-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF
|
||||
JoinedMBMSBearerService-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF JoinedMBMSBearerService-IEs-Value
|
||||
JoinedMBMSBearerService-IEs-Value ::=
|
||||
SEQUENCE {
|
||||
tMGI TMGI,
|
||||
mBMS-PTP-RAB-ID MBMS-PTP-RAB-ID,
|
||||
|
@ -885,7 +886,8 @@ RAB-ReleasedItem ::= SEQUENCE {
|
|||
...
|
||||
}
|
||||
|
||||
DataVolumeList ::= SEQUENCE (SIZE (1..maxNrOfVol)) OF
|
||||
DataVolumeList ::= SEQUENCE (SIZE (1..maxNrOfVol)) OF DataVolumeList-Value
|
||||
DataVolumeList-Value ::=
|
||||
SEQUENCE {
|
||||
dl-UnsuccessfullyTransmittedDataVolume UnsuccessfullyTransmittedDataVolume,
|
||||
dataVolumeReference DataVolumeReference OPTIONAL,
|
||||
|
@ -1004,14 +1006,16 @@ MBMSSynchronisationInformation ::= SEQUENCE {
|
|||
...
|
||||
}
|
||||
|
||||
LeftMBMSBearerService-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF
|
||||
LeftMBMSBearerService-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF LeftMBMSBearerService-IEs-Value
|
||||
LeftMBMSBearerService-IEs-Value ::=
|
||||
SEQUENCE {
|
||||
tMGI TMGI,
|
||||
iE-Extensions ProtocolExtensionContainer OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
UnsuccessfulLinking-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF
|
||||
UnsuccessfulLinking-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF UnsuccessfulLinking-IEs-Value
|
||||
UnsuccessfulLinking-IEs-Value ::=
|
||||
SEQUENCE {
|
||||
tMGI TMGI,
|
||||
cause Cause,
|
||||
|
|
|
@ -165,7 +165,8 @@ CriticalityDiagnostics ::= SEQUENCE {
|
|||
...
|
||||
}
|
||||
|
||||
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF
|
||||
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF CriticalityDiagnostics-IE-List-Value
|
||||
CriticalityDiagnostics-IE-List-Value ::=
|
||||
SEQUENCE {
|
||||
iECriticality Criticality,
|
||||
iE-ID ProtocolIE-ID,
|
||||
|
|
|
@ -12,10 +12,6 @@
|
|||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
The full GNU General Public License is included in this distribution in
|
||||
the file called "COPYING".
|
||||
|
||||
|
|
|
@ -12,10 +12,6 @@
|
|||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
The full GNU General Public License is included in this distribution in
|
||||
the file called "COPYING".
|
||||
|
||||
|
|
|
@ -12,10 +12,6 @@
|
|||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
The full GNU General Public License is included in this distribution in
|
||||
the file called "COPYING".
|
||||
|
||||
|
|
|
@ -0,0 +1,49 @@
|
|||
--
|
||||
-- Common definitions
|
||||
--
|
||||
-- **************************************************************
|
||||
SABP-CommonDataTypes {
|
||||
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
|
||||
umts-Access (20) modules (3) sabp (3) version1 (1) sabp-CommonDataTypes (3) }
|
||||
DEFINITIONS AUTOMATIC TAGS ::=
|
||||
BEGIN
|
||||
Criticality ::= ENUMERATED { reject, ignore, notify }
|
||||
Presence ::= ENUMERATED { optional, conditional, mandatory }
|
||||
|
||||
ProcedureCode ::= INTEGER {
|
||||
id-Write-Replace(0),
|
||||
id-Kill(1),
|
||||
id-Load-Status-Enquiry(2),
|
||||
id-Message-Status-Query(3),
|
||||
id-Restart-Indication(4),
|
||||
id-Reset(5),
|
||||
id-Failure-Indication(6),
|
||||
id-Error-Indication(7)
|
||||
} (0..255)
|
||||
ProtocolExtensionID ::= INTEGER (0..65535)
|
||||
ProtocolIE-ID ::= INTEGER {
|
||||
id-Broadcast-Message-Content(0),
|
||||
id-Category(1),
|
||||
id-Cause(2),
|
||||
id-Data-Coding-Scheme(4),
|
||||
id-Failure-List(5),
|
||||
id-Message-Identifier(6),
|
||||
id-New-Serial-Number(7),
|
||||
id-Number-of-Broadcasts-Completed-List(8),
|
||||
id-Number-of-Broadcasts-Requested(9),
|
||||
id-Old-Serial-Number(10),
|
||||
id-Radio-Resource-Loading-List(11),
|
||||
id-Recovery-Indication(12),
|
||||
id-Repetition-Period(13),
|
||||
id-Serial-Number(14),
|
||||
id-Service-Areas-List(15),
|
||||
id-MessageStructure(16),
|
||||
id-TypeOfError(17),
|
||||
id-Paging-ETWS-Indicator(18),
|
||||
id-Warning-Type(19),
|
||||
id-WarningSecurityInfo(20),
|
||||
id-Broadcast-Message-Content-Validity-Indicator(21)
|
||||
} (0..65535)
|
||||
|
||||
TriggeringMessage ::= ENUMERATED {initiating-message, successful-outcome, unsuccessful-outcome, outcome}
|
||||
END
|
|
@ -0,0 +1,73 @@
|
|||
-- **************************************************************
|
||||
--
|
||||
-- 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
|
||||
|
||||
IMPORTS
|
||||
ProcedureCode,
|
||||
ProtocolIE-ID
|
||||
FROM SABP-CommonDataTypes;
|
||||
|
||||
|
||||
-- **************************************************************
|
||||
--
|
||||
-- Elementary Procedures
|
||||
--
|
||||
-- **************************************************************
|
||||
id-Write-Replace ProcedureCode ::= 0
|
||||
id-Kill ProcedureCode ::= 1
|
||||
id-Load-Status-Enquiry ProcedureCode ::= 2
|
||||
id-Message-Status-Query ProcedureCode ::= 3
|
||||
id-Restart-Indication ProcedureCode ::= 4
|
||||
id-Reset ProcedureCode ::= 5
|
||||
id-Failure-Indication ProcedureCode ::= 6
|
||||
id-Error-Indication ProcedureCode ::= 7
|
||||
-- **************************************************************
|
||||
--
|
||||
-- IEs
|
||||
--
|
||||
-- **************************************************************
|
||||
id-Broadcast-Message-Content ProtocolIE-ID ::= 0
|
||||
id-Category ProtocolIE-ID ::= 1
|
||||
id-Cause ProtocolIE-ID ::= 2
|
||||
id-Criticality-Diagnostics ProtocolIE-ID ::=3
|
||||
id-Data-Coding-Scheme ProtocolIE-ID ::= 4
|
||||
id-Failure-List ProtocolIE-ID ::= 5
|
||||
id-Message-Identifier ProtocolIE-ID ::= 6
|
||||
id-New-Serial-Number ProtocolIE-ID ::= 7
|
||||
id-Number-of-Broadcasts-Completed-List ProtocolIE-ID ::= 8
|
||||
id-Number-of-Broadcasts-Requested ProtocolIE-ID ::= 9
|
||||
id-Old-Serial-Number ProtocolIE-ID ::= 10
|
||||
id-Radio-Resource-Loading-List ProtocolIE-ID ::= 11
|
||||
id-Recovery-Indication ProtocolIE-ID ::= 12
|
||||
id-Repetition-Period ProtocolIE-ID ::= 13
|
||||
id-Serial-Number ProtocolIE-ID ::= 14
|
||||
id-Service-Areas-List ProtocolIE-ID ::= 15
|
||||
id-MessageStructure ProtocolIE-ID ::= 16
|
||||
id-TypeOfError ProtocolIE-ID ::= 17
|
||||
id-Paging-ETWS-Indicator ProtocolIE-ID ::= 18
|
||||
id-Warning-Type ProtocolIE-ID ::= 19
|
||||
id-WarningSecurityInfo ProtocolIE-ID ::= 20
|
||||
id-Broadcast-Message-Content-Validity-Indicator ProtocolIE-ID ::= 21
|
||||
-- **************************************************************
|
||||
--
|
||||
-- Extension constants
|
||||
--
|
||||
-- **************************************************************
|
||||
-- **************************************************************
|
||||
--
|
||||
-- Lists
|
||||
--
|
||||
-- **************************************************************
|
||||
maxNrOfErrors INTEGER ::= 256
|
||||
maxnoofSAI INTEGER ::= 65535
|
||||
maxProtocolExtensions INTEGER ::= 65535
|
||||
maxProtocolIEs INTEGER ::= 65535
|
||||
maxNrOfLevels INTEGER ::= 256
|
||||
END
|
|
@ -0,0 +1,94 @@
|
|||
-- **************************************************************
|
||||
--
|
||||
-- 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
|
|
@ -0,0 +1,208 @@
|
|||
-- **************************************************************
|
||||
--
|
||||
-- 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,
|
||||
maxProtocolExtensions,
|
||||
id-MessageStructure,
|
||||
id-TypeOfError
|
||||
FROM SABP-Constants
|
||||
Criticality,
|
||||
ProcedureCode,
|
||||
TriggeringMessage,
|
||||
ProtocolIE-ID
|
||||
FROM SABP-CommonDataTypes
|
||||
IE
|
||||
FROM SABP-PDU;
|
||||
|
||||
IE-Extensions ::= SEQUENCE (SIZE (1..maxProtocolExtensions)) OF IE
|
||||
|
||||
-- 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 IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
CriticalityDiagnostics-ExtIEs SABP-PROTOCOL-EXTENSION ::= {
|
||||
...
|
||||
}
|
||||
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF CriticalityDiagnostics-IE-List-Value
|
||||
CriticalityDiagnostics-IE-List-Value ::=
|
||||
SEQUENCE {
|
||||
iECriticality Criticality,
|
||||
iE-ID ProtocolIE-ID,
|
||||
repetitionNumber RepetitionNumber0 OPTIONAL,
|
||||
iE-Extensions IE-Extensions 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 MessageStructure-Value
|
||||
MessageStructure-Value ::=
|
||||
SEQUENCE {
|
||||
iE-ID ProtocolIE-ID,
|
||||
repetitionNumber RepetitionNumber1 OPTIONAL,
|
||||
iE-Extensions IE-Extensions 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 IE-Extensions 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 IE-Extensions 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 IE-Extensions 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
|
|
@ -0,0 +1,447 @@
|
|||
-- **************************************************************
|
||||
--
|
||||
-- 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
|
|
@ -0,0 +1,168 @@
|
|||
-- **************************************************************
|
||||
--
|
||||
-- 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
|
|
@ -0,0 +1,141 @@
|
|||
SABP-PDU {
|
||||
itu-t (0) identified-organization (4) etsi (0) mobileDomain (0)
|
||||
umts-Access (20) modules (3) sabp(3) version1 (1) sabp-PDU (255) }
|
||||
|
||||
DEFINITIONS AUTOMATIC TAGS ::=
|
||||
|
||||
BEGIN
|
||||
|
||||
IMPORTS
|
||||
maxProtocolIEs
|
||||
FROM SABP-Constants
|
||||
|
||||
Criticality,
|
||||
ProcedureCode,
|
||||
ProtocolIE-ID
|
||||
FROM SABP-CommonDataTypes;
|
||||
|
||||
SABP-PDU ::= CHOICE {
|
||||
initiatingMessage InitiatingMessage,
|
||||
successfulOutcome SuccessfulOutcome,
|
||||
unsuccessfulOutcome UnsuccessfulOutcome,
|
||||
...
|
||||
}
|
||||
|
||||
InitiatingMessage ::= SEQUENCE {
|
||||
procedureCode ProcedureCode,
|
||||
criticality Criticality,
|
||||
value ANY
|
||||
}
|
||||
|
||||
SuccessfulOutcome ::= SEQUENCE {
|
||||
procedureCode ProcedureCode,
|
||||
criticality Criticality,
|
||||
value ANY
|
||||
}
|
||||
|
||||
UnsuccessfulOutcome ::= SEQUENCE {
|
||||
procedureCode ProcedureCode,
|
||||
criticality Criticality,
|
||||
value ANY
|
||||
}
|
||||
|
||||
|
||||
Write-Replace ::= SEQUENCE {
|
||||
write-Replace-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Write-Replace-Complete ::= SEQUENCE {
|
||||
write-Replace-Complete-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Write-Replace-Failure ::= SEQUENCE {
|
||||
write-Replace-Failure-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Kill ::= SEQUENCE {
|
||||
kill-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Kill-Complete ::= SEQUENCE {
|
||||
kill-Complete-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Kill-Failure ::= SEQUENCE {
|
||||
kill-Failure-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Load-Query ::= SEQUENCE {
|
||||
load-Query-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Load-Query-Complete ::= SEQUENCE {
|
||||
load-Query-Complete-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Load-Query-Failure ::= SEQUENCE {
|
||||
load-Query-Failure-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Message-Status-Query ::= SEQUENCE {
|
||||
message-Status-Query-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Message-Status-Query-Complete ::= SEQUENCE {
|
||||
message-Status-Query-Complete-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Message-Status-Query-Failure ::= SEQUENCE {
|
||||
message-Status-Query-Failure-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Reset ::= SEQUENCE {
|
||||
reset-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Reset-Complete ::= SEQUENCE {
|
||||
reset-Complete-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Reset-Failure ::= SEQUENCE {
|
||||
reset-Failure-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Restart ::= SEQUENCE {
|
||||
restart-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Failure ::= SEQUENCE {
|
||||
failure-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
Error-Indication ::= SEQUENCE {
|
||||
error-Indication-ies SEQUENCE (SIZE (0..maxProtocolIEs)) OF IE,
|
||||
...
|
||||
}
|
||||
|
||||
|
||||
IE ::= SEQUENCE {
|
||||
id ProtocolIE-ID,
|
||||
criticality Criticality,
|
||||
value ANY
|
||||
}
|
||||
|
||||
END
|
|
@ -0,0 +1,57 @@
|
|||
#!/usr/bin/env python3
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
# Copyright 2022 sysmocom - s.f.m.c. GmbH <info@sysmocom.de>
|
||||
"""
|
||||
Avoid compiler warnings like "‘struct HNBAP_CriticalityDiagnostics_IE_List__Member’
|
||||
declared inside parameter list will not be visible outside of this definition
|
||||
or declaration", which break compiling the sources with -Werror and can't be
|
||||
ignored with diagnostics as they don't have their own type (unlike e.g.
|
||||
-Wuninitialized).
|
||||
|
||||
This problem is explained further in:
|
||||
https://github.com/vlm/asn1c/issues/430
|
||||
|
||||
To avoid this, convert "SQUENCE … OF SEQUENCE" like here:
|
||||
|
||||
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF
|
||||
SEQUENCE {
|
||||
…
|
||||
to "SEQUENCE … OF …-Value" and below that "…-Value ::= SEQUENCE":
|
||||
|
||||
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF CriticalityDiagnostics-IE-List-Value
|
||||
CriticalityDiagnostics-IE-List-Value ::=
|
||||
SEQUENCE {
|
||||
…
|
||||
"""
|
||||
import glob
|
||||
import re
|
||||
|
||||
re_seq_of = re.compile("([A-Za-z0-0-]*)\s*::=\s*SEQUENCE .* OF$")
|
||||
re_seq_of2 = re.compile("([A-Za-z0-0-]*)\s*::=\s*SEQUENCE .* OF SEQUENCE\s*{$")
|
||||
|
||||
for file in glob.glob("asn1/*/*.asn"):
|
||||
print(f"{file}:")
|
||||
with open(file) as handle:
|
||||
lines = handle.readlines()
|
||||
|
||||
for i, line in enumerate(lines):
|
||||
match = re_seq_of.search(line)
|
||||
if match and "SEQUENCE" in lines[i + 1]:
|
||||
name_value = f"{match.group(1)}-Value"
|
||||
print(f" {name_value}")
|
||||
lines[i] = f"{line.rstrip()} {name_value}\n{name_value} ::=\n"
|
||||
continue
|
||||
|
||||
match = re_seq_of2.search(line)
|
||||
if match:
|
||||
name_value = f"{match.group(1)}-Value"
|
||||
print(f" {name_value}")
|
||||
line = line.split(" OF SEQUENCE")[0]
|
||||
lines[i] = f"{line} OF {name_value}\n{name_value} ::= SEQUENCE {{\n"
|
||||
continue
|
||||
|
||||
with open(file, "w") as handle:
|
||||
handle.writelines(lines)
|
||||
|
||||
|
||||
print("Done")
|
|
@ -1,9 +1,10 @@
|
|||
#!/usr/bin/env python2
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import re, os, sys, string
|
||||
import datetime
|
||||
import getopt
|
||||
import getpass
|
||||
import time
|
||||
|
||||
version = "0.5osmo1"
|
||||
|
||||
|
@ -26,18 +27,18 @@ def printFail(string):
|
|||
sys.stderr.write(FAIL + string + ENDC + "\n")
|
||||
|
||||
def printWarning(string):
|
||||
print WARN + string + ENDC
|
||||
print(WARN + string + ENDC)
|
||||
|
||||
def printDebug(string):
|
||||
if verbosity > 0:
|
||||
print string
|
||||
print(string)
|
||||
|
||||
def outputHeaderToFile(f, filename):
|
||||
now = datetime.datetime.now()
|
||||
now = datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time())))
|
||||
f.write("/*******************************************************************************\n")
|
||||
f.write(" * This file had been created by asn1tostruct.py script v%s\n" % (version))
|
||||
f.write(" * Please do not modify this file but regenerate it via script.\n")
|
||||
f.write(" * Created on: %s by %s\n * from %s\n" % (str(now), getpass.getuser(), filenames))
|
||||
f.write(" * Created on: %s\n * from %s\n" % (str(now), filenames))
|
||||
f.write(" ******************************************************************************/\n")
|
||||
|
||||
def lowerFirstCamelWord(word):
|
||||
|
@ -56,7 +57,7 @@ def lowerFirstCamelWord(word):
|
|||
return lowered
|
||||
|
||||
for c in swapped:
|
||||
if c in string.lowercase:
|
||||
if c.islower():
|
||||
newstr += c
|
||||
idx += 1
|
||||
else:
|
||||
|
@ -69,14 +70,37 @@ def lowerFirstCamelWord(word):
|
|||
return newstr
|
||||
|
||||
def usage():
|
||||
print "Python parser for asn1 v%s" % (version)
|
||||
print "Usage: python asn1tostruct.py [options]"
|
||||
print "Available options:"
|
||||
print "-d Enable script debug"
|
||||
print "-f [file] Input file to parse"
|
||||
print "-o [dir] Output files to given directory"
|
||||
print "-p [pfx] Prefix all types with given prefix"
|
||||
print "-h Print this help and return"
|
||||
print("Python parser for asn1 v%s" % (version))
|
||||
print("Usage: python asn1tostruct.py [options]")
|
||||
print("Available options:")
|
||||
print("-d Enable script debug")
|
||||
print("-f [file] Input file to parse")
|
||||
print("-o [dir] Output files to given directory")
|
||||
print("-p [pfx] Prefix all types with given prefix")
|
||||
print("-h Print this help and return")
|
||||
|
||||
def getUniqueIENameForDefine(ies, ie):
|
||||
""" Usually the type of the IE is used for defines. However a struct may
|
||||
use the same type multiple times, in that case we use the actual name
|
||||
of the field. """
|
||||
unique = True
|
||||
|
||||
for ie_other in ies:
|
||||
if ie_other == ie:
|
||||
continue
|
||||
if ie_other[2] == ie[2]:
|
||||
unique = False
|
||||
assert ie[0] != ie_other[0], "failed to find a unique name for" \
|
||||
" IE {}. Found another entry in ies {}" \
|
||||
" that has the same ie[0] value.".format(ie, ie_other)
|
||||
|
||||
if unique:
|
||||
ret = ie[2]
|
||||
else:
|
||||
ret = ie[0]
|
||||
|
||||
ret = re.sub('-', '_', ret.upper())
|
||||
return ret
|
||||
|
||||
try:
|
||||
opts, args = getopt.getopt(sys.argv[1:], "df:ho:p:", ["debug", "file", "help", "outdir", "prefix"])
|
||||
|
@ -101,7 +125,7 @@ for o, a in opts:
|
|||
sys.exit(2)
|
||||
|
||||
for filename in filenames:
|
||||
file = open(filename, 'r')
|
||||
file = open(filename, 'r', encoding='utf-8')
|
||||
for line in file:
|
||||
# Removing any comment
|
||||
if line.find('--') >= 0:
|
||||
|
@ -138,17 +162,17 @@ if len(iesDefs) == 0:
|
|||
printFail("No Information Element parsed, exiting")
|
||||
sys.exit(0)
|
||||
|
||||
f = open(outdir + fileprefix + '_ies_defs.h', 'w')
|
||||
f = open(outdir + fileprefix + '_ies_defs.h', 'w', encoding='utf-8')
|
||||
outputHeaderToFile(f, filename)
|
||||
f.write("#include \"%s_common.h\"\n\n" % (fileprefix))
|
||||
f.write("#ifndef %s_IES_DEFS_H_\n#define %s_IES_DEFS_H_\n\n" % (fileprefix.upper(), fileprefix.upper()))
|
||||
|
||||
for key in iesDefs:
|
||||
|
||||
if key not in ieofielist.values():
|
||||
if key not in list(ieofielist.values()):
|
||||
continue
|
||||
|
||||
for (i, j) in ieofielist.items():
|
||||
for (i, j) in list(ieofielist.items()):
|
||||
if j == key:
|
||||
break
|
||||
|
||||
|
@ -166,7 +190,7 @@ for key in iesDefs:
|
|||
|
||||
# Presence mask
|
||||
for ie in iesDefs[key]["ies"]:
|
||||
ieupperunderscore = re.sub('-', '_', ie[2].upper())
|
||||
ieupperunderscore = getUniqueIENameForDefine(iesDefs[key]["ies"], ie)
|
||||
if ie[3] == "optional" or ie[3] == "conditional":
|
||||
f.write("#define {0:<{pad}} {1}\n".format("%s_%s%s_PRESENT" % (keyupperunderscore, prefix, ieupperunderscore), "(1 << %d)" % shift,
|
||||
pad=iesDefs[key]["length"] + len(keyupperunderscore) + 9))
|
||||
|
@ -199,10 +223,10 @@ f.write(" uint8_t criticality;\n")
|
|||
f.write(" uint8_t direction;\n")
|
||||
f.write(" union {\n")
|
||||
|
||||
messageList = iesDefs.keys()
|
||||
messageList = list(iesDefs.keys())
|
||||
messageList.sort()
|
||||
for message in messageList:
|
||||
if message in ieofielist.values():
|
||||
if message in list(ieofielist.values()):
|
||||
continue
|
||||
if len(iesDefs[message]["ies"]) == 0:
|
||||
continue
|
||||
|
@ -211,7 +235,7 @@ f.write(" } msg;\n")
|
|||
f.write("} %s_message;\n\n" % (fileprefix))
|
||||
|
||||
for key in iesDefs:
|
||||
if key in ieofielist.values():
|
||||
if key in list(ieofielist.values()):
|
||||
continue
|
||||
structName = re.sub('ies', '', key)
|
||||
asn1cStruct = re.sub('-', '_', re.sub('IEs', '', re.sub('-IEs', '', key)))
|
||||
|
@ -241,7 +265,7 @@ for key in iesDefs:
|
|||
f.write(" %s_t *%s);\n\n" % (prefix + re.sub('-', '_', key), lowerFirstCamelWord(re.sub('-', '_', key))))
|
||||
|
||||
for key in iesDefs:
|
||||
if key not in ieofielist.values():
|
||||
if key not in list(ieofielist.values()):
|
||||
continue
|
||||
asn1cStruct = re.sub('-', '_', re.sub('IEs', '', key))
|
||||
asn1cStruct = prefix + re.sub('Item', 'List', asn1cStruct)
|
||||
|
@ -275,11 +299,11 @@ for key in iesDefs:
|
|||
f.write("#endif /* %s_IES_DEFS_H_ */\n\n" % (fileprefix.upper()))
|
||||
|
||||
#Generate Decode functions
|
||||
f = open(outdir + fileprefix + '_decoder.c', 'w')
|
||||
f = open(outdir + fileprefix + '_decoder.c', 'w', encoding='utf-8')
|
||||
outputHeaderToFile(f, filename)
|
||||
f.write("#include \"%s_common.h\"\n#include \"%s_ies_defs.h\"\n\n" % (fileprefix, fileprefix))
|
||||
for key in iesDefs:
|
||||
if key in ieofielist.values():
|
||||
if key in list(ieofielist.values()):
|
||||
continue
|
||||
structName = re.sub('ies', '', key)
|
||||
asn1cStruct = re.sub('-', '_', re.sub('IEs', '', re.sub('-IEs', '', key)))
|
||||
|
@ -292,7 +316,7 @@ for key in iesDefs:
|
|||
asn1cStruct = prefix + re.sub('Item', 'List', asn1cStruct)
|
||||
|
||||
iesaccess = ""
|
||||
if key not in ieofielist.values():
|
||||
if key not in list(ieofielist.values()):
|
||||
iesaccess = "%s_ies." % (firstlower)
|
||||
|
||||
f.write("int %s_decode_%s(\n" % (fileprefix, re.sub('-', '_', structName.lower())))
|
||||
|
@ -304,6 +328,7 @@ for key in iesDefs:
|
|||
f.write(" int i, decoded = 0;\n")
|
||||
if len(iesDefs[key]["ies"]) != 0:
|
||||
f.write(" int tempDecoded = 0;\n")
|
||||
f.write(" int rc = -1;\n")
|
||||
|
||||
f.write(" assert(any_p != NULL);\n")
|
||||
if len(iesDefs[key]["ies"]) != 0:
|
||||
|
@ -311,7 +336,12 @@ for key in iesDefs:
|
|||
f.write(" memset(%s, 0, sizeof(%s_t));\n" % (lowerFirstCamelWord(re.sub('-', '_', key)), prefix + re.sub('-', '_', key)))
|
||||
|
||||
f.write(" %s_DEBUG(\"Decoding message %s (%%s:%%d)\\n\", __FILE__, __LINE__);\n\n" % (fileprefix.upper(), prefix + re.sub('-', '_', keyName)))
|
||||
f.write(" ANY_to_type_aper(any_p, &asn_DEF_%s, (void**)&%s_p);\n\n" % (asn1cStruct, asn1cStructfirstlower))
|
||||
f.write(" tempDecoded = ANY_to_type_aper(any_p, &asn_DEF_%s, (void**)&%s_p);\n\n" % (asn1cStruct, asn1cStructfirstlower))
|
||||
f.write(" if (tempDecoded < 0 || %s_p == NULL) {\n" % (asn1cStructfirstlower))
|
||||
f.write(" %s_DEBUG(\"Decoding of message %s failed\\n\");\n" % (fileprefix.upper(), prefix + re.sub('-', '_', keyName)))
|
||||
f.write(" return -1;\n")
|
||||
f.write(" }\n\n")
|
||||
|
||||
f.write(" for (i = 0; i < %s_p->%slist.count; i++) {\n" % (asn1cStructfirstlower, iesaccess))
|
||||
f.write(" %sIE_t *ie_p;\n" % (prefix))
|
||||
f.write(" ie_p = %s_p->%slist.array[i];\n" % (asn1cStructfirstlower, iesaccess))
|
||||
|
@ -322,7 +352,7 @@ for key in iesDefs:
|
|||
ienameunderscorefirstlower = lowerFirstCamelWord(ienameunderscore)
|
||||
ietypesubst = prefix + re.sub('-', '', ie[2])
|
||||
ietypeunderscore = prefix + re.sub('-', '_', ie[2])
|
||||
ieupperunderscore = prefix + re.sub('-', '_', ie[2]).upper()
|
||||
ieupperunderscore = prefix + getUniqueIENameForDefine(iesDefs[key]["ies"], ie)
|
||||
if ie[3] == "optional":
|
||||
f.write(" /* Optional field */\n")
|
||||
elif ie[3] == "conditional":
|
||||
|
@ -335,12 +365,12 @@ for key in iesDefs:
|
|||
f.write(" tempDecoded = ANY_to_type_aper(&ie_p->value, &asn_DEF_%s, (void**)&%s_p);\n" % (ietypeunderscore, lowerFirstCamelWord(ietypesubst)))
|
||||
f.write(" if (tempDecoded < 0) {\n")
|
||||
f.write(" %s_DEBUG(\"Decoding of IE %s failed\\n\");\n" % (fileprefix.upper(), ienameunderscore))
|
||||
f.write(" return -1;\n")
|
||||
f.write(" goto free_and_return_rc;\n")
|
||||
f.write(" }\n")
|
||||
f.write(" decoded += tempDecoded;\n")
|
||||
f.write(" if (asn1_xer_print)\n")
|
||||
f.write(" xer_fprint(stdout, &asn_DEF_%s, %s_p);\n" % (ietypeunderscore, lowerFirstCamelWord(ietypesubst)))
|
||||
if ie[2] in ieofielist.keys():
|
||||
if ie[2] in list(ieofielist.keys()):
|
||||
f.write(" if (%s_decode_%s(&%s->%s, %s_p) < 0) {\n" % (fileprefix, ietypeunderscore.lower(), lowerFirstCamelWord(re.sub('-', '_', key)), ienameunderscore, lowerFirstCamelWord(ietypesubst)))
|
||||
f.write(" %s_DEBUG(\"Decoding of encapsulated IE %s failed\\n\");\n" % (fileprefix.upper(), lowerFirstCamelWord(ietypesubst)))
|
||||
f.write(" ASN_STRUCT_FREE(asn_DEF_%s, %s_p);\n" % (ietypeunderscore, lowerFirstCamelWord(ietypesubst)))
|
||||
|
@ -350,11 +380,14 @@ for key in iesDefs:
|
|||
f.write(" } break;\n")
|
||||
f.write(" default:\n")
|
||||
f.write(" %s_DEBUG(\"Unknown protocol IE id (%%d) for message %s\\n\", (int)ie_p->id);\n" % (fileprefix.upper(), re.sub('-', '_', structName.lower())))
|
||||
f.write(" return -1;\n")
|
||||
f.write(" goto free_and_return_rc;\n")
|
||||
f.write(" }\n")
|
||||
f.write(" }\n")
|
||||
f.write(" rc = decoded;\n")
|
||||
f.write("\n")
|
||||
f.write("free_and_return_rc:\n")
|
||||
f.write(" ASN_STRUCT_FREE(asn_DEF_%s, %s_p);\n" % (asn1cStruct, asn1cStructfirstlower))
|
||||
f.write(" return decoded;\n")
|
||||
f.write(" return rc;\n")
|
||||
f.write("}\n\n")
|
||||
|
||||
for key in iesDefs:
|
||||
|
@ -371,7 +404,7 @@ for key in iesDefs:
|
|||
|
||||
for ie in iesDefs[key]["ies"]:
|
||||
ietypeunderscore = prefix + re.sub('-', '_', ie[2])
|
||||
ieupperunderscore = prefix + re.sub('-', '_', ie[2]).upper()
|
||||
ieupperunderscore = prefix + getUniqueIENameForDefine(iesDefs[key]["ies"], ie)
|
||||
if ie[3] != "mandatory":
|
||||
if ie[3] == "optional":
|
||||
f.write(" /* Optional field */\n")
|
||||
|
@ -384,10 +417,12 @@ for key in iesDefs:
|
|||
iename = re.sub('id-', '', ie[0])
|
||||
ienameunderscore = lowerFirstCamelWord(re.sub('-', '_', iename))
|
||||
f.write(" ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_%s, &%s->%s);\n" % (ietypeunderscore, lowerFirstCamelWord(re.sub('-', '_', key)), ienameunderscore))
|
||||
|
||||
f.write(" return 0;\n")
|
||||
f.write("}\n\n")
|
||||
|
||||
for key in iesDefs:
|
||||
if key not in ieofielist.values():
|
||||
if key not in list(ieofielist.values()):
|
||||
continue
|
||||
|
||||
keyname = re.sub('IEs', '', re.sub('Item', 'List', key))
|
||||
|
@ -429,12 +464,12 @@ for key in iesDefs:
|
|||
|
||||
|
||||
#Generate IES Encode functions
|
||||
f = open(outdir + fileprefix + '_encoder.c', 'w')
|
||||
f = open(outdir + fileprefix + '_encoder.c', 'w', encoding='utf-8')
|
||||
outputHeaderToFile(f,filename)
|
||||
f.write("#include \"%s_common.h\"\n" % (fileprefix))
|
||||
f.write("#include \"%s_ies_defs.h\"\n\n" % (fileprefix))
|
||||
for key in iesDefs:
|
||||
if key in ieofielist.values():
|
||||
if key in list(ieofielist.values()):
|
||||
continue
|
||||
|
||||
structName = re.sub('ies', '', key)
|
||||
|
@ -444,7 +479,7 @@ for key in iesDefs:
|
|||
asn1cStructfirstlower = asn1cStruct[:1].lower() + asn1cStruct[1:]
|
||||
|
||||
iesaccess = ""
|
||||
if key not in ieofielist.values():
|
||||
if key not in list(ieofielist.values()):
|
||||
iesaccess = "%s_ies." % (firstwordlower)
|
||||
|
||||
keyName = re.sub('-', '_', key)
|
||||
|
@ -463,7 +498,7 @@ for key in iesDefs:
|
|||
iename = re.sub('-', '_', re.sub('id-', '', ie[0]))
|
||||
ienameunderscore = prefix + re.sub('-', '_', iename)
|
||||
ienamefirstwordlower = lowerFirstCamelWord(iename)
|
||||
ieupperunderscore = prefix + re.sub('-', '_', ie[2]).upper()
|
||||
ieupperunderscore = prefix + getUniqueIENameForDefine(iesDefs[key]["ies"], ie)
|
||||
ietypeunderscore = prefix + re.sub('-', '_', ie[2])
|
||||
if ie[3] != "mandatory":
|
||||
if ie[3] == "optional":
|
||||
|
@ -481,7 +516,7 @@ for key in iesDefs:
|
|||
f.write(" ASN_SEQUENCE_ADD(&%s->%slist, ie);\n" % (firstwordlower, iesaccess))
|
||||
f.write(" }\n\n")
|
||||
else:
|
||||
if ie[2] in ieofielist.keys():
|
||||
if ie[2] in list(ieofielist.keys()):
|
||||
f.write(" %s_t %s;\n\n" % (prefix + ietypeunderscore, ienamefirstwordlower))
|
||||
f.write(" memset(&%s, 0, sizeof(%s_t));\n" % (ienamefirstwordlower, ietypeunderscore))
|
||||
f.write("\n")
|
||||
|
@ -489,21 +524,21 @@ for key in iesDefs:
|
|||
f.write(" if ((ie = %s_new_ie(%sProtocolIE_ID_%s,\n" % (fileprefix, prefix, re.sub('-', '_', ie[0])))
|
||||
f.write(" %sCriticality_%s,\n" % (prefix, ie[1]))
|
||||
f.write(" &asn_DEF_%s,\n" % (ietypeunderscore))
|
||||
if ie[2] in ieofielist.keys():
|
||||
if ie[2] in list(ieofielist.keys()):
|
||||
f.write(" &%s)) == NULL) {\n" % (ienamefirstwordlower))
|
||||
else:
|
||||
f.write(" &%s->%s)) == NULL) {\n" % (lowerFirstCamelWord(re.sub('-', '_', key)), ienamefirstwordlower))
|
||||
f.write(" return -1;\n")
|
||||
f.write(" }\n")
|
||||
f.write(" ASN_SEQUENCE_ADD(&%s->%slist, ie);\n\n" % (firstwordlower, iesaccess))
|
||||
if ie[2] in ieofielist.keys():
|
||||
if ie[2] in list(ieofielist.keys()):
|
||||
f.write(" ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_%s, &%s);\n\n" % (ietypeunderscore, ienamefirstwordlower))
|
||||
|
||||
f.write(" return 0;\n")
|
||||
f.write("}\n\n")
|
||||
|
||||
for (key, value) in iesDefs.items():
|
||||
if key not in ieofielist.values():
|
||||
for (key, value) in list(iesDefs.items()):
|
||||
if key not in list(ieofielist.values()):
|
||||
continue
|
||||
|
||||
ie = value["ies"][0]
|
||||
|
@ -512,7 +547,7 @@ for (key, value) in iesDefs.items():
|
|||
asn1cStruct = prefix + re.sub('Item', 'List', asn1cStruct)
|
||||
firstwordlower = re.sub('Item', 'List', re.sub('enb', 'eNB', lowerFirstCamelWord(asn1cStruct)))
|
||||
|
||||
for (i, j) in ieofielist.items():
|
||||
for (i, j) in list(ieofielist.items()):
|
||||
if j == key:
|
||||
break
|
||||
f.write("int %s_encode_%s(\n" % (fileprefix, re.sub('-', '_', i).lower()))
|
||||
|
|
114
configure.ac
114
configure.ac
|
@ -11,17 +11,30 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip 1.9 tar-ustar])
|
|||
dnl tar-ustar: some asn1 filenames surpass the 99 char limit of tar, so we need
|
||||
dnl to make tar allow longer filenames.
|
||||
|
||||
AC_CONFIG_TESTDIR(src/tests)
|
||||
AC_CONFIG_TESTDIR(tests)
|
||||
|
||||
CFLAGS="$CFLAGS -std=gnu11"
|
||||
|
||||
dnl kernel style compile messages
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
|
||||
dnl include release helper
|
||||
RELMAKE='-include osmo-release.mk'
|
||||
AC_SUBST([RELMAKE])
|
||||
|
||||
dnl checks for programs
|
||||
AC_PROG_MAKE_SET
|
||||
AC_PROG_MKDIR_P
|
||||
AC_PROG_CC
|
||||
AC_PROG_INSTALL
|
||||
|
||||
dnl patching ${archive_cmds} to affect generation of file "libtool" to fix linking with clang
|
||||
AS_CASE(["$LD"],[*clang*],
|
||||
[AS_CASE(["${host_os}"],
|
||||
[*linux*],[archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'])])
|
||||
|
||||
AC_CHECK_HEADERS(netinet/sctp.h,,AC_MSG_ERROR(netinet/sctp.h not found))
|
||||
|
||||
dnl check for pkg-config (explained in detail in libosmocore/configure.ac)
|
||||
AC_PATH_PROG(PKG_CONFIG_INSTALLED, pkg-config, no)
|
||||
if test "x$PKG_CONFIG_INSTALLED" = "xno"; then
|
||||
|
@ -29,32 +42,115 @@ if test "x$PKG_CONFIG_INSTALLED" = "xno"; then
|
|||
fi
|
||||
PKG_PROG_PKG_CONFIG([0.20])
|
||||
|
||||
PKG_CHECK_MODULES(OSMOCORE, libosmocore)
|
||||
PKG_CHECK_MODULES(OSMOGSM, libosmogsm)
|
||||
PKG_CHECK_MODULES(OSMOVTY, libosmovty)
|
||||
PKG_CHECK_MODULES(OSMONETIF, libosmo-netif)
|
||||
PKG_CHECK_MODULES(OSMOSIGTRAN, libosmo-sigtran)
|
||||
PKG_CHECK_MODULES(ASN1C, libasn1c)
|
||||
PKG_CHECK_MODULES(OSMOCORE, libosmocore >= 1.9.0)
|
||||
PKG_CHECK_MODULES(OSMOGSM, libosmogsm >= 1.9.0)
|
||||
PKG_CHECK_MODULES(OSMOVTY, libosmovty >= 1.9.0)
|
||||
PKG_CHECK_MODULES(OSMOCTRL, libosmoctrl >= 1.9.0)
|
||||
PKG_CHECK_MODULES(OSMONETIF, libosmo-netif >= 1.4.0)
|
||||
PKG_CHECK_MODULES(OSMOSIGTRAN, libosmo-sigtran >= 1.8.0)
|
||||
PKG_CHECK_MODULES(ASN1C, libasn1c >= 0.9.30)
|
||||
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
dnl checks for header files
|
||||
AC_HEADER_STDC
|
||||
|
||||
AC_ARG_ENABLE(sanitize,
|
||||
[AS_HELP_STRING(
|
||||
[--enable-sanitize],
|
||||
[Compile with address sanitizer enabled],
|
||||
)],
|
||||
[sanitize=$enableval], [sanitize="no"])
|
||||
if test x"$sanitize" = x"yes"
|
||||
then
|
||||
CFLAGS="$CFLAGS -fsanitize=address -fsanitize=undefined"
|
||||
CPPFLAGS="$CPPFLAGS -fsanitize=address -fsanitize=undefined"
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(werror,
|
||||
[AS_HELP_STRING(
|
||||
[--enable-werror],
|
||||
[Turn all compiler warnings into errors, with exceptions:
|
||||
a) deprecation (allow upstream to mark deprecation without breaking builds);
|
||||
b) "#warning" pragmas (allow to remind ourselves of errors without breaking builds)
|
||||
]
|
||||
)],
|
||||
[werror=$enableval], [werror="no"])
|
||||
if test x"$werror" = x"yes"
|
||||
then
|
||||
WERROR_FLAGS="-Werror"
|
||||
WERROR_FLAGS+=" -Wno-error=deprecated -Wno-error=deprecated-declarations"
|
||||
WERROR_FLAGS+=" -Wno-error=cpp" # "#warning"
|
||||
CFLAGS="$CFLAGS $WERROR_FLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $WERROR_FLAGS"
|
||||
fi
|
||||
|
||||
CFLAGS="$CFLAGS -Wall"
|
||||
CPPFLAGS="$CPPFLAGS -Wall"
|
||||
|
||||
# Generate manuals
|
||||
AC_ARG_ENABLE(manuals,
|
||||
[AS_HELP_STRING(
|
||||
[--enable-manuals],
|
||||
[Generate manual PDFs [default=no]],
|
||||
)],
|
||||
[osmo_ac_build_manuals=$enableval], [osmo_ac_build_manuals="no"])
|
||||
AM_CONDITIONAL([BUILD_MANUALS], [test x"$osmo_ac_build_manuals" = x"yes"])
|
||||
AC_ARG_VAR(OSMO_GSM_MANUALS_DIR, [path to common osmo-gsm-manuals files, overriding pkg-config and "../osmo-gsm-manuals"
|
||||
fallback])
|
||||
if test x"$osmo_ac_build_manuals" = x"yes"
|
||||
then
|
||||
# Find OSMO_GSM_MANUALS_DIR (env, pkg-conf, fallback)
|
||||
if test -n "$OSMO_GSM_MANUALS_DIR"; then
|
||||
echo "checking for OSMO_GSM_MANUALS_DIR... $OSMO_GSM_MANUALS_DIR (from env)"
|
||||
else
|
||||
OSMO_GSM_MANUALS_DIR="$($PKG_CONFIG osmo-gsm-manuals --variable=osmogsmmanualsdir 2>/dev/null)"
|
||||
if test -n "$OSMO_GSM_MANUALS_DIR"; then
|
||||
echo "checking for OSMO_GSM_MANUALS_DIR... $OSMO_GSM_MANUALS_DIR (from pkg-conf)"
|
||||
else
|
||||
OSMO_GSM_MANUALS_DIR="../osmo-gsm-manuals"
|
||||
echo "checking for OSMO_GSM_MANUALS_DIR... $OSMO_GSM_MANUALS_DIR (fallback)"
|
||||
fi
|
||||
fi
|
||||
if ! test -d "$OSMO_GSM_MANUALS_DIR"; then
|
||||
AC_MSG_ERROR("OSMO_GSM_MANUALS_DIR does not exist! Install osmo-gsm-manuals or set OSMO_GSM_MANUALS_DIR.")
|
||||
fi
|
||||
|
||||
# Find and run check-depends
|
||||
CHECK_DEPENDS="$OSMO_GSM_MANUALS_DIR/check-depends.sh"
|
||||
if ! test -x "$CHECK_DEPENDS"; then
|
||||
CHECK_DEPENDS="osmo-gsm-manuals-check-depends"
|
||||
fi
|
||||
if ! $CHECK_DEPENDS; then
|
||||
AC_MSG_ERROR("missing dependencies for --enable-manuals")
|
||||
fi
|
||||
|
||||
# Put in Makefile with absolute path
|
||||
OSMO_GSM_MANUALS_DIR="$(realpath "$OSMO_GSM_MANUALS_DIR")"
|
||||
AC_SUBST([OSMO_GSM_MANUALS_DIR])
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT([CFLAGS="$CFLAGS"])
|
||||
AC_MSG_RESULT([CPPFLAGS="$CPPFLAGS"])
|
||||
|
||||
AC_OUTPUT(
|
||||
libosmo-hnbap.pc
|
||||
libosmo-ranap.pc
|
||||
libosmo-rua.pc
|
||||
libosmo-sabp.pc
|
||||
src/Makefile
|
||||
src/hnbap/Makefile
|
||||
src/ranap/Makefile
|
||||
src/rua/Makefile
|
||||
src/tests/Makefile
|
||||
src/sabp/Makefile
|
||||
tests/Makefile
|
||||
Makefile
|
||||
include/Makefile
|
||||
include/osmocom/Makefile
|
||||
include/osmocom/hnbap/Makefile
|
||||
include/osmocom/ranap/Makefile
|
||||
include/osmocom/rua/Makefile
|
||||
include/osmocom/sabp/Makefile
|
||||
include/osmocom/iuh/Makefile
|
||||
doc/Makefile
|
||||
doc/examples/Makefile
|
||||
)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
|
||||
set -ex
|
||||
|
||||
|
@ -7,24 +7,30 @@ deps="$base/deps"
|
|||
inst="$deps/install"
|
||||
export deps inst
|
||||
|
||||
osmo-clean-workspace.sh
|
||||
|
||||
mkdir "$deps" || true
|
||||
rm -rf "$inst"
|
||||
|
||||
osmo-build-dep.sh libosmocore
|
||||
|
||||
"$deps"/libosmocore/contrib/verify_value_string_arrays_are_terminated.py $(find . -name "*.[hc]")
|
||||
verify_value_string_arrays_are_terminated.py $(find . -name "*.[hc]")
|
||||
|
||||
export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH"
|
||||
export LD_LIBRARY_PATH="$inst/lib"
|
||||
export PATH="$inst/bin:$PATH"
|
||||
|
||||
osmo-build-dep.sh libosmocore "" --disable-doxygen
|
||||
osmo-build-dep.sh libosmo-abis
|
||||
osmo-build-dep.sh libosmo-netif sysmocom/sctp
|
||||
osmo-build-dep.sh libosmo-sccp sysmocom/iu
|
||||
osmo-build-dep.sh libosmo-netif
|
||||
osmo-build-dep.sh libosmo-sccp
|
||||
osmo-build-dep.sh libasn1c
|
||||
|
||||
# the asn1c binary is used by the 'regen' target below
|
||||
osmo-build-dep.sh asn1c aper-prefix
|
||||
|
||||
CONFIG="--enable-werror"
|
||||
if [ "$WITH_MANUALS" = "1" ]; then
|
||||
CONFIG="$CONFIG --enable-manuals"
|
||||
fi
|
||||
|
||||
set +x
|
||||
echo
|
||||
echo
|
||||
|
@ -34,7 +40,7 @@ echo
|
|||
set -x
|
||||
|
||||
autoreconf --install --force
|
||||
./configure
|
||||
./configure --enable-sanitize $CONFIG
|
||||
|
||||
# Verify that checked-in asn1 code is identical to regenerated asn1 code
|
||||
PATH="$inst/bin:$PATH" $MAKE $PARALLEL_MAKE -C src regen
|
||||
|
@ -53,5 +59,8 @@ fi
|
|||
$MAKE $PARALLEL_MAKE
|
||||
$MAKE check \
|
||||
|| cat-testlogs.sh
|
||||
$MAKE distcheck \
|
||||
$MAKE $PARALLEL_MAKE distcheck \
|
||||
|| cat-testlogs.sh
|
||||
|
||||
$MAKE $PARALLEL_MAKE maintainer-clean
|
||||
osmo-clean-workspace.sh
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
[Unit]
|
||||
Description=Osmocom Home Nodeb Gateway (OsmoHNBGW)
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
ExecStart=/usr/bin/osmo-hnbgw -c /etc/osmocom/osmo-hnbgw.cfg
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,407 @@
|
|||
osmo-iuh (1.5.1) unstable; urgency=medium
|
||||
|
||||
[ Pau Espin Pedrol ]
|
||||
* ranap_transp_layer_addr_decode2(): Fix decoding X.213 IPv4 address len=7
|
||||
|
||||
[ Daniel Willmann ]
|
||||
* iu_client: Use local variable to track conn_id
|
||||
* iu_client: Handle empty CR and InitialUE Message in DATA.ind
|
||||
|
||||
-- Oliver Smith <osmith@sysmocom.de> Fri, 15 Dec 2023 15:05:11 +0100
|
||||
|
||||
osmo-iuh (1.5.0) unstable; urgency=medium
|
||||
|
||||
[ arehbein ]
|
||||
* Transition to use of 'telnet_init_default'
|
||||
|
||||
[ Oliver Smith ]
|
||||
* test-ranap: don't use libosmocore's tall_msgb_ctx
|
||||
* debian: set compat level to 10
|
||||
|
||||
[ Neels Hofmeyr ]
|
||||
* fix PDU leaks in rua_generate_*() functions
|
||||
* asn1tostruct.py: fix leak in error paths of iesDefs
|
||||
* fix leak in ranap_new_transp_layer_addr()
|
||||
* add ranap_new_msg_reset2() with GlobalRNC-ID
|
||||
|
||||
[ Pau Espin Pedrol ]
|
||||
* Move testdir src/tests/ -> tests/
|
||||
|
||||
[ Vadim Yanitskiy ]
|
||||
* copyright: fix typo: sysmocom s/s.m.f.c./s.f.m.c./ GmbH
|
||||
|
||||
[ Harald Welte ]
|
||||
* hnb-test.c: Update to libosmocore osmo_auth_gen_vec2
|
||||
|
||||
-- Pau Espin Pedrol <pespin@sysmocom.de> Tue, 12 Sep 2023 14:13:41 +0200
|
||||
|
||||
osmo-iuh (1.4.0) unstable; urgency=medium
|
||||
|
||||
[ Vadim Yanitskiy ]
|
||||
* libosmo-rua: fix copy-pasted -version-info: {HNBAP->RUA}_LIBVERSION
|
||||
* libosmo-{hnbap,ranap,rua,sabp}: add -no-undefined to *_la_LDFLAGS
|
||||
|
||||
[ Oliver Smith ]
|
||||
* move-asn1-header-files: error for wrong asn1c
|
||||
* asn1: fix visibility warnings from generated code
|
||||
* tests/hnb-test-rua: add missing include
|
||||
* tests/test-hnbap: add missing include
|
||||
* tests/test-ranap: fix missing (void **) cast
|
||||
* ranap_common_cn: remove unused ctx args
|
||||
* ranap_common_cn: rename ctx -> priv
|
||||
* tests/hnb-test-rua: fix incompat pointer type
|
||||
* test-hnbap: fix defined but not used error
|
||||
* hnbap_common: hnbap_cause_str: handle nothing val
|
||||
* asn1tostruct: fix defines getting redefined
|
||||
* contrib/jenkins.sh: use --enable-werror
|
||||
* asn1tostruct: don't use f-strings
|
||||
* contrib/jenkins.sh: werror with WITH_MANUALS too
|
||||
|
||||
-- Pau Espin Pedrol <pespin@sysmocom.de> Tue, 07 Feb 2023 16:39:24 +0100
|
||||
|
||||
osmo-iuh (1.3.0) unstable; urgency=medium
|
||||
|
||||
[ Philipp Maier ]
|
||||
* test-hnbap: remove unused variable rc
|
||||
* test-hnbap: cosmetic: fix sourcecode formatting
|
||||
* ranap_common: add decoder for RAB SetupOrModifyItemFirst
|
||||
* cosmetic: don't use 4 speaces instead of tabs
|
||||
* iu_helpers: make new_transp_info_(rtp|gtp) public
|
||||
* iu_helpers: check length before accessing buf
|
||||
* add unittest for ranap_transp_layer_addr_decode()
|
||||
* iu_helpers: add function ranap_transp_layer_addr_decode2
|
||||
* test_common: use osmo_init_logging2 instead of osmo_init_logging
|
||||
* test-ranap: put message gen tests into function
|
||||
* ranap_common_cn: add functions for direct access to decoder
|
||||
* ranap_common_ran: add decoder for CN/MSC originated messages
|
||||
* ranap_msg_factory: add missing apidoc
|
||||
* ranap_common: add decoder for RAB-FailedList
|
||||
* ranap_common: add decoder for RAB-ReleaseList
|
||||
* ranap_common: log decoder errors to LOGL_ERROR
|
||||
|
||||
[ Pau Espin Pedrol ]
|
||||
* Drop no longer needed systemd config in build system
|
||||
* jenkins.sh: osmo-iuh no longer has doc/manuals/ make target
|
||||
* iu_client: Prevent crash if msgb passed to ranap_iu_tx has no dst
|
||||
* iu_client: Fix incorrect access to null pointer
|
||||
* Make logging message about received RANAP message more meaningful
|
||||
|
||||
[ Neels Hofmeyr ]
|
||||
* move new_transp_layer_addr to public API
|
||||
|
||||
[ Harald Welte ]
|
||||
* update git URLs (git -> https; gitea)
|
||||
* README.md: remove obsolete notice from 7 years ago
|
||||
|
||||
-- Pau Espin Pedrol <pespin@sysmocom.de> Tue, 28 Jun 2022 18:59:56 +0200
|
||||
|
||||
osmo-iuh (1.2.0) unstable; urgency=medium
|
||||
|
||||
[ Oliver Smith ]
|
||||
* treewide: remove FSF address
|
||||
|
||||
[ Pau Espin Pedrol ]
|
||||
* tests/tests_common.c: Add missing header
|
||||
* Introduce dynamic log category for libosmo-rua/hnbap
|
||||
* Drop osmo-hnbgw
|
||||
* tests/dummy_cn_sua.c: Drop no longer existing include
|
||||
|
||||
-- Pau Espin Pedrol <pespin@sysmocom.de> Wed, 05 Jan 2022 12:26:51 +0100
|
||||
|
||||
osmo-iuh (1.1.0) unstable; urgency=medium
|
||||
|
||||
* gitignore: Ignore libsmo-{hnbap,rua}.pc
|
||||
|
||||
-- Pau Espin Pedrol <pespin@sysmocom.de> Wed, 17 Nov 2021 11:56:26 +0100
|
||||
|
||||
osmo-iuh (0.8.0) unstable; urgency=medium
|
||||
|
||||
[ Harald Welte ]
|
||||
* hnbgw: Add missing break statement
|
||||
|
||||
[ Pau Espin Pedrol ]
|
||||
* iu_client: Log event sent to upper layer callback
|
||||
* ranap_iu_tx_release_free(): always trigger RANAP_IU_EVENT_IU_RELEASE as a result
|
||||
* hnb-test: Fix typo in vty cmd description
|
||||
* cosmetic: src/ranap/Makefile.am: Drop trailing whitespace
|
||||
* src/tests/Makefile.am: Drop reference to non-existent RANAP_FILES var
|
||||
* src/*/Makefile.am: Fix trailing whitespace
|
||||
* Provide libosmo-hnbap as a public shared library
|
||||
* Provide libosmo-rua as a public shared library
|
||||
* move-asn1-header-files.sh: Replace original asn file path in generated asn1 header files
|
||||
* README.md: Document how to re-generate code from ASN1 files
|
||||
* hnbgw_rua.c: Use proper type struct
|
||||
* hnbgw_cn.c: Use proper type struct
|
||||
* hnb-test: Fix rc var may be used uninitialized
|
||||
* src/*/Makefile.am: Copy back to srcdir the generated .c files from ASN
|
||||
* src/*/Makefile.am: Use asn1c -R to avoid generating runtime code
|
||||
* Update generated .c/.h after using asn1c -R param
|
||||
* hnbap: Use specific prefix for HNBAP generated code
|
||||
* hnbap: Drop no longer existing asn1c param -fnative-types
|
||||
* hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs
|
||||
* rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs
|
||||
* sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs
|
||||
* ranap: Use asn1c flag -fcompound-names to avoid name collisions with other libs
|
||||
* hnb-test: Fix memleak in hnb_read_cb
|
||||
|
||||
[ Oliver Smith ]
|
||||
* contrib/osmo-iuh.spec.in: fix header packaging
|
||||
* contrib/osmo-iuh.spec: fix missing ldconfig lines
|
||||
* Cosmetic: put asn1c parameters in separate lines
|
||||
|
||||
-- Pau Espin Pedrol <pespin@sysmocom.de> Tue, 16 Nov 2021 17:13:09 +0100
|
||||
|
||||
osmo-iuh (0.7.0) unstable; urgency=medium
|
||||
|
||||
[ Martin Hauke ]
|
||||
* tests: Missing return statement
|
||||
|
||||
[ Pau Espin Pedrol ]
|
||||
* tests/hnb-test-ranap.c: Fix wrong printf format
|
||||
* tests/test-ranap.c: Fix wrong printf format
|
||||
* Fix compiler warning on signedness of char ptr using OCTET_STRING_fromBuf()
|
||||
* hnbgw_vty.c: Drop unusued variables
|
||||
* tests: Fix trailing whitespace
|
||||
* Fix OneDefinitionRule Asan violation in tests and osmo-hnbgw
|
||||
* Change default SCTP conn NULL->127.0.0.1 to localhost->localhost
|
||||
* hnbgw: Mark SCTP conn as NODELAY
|
||||
* contrib/jenkins: Enable parallel make in make distcheck
|
||||
* tests/hnb-test-ranap: Fix incorrect pointer type cast
|
||||
* tests/hnb-test: Drop unused variables
|
||||
* tests/hnb-test: Fix signedness of imsi_buf
|
||||
* tests/hnb-test: check return code of hnbap_encode_ueregisterrequesties
|
||||
* tests/hnb-test-ranap: Fix incorrect signedness in pointer
|
||||
* tests/hnb-test-ranap: Fix missing include for ranap_bcd_decode
|
||||
* tests/hnb-test: Fix uninitialized use of rc variable
|
||||
* tests/hnb-test: Fix signedness of assigned pointer
|
||||
* tests/hnb-test: Initialize logging with existing struct log_info
|
||||
* tests/hnb-test: Disable building unsued code
|
||||
* tests: Explicitly drop category from log
|
||||
* tests: Replace deprecated API log_set_print_filename
|
||||
* hnbgw: Avoid re-defining same global variable twice
|
||||
* Workaround ASan report memleak during call to --vty-ref-xml
|
||||
|
||||
[ Neels Hofmeyr ]
|
||||
* manual: add "Configuring Primary Links" and "Multiple instances"
|
||||
* manual: link to new common cs7-config.adoc
|
||||
|
||||
[ Vadim Yanitskiy ]
|
||||
* tests/test-helpers: fix some -Wpointer-sign warnings reported by GCC
|
||||
* tests/test-helpers: fix endianness: do not print uint32_t as raw bytes
|
||||
* tests/test-ranap: cosmetic: remove unused variable 'rc'
|
||||
* debian/control: change maintainer to the Osmocom team / mailing list
|
||||
* vty: use install_lib_element() and install_lib_element_ve()
|
||||
|
||||
[ Eric ]
|
||||
* configure.ac: fix libtool issue with clang and sanitizer
|
||||
|
||||
[ Philipp Maier ]
|
||||
* hnbgw: do not use LOGL_DEBUG as default loglevel
|
||||
|
||||
[ Harald Welte ]
|
||||
* Fix compilation with gcc-10
|
||||
* Provide more context when logging "Error in ANY_fromType_aper"
|
||||
* hnbgw: use OSMO_STRLCPY_ARRAY() instead of open coding it
|
||||
* hnbgw: Introduce LOGHNB() macro for log context information
|
||||
* debian: Actually build manuals; add osmo-hnbgw-doc package
|
||||
* configure.ac: Ensure netinet/sctp.h is present
|
||||
* hnbgw: Use LOGHNB() to add log context information to log lines
|
||||
* ranap_msg_factory: Allow detailed control over UEA/UIA algorithm encoded
|
||||
* ranap_msg_factory: Fix LOGP statements
|
||||
* main: add --vty-ref-mode, use vty_dump_xml_ref_mode()
|
||||
* manuals: generate vty reference xml at build time
|
||||
|
||||
[ Oliver Smith ]
|
||||
* contrib: import RPM spec
|
||||
* contrib: integrate RPM spec
|
||||
* Makefile.am: EXTRA_DIST: debian, contrib/*.spec.in
|
||||
* contrib/jenkins: don't build osmo-gsm-manuals
|
||||
* configure.ac: set -std=gnu11
|
||||
|
||||
-- Pau Espin Pedrol <pespin@sysmocom.de> Tue, 23 Feb 2021 20:11:59 +0100
|
||||
|
||||
osmo-iuh (0.6.0) unstable; urgency=medium
|
||||
|
||||
[ Vadim Yanitskiy ]
|
||||
* hnbgw_vty.c: fix: properly pass pointer to g_hnb_gw
|
||||
* osmo-hnbgw: make sure osmo_ss7_init() executed successfully
|
||||
|
||||
[ Alexander Couzens ]
|
||||
* iu_client: sccp_sap_up: set rc early
|
||||
* iu_client: ensure UE is not NULL on CO primitives
|
||||
* iu_client: sccp_sap_up: don't decode empty disconnect indications
|
||||
* iu_client: introduce ranap_iu_free_ue() to free the UE connections
|
||||
* iu_client: emit RANAP_IU_EVENT_LINK_INVALIDATED on SCCP disconnect indication
|
||||
* iu_client: introduce a guard around global_iu_event_cb
|
||||
* iu_client: allow to control the notifications
|
||||
* iu_client: introduce ranap_iu_tx_release_free()
|
||||
* iu_client: introduce UE field free_on_release
|
||||
* iu_client: pass return value of osmo_sccp_user_sap_down() towards the caller
|
||||
* iu_client: ranap_iu_tx_release() change default cause code to Success
|
||||
|
||||
[ Pau Espin Pedrol ]
|
||||
* hnbgw: Add libosmoctrl's VTY CTRL command initialization
|
||||
* debian/rules: Fix dbg pacakges
|
||||
* debian: Split libosmo-sabp from libosmo-ranap package
|
||||
|
||||
[ Harald Welte ]
|
||||
* asn1enum.pl: Make compatible with modern perl
|
||||
* sabp: Initial import of SABP ASN.1 from 3GPP TS 25.419 V11.1.0 (2013-03)
|
||||
* sabp: fixup SABP ASN.1 to avoid IOC (which are not supported by our toolchain)
|
||||
* sabp: Add Procedure Codes and IEI constants to CommonDataTypes
|
||||
* sabp: Generate C/H files for SABP; create libosmo-sabp
|
||||
* Initial minimal OsmoHNBGW user manual
|
||||
* exit(2) on unsupported positional arguments on command line
|
||||
|
||||
[ Oliver Smith ]
|
||||
* gitignore: add gen_sabp.stamp
|
||||
* debian, asn1tostruct.py: switch to python3
|
||||
|
||||
-- Pau Espin Pedrol <pespin@sysmocom.de> Fri, 03 Jan 2020 17:04:15 +0100
|
||||
|
||||
osmo-iuh (0.5.0) unstable; urgency=medium
|
||||
|
||||
[ Neels Hofmeyr ]
|
||||
* ranap_msg_factory.h: fix enum def within function signature
|
||||
* osmo-hnbgw: fix cmdline: do not force-disable colored logging
|
||||
* osmo-hnbgw: set a proper talloc ctx for logging
|
||||
* osmo-hnbgw: logging tweaks
|
||||
* osmo-hnbgw: reply with RESET ACK when receiving a RESET
|
||||
|
||||
[ Oliver Smith ]
|
||||
* tests: use -no-install libtool flag to avoid ./lt-* scripts
|
||||
* contrib/jenkins.sh: run "make maintainer-clean"
|
||||
* osmo-hnbgw.cfg: set local-ip to 0.0.0.0
|
||||
|
||||
[ Harald Welte ]
|
||||
* iu_client: Implement transmission of ResetAcknowledge
|
||||
* ranap_msg_factory: Fix criticality of PDUs
|
||||
|
||||
[ Thorsten Alteholz ]
|
||||
* spelling stuff found by lintian
|
||||
|
||||
[ Daniel Willmann ]
|
||||
* Add VTY reference manual
|
||||
* jenkins: Enable manual publishing and building
|
||||
|
||||
[ Pau Espin Pedrol ]
|
||||
* Remove undefined param passed to {logging,osmo_stats}_vty_add_cmds
|
||||
|
||||
-- Pau Espin Pedrol <pespin@sysmocom.de> Wed, 07 Aug 2019 21:23:57 +0200
|
||||
|
||||
osmo-iuh (0.4.0) unstable; urgency=medium
|
||||
|
||||
[ Bernhard M. Wiedemann ]
|
||||
* asn1tostruct: allow to override build date
|
||||
|
||||
[ Alexander Couzens ]
|
||||
* hnbgw: remove close_cb() to fix a crash when releasing a hnbgw
|
||||
|
||||
[ Harald Welte ]
|
||||
* debian/rules: Don't overwrite .tarball-version
|
||||
* hnbgw_tx_hnb_register_rej(): Missing return statement
|
||||
|
||||
[ Neels Hofmeyr ]
|
||||
* fix decoding of incoming X.213 NSAP addr
|
||||
* hnbgw: vty: add SCCP related vty commands
|
||||
* fix transport layer addr again, for nano3g
|
||||
|
||||
[ Pau Espin Pedrol ]
|
||||
* debian: package osmo-hnbgw.service
|
||||
* Install systemd services with autotools
|
||||
* Install sample cfg file to /etc/osmocom
|
||||
|
||||
[ Stefan Sperling ]
|
||||
* add a VTY command which shows a specific HNB
|
||||
|
||||
[ Oliver Smith ]
|
||||
* Fix DISTCHECK_CONFIGURE_FLAGS override
|
||||
* contrib: fix makedistcheck with disabled systemd
|
||||
|
||||
-- Harald Welte <laforge@gnumonks.org> Sun, 20 Jan 2019 21:46:05 +0100
|
||||
|
||||
osmo-iuh (0.3.0) unstable; urgency=medium
|
||||
|
||||
[ Neels Hofmeyr ]
|
||||
* jenkins: use osmo-clean-workspace.sh before and after build
|
||||
* vty: skip installing cmds now always installed by default
|
||||
* src/Makefile.am: drop unused COMMON_LDADD
|
||||
* add --enable-sanitize config option
|
||||
* osmo-hnbgw: drop erratic log line on remote STP address
|
||||
* api doc: clarify byte order in ranap_new_msg_rab_assign_*
|
||||
* tests: sanitize: fix mem leaks, clean after tests
|
||||
* ranap_msg_factory: sanitize: memcpy instead of unaligned int copy
|
||||
* test_common: fix compiler warning: include ranap_common.h
|
||||
* osmo-hnbgw: auto-config local and remote PCs if omitted
|
||||
* cosmetic: osmo-hnbgw: log remote SCCP addresses on startup
|
||||
* osmo-hnbgw: don't configure specific local IP address for STP connection
|
||||
* iu client: store multiple LAC,RAC per RNC = fix paging for multiple RNC
|
||||
* hnbgw: use proper VTY port number defined in libosmocore (4261)
|
||||
* fix 3 compiler warnings in ranap_common.c
|
||||
* hnbgw: use proper talloc ctx for vty telnet init
|
||||
* hnbgw: hnb info: record MCC, MNC, show on 'show hnb'
|
||||
* hnbap,rua,ranap decode: fix segfault on decode error
|
||||
* vty: tweak / improve HNB and cnlink introspection
|
||||
* osmo-hnbgw: vty: revamp output of context maps on 'show hnb'
|
||||
* compiler warning: asn1tostruct.py: return 0 at end of *_free_*()
|
||||
* segfault: context_map gc: use llist_for_each_entry_safe()
|
||||
* rua: discard context maps on id-Disconnect
|
||||
* rua_to_scu(): don't create a context map for UNITDATA
|
||||
* cosmetic: context_map_tmr_cb(): fix comment
|
||||
* osmo-hnbgw config: add 'rnc-id' config item
|
||||
* osmo-hnbgw: startup: log the RNC-Id that is going to be used
|
||||
* comments: hnbgw_rua.c: remove obsolete fixmes for asn1 free
|
||||
* vty typo: 'show hnb': SCTP stream, not SCCP stream
|
||||
* hnbgw_rua.c: log: fix integer format for cN_DomainIndicator
|
||||
* hnbgw_rua: fix dereference of unset pointer
|
||||
* hnbgw_cn: rx ranap: set rc in all cases
|
||||
* hnbgw_hnbap: fix missing return in rx [un]successful outcome
|
||||
* cosmetic: hnbgw: hnbap: log rx of unsuccessful outcome
|
||||
* hnbap: log errors on decoding/encoding HNB-REGISTER msgs
|
||||
* hnb-test: log accurate three-digit MNC with leading zeros
|
||||
* configure: add --enable-werror
|
||||
* cosmetic: use osmo_plmn_id instead of mcc,mnc
|
||||
|
||||
[ Harald Welte ]
|
||||
* osmo-hnbgw: Avoid useless linking to libosmogsm and libsctp
|
||||
* Link libosmo-ranap against libosmovty
|
||||
* Add "-Wall" to the compile rules of the non-asn1c-generated source code
|
||||
* hnbgw.c: Remove dead code creating libsctp linker dependency
|
||||
* sccp_sap_up(): Fix never-hit "default" case in switch
|
||||
* Fix various compiler warnings in hnb-gw code
|
||||
* hnbgw_vty.c: cosmetic: Fix non-tab-indented code
|
||||
* hnbgw_vty.c: Fix "-Werror=format-security" failure in vty_out()
|
||||
|
||||
[ Philipp Maier ]
|
||||
* iu: iu_helpers: add functions to decode ip/port from rab-ass
|
||||
* ranap_msg_factory: check IE encoder return codes
|
||||
* ranap_msg_factory: remove unusued variable
|
||||
|
||||
[ Max ]
|
||||
* Use proper package version
|
||||
* Add control interface
|
||||
* Expand ctrl interface
|
||||
* Enable sanitize for CI tests
|
||||
|
||||
[ Pau Espin Pedrol ]
|
||||
* iu_client.c: Remove unusued variable
|
||||
* configure.ac: Enable -Wall flag
|
||||
* contrib: jenkins.sh: Disable doxygen in libosmocore build
|
||||
* debian/changelog: set prev releases to unstable
|
||||
|
||||
[ Stefan Sperling ]
|
||||
* ensure unique CellIDs in HNB-GW
|
||||
|
||||
-- Pau Espin Pedrol <pespin@sysmocom.de> Thu, 03 May 2018 18:29:13 +0200
|
||||
|
||||
osmo-iuh (0.2.0) unstable; urgency=low
|
||||
|
||||
* Upstream 0.2.0 release
|
||||
|
||||
-- Harald Welte <laforge@gnumonks.org> Fri, 27 Oct 2017 22:19:00 +0000
|
||||
|
||||
osmo-iuh (0.1.0) unstable; urgency=low
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Alexander Couzens <lynxis@fe80.eu> Tue, 08 Aug 2017 04:13:19 +0000
|
|
@ -0,0 +1 @@
|
|||
10
|
|
@ -0,0 +1,110 @@
|
|||
Source: osmo-iuh
|
||||
Section: libs
|
||||
Priority: extra
|
||||
Maintainer: Osmocom team <openbsc@lists.osmocom.org>
|
||||
Build-Depends: debhelper (>= 10),
|
||||
dh-autoreconf,
|
||||
pkg-config,
|
||||
autoconf,
|
||||
automake,
|
||||
libtool,
|
||||
git,
|
||||
libasn1c-dev,
|
||||
libsctp-dev,
|
||||
libosmocore-dev (>= 1.9.0),
|
||||
libosmo-netif-dev (>= 1.4.0),
|
||||
libosmo-sigtran-dev (>= 1.8.0),
|
||||
osmo-gsm-manuals-dev (>= 1.5.0),
|
||||
python3
|
||||
Standards-Version: 3.9.8
|
||||
Vcs-Git: https://gitea.osmocom.org/cellular-infrastructure/osmo-iuh
|
||||
Vcs-Browser: https://gitea.osmocom.org/cellular-infrastructure/osmo-iuh
|
||||
Homepage: https://projects.osmocom.org/projects/osmohnbgw
|
||||
|
||||
Package: libosmo-hnbap0
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
|
||||
|
||||
Package: libosmo-hnbap-dbg
|
||||
Section: debug
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: libosmo-hnbap0 (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
|
||||
|
||||
Package: libosmo-hnbap-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: libosmo-hnbap0 (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
|
||||
|
||||
Package: libosmo-ranap7
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
|
||||
|
||||
Package: libosmo-ranap-dbg
|
||||
Section: debug
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: libosmo-ranap7 (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
|
||||
|
||||
Package: libosmo-ranap-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: libosmo-ranap7 (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
|
||||
|
||||
Package: libosmo-rua0
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
|
||||
|
||||
Package: libosmo-rua-dbg
|
||||
Section: debug
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: libosmo-rua0 (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
|
||||
|
||||
Package: libosmo-rua-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: libosmo-rua0 (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
|
||||
|
||||
Package: libosmo-sabp1
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: Osmocom code for the Iuh interface (SABP)
|
||||
|
||||
Package: libosmo-sabp-dbg
|
||||
Section: debug
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: libosmo-sabp1 (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Osmocom code for the Iuh interface (SABP)
|
||||
|
||||
Package: libosmo-sabp-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: libosmo-sabp1 (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Osmocom code for the Iuh interface (SABP)
|
|
@ -0,0 +1,48 @@
|
|||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: osmo-iuh
|
||||
Source: https://gitea.osmocom.org/cellular-infrastructure/osmo-iuh
|
||||
|
||||
Files: *
|
||||
Copyright: 2015 Daniel Willmann <dwillmann@sysmocom.de>
|
||||
2015 Harald Welte <laforge@gnumonks.org>
|
||||
2015-2017 sysmocom s.f.m.c. GmbH <info@sysmocom.de>
|
||||
License: AGPL-3.0+
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Files: asn1/rua/eurecom/rua_decoder.c
|
||||
asn1/rua/eurecom/rua_encoder.c
|
||||
asn1/rua/eurecom/rua_ies_defs.h
|
||||
Copyright: 1999-2012 Eurecom
|
||||
License: GPL-2.0
|
||||
This program is free software; you can redistribute it and/or modify it
|
||||
under the terms and conditions of the GNU General Public License,
|
||||
version 2, as published by the Free Software Foundation.
|
||||
.
|
||||
This program is distributed in the hope it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.
|
||||
The full GNU General Public License is included in this distribution in
|
||||
the file called "COPYING".
|
||||
.
|
||||
Contact Information
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General Public License
|
||||
Version 2 can be found in `/usr/share/common-licenses/GPL-2'.
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
usr/include/osmocom/hnbap
|
||||
usr/lib/*/libosmo-hnbap.so
|
||||
usr/lib/*/pkgconfig/libosmo-hnbap.pc
|
|
@ -0,0 +1 @@
|
|||
usr/lib/*/libosmo-hnbap*.so.*
|
|
@ -0,0 +1,3 @@
|
|||
usr/include/osmocom/ranap
|
||||
usr/lib/*/libosmo-ranap.so
|
||||
usr/lib/*/pkgconfig/libosmo-ranap.pc
|
|
@ -0,0 +1 @@
|
|||
usr/lib/*/libosmo-ranap*.so.*
|
|
@ -0,0 +1,3 @@
|
|||
usr/include/osmocom/rua
|
||||
usr/lib/*/libosmo-rua.so
|
||||
usr/lib/*/pkgconfig/libosmo-rua.pc
|
|
@ -0,0 +1 @@
|
|||
usr/lib/*/libosmo-rua*.so.*
|
|
@ -0,0 +1,3 @@
|
|||
usr/include/osmocom/sabp
|
||||
usr/lib/*/libosmo-sabp.so
|
||||
usr/lib/*/pkgconfig/libosmo-sabp.pc
|
|
@ -0,0 +1 @@
|
|||
usr/lib/*/libosmo-sabp*.so.*
|
|
@ -0,0 +1,24 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
|
||||
DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
|
||||
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
|
||||
|
||||
# main packaging script based on dh7 syntax
|
||||
%:
|
||||
dh $@ --with autoreconf
|
||||
|
||||
# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
|
||||
override_dh_strip:
|
||||
dh_strip -plibosmo-hnbap0 --dbg-package=libosmo-hnbap-dbg
|
||||
dh_strip -plibosmo-ranap7 --dbg-package=libosmo-ranap-dbg
|
||||
dh_strip -plibosmo-rua0 --dbg-package=libosmo-rua-dbg
|
||||
dh_strip -plibosmo-sabp1 --dbg-package=libosmo-sabp-dbg
|
||||
|
||||
# Print test results in case of a failure
|
||||
override_dh_auto_test:
|
||||
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
|
||||
|
||||
# Don't create .pdf.gz files (barely saves space and they can't be opened directly by most pdf readers)
|
||||
override_dh_compress:
|
||||
dh_compress -X.pdf
|
|
@ -0,0 +1 @@
|
|||
3.0 (native)
|
|
@ -1,4 +1,5 @@
|
|||
SUBDIRS = examples
|
||||
SUBDIRS = \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST = \
|
||||
hnb_cs_lu.msc \
|
||||
|
@ -8,5 +9,4 @@ EXTRA_DIST = \
|
|||
hnb_cs_mt_sms.msc \
|
||||
hnb_ps_lu.msc \
|
||||
hnb_ps_pdp_act.msc \
|
||||
protocols_around_hnbgw.txt \
|
||||
README
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
|
||||
CFG_FILES = find $(srcdir) -name '*.cfg*' | sed -e 's,^$(srcdir),,'
|
||||
|
||||
dist-hook:
|
||||
for f in $$($(CFG_FILES)); do \
|
||||
j="$(distdir)/$$f" && \
|
||||
mkdir -p "$$(dirname $$j)" && \
|
||||
$(INSTALL_DATA) $(srcdir)/$$f $$j; \
|
||||
done
|
||||
|
||||
install-data-hook:
|
||||
for f in $$($(CFG_FILES)); do \
|
||||
j="$(DESTDIR)$(docdir)/examples/$$f" && \
|
||||
mkdir -p "$$(dirname $$j)" && \
|
||||
$(INSTALL_DATA) $(srcdir)/$$f $$j; \
|
||||
done
|
||||
|
||||
uninstall-hook:
|
||||
@$(PRE_UNINSTALL)
|
||||
for f in $$($(CFG_FILES)); do \
|
||||
j="$(DESTDIR)$(docdir)/examples/$$f" && \
|
||||
$(RM) $$j; \
|
||||
done
|
|
@ -1,25 +0,0 @@
|
|||
!
|
||||
! OsmoHNBGW (0) configuration saved from vty
|
||||
!!
|
||||
!
|
||||
log stderr
|
||||
logging filter all 1
|
||||
logging color 1
|
||||
logging print category 1
|
||||
logging timestamp 1
|
||||
logging print extended-timestamp 1
|
||||
logging level all debug
|
||||
logging level lglobal notice
|
||||
logging level llapd notice
|
||||
logging level linp notice
|
||||
logging level lmux notice
|
||||
logging level lmi notice
|
||||
logging level lmib notice
|
||||
logging level lsms notice
|
||||
logging level lctrl notice
|
||||
logging level lgtp notice
|
||||
logging level lstats notice
|
||||
hnbgw
|
||||
iuh
|
||||
local-ip 10.23.24.1
|
||||
hnbap-allow-tmsi 1
|
|
@ -1,60 +0,0 @@
|
|||
Protocols Around the Home Node B Gateway
|
||||
========================================
|
||||
|
||||
+--------+
|
||||
,-->| Osmo |
|
||||
/ | MGCPGW |
|
||||
| | |<--MGCP
|
||||
| +--------+ \
|
||||
/ |
|
||||
+------------+<--RTP +--------+ `->+----------+
|
||||
UE <-->| hNodeB | | Osmo | | OsmoMSC | +------+
|
||||
UE <-->| femto cell |<--Iuh---->| HNB-GW |<--IuCS-->| | | Osmo |
|
||||
| | | | | (VLR)|<-GSUP->| HLR |
|
||||
| | | | +----------+ GSUP->+------+
|
||||
+------------+<--GTP-U | | /
|
||||
\ | | +------+<---' +------+
|
||||
| | |<--IuPS-->| Osmo |<--GTP-C--->| Open |
|
||||
| +--------+ | SGSN | GTP-U--->| GGSN |
|
||||
| +------+ / +------+
|
||||
\_______________________________/
|
||||
|
||||
|
||||
|
||||
Iuh IuCS/IuPS
|
||||
|
||||
NAS +----+----+ +----+----+
|
||||
Non-Access Stratum | CC | MM | | CC | MM |
|
||||
- - - - - - - - - - - +----+----+-------+ +----+----+
|
||||
| RANAP | | H | RANAP |
|
||||
Access Stratum +---------+ HNBAP | N +---------+ - - SCCP USER SAP
|
||||
| RUA | | B | SUA | \
|
||||
+---------+-------+ - +---------+ |
|
||||
| SCTP | G | SCTP | } SIGTRAN
|
||||
+-----------------+ W +---------+ |
|
||||
| IP | | IP | /
|
||||
+-----------------+ +---------+
|
||||
|
||||
|
||||
Various SIGTRAN implementations:
|
||||
|
||||
IuCS/IuPS
|
||||
usual
|
||||
| simplest
|
||||
| |
|
||||
v v
|
||||
+------+------+------+-----+
|
||||
| SCCP | SCCP | | |
|
||||
+------+------+ SCCP | |
|
||||
| MTP3 | MTP3 | | |
|
||||
+------+------+------+ SUA |
|
||||
| MTP2 | | | |
|
||||
+------+ M2UA | M3UA | |
|
||||
| M2PA | | | |
|
||||
+------+------+------+-----+
|
||||
| SCTP |
|
||||
+--------------------------+
|
||||
| IP |
|
||||
+--------------------------+
|
||||
|
||||
UE (User Endpoint) == MS (Mobile Subscriber) == mobile device
|
|
@ -1,2 +1,2 @@
|
|||
SUBDIRS = hnbap ranap rua iuh
|
||||
SUBDIRS = hnbap ranap rua sabp iuh
|
||||
|
||||
|
|
|
@ -1,56 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _Access_stratum_release_indicator_H_
|
||||
#define _Access_stratum_release_indicator_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum Access_stratum_release_indicator {
|
||||
Access_stratum_release_indicator_r99 = 0,
|
||||
Access_stratum_release_indicator_rel_4 = 1,
|
||||
Access_stratum_release_indicator_rel_5 = 2,
|
||||
Access_stratum_release_indicator_rel_6 = 3,
|
||||
Access_stratum_release_indicator_rel_7 = 4,
|
||||
Access_stratum_release_indicator_rel_8_and_beyond = 5
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_Access_stratum_release_indicator;
|
||||
|
||||
/* Access-stratum-release-indicator */
|
||||
typedef long Access_stratum_release_indicator_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_Access_stratum_release_indicator;
|
||||
asn_struct_free_f Access_stratum_release_indicator_free;
|
||||
asn_struct_print_f Access_stratum_release_indicator_print;
|
||||
asn_constr_check_f Access_stratum_release_indicator_constraint;
|
||||
ber_type_decoder_f Access_stratum_release_indicator_decode_ber;
|
||||
der_type_encoder_f Access_stratum_release_indicator_encode_der;
|
||||
xer_type_decoder_f Access_stratum_release_indicator_decode_xer;
|
||||
xer_type_encoder_f Access_stratum_release_indicator_encode_xer;
|
||||
per_type_decoder_f Access_stratum_release_indicator_decode_uper;
|
||||
per_type_encoder_f Access_stratum_release_indicator_encode_uper;
|
||||
per_type_decoder_f Access_stratum_release_indicator_decode_aper;
|
||||
per_type_encoder_f Access_stratum_release_indicator_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _Access_stratum_release_indicator_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,52 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _AccessResult_H_
|
||||
#define _AccessResult_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum AccessResult {
|
||||
AccessResult_allowed = 0,
|
||||
AccessResult_notAllowed = 1
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_AccessResult;
|
||||
|
||||
/* AccessResult */
|
||||
typedef long AccessResult_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AccessResult;
|
||||
asn_struct_free_f AccessResult_free;
|
||||
asn_struct_print_f AccessResult_print;
|
||||
asn_constr_check_f AccessResult_constraint;
|
||||
ber_type_decoder_f AccessResult_decode_ber;
|
||||
der_type_encoder_f AccessResult_encode_der;
|
||||
xer_type_decoder_f AccessResult_decode_xer;
|
||||
xer_type_encoder_f AccessResult_encode_xer;
|
||||
per_type_decoder_f AccessResult_decode_uper;
|
||||
per_type_encoder_f AccessResult_encode_uper;
|
||||
per_type_decoder_f AccessResult_decode_aper;
|
||||
per_type_encoder_f AccessResult_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AccessResult_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,44 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _AdditionalNeighbourInfoList_H_
|
||||
#define _AdditionalNeighbourInfoList_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct HNBConfigInfo;
|
||||
|
||||
/* AdditionalNeighbourInfoList */
|
||||
typedef struct AdditionalNeighbourInfoList {
|
||||
A_SEQUENCE_OF(struct HNBConfigInfo) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AdditionalNeighbourInfoList_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AdditionalNeighbourInfoList;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include <osmocom/hnbap/HNBConfigInfo.h>
|
||||
|
||||
#endif /* _AdditionalNeighbourInfoList_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,43 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _BackoffTimer_H_
|
||||
#define _BackoffTimer_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeInteger.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* BackoffTimer */
|
||||
typedef long BackoffTimer_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_BackoffTimer;
|
||||
asn_struct_free_f BackoffTimer_free;
|
||||
asn_struct_print_f BackoffTimer_print;
|
||||
asn_constr_check_f BackoffTimer_constraint;
|
||||
ber_type_decoder_f BackoffTimer_decode_ber;
|
||||
der_type_encoder_f BackoffTimer_encode_der;
|
||||
xer_type_decoder_f BackoffTimer_decode_xer;
|
||||
xer_type_encoder_f BackoffTimer_encode_xer;
|
||||
per_type_decoder_f BackoffTimer_decode_uper;
|
||||
per_type_encoder_f BackoffTimer_encode_uper;
|
||||
per_type_decoder_f BackoffTimer_decode_aper;
|
||||
per_type_encoder_f BackoffTimer_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _BackoffTimer_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,43 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _BindingID_H_
|
||||
#define _BindingID_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <OCTET_STRING.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* BindingID */
|
||||
typedef OCTET_STRING_t BindingID_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_BindingID;
|
||||
asn_struct_free_f BindingID_free;
|
||||
asn_struct_print_f BindingID_print;
|
||||
asn_constr_check_f BindingID_constraint;
|
||||
ber_type_decoder_f BindingID_decode_ber;
|
||||
der_type_encoder_f BindingID_encode_der;
|
||||
xer_type_decoder_f BindingID_decode_xer;
|
||||
xer_type_encoder_f BindingID_encode_xer;
|
||||
per_type_decoder_f BindingID_decode_uper;
|
||||
per_type_encoder_f BindingID_encode_uper;
|
||||
per_type_decoder_f BindingID_decode_aper;
|
||||
per_type_encoder_f BindingID_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _BindingID_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,51 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _CELL_FACHMobilitySupport_H_
|
||||
#define _CELL_FACHMobilitySupport_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum CELL_FACHMobilitySupport {
|
||||
CELL_FACHMobilitySupport_supported = 0
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_CELL_FACHMobilitySupport;
|
||||
|
||||
/* CELL-FACHMobilitySupport */
|
||||
typedef long CELL_FACHMobilitySupport_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_CELL_FACHMobilitySupport;
|
||||
asn_struct_free_f CELL_FACHMobilitySupport_free;
|
||||
asn_struct_print_f CELL_FACHMobilitySupport_print;
|
||||
asn_constr_check_f CELL_FACHMobilitySupport_constraint;
|
||||
ber_type_decoder_f CELL_FACHMobilitySupport_decode_ber;
|
||||
der_type_encoder_f CELL_FACHMobilitySupport_encode_der;
|
||||
xer_type_decoder_f CELL_FACHMobilitySupport_decode_xer;
|
||||
xer_type_encoder_f CELL_FACHMobilitySupport_encode_xer;
|
||||
per_type_decoder_f CELL_FACHMobilitySupport_decode_uper;
|
||||
per_type_encoder_f CELL_FACHMobilitySupport_encode_uper;
|
||||
per_type_decoder_f CELL_FACHMobilitySupport_decode_aper;
|
||||
per_type_encoder_f CELL_FACHMobilitySupport_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _CELL_FACHMobilitySupport_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,49 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _CGI_H_
|
||||
#define _CGI_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/hnbap/PLMNidentity.h>
|
||||
#include <osmocom/hnbap/LAC.h>
|
||||
#include <osmocom/hnbap/CI.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct IE_Extensions;
|
||||
|
||||
/* CGI */
|
||||
typedef struct CGI {
|
||||
PLMNidentity_t pLMNidentity;
|
||||
LAC_t lAC;
|
||||
CI_t cI;
|
||||
struct IE_Extensions *iE_Extensions /* OPTIONAL */;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} CGI_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_CGI;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include <osmocom/hnbap/IE-Extensions.h>
|
||||
|
||||
#endif /* _CGI_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,43 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _CI_H_
|
||||
#define _CI_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <OCTET_STRING.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* CI */
|
||||
typedef OCTET_STRING_t CI_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_CI;
|
||||
asn_struct_free_f CI_free;
|
||||
asn_struct_print_f CI_print;
|
||||
asn_constr_check_f CI_constraint;
|
||||
ber_type_decoder_f CI_decode_ber;
|
||||
der_type_encoder_f CI_encode_der;
|
||||
xer_type_decoder_f CI_decode_xer;
|
||||
xer_type_encoder_f CI_encode_xer;
|
||||
per_type_decoder_f CI_decode_uper;
|
||||
per_type_encoder_f CI_encode_uper;
|
||||
per_type_decoder_f CI_decode_aper;
|
||||
per_type_encoder_f CI_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _CI_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,49 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _CN_DomainIndicator_H_
|
||||
#define _CN_DomainIndicator_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum CN_DomainIndicator {
|
||||
CN_DomainIndicator_cs_domain = 0,
|
||||
CN_DomainIndicator_ps_domain = 1
|
||||
} e_CN_DomainIndicator;
|
||||
|
||||
/* CN-DomainIndicator */
|
||||
typedef long CN_DomainIndicator_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_CN_DomainIndicator;
|
||||
asn_struct_free_f CN_DomainIndicator_free;
|
||||
asn_struct_print_f CN_DomainIndicator_print;
|
||||
asn_constr_check_f CN_DomainIndicator_constraint;
|
||||
ber_type_decoder_f CN_DomainIndicator_decode_ber;
|
||||
der_type_encoder_f CN_DomainIndicator_encode_der;
|
||||
xer_type_decoder_f CN_DomainIndicator_decode_xer;
|
||||
xer_type_encoder_f CN_DomainIndicator_encode_xer;
|
||||
per_type_decoder_f CN_DomainIndicator_decode_uper;
|
||||
per_type_encoder_f CN_DomainIndicator_encode_uper;
|
||||
per_type_decoder_f CN_DomainIndicator_decode_aper;
|
||||
per_type_encoder_f CN_DomainIndicator_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _CN_DomainIndicator_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,52 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _CSG_Capability_H_
|
||||
#define _CSG_Capability_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum CSG_Capability {
|
||||
CSG_Capability_csg_capable = 0,
|
||||
CSG_Capability_not_csg_capable = 1
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_CSG_Capability;
|
||||
|
||||
/* CSG-Capability */
|
||||
typedef long CSG_Capability_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_CSG_Capability;
|
||||
asn_struct_free_f CSG_Capability_free;
|
||||
asn_struct_print_f CSG_Capability_print;
|
||||
asn_constr_check_f CSG_Capability_constraint;
|
||||
ber_type_decoder_f CSG_Capability_decode_ber;
|
||||
der_type_encoder_f CSG_Capability_encode_der;
|
||||
xer_type_decoder_f CSG_Capability_decode_xer;
|
||||
xer_type_encoder_f CSG_Capability_encode_xer;
|
||||
per_type_decoder_f CSG_Capability_decode_uper;
|
||||
per_type_encoder_f CSG_Capability_encode_uper;
|
||||
per_type_decoder_f CSG_Capability_decode_aper;
|
||||
per_type_encoder_f CSG_Capability_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _CSG_Capability_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,43 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _CSG_ID_H_
|
||||
#define _CSG_ID_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <BIT_STRING.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* CSG-ID */
|
||||
typedef BIT_STRING_t CSG_ID_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_CSG_ID;
|
||||
asn_struct_free_f CSG_ID_free;
|
||||
asn_struct_print_f CSG_ID_print;
|
||||
asn_constr_check_f CSG_ID_constraint;
|
||||
ber_type_decoder_f CSG_ID_decode_ber;
|
||||
der_type_encoder_f CSG_ID_encode_der;
|
||||
xer_type_decoder_f CSG_ID_decode_xer;
|
||||
xer_type_encoder_f CSG_ID_encode_xer;
|
||||
per_type_decoder_f CSG_ID_decode_uper;
|
||||
per_type_encoder_f CSG_ID_encode_uper;
|
||||
per_type_decoder_f CSG_ID_decode_aper;
|
||||
per_type_encoder_f CSG_ID_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _CSG_ID_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,52 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _CSGMembershipStatus_H_
|
||||
#define _CSGMembershipStatus_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum CSGMembershipStatus {
|
||||
CSGMembershipStatus_member = 0,
|
||||
CSGMembershipStatus_non_member = 1
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_CSGMembershipStatus;
|
||||
|
||||
/* CSGMembershipStatus */
|
||||
typedef long CSGMembershipStatus_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_CSGMembershipStatus;
|
||||
asn_struct_free_f CSGMembershipStatus_free;
|
||||
asn_struct_print_f CSGMembershipStatus_print;
|
||||
asn_constr_check_f CSGMembershipStatus_constraint;
|
||||
ber_type_decoder_f CSGMembershipStatus_decode_ber;
|
||||
der_type_encoder_f CSGMembershipStatus_encode_der;
|
||||
xer_type_decoder_f CSGMembershipStatus_decode_xer;
|
||||
xer_type_encoder_f CSGMembershipStatus_encode_xer;
|
||||
per_type_decoder_f CSGMembershipStatus_decode_uper;
|
||||
per_type_encoder_f CSGMembershipStatus_encode_uper;
|
||||
per_type_decoder_f CSGMembershipStatus_decode_aper;
|
||||
per_type_encoder_f CSGMembershipStatus_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _CSGMembershipStatus_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,62 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _Cause_H_
|
||||
#define _Cause_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/hnbap/CauseRadioNetwork.h>
|
||||
#include <osmocom/hnbap/CauseTransport.h>
|
||||
#include <osmocom/hnbap/CauseProtocol.h>
|
||||
#include <osmocom/hnbap/CauseMisc.h>
|
||||
#include <constr_CHOICE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum Cause_PR {
|
||||
Cause_PR_NOTHING, /* No components present */
|
||||
Cause_PR_radioNetwork,
|
||||
Cause_PR_transport,
|
||||
Cause_PR_protocol,
|
||||
Cause_PR_misc,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} Cause_PR;
|
||||
|
||||
/* Cause */
|
||||
typedef struct Cause {
|
||||
Cause_PR present;
|
||||
union Cause_u {
|
||||
CauseRadioNetwork_t radioNetwork;
|
||||
CauseTransport_t transport;
|
||||
CauseProtocol_t protocol;
|
||||
CauseMisc_t misc;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
} choice;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} Cause_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_Cause;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _Cause_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,54 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _CauseMisc_H_
|
||||
#define _CauseMisc_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum CauseMisc {
|
||||
CauseMisc_processing_overload = 0,
|
||||
CauseMisc_hardware_failure = 1,
|
||||
CauseMisc_o_and_m_intervention = 2,
|
||||
CauseMisc_unspecified = 3
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_CauseMisc;
|
||||
|
||||
/* CauseMisc */
|
||||
typedef long CauseMisc_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_CauseMisc;
|
||||
asn_struct_free_f CauseMisc_free;
|
||||
asn_struct_print_f CauseMisc_print;
|
||||
asn_constr_check_f CauseMisc_constraint;
|
||||
ber_type_decoder_f CauseMisc_decode_ber;
|
||||
der_type_encoder_f CauseMisc_encode_der;
|
||||
xer_type_decoder_f CauseMisc_decode_xer;
|
||||
xer_type_encoder_f CauseMisc_encode_xer;
|
||||
per_type_decoder_f CauseMisc_decode_uper;
|
||||
per_type_encoder_f CauseMisc_encode_uper;
|
||||
per_type_decoder_f CauseMisc_decode_aper;
|
||||
per_type_encoder_f CauseMisc_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _CauseMisc_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,57 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _CauseProtocol_H_
|
||||
#define _CauseProtocol_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum CauseProtocol {
|
||||
CauseProtocol_transfer_syntax_error = 0,
|
||||
CauseProtocol_abstract_syntax_error_reject = 1,
|
||||
CauseProtocol_abstract_syntax_error_ignore_and_notify = 2,
|
||||
CauseProtocol_message_not_compatible_with_receiver_state = 3,
|
||||
CauseProtocol_semantic_error = 4,
|
||||
CauseProtocol_unspecified = 5,
|
||||
CauseProtocol_abstract_syntax_error_falsely_constructed_message = 6
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_CauseProtocol;
|
||||
|
||||
/* CauseProtocol */
|
||||
typedef long CauseProtocol_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_CauseProtocol;
|
||||
asn_struct_free_f CauseProtocol_free;
|
||||
asn_struct_print_f CauseProtocol_print;
|
||||
asn_constr_check_f CauseProtocol_constraint;
|
||||
ber_type_decoder_f CauseProtocol_decode_ber;
|
||||
der_type_encoder_f CauseProtocol_encode_der;
|
||||
xer_type_decoder_f CauseProtocol_decode_xer;
|
||||
xer_type_encoder_f CauseProtocol_encode_xer;
|
||||
per_type_decoder_f CauseProtocol_decode_uper;
|
||||
per_type_encoder_f CauseProtocol_encode_uper;
|
||||
per_type_decoder_f CauseProtocol_decode_aper;
|
||||
per_type_encoder_f CauseProtocol_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _CauseProtocol_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,66 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _CauseRadioNetwork_H_
|
||||
#define _CauseRadioNetwork_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum CauseRadioNetwork {
|
||||
CauseRadioNetwork_overload = 0,
|
||||
CauseRadioNetwork_unauthorised_Location = 1,
|
||||
CauseRadioNetwork_unauthorised_HNB = 2,
|
||||
CauseRadioNetwork_hNB_parameter_mismatch = 3,
|
||||
CauseRadioNetwork_invalid_UE_identity = 4,
|
||||
CauseRadioNetwork_uE_not_allowed_on_this_HNB = 5,
|
||||
CauseRadioNetwork_uE_unauthorised = 6,
|
||||
CauseRadioNetwork_connection_with_UE_lost = 7,
|
||||
CauseRadioNetwork_ue_RRC_release = 8,
|
||||
CauseRadioNetwork_hNB_not_registered = 9,
|
||||
CauseRadioNetwork_unspecified = 10,
|
||||
CauseRadioNetwork_normal = 11,
|
||||
CauseRadioNetwork_uE_relocated = 12,
|
||||
CauseRadioNetwork_ue_registered_in_another_HNB = 13,
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
CauseRadioNetwork_no_neighbour_information_available = 14,
|
||||
CauseRadioNetwork_iurh_connection_to_that_neighbour_not_Allowed = 15
|
||||
} e_CauseRadioNetwork;
|
||||
|
||||
/* CauseRadioNetwork */
|
||||
typedef long CauseRadioNetwork_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_CauseRadioNetwork;
|
||||
asn_struct_free_f CauseRadioNetwork_free;
|
||||
asn_struct_print_f CauseRadioNetwork_print;
|
||||
asn_constr_check_f CauseRadioNetwork_constraint;
|
||||
ber_type_decoder_f CauseRadioNetwork_decode_ber;
|
||||
der_type_encoder_f CauseRadioNetwork_encode_der;
|
||||
xer_type_decoder_f CauseRadioNetwork_decode_xer;
|
||||
xer_type_encoder_f CauseRadioNetwork_encode_xer;
|
||||
per_type_decoder_f CauseRadioNetwork_decode_uper;
|
||||
per_type_encoder_f CauseRadioNetwork_encode_uper;
|
||||
per_type_decoder_f CauseRadioNetwork_decode_aper;
|
||||
per_type_encoder_f CauseRadioNetwork_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _CauseRadioNetwork_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,52 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _CauseTransport_H_
|
||||
#define _CauseTransport_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum CauseTransport {
|
||||
CauseTransport_transport_resource_unavailable = 0,
|
||||
CauseTransport_unspecified = 1
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_CauseTransport;
|
||||
|
||||
/* CauseTransport */
|
||||
typedef long CauseTransport_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_CauseTransport;
|
||||
asn_struct_free_f CauseTransport_free;
|
||||
asn_struct_print_f CauseTransport_print;
|
||||
asn_constr_check_f CauseTransport_constraint;
|
||||
ber_type_decoder_f CauseTransport_decode_ber;
|
||||
der_type_encoder_f CauseTransport_encode_der;
|
||||
xer_type_decoder_f CauseTransport_decode_xer;
|
||||
xer_type_encoder_f CauseTransport_encode_xer;
|
||||
per_type_decoder_f CauseTransport_decode_uper;
|
||||
per_type_encoder_f CauseTransport_encode_uper;
|
||||
per_type_decoder_f CauseTransport_decode_aper;
|
||||
per_type_encoder_f CauseTransport_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _CauseTransport_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,43 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _CellIdentity_H_
|
||||
#define _CellIdentity_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <BIT_STRING.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* CellIdentity */
|
||||
typedef BIT_STRING_t CellIdentity_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_CellIdentity;
|
||||
asn_struct_free_f CellIdentity_free;
|
||||
asn_struct_print_f CellIdentity_print;
|
||||
asn_constr_check_f CellIdentity_constraint;
|
||||
ber_type_decoder_f CellIdentity_decode_ber;
|
||||
der_type_encoder_f CellIdentity_encode_der;
|
||||
xer_type_decoder_f CellIdentity_decode_xer;
|
||||
xer_type_encoder_f CellIdentity_encode_xer;
|
||||
per_type_decoder_f CellIdentity_decode_uper;
|
||||
per_type_encoder_f CellIdentity_encode_uper;
|
||||
per_type_decoder_f CellIdentity_decode_aper;
|
||||
per_type_encoder_f CellIdentity_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _CellIdentity_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,56 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _ConfigurationInformation_H_
|
||||
#define _ConfigurationInformation_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/hnbap/HNBConfigurationInformationProvided.h>
|
||||
#include <osmocom/hnbap/HNBConfigurationInformationMissing.h>
|
||||
#include <constr_CHOICE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum ConfigurationInformation_PR {
|
||||
ConfigurationInformation_PR_NOTHING, /* No components present */
|
||||
ConfigurationInformation_PR_provided,
|
||||
ConfigurationInformation_PR_missing,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} ConfigurationInformation_PR;
|
||||
|
||||
/* ConfigurationInformation */
|
||||
typedef struct ConfigurationInformation {
|
||||
ConfigurationInformation_PR present;
|
||||
union ConfigurationInformation_u {
|
||||
HNBConfigurationInformationProvided_t provided;
|
||||
HNBConfigurationInformationMissing_t missing;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
} choice;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} ConfigurationInformation_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ConfigurationInformation;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _ConfigurationInformation_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,43 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _Context_ID_H_
|
||||
#define _Context_ID_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <BIT_STRING.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Context-ID */
|
||||
typedef BIT_STRING_t Context_ID_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_Context_ID;
|
||||
asn_struct_free_f Context_ID_free;
|
||||
asn_struct_print_f Context_ID_print;
|
||||
asn_constr_check_f Context_ID_constraint;
|
||||
ber_type_decoder_f Context_ID_decode_ber;
|
||||
der_type_encoder_f Context_ID_encode_der;
|
||||
xer_type_decoder_f Context_ID_decode_xer;
|
||||
xer_type_encoder_f Context_ID_encode_xer;
|
||||
per_type_decoder_f Context_ID_decode_uper;
|
||||
per_type_encoder_f Context_ID_encode_uper;
|
||||
per_type_decoder_f Context_ID_decode_aper;
|
||||
per_type_encoder_f Context_ID_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _Context_ID_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,50 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-CommonDataTypes"
|
||||
* found in "../../asn1/hnbap/HNBAP-CommonDataTypes.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _Criticality_H_
|
||||
#define _Criticality_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum Criticality {
|
||||
Criticality_reject = 0,
|
||||
Criticality_ignore = 1,
|
||||
Criticality_notify = 2
|
||||
} e_Criticality;
|
||||
|
||||
/* Criticality */
|
||||
typedef long Criticality_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_Criticality;
|
||||
asn_struct_free_f Criticality_free;
|
||||
asn_struct_print_f Criticality_print;
|
||||
asn_constr_check_f Criticality_constraint;
|
||||
ber_type_decoder_f Criticality_decode_ber;
|
||||
der_type_encoder_f Criticality_encode_der;
|
||||
xer_type_decoder_f Criticality_decode_xer;
|
||||
xer_type_encoder_f Criticality_encode_xer;
|
||||
per_type_decoder_f Criticality_decode_uper;
|
||||
per_type_encoder_f Criticality_encode_uper;
|
||||
per_type_decoder_f Criticality_decode_aper;
|
||||
per_type_encoder_f Criticality_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _Criticality_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,60 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _CriticalityDiagnostics_IE_List_H_
|
||||
#define _CriticalityDiagnostics_IE_List_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <osmocom/hnbap/Criticality.h>
|
||||
#include <osmocom/hnbap/ProtocolIE-ID.h>
|
||||
#include <osmocom/hnbap/TypeOfError.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct IE_Extensions;
|
||||
|
||||
/* CriticalityDiagnostics-IE-List */
|
||||
typedef struct CriticalityDiagnostics_IE_List {
|
||||
A_SEQUENCE_OF(struct Member {
|
||||
Criticality_t iECriticality;
|
||||
ProtocolIE_ID_t iE_ID;
|
||||
TypeOfError_t typeOfError;
|
||||
struct IE_Extensions *iE_Extensions /* OPTIONAL */;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} ) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} CriticalityDiagnostics_IE_List_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics_IE_List;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include <osmocom/hnbap/IE-Extensions.h>
|
||||
|
||||
#endif /* _CriticalityDiagnostics_IE_List_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,56 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _CriticalityDiagnostics_H_
|
||||
#define _CriticalityDiagnostics_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/hnbap/ProcedureCode.h>
|
||||
#include <osmocom/hnbap/TriggeringMessage.h>
|
||||
#include <osmocom/hnbap/Criticality.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct CriticalityDiagnostics_IE_List;
|
||||
struct IE_Extensions;
|
||||
|
||||
/* CriticalityDiagnostics */
|
||||
typedef struct CriticalityDiagnostics {
|
||||
ProcedureCode_t *procedureCode /* OPTIONAL */;
|
||||
TriggeringMessage_t *triggeringMessage /* OPTIONAL */;
|
||||
Criticality_t *procedureCriticality /* OPTIONAL */;
|
||||
struct CriticalityDiagnostics_IE_List *iEsCriticalityDiagnostics /* OPTIONAL */;
|
||||
struct IE_Extensions *iE_Extensions /* OPTIONAL */;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} CriticalityDiagnostics_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include <osmocom/hnbap/CriticalityDiagnostics-IE-List.h>
|
||||
#include <osmocom/hnbap/IE-Extensions.h>
|
||||
|
||||
#endif /* _CriticalityDiagnostics_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,43 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _ESN_H_
|
||||
#define _ESN_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <BIT_STRING.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* ESN */
|
||||
typedef BIT_STRING_t ESN_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ESN;
|
||||
asn_struct_free_f ESN_free;
|
||||
asn_struct_print_f ESN_print;
|
||||
asn_constr_check_f ESN_constraint;
|
||||
ber_type_decoder_f ESN_decode_ber;
|
||||
der_type_encoder_f ESN_encode_der;
|
||||
xer_type_decoder_f ESN_decode_xer;
|
||||
xer_type_encoder_f ESN_encode_xer;
|
||||
per_type_decoder_f ESN_decode_uper;
|
||||
per_type_encoder_f ESN_encode_uper;
|
||||
per_type_decoder_f ESN_decode_aper;
|
||||
per_type_encoder_f ESN_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _ESN_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,43 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _GTP_TEI_H_
|
||||
#define _GTP_TEI_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <OCTET_STRING.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* GTP-TEI */
|
||||
typedef OCTET_STRING_t GTP_TEI_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_GTP_TEI;
|
||||
asn_struct_free_f GTP_TEI_free;
|
||||
asn_struct_print_f GTP_TEI_print;
|
||||
asn_constr_check_f GTP_TEI_constraint;
|
||||
ber_type_decoder_f GTP_TEI_decode_ber;
|
||||
der_type_encoder_f GTP_TEI_encode_der;
|
||||
xer_type_decoder_f GTP_TEI_decode_xer;
|
||||
xer_type_encoder_f GTP_TEI_encode_xer;
|
||||
per_type_decoder_f GTP_TEI_decode_uper;
|
||||
per_type_encoder_f GTP_TEI_encode_uper;
|
||||
per_type_decoder_f GTP_TEI_decode_aper;
|
||||
per_type_encoder_f GTP_TEI_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _GTP_TEI_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,51 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _GeographicalLocation_H_
|
||||
#define _GeographicalLocation_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/hnbap/GeographicalCoordinates.h>
|
||||
#include <osmocom/hnbap/AltitudeAndDirection.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct IE_Extensions;
|
||||
|
||||
/* GeographicalLocation */
|
||||
typedef struct GeographicalLocation {
|
||||
GeographicalCoordinates_t geographicalCoordinates;
|
||||
AltitudeAndDirection_t altitudeAndDirection;
|
||||
struct IE_Extensions *iE_Extensions /* OPTIONAL */;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} GeographicalLocation_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_GeographicalLocation;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include <osmocom/hnbap/IE-Extensions.h>
|
||||
|
||||
#endif /* _GeographicalLocation_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,53 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _HNB_Cell_Access_Mode_H_
|
||||
#define _HNB_Cell_Access_Mode_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum HNB_Cell_Access_Mode {
|
||||
HNB_Cell_Access_Mode_closed = 0,
|
||||
HNB_Cell_Access_Mode_hybrid = 1,
|
||||
HNB_Cell_Access_Mode_open = 2
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_HNB_Cell_Access_Mode;
|
||||
|
||||
/* HNB-Cell-Access-Mode */
|
||||
typedef long HNB_Cell_Access_Mode_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNB_Cell_Access_Mode;
|
||||
asn_struct_free_f HNB_Cell_Access_Mode_free;
|
||||
asn_struct_print_f HNB_Cell_Access_Mode_print;
|
||||
asn_constr_check_f HNB_Cell_Access_Mode_constraint;
|
||||
ber_type_decoder_f HNB_Cell_Access_Mode_decode_ber;
|
||||
der_type_encoder_f HNB_Cell_Access_Mode_encode_der;
|
||||
xer_type_decoder_f HNB_Cell_Access_Mode_decode_xer;
|
||||
xer_type_encoder_f HNB_Cell_Access_Mode_encode_xer;
|
||||
per_type_decoder_f HNB_Cell_Access_Mode_decode_uper;
|
||||
per_type_encoder_f HNB_Cell_Access_Mode_encode_uper;
|
||||
per_type_decoder_f HNB_Cell_Access_Mode_decode_aper;
|
||||
per_type_encoder_f HNB_Cell_Access_Mode_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNB_Cell_Access_Mode_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,51 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _HNB_Cell_Identifier_H_
|
||||
#define _HNB_Cell_Identifier_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/hnbap/PLMNidentity.h>
|
||||
#include <osmocom/hnbap/CellIdentity.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct IE_Extensions;
|
||||
|
||||
/* HNB-Cell-Identifier */
|
||||
typedef struct HNB_Cell_Identifier {
|
||||
PLMNidentity_t pLMNidentity;
|
||||
CellIdentity_t cellIdentity;
|
||||
struct IE_Extensions *iE_Extensions /* OPTIONAL */;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} HNB_Cell_Identifier_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNB_Cell_Identifier;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include <osmocom/hnbap/IE-Extensions.h>
|
||||
|
||||
#endif /* _HNB_Cell_Identifier_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,59 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _HNB_GWResponse_H_
|
||||
#define _HNB_GWResponse_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/hnbap/HNBConfigInfo.h>
|
||||
#include <osmocom/hnbap/RNC-ID.h>
|
||||
#include <osmocom/hnbap/UnknownU-RNTIIndication.h>
|
||||
#include <constr_CHOICE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum HNB_GWResponse_PR {
|
||||
HNB_GWResponse_PR_NOTHING, /* No components present */
|
||||
HNB_GWResponse_PR_hNB,
|
||||
HNB_GWResponse_PR_macroRNC,
|
||||
HNB_GWResponse_PR_unknownU_RNTIIndication,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} HNB_GWResponse_PR;
|
||||
|
||||
/* HNB-GWResponse */
|
||||
typedef struct HNB_GWResponse {
|
||||
HNB_GWResponse_PR present;
|
||||
union HNB_GWResponse_u {
|
||||
HNBConfigInfo_t hNB;
|
||||
RNC_ID_t macroRNC;
|
||||
UnknownU_RNTIIndication_t unknownU_RNTIIndication;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
} choice;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} HNB_GWResponse_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNB_GWResponse;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNB_GWResponse_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,43 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _HNB_Identity_Info_H_
|
||||
#define _HNB_Identity_Info_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <OCTET_STRING.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* HNB-Identity-Info */
|
||||
typedef OCTET_STRING_t HNB_Identity_Info_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNB_Identity_Info;
|
||||
asn_struct_free_f HNB_Identity_Info_free;
|
||||
asn_struct_print_f HNB_Identity_Info_print;
|
||||
asn_constr_check_f HNB_Identity_Info_constraint;
|
||||
ber_type_decoder_f HNB_Identity_Info_decode_ber;
|
||||
der_type_encoder_f HNB_Identity_Info_encode_der;
|
||||
xer_type_decoder_f HNB_Identity_Info_decode_xer;
|
||||
xer_type_encoder_f HNB_Identity_Info_encode_xer;
|
||||
per_type_decoder_f HNB_Identity_Info_decode_uper;
|
||||
per_type_encoder_f HNB_Identity_Info_encode_uper;
|
||||
per_type_decoder_f HNB_Identity_Info_decode_aper;
|
||||
per_type_encoder_f HNB_Identity_Info_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNB_Identity_Info_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,53 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _HNB_Location_Information_H_
|
||||
#define _HNB_Location_Information_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct MacroCoverageInformation;
|
||||
struct GeographicalLocation;
|
||||
struct IE_Extensions;
|
||||
|
||||
/* HNB-Location-Information */
|
||||
typedef struct HNB_Location_Information {
|
||||
struct MacroCoverageInformation *macroCoverageInfo /* OPTIONAL */;
|
||||
struct GeographicalLocation *geographicalCoordinates /* OPTIONAL */;
|
||||
struct IE_Extensions *iE_Extensions /* OPTIONAL */;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} HNB_Location_Information_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNB_Location_Information;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include <osmocom/hnbap/MacroCoverageInformation.h>
|
||||
#include <osmocom/hnbap/GeographicalLocation.h>
|
||||
#include <osmocom/hnbap/IE-Extensions.h>
|
||||
|
||||
#endif /* _HNB_Location_Information_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,53 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _HNB_RNL_Identity_H_
|
||||
#define _HNB_RNL_Identity_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/hnbap/HNB-Cell-Identifier.h>
|
||||
#include <constr_CHOICE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum HNB_RNL_Identity_PR {
|
||||
HNB_RNL_Identity_PR_NOTHING, /* No components present */
|
||||
HNB_RNL_Identity_PR_hNB_Identity_as_Cell_Identifier,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} HNB_RNL_Identity_PR;
|
||||
|
||||
/* HNB-RNL-Identity */
|
||||
typedef struct HNB_RNL_Identity {
|
||||
HNB_RNL_Identity_PR present;
|
||||
union HNB_RNL_Identity_u {
|
||||
HNB_Cell_Identifier_t hNB_Identity_as_Cell_Identifier;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
} choice;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} HNB_RNL_Identity_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNB_RNL_Identity;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNB_RNL_Identity_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -1,59 +0,0 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-PDU"
|
||||
* found in "../../asn1/hnbap/HNBAP-PDU.asn"
|
||||
* `asn1c -gen-PER`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_PDU_H_
|
||||
#define _HNBAP_PDU_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/hnbap/InitiatingMessage.h>
|
||||
#include <osmocom/hnbap/SuccessfulOutcome.h>
|
||||
#include <osmocom/hnbap/UnsuccessfulOutcome.h>
|
||||
#include <constr_CHOICE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum HNBAP_PDU_PR {
|
||||
HNBAP_PDU_PR_NOTHING, /* No components present */
|
||||
HNBAP_PDU_PR_initiatingMessage,
|
||||
HNBAP_PDU_PR_successfulOutcome,
|
||||
HNBAP_PDU_PR_unsuccessfulOutcome,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} HNBAP_PDU_PR;
|
||||
|
||||
/* HNBAP-PDU */
|
||||
typedef struct HNBAP_PDU {
|
||||
HNBAP_PDU_PR present;
|
||||
union HNBAP_PDU_u {
|
||||
InitiatingMessage_t initiatingMessage;
|
||||
SuccessfulOutcome_t successfulOutcome;
|
||||
UnsuccessfulOutcome_t unsuccessfulOutcome;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
} choice;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} HNBAP_PDU_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_PDU;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_PDU_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,56 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_Access_stratum_release_indicator_H_
|
||||
#define _HNBAP_Access_stratum_release_indicator_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum HNBAP_Access_stratum_release_indicator {
|
||||
HNBAP_Access_stratum_release_indicator_r99 = 0,
|
||||
HNBAP_Access_stratum_release_indicator_rel_4 = 1,
|
||||
HNBAP_Access_stratum_release_indicator_rel_5 = 2,
|
||||
HNBAP_Access_stratum_release_indicator_rel_6 = 3,
|
||||
HNBAP_Access_stratum_release_indicator_rel_7 = 4,
|
||||
HNBAP_Access_stratum_release_indicator_rel_8_and_beyond = 5
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_HNBAP_Access_stratum_release_indicator;
|
||||
|
||||
/* HNBAP_Access-stratum-release-indicator */
|
||||
typedef long HNBAP_Access_stratum_release_indicator_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_Access_stratum_release_indicator;
|
||||
asn_struct_free_f HNBAP_Access_stratum_release_indicator_free;
|
||||
asn_struct_print_f HNBAP_Access_stratum_release_indicator_print;
|
||||
asn_constr_check_f HNBAP_Access_stratum_release_indicator_constraint;
|
||||
ber_type_decoder_f HNBAP_Access_stratum_release_indicator_decode_ber;
|
||||
der_type_encoder_f HNBAP_Access_stratum_release_indicator_encode_der;
|
||||
xer_type_decoder_f HNBAP_Access_stratum_release_indicator_decode_xer;
|
||||
xer_type_encoder_f HNBAP_Access_stratum_release_indicator_encode_xer;
|
||||
per_type_decoder_f HNBAP_Access_stratum_release_indicator_decode_uper;
|
||||
per_type_encoder_f HNBAP_Access_stratum_release_indicator_encode_uper;
|
||||
per_type_decoder_f HNBAP_Access_stratum_release_indicator_decode_aper;
|
||||
per_type_encoder_f HNBAP_Access_stratum_release_indicator_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_Access_stratum_release_indicator_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,52 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_AccessResult_H_
|
||||
#define _HNBAP_AccessResult_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum HNBAP_AccessResult {
|
||||
HNBAP_AccessResult_allowed = 0,
|
||||
HNBAP_AccessResult_notAllowed = 1
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_HNBAP_AccessResult;
|
||||
|
||||
/* HNBAP_AccessResult */
|
||||
typedef long HNBAP_AccessResult_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_AccessResult;
|
||||
asn_struct_free_f HNBAP_AccessResult_free;
|
||||
asn_struct_print_f HNBAP_AccessResult_print;
|
||||
asn_constr_check_f HNBAP_AccessResult_constraint;
|
||||
ber_type_decoder_f HNBAP_AccessResult_decode_ber;
|
||||
der_type_encoder_f HNBAP_AccessResult_encode_der;
|
||||
xer_type_decoder_f HNBAP_AccessResult_decode_xer;
|
||||
xer_type_encoder_f HNBAP_AccessResult_encode_xer;
|
||||
per_type_decoder_f HNBAP_AccessResult_decode_uper;
|
||||
per_type_encoder_f HNBAP_AccessResult_encode_uper;
|
||||
per_type_decoder_f HNBAP_AccessResult_decode_aper;
|
||||
per_type_encoder_f HNBAP_AccessResult_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_AccessResult_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_AdditionalNeighbourInfoList_H_
|
||||
#define _HNBAP_AdditionalNeighbourInfoList_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/hnbap/HNBAP_HNBConfigInfo.h>
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* HNBAP_AdditionalNeighbourInfoList */
|
||||
typedef struct HNBAP_AdditionalNeighbourInfoList {
|
||||
A_SEQUENCE_OF(HNBAP_HNBConfigInfo_t) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} HNBAP_AdditionalNeighbourInfoList_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_AdditionalNeighbourInfoList;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_AdditionalNeighbourInfoList_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -2,11 +2,11 @@
|
|||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -gen-PER`
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _AltitudeAndDirection_H_
|
||||
#define _AltitudeAndDirection_H_
|
||||
#ifndef _HNBAP_AltitudeAndDirection_H_
|
||||
#define _HNBAP_AltitudeAndDirection_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
@ -21,13 +21,13 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum directionOfAltitude {
|
||||
directionOfAltitude_height = 0,
|
||||
directionOfAltitude_depth = 1
|
||||
} e_directionOfAltitude;
|
||||
typedef enum HNBAP_AltitudeAndDirection__directionOfAltitude {
|
||||
HNBAP_AltitudeAndDirection__directionOfAltitude_height = 0,
|
||||
HNBAP_AltitudeAndDirection__directionOfAltitude_depth = 1
|
||||
} e_HNBAP_AltitudeAndDirection__directionOfAltitude;
|
||||
|
||||
/* AltitudeAndDirection */
|
||||
typedef struct AltitudeAndDirection {
|
||||
/* HNBAP_AltitudeAndDirection */
|
||||
typedef struct HNBAP_AltitudeAndDirection {
|
||||
long directionOfAltitude;
|
||||
long altitude;
|
||||
/*
|
||||
|
@ -37,15 +37,15 @@ typedef struct AltitudeAndDirection {
|
|||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AltitudeAndDirection_t;
|
||||
} HNBAP_AltitudeAndDirection_t;
|
||||
|
||||
/* Implementation */
|
||||
/* extern asn_TYPE_descriptor_t asn_DEF_directionOfAltitude_2; // (Use -fall-defs-global to expose) */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AltitudeAndDirection;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_AltitudeAndDirection;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AltitudeAndDirection_H_ */
|
||||
#endif /* _HNBAP_AltitudeAndDirection_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_BackoffTimer_H_
|
||||
#define _HNBAP_BackoffTimer_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeInteger.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* HNBAP_BackoffTimer */
|
||||
typedef long HNBAP_BackoffTimer_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_BackoffTimer;
|
||||
asn_struct_free_f HNBAP_BackoffTimer_free;
|
||||
asn_struct_print_f HNBAP_BackoffTimer_print;
|
||||
asn_constr_check_f HNBAP_BackoffTimer_constraint;
|
||||
ber_type_decoder_f HNBAP_BackoffTimer_decode_ber;
|
||||
der_type_encoder_f HNBAP_BackoffTimer_encode_der;
|
||||
xer_type_decoder_f HNBAP_BackoffTimer_decode_xer;
|
||||
xer_type_encoder_f HNBAP_BackoffTimer_encode_xer;
|
||||
per_type_decoder_f HNBAP_BackoffTimer_decode_uper;
|
||||
per_type_encoder_f HNBAP_BackoffTimer_encode_uper;
|
||||
per_type_decoder_f HNBAP_BackoffTimer_decode_aper;
|
||||
per_type_encoder_f HNBAP_BackoffTimer_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_BackoffTimer_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_BindingID_H_
|
||||
#define _HNBAP_BindingID_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <OCTET_STRING.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* HNBAP_BindingID */
|
||||
typedef OCTET_STRING_t HNBAP_BindingID_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_BindingID;
|
||||
asn_struct_free_f HNBAP_BindingID_free;
|
||||
asn_struct_print_f HNBAP_BindingID_print;
|
||||
asn_constr_check_f HNBAP_BindingID_constraint;
|
||||
ber_type_decoder_f HNBAP_BindingID_decode_ber;
|
||||
der_type_encoder_f HNBAP_BindingID_encode_der;
|
||||
xer_type_decoder_f HNBAP_BindingID_decode_xer;
|
||||
xer_type_encoder_f HNBAP_BindingID_encode_xer;
|
||||
per_type_decoder_f HNBAP_BindingID_decode_uper;
|
||||
per_type_encoder_f HNBAP_BindingID_encode_uper;
|
||||
per_type_decoder_f HNBAP_BindingID_decode_aper;
|
||||
per_type_encoder_f HNBAP_BindingID_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_BindingID_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,51 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_CELL_FACHMobilitySupport_H_
|
||||
#define _HNBAP_CELL_FACHMobilitySupport_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum HNBAP_CELL_FACHMobilitySupport {
|
||||
HNBAP_CELL_FACHMobilitySupport_supported = 0
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_HNBAP_CELL_FACHMobilitySupport;
|
||||
|
||||
/* HNBAP_CELL-FACHMobilitySupport */
|
||||
typedef long HNBAP_CELL_FACHMobilitySupport_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CELL_FACHMobilitySupport;
|
||||
asn_struct_free_f HNBAP_CELL_FACHMobilitySupport_free;
|
||||
asn_struct_print_f HNBAP_CELL_FACHMobilitySupport_print;
|
||||
asn_constr_check_f HNBAP_CELL_FACHMobilitySupport_constraint;
|
||||
ber_type_decoder_f HNBAP_CELL_FACHMobilitySupport_decode_ber;
|
||||
der_type_encoder_f HNBAP_CELL_FACHMobilitySupport_encode_der;
|
||||
xer_type_decoder_f HNBAP_CELL_FACHMobilitySupport_decode_xer;
|
||||
xer_type_encoder_f HNBAP_CELL_FACHMobilitySupport_encode_xer;
|
||||
per_type_decoder_f HNBAP_CELL_FACHMobilitySupport_decode_uper;
|
||||
per_type_encoder_f HNBAP_CELL_FACHMobilitySupport_encode_uper;
|
||||
per_type_decoder_f HNBAP_CELL_FACHMobilitySupport_decode_aper;
|
||||
per_type_encoder_f HNBAP_CELL_FACHMobilitySupport_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_CELL_FACHMobilitySupport_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,44 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_CGI_H_
|
||||
#define _HNBAP_CGI_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/hnbap/HNBAP_PLMNidentity.h>
|
||||
#include <osmocom/hnbap/HNBAP_LAC.h>
|
||||
#include <osmocom/hnbap/HNBAP_CI.h>
|
||||
#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* HNBAP_CGI */
|
||||
typedef struct HNBAP_CGI {
|
||||
HNBAP_PLMNidentity_t pLMNidentity;
|
||||
HNBAP_LAC_t lAC;
|
||||
HNBAP_CI_t cI;
|
||||
HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} HNBAP_CGI_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CGI;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_CGI_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_CI_H_
|
||||
#define _HNBAP_CI_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <OCTET_STRING.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* HNBAP_CI */
|
||||
typedef OCTET_STRING_t HNBAP_CI_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CI;
|
||||
asn_struct_free_f HNBAP_CI_free;
|
||||
asn_struct_print_f HNBAP_CI_print;
|
||||
asn_constr_check_f HNBAP_CI_constraint;
|
||||
ber_type_decoder_f HNBAP_CI_decode_ber;
|
||||
der_type_encoder_f HNBAP_CI_encode_der;
|
||||
xer_type_decoder_f HNBAP_CI_decode_xer;
|
||||
xer_type_encoder_f HNBAP_CI_encode_xer;
|
||||
per_type_decoder_f HNBAP_CI_decode_uper;
|
||||
per_type_encoder_f HNBAP_CI_encode_uper;
|
||||
per_type_decoder_f HNBAP_CI_decode_aper;
|
||||
per_type_encoder_f HNBAP_CI_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_CI_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,49 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_CN_DomainIndicator_H_
|
||||
#define _HNBAP_CN_DomainIndicator_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum HNBAP_CN_DomainIndicator {
|
||||
HNBAP_CN_DomainIndicator_cs_domain = 0,
|
||||
HNBAP_CN_DomainIndicator_ps_domain = 1
|
||||
} e_HNBAP_CN_DomainIndicator;
|
||||
|
||||
/* HNBAP_CN-DomainIndicator */
|
||||
typedef long HNBAP_CN_DomainIndicator_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CN_DomainIndicator;
|
||||
asn_struct_free_f HNBAP_CN_DomainIndicator_free;
|
||||
asn_struct_print_f HNBAP_CN_DomainIndicator_print;
|
||||
asn_constr_check_f HNBAP_CN_DomainIndicator_constraint;
|
||||
ber_type_decoder_f HNBAP_CN_DomainIndicator_decode_ber;
|
||||
der_type_encoder_f HNBAP_CN_DomainIndicator_encode_der;
|
||||
xer_type_decoder_f HNBAP_CN_DomainIndicator_decode_xer;
|
||||
xer_type_encoder_f HNBAP_CN_DomainIndicator_encode_xer;
|
||||
per_type_decoder_f HNBAP_CN_DomainIndicator_decode_uper;
|
||||
per_type_encoder_f HNBAP_CN_DomainIndicator_encode_uper;
|
||||
per_type_decoder_f HNBAP_CN_DomainIndicator_decode_aper;
|
||||
per_type_encoder_f HNBAP_CN_DomainIndicator_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_CN_DomainIndicator_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,52 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_CSG_Capability_H_
|
||||
#define _HNBAP_CSG_Capability_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum HNBAP_CSG_Capability {
|
||||
HNBAP_CSG_Capability_csg_capable = 0,
|
||||
HNBAP_CSG_Capability_not_csg_capable = 1
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_HNBAP_CSG_Capability;
|
||||
|
||||
/* HNBAP_CSG-Capability */
|
||||
typedef long HNBAP_CSG_Capability_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CSG_Capability;
|
||||
asn_struct_free_f HNBAP_CSG_Capability_free;
|
||||
asn_struct_print_f HNBAP_CSG_Capability_print;
|
||||
asn_constr_check_f HNBAP_CSG_Capability_constraint;
|
||||
ber_type_decoder_f HNBAP_CSG_Capability_decode_ber;
|
||||
der_type_encoder_f HNBAP_CSG_Capability_encode_der;
|
||||
xer_type_decoder_f HNBAP_CSG_Capability_decode_xer;
|
||||
xer_type_encoder_f HNBAP_CSG_Capability_encode_xer;
|
||||
per_type_decoder_f HNBAP_CSG_Capability_decode_uper;
|
||||
per_type_encoder_f HNBAP_CSG_Capability_encode_uper;
|
||||
per_type_decoder_f HNBAP_CSG_Capability_decode_aper;
|
||||
per_type_encoder_f HNBAP_CSG_Capability_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_CSG_Capability_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_CSG_ID_H_
|
||||
#define _HNBAP_CSG_ID_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <BIT_STRING.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* HNBAP_CSG-ID */
|
||||
typedef BIT_STRING_t HNBAP_CSG_ID_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CSG_ID;
|
||||
asn_struct_free_f HNBAP_CSG_ID_free;
|
||||
asn_struct_print_f HNBAP_CSG_ID_print;
|
||||
asn_constr_check_f HNBAP_CSG_ID_constraint;
|
||||
ber_type_decoder_f HNBAP_CSG_ID_decode_ber;
|
||||
der_type_encoder_f HNBAP_CSG_ID_encode_der;
|
||||
xer_type_decoder_f HNBAP_CSG_ID_decode_xer;
|
||||
xer_type_encoder_f HNBAP_CSG_ID_encode_xer;
|
||||
per_type_decoder_f HNBAP_CSG_ID_decode_uper;
|
||||
per_type_encoder_f HNBAP_CSG_ID_encode_uper;
|
||||
per_type_decoder_f HNBAP_CSG_ID_decode_aper;
|
||||
per_type_encoder_f HNBAP_CSG_ID_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_CSG_ID_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,52 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_CSGMembershipStatus_H_
|
||||
#define _HNBAP_CSGMembershipStatus_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum HNBAP_CSGMembershipStatus {
|
||||
HNBAP_CSGMembershipStatus_member = 0,
|
||||
HNBAP_CSGMembershipStatus_non_member = 1
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_HNBAP_CSGMembershipStatus;
|
||||
|
||||
/* HNBAP_CSGMembershipStatus */
|
||||
typedef long HNBAP_CSGMembershipStatus_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CSGMembershipStatus;
|
||||
asn_struct_free_f HNBAP_CSGMembershipStatus_free;
|
||||
asn_struct_print_f HNBAP_CSGMembershipStatus_print;
|
||||
asn_constr_check_f HNBAP_CSGMembershipStatus_constraint;
|
||||
ber_type_decoder_f HNBAP_CSGMembershipStatus_decode_ber;
|
||||
der_type_encoder_f HNBAP_CSGMembershipStatus_encode_der;
|
||||
xer_type_decoder_f HNBAP_CSGMembershipStatus_decode_xer;
|
||||
xer_type_encoder_f HNBAP_CSGMembershipStatus_encode_xer;
|
||||
per_type_decoder_f HNBAP_CSGMembershipStatus_decode_uper;
|
||||
per_type_encoder_f HNBAP_CSGMembershipStatus_encode_uper;
|
||||
per_type_decoder_f HNBAP_CSGMembershipStatus_decode_aper;
|
||||
per_type_encoder_f HNBAP_CSGMembershipStatus_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_CSGMembershipStatus_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -2,16 +2,17 @@
|
|||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-PDU"
|
||||
* found in "../../asn1/hnbap/HNBAP-PDU.asn"
|
||||
* `asn1c -gen-PER`
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _CSGMembershipUpdate_H_
|
||||
#define _CSGMembershipUpdate_H_
|
||||
#ifndef _HNBAP_CSGMembershipUpdate_H_
|
||||
#define _HNBAP_CSGMembershipUpdate_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/hnbap/HNBAP_IE.h>
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
@ -20,13 +21,10 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct IE;
|
||||
|
||||
/* CSGMembershipUpdate */
|
||||
typedef struct CSGMembershipUpdate {
|
||||
struct csgMembershipUpdate_ies {
|
||||
A_SEQUENCE_OF(struct IE) list;
|
||||
/* HNBAP_CSGMembershipUpdate */
|
||||
typedef struct HNBAP_CSGMembershipUpdate {
|
||||
struct HNBAP_CSGMembershipUpdate__csgMembershipUpdate_ies {
|
||||
A_SEQUENCE_OF(HNBAP_IE_t) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
|
@ -38,17 +36,14 @@ typedef struct CSGMembershipUpdate {
|
|||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} CSGMembershipUpdate_t;
|
||||
} HNBAP_CSGMembershipUpdate_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_CSGMembershipUpdate;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CSGMembershipUpdate;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include <osmocom/hnbap/IE.h>
|
||||
|
||||
#endif /* _CSGMembershipUpdate_H_ */
|
||||
#endif /* _HNBAP_CSGMembershipUpdate_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,62 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_Cause_H_
|
||||
#define _HNBAP_Cause_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/hnbap/HNBAP_CauseRadioNetwork.h>
|
||||
#include <osmocom/hnbap/HNBAP_CauseTransport.h>
|
||||
#include <osmocom/hnbap/HNBAP_CauseProtocol.h>
|
||||
#include <osmocom/hnbap/HNBAP_CauseMisc.h>
|
||||
#include <constr_CHOICE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum HNBAP_Cause_PR {
|
||||
HNBAP_Cause_PR_NOTHING, /* No components present */
|
||||
HNBAP_Cause_PR_radioNetwork,
|
||||
HNBAP_Cause_PR_transport,
|
||||
HNBAP_Cause_PR_protocol,
|
||||
HNBAP_Cause_PR_misc,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} HNBAP_Cause_PR;
|
||||
|
||||
/* HNBAP_Cause */
|
||||
typedef struct HNBAP_Cause {
|
||||
HNBAP_Cause_PR present;
|
||||
union HNBAP_Cause_u {
|
||||
HNBAP_CauseRadioNetwork_t radioNetwork;
|
||||
HNBAP_CauseTransport_t transport;
|
||||
HNBAP_CauseProtocol_t protocol;
|
||||
HNBAP_CauseMisc_t misc;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
} choice;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} HNBAP_Cause_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_Cause;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_Cause_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,54 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_CauseMisc_H_
|
||||
#define _HNBAP_CauseMisc_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum HNBAP_CauseMisc {
|
||||
HNBAP_CauseMisc_processing_overload = 0,
|
||||
HNBAP_CauseMisc_hardware_failure = 1,
|
||||
HNBAP_CauseMisc_o_and_m_intervention = 2,
|
||||
HNBAP_CauseMisc_unspecified = 3
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_HNBAP_CauseMisc;
|
||||
|
||||
/* HNBAP_CauseMisc */
|
||||
typedef long HNBAP_CauseMisc_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CauseMisc;
|
||||
asn_struct_free_f HNBAP_CauseMisc_free;
|
||||
asn_struct_print_f HNBAP_CauseMisc_print;
|
||||
asn_constr_check_f HNBAP_CauseMisc_constraint;
|
||||
ber_type_decoder_f HNBAP_CauseMisc_decode_ber;
|
||||
der_type_encoder_f HNBAP_CauseMisc_encode_der;
|
||||
xer_type_decoder_f HNBAP_CauseMisc_decode_xer;
|
||||
xer_type_encoder_f HNBAP_CauseMisc_encode_xer;
|
||||
per_type_decoder_f HNBAP_CauseMisc_decode_uper;
|
||||
per_type_encoder_f HNBAP_CauseMisc_encode_uper;
|
||||
per_type_decoder_f HNBAP_CauseMisc_decode_aper;
|
||||
per_type_encoder_f HNBAP_CauseMisc_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_CauseMisc_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,57 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_CauseProtocol_H_
|
||||
#define _HNBAP_CauseProtocol_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum HNBAP_CauseProtocol {
|
||||
HNBAP_CauseProtocol_transfer_syntax_error = 0,
|
||||
HNBAP_CauseProtocol_abstract_syntax_error_reject = 1,
|
||||
HNBAP_CauseProtocol_abstract_syntax_error_ignore_and_notify = 2,
|
||||
HNBAP_CauseProtocol_message_not_compatible_with_receiver_state = 3,
|
||||
HNBAP_CauseProtocol_semantic_error = 4,
|
||||
HNBAP_CauseProtocol_unspecified = 5,
|
||||
HNBAP_CauseProtocol_abstract_syntax_error_falsely_constructed_message = 6
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_HNBAP_CauseProtocol;
|
||||
|
||||
/* HNBAP_CauseProtocol */
|
||||
typedef long HNBAP_CauseProtocol_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CauseProtocol;
|
||||
asn_struct_free_f HNBAP_CauseProtocol_free;
|
||||
asn_struct_print_f HNBAP_CauseProtocol_print;
|
||||
asn_constr_check_f HNBAP_CauseProtocol_constraint;
|
||||
ber_type_decoder_f HNBAP_CauseProtocol_decode_ber;
|
||||
der_type_encoder_f HNBAP_CauseProtocol_encode_der;
|
||||
xer_type_decoder_f HNBAP_CauseProtocol_decode_xer;
|
||||
xer_type_encoder_f HNBAP_CauseProtocol_encode_xer;
|
||||
per_type_decoder_f HNBAP_CauseProtocol_decode_uper;
|
||||
per_type_encoder_f HNBAP_CauseProtocol_encode_uper;
|
||||
per_type_decoder_f HNBAP_CauseProtocol_decode_aper;
|
||||
per_type_encoder_f HNBAP_CauseProtocol_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_CauseProtocol_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,66 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_CauseRadioNetwork_H_
|
||||
#define _HNBAP_CauseRadioNetwork_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum HNBAP_CauseRadioNetwork {
|
||||
HNBAP_CauseRadioNetwork_overload = 0,
|
||||
HNBAP_CauseRadioNetwork_unauthorised_Location = 1,
|
||||
HNBAP_CauseRadioNetwork_unauthorised_HNB = 2,
|
||||
HNBAP_CauseRadioNetwork_hNB_parameter_mismatch = 3,
|
||||
HNBAP_CauseRadioNetwork_invalid_UE_identity = 4,
|
||||
HNBAP_CauseRadioNetwork_uE_not_allowed_on_this_HNB = 5,
|
||||
HNBAP_CauseRadioNetwork_uE_unauthorised = 6,
|
||||
HNBAP_CauseRadioNetwork_connection_with_UE_lost = 7,
|
||||
HNBAP_CauseRadioNetwork_ue_RRC_release = 8,
|
||||
HNBAP_CauseRadioNetwork_hNB_not_registered = 9,
|
||||
HNBAP_CauseRadioNetwork_unspecified = 10,
|
||||
HNBAP_CauseRadioNetwork_normal = 11,
|
||||
HNBAP_CauseRadioNetwork_uE_relocated = 12,
|
||||
HNBAP_CauseRadioNetwork_ue_registered_in_another_HNB = 13,
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
HNBAP_CauseRadioNetwork_no_neighbour_information_available = 14,
|
||||
HNBAP_CauseRadioNetwork_iurh_connection_to_that_neighbour_not_Allowed = 15
|
||||
} e_HNBAP_CauseRadioNetwork;
|
||||
|
||||
/* HNBAP_CauseRadioNetwork */
|
||||
typedef long HNBAP_CauseRadioNetwork_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CauseRadioNetwork;
|
||||
asn_struct_free_f HNBAP_CauseRadioNetwork_free;
|
||||
asn_struct_print_f HNBAP_CauseRadioNetwork_print;
|
||||
asn_constr_check_f HNBAP_CauseRadioNetwork_constraint;
|
||||
ber_type_decoder_f HNBAP_CauseRadioNetwork_decode_ber;
|
||||
der_type_encoder_f HNBAP_CauseRadioNetwork_encode_der;
|
||||
xer_type_decoder_f HNBAP_CauseRadioNetwork_decode_xer;
|
||||
xer_type_encoder_f HNBAP_CauseRadioNetwork_encode_xer;
|
||||
per_type_decoder_f HNBAP_CauseRadioNetwork_decode_uper;
|
||||
per_type_encoder_f HNBAP_CauseRadioNetwork_encode_uper;
|
||||
per_type_decoder_f HNBAP_CauseRadioNetwork_decode_aper;
|
||||
per_type_encoder_f HNBAP_CauseRadioNetwork_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_CauseRadioNetwork_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,52 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_CauseTransport_H_
|
||||
#define _HNBAP_CauseTransport_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum HNBAP_CauseTransport {
|
||||
HNBAP_CauseTransport_transport_resource_unavailable = 0,
|
||||
HNBAP_CauseTransport_unspecified = 1
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_HNBAP_CauseTransport;
|
||||
|
||||
/* HNBAP_CauseTransport */
|
||||
typedef long HNBAP_CauseTransport_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CauseTransport;
|
||||
asn_struct_free_f HNBAP_CauseTransport_free;
|
||||
asn_struct_print_f HNBAP_CauseTransport_print;
|
||||
asn_constr_check_f HNBAP_CauseTransport_constraint;
|
||||
ber_type_decoder_f HNBAP_CauseTransport_decode_ber;
|
||||
der_type_encoder_f HNBAP_CauseTransport_encode_der;
|
||||
xer_type_decoder_f HNBAP_CauseTransport_decode_xer;
|
||||
xer_type_encoder_f HNBAP_CauseTransport_encode_xer;
|
||||
per_type_decoder_f HNBAP_CauseTransport_decode_uper;
|
||||
per_type_encoder_f HNBAP_CauseTransport_encode_uper;
|
||||
per_type_decoder_f HNBAP_CauseTransport_decode_aper;
|
||||
per_type_encoder_f HNBAP_CauseTransport_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_CauseTransport_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_CellIdentity_H_
|
||||
#define _HNBAP_CellIdentity_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <BIT_STRING.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* HNBAP_CellIdentity */
|
||||
typedef BIT_STRING_t HNBAP_CellIdentity_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CellIdentity;
|
||||
asn_struct_free_f HNBAP_CellIdentity_free;
|
||||
asn_struct_print_f HNBAP_CellIdentity_print;
|
||||
asn_constr_check_f HNBAP_CellIdentity_constraint;
|
||||
ber_type_decoder_f HNBAP_CellIdentity_decode_ber;
|
||||
der_type_encoder_f HNBAP_CellIdentity_encode_der;
|
||||
xer_type_decoder_f HNBAP_CellIdentity_decode_xer;
|
||||
xer_type_encoder_f HNBAP_CellIdentity_encode_xer;
|
||||
per_type_decoder_f HNBAP_CellIdentity_decode_uper;
|
||||
per_type_encoder_f HNBAP_CellIdentity_encode_uper;
|
||||
per_type_decoder_f HNBAP_CellIdentity_decode_aper;
|
||||
per_type_encoder_f HNBAP_CellIdentity_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_CellIdentity_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,56 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_ConfigurationInformation_H_
|
||||
#define _HNBAP_ConfigurationInformation_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/hnbap/HNBAP_HNBConfigurationInformationProvided.h>
|
||||
#include <osmocom/hnbap/HNBAP_HNBConfigurationInformationMissing.h>
|
||||
#include <constr_CHOICE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum HNBAP_ConfigurationInformation_PR {
|
||||
HNBAP_ConfigurationInformation_PR_NOTHING, /* No components present */
|
||||
HNBAP_ConfigurationInformation_PR_provided,
|
||||
HNBAP_ConfigurationInformation_PR_missing,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} HNBAP_ConfigurationInformation_PR;
|
||||
|
||||
/* HNBAP_ConfigurationInformation */
|
||||
typedef struct HNBAP_ConfigurationInformation {
|
||||
HNBAP_ConfigurationInformation_PR present;
|
||||
union HNBAP_ConfigurationInformation_u {
|
||||
HNBAP_HNBConfigurationInformationProvided_t provided;
|
||||
HNBAP_HNBConfigurationInformationMissing_t missing;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
} choice;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} HNBAP_ConfigurationInformation_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_ConfigurationInformation;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_ConfigurationInformation_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "HNBAP-IEs"
|
||||
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
|
||||
* `asn1c -R -fcompound-names`
|
||||
*/
|
||||
|
||||
#ifndef _HNBAP_Context_ID_H_
|
||||
#define _HNBAP_Context_ID_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <BIT_STRING.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* HNBAP_Context-ID */
|
||||
typedef BIT_STRING_t HNBAP_Context_ID_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_Context_ID;
|
||||
asn_struct_free_f HNBAP_Context_ID_free;
|
||||
asn_struct_print_f HNBAP_Context_ID_print;
|
||||
asn_constr_check_f HNBAP_Context_ID_constraint;
|
||||
ber_type_decoder_f HNBAP_Context_ID_decode_ber;
|
||||
der_type_encoder_f HNBAP_Context_ID_encode_der;
|
||||
xer_type_decoder_f HNBAP_Context_ID_decode_xer;
|
||||
xer_type_encoder_f HNBAP_Context_ID_encode_xer;
|
||||
per_type_decoder_f HNBAP_Context_ID_decode_uper;
|
||||
per_type_encoder_f HNBAP_Context_ID_encode_uper;
|
||||
per_type_decoder_f HNBAP_Context_ID_decode_aper;
|
||||
per_type_encoder_f HNBAP_Context_ID_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _HNBAP_Context_ID_H_ */
|
||||
#include <asn_internal.h>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue