Harald Welte | b908f63 | 2015-09-10 11:01:59 +0200 | [diff] [blame] | 1 | Osmocom Iuh expermientation code |
| 2 | (C) 2015 by Harald Welte <laforge@gnumonks.org> |
| 3 | |
| 4 | This code is a playground for implementing something along the lines of |
| 5 | the an Iuh interface of a HNB-GW. The intent is to later integrate this |
| 6 | with OsmoNITB + OsmoSGSN, in order to have 3G capable 'network in the |
| 7 | box'. |
| 8 | |
| 9 | h1. Building |
| 10 | |
| 11 | Just go to the 'src/' directory and type make. As external library |
| 12 | dependencies, you will need |
| 13 | * libosmocore from git://git.osmocom.org/libosmocore |
| 14 | * libasn1c from git://git.osmocom.org/libasn1c |
| 15 | |
| 16 | h1. Using |
| 17 | |
| 18 | there's not much to use yet. But if you run the 'hnbgw' executable, |
| 19 | it will open a listening SCTP socket and wait for incoming Iuh |
| 20 | connections. It will accept any HNB-REGITER-REQUEST, so the homeNodeB |
| 21 | should start to establish RUA and RANAP (which we haven't implemented |
| 22 | yet). |
| 23 | |
| 24 | h1. Regenerating C code from ASN.1 source |
| 25 | |
| 26 | In order to re-generate the C source code from the ASN.1 source, |
| 27 | you will need a modified asn1c which has the following features: |
| 28 | * APER support (the patch from Eurecom, or its forward-ported version |
| 29 | from the aper branch of git://git.osmocom.org/asn1c) |
| 30 | * support for prefixing the generated types (aper-prefix branch of |
| 31 | git://git.osmocom.org/asn1c) |