Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) https://osmocom.org/projects/libosmo-ranap
Go to file
Neels Hofmeyr c04a96c476 move asn1 headers to include/ dir (5/5)
Do all remaining changes necessary for a working build.

Add Makefile.am files in include/... subdirs.

Remove noinst_HEADERS directives from src/*/Makefile.am, but keep the headers
list to feed to move-asn1-header-files.sh.

Adjust all #includes in src/*_common.h and elsewhere. In hnbap_common.h,
separate the ASN.1 "primitive" headers from the others, and include them
without a subdir path, as before.
2016-01-04 18:11:19 +01:00
asn1 RANAP-PDU-Contents: fix syntax error regarding InitialUE-Message 2015-12-27 11:03:44 +01:00
doc import message sequence charts (ladder diagrams) for RUA/RANAP/NAS 2016-01-01 16:47:13 +01:00
include move asn1 headers to include/ dir (5/5) 2016-01-04 18:11:19 +01:00
pcap Add various RANAP packet captures (pcap files) found on the net 2015-12-19 14:52:44 +01:00
specs add TS 25.412 spec 2015-12-19 16:24:22 +01:00
src move asn1 headers to include/ dir (5/5) 2016-01-04 18:11:19 +01:00
.gitignore update .gitignore 2016-01-03 16:34:01 +01:00
COPYING move COPYING file to root directory 2015-12-21 21:01:00 +01:00
Makefile.am move asn1 headers to include/ dir (5/5) 2016-01-04 18:11:19 +01:00
README README, .gitignore 2015-12-22 12:22:10 +01:00
configure.ac move asn1 headers to include/ dir (5/5) 2016-01-04 18:11:19 +01:00
git-version-gen add git-version-gen to auto-generate git based version number 2016-01-03 18:08:05 +01:00
libosmo-ranap.pc.in add pkg-config file for libosmo-ranap 2016-01-03 18:12:22 +01:00
move-asn1-header-files.sh move asn1 headers to include/ dir (3/5) 2016-01-04 18:11:19 +01:00


Osmocom Iuh experimentation code
(C) 2015 by Harald Welte <laforge@gnumonks.org>

This code is a playground for implementing something along the lines of
the an Iuh interface of a HNB-GW.  The intent is to later integrate this
with OsmoNITB + OsmoSGSN, in order to have 3G capable 'network in the

h1. Building

As external library dependencies, you will need
* libosmocore from git://git.osmocom.org/libosmocore
* libasn1c from git://git.osmocom.org/libasn1c
* libsctp-dev (this is the package name in Debian)

To bootstrap the build, in the root directory, run:

    autoreconf --install

After that, run the usual

    ./configure [options]
    [sudo] make install

h1. Using

Note: osmo-iuh is in active development (December 2015, January 2016) so below
statements may outdate rapidly.

there's not much to use yet.  But 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, so the homeNodeB
should start to establish RUA and RANAP (which we haven't implemented

h1. 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