Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) https://osmocom.org/projects/libosmo-ranap
Go to file
Harald Welte 49695572ba One further RANAP hacking session
This is not development, it is random trial and error hacking.  I really
hate the fact that we have no useful asn.1 code generator and need to
work with hacks like asn1tostruct.py and asn1c without information
object classes :/

This commit is a one-day-long iteration of trial+error, manually editing
and adding the .asn source of RANAP until we get something that in the
end at least compiles and links.  Do I trust the resulting code? No.
But we have no alternative :(
2015-12-16 17:26:05 +01:00
asn1 One further RANAP hacking session 2015-12-16 17:26:05 +01:00
pcap respond to HNBAP UE REGISTER REQ withe correspnding ACCEPT 2015-09-11 01:36:44 +02:00
specs add more relevant/related specs 2015-10-07 15:59:45 +02:00
src One further RANAP hacking session 2015-12-16 17:26:05 +01:00
.gitignore Make .gitignore aware of autoconf artefacts 2015-12-16 13:17:22 +01:00
Makefile.am Autotoolize the build 2015-12-15 15:10:31 +01:00
README Add README file about current state 2015-09-10 11:01:59 +02:00
configure.ac Autotoolize the build 2015-12-15 15:10:31 +01:00


Osmocom Iuh expermientation 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

Just go to the 'src/' directory and type make.  As external library
dependencies, you will need
* libosmocore from git://git.osmocom.org/libosmocore
* libasn1c from git://git.osmocom.org/libasn1c

h1. Using

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-REGITER-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