blob: 655735878dbc6abe4acedc27c244c8957f367ec9 [file] [log] [blame]
Neels Hofmeyr6682a372015-12-21 17:12:22 +01001Osmocom Iuh experimentation code
Harald Welteb908f632015-09-10 11:01:59 +02002(C) 2015 by Harald Welte <laforge@gnumonks.org>
3
4This code is a playground for implementing something along the lines of
5the an Iuh interface of a HNB-GW. The intent is to later integrate this
6with OsmoNITB + OsmoSGSN, in order to have 3G capable 'network in the
7box'.
8
9h1. Building
10
Neels Hofmeyr6682a372015-12-21 17:12:22 +010011As external library dependencies, you will need
Harald Welteb908f632015-09-10 11:01:59 +020012* libosmocore from git://git.osmocom.org/libosmocore
13* libasn1c from git://git.osmocom.org/libasn1c
Neels Hofmeyr6682a372015-12-21 17:12:22 +010014* libsctp-dev (this is the package name in Debian)
15
16To bootstrap the build, in the root directory, run:
17
18 autoreconf --install
19
20After that, run the usual
21
22 ./configure [options]
23 make
24 [sudo] make install
Harald Welteb908f632015-09-10 11:01:59 +020025
26h1. Using
27
Neels Hofmeyr6682a372015-12-21 17:12:22 +010028Note: osmo-iuh is in active development (December 2015, January 2016) so below
29statements may outdate rapidly.
30
Harald Welteb908f632015-09-10 11:01:59 +020031there's not much to use yet. But if you run the 'hnbgw' executable,
32it will open a listening SCTP socket and wait for incoming Iuh
Neels Hofmeyr6682a372015-12-21 17:12:22 +010033connections. It will accept any HNB-REGISTER-REQUEST, so the homeNodeB
Harald Welteb908f632015-09-10 11:01:59 +020034should start to establish RUA and RANAP (which we haven't implemented
35yet).
36
37h1. Regenerating C code from ASN.1 source
38
39In order to re-generate the C source code from the ASN.1 source,
40you will need a modified asn1c which has the following features:
41* APER support (the patch from Eurecom, or its forward-ported version
42 from the aper branch of git://git.osmocom.org/asn1c)
43* support for prefixing the generated types (aper-prefix branch of
44 git://git.osmocom.org/asn1c)