Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) https://osmocom.org/projects/libosmo-ranap
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Pau Espin e395b75619
hnb-test: Fix rc var may be used uninitialized
1 year ago
asn1 debian, asn1tostruct.py: switch to python3 3 years ago
contrib contrib/osmo-iuh.spec.in: fix header packaging 1 year ago
debian Provide libosmo-rua as a public shared library 1 year ago
doc manuals: generate vty reference xml at build time 2 years ago
include Provide libosmo-rua as a public shared library 1 year ago
pcap Better capture for PS Data 7 years ago
specs import TR 25.931 with examples of signalling procedures 7 years ago
src hnb-test: Fix rc var may be used uninitialized 1 year ago
.gitignore contrib: integrate RPM spec 3 years ago
.gitreview add .gitreview to support git review plugin 6 years ago
COPYING move COPYING file to root directory 7 years ago
Makefile.am Provide libosmo-rua as a public shared library 1 year ago
README.md README.md: Document how to re-generate code from ASN1 files 1 year ago
TODO-RELEASE debian: Actually build manuals; add osmo-hnbgw-doc package 2 years ago
configure.ac Provide libosmo-rua as a public shared library 1 year ago
git-version-gen add git-version-gen to auto-generate git based version number 7 years ago
libosmo-hnbap.pc.in Provide libosmo-hnbap as a public shared library 1 year ago
libosmo-ranap.pc.in add pkg-config file for libosmo-ranap 7 years ago
libosmo-rua.pc.in Provide libosmo-rua as a public shared library 1 year ago
libosmo-sabp.pc.in sabp: Generate C/H files for SABP; create libosmo-sabp 4 years ago
move-asn1-header-files.sh move-asn1-header-files.sh: Replace original asn file path in generated asn1 header files 1 year ago

README.md

osmo-iuh - Osmocom Iuh and HNB-GW 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.

It is part of the Osmocom Open Source Mobile Communications project.

Homepage

The official homepage of the project is https://osmocom.org/projects/osmohnbgw/wiki

GIT Repository

You can clone from the official libosmocore.git repository using

git clone git://git.osmocom.org/osmo-iuh.git

There is a cgit interface at http://git.osmocom.org/osmo-iuh/

Documentation

There is currently no documentation beyond the wiki available on the homepage. We would love to see somebody contributing a manual that can be part of the osmo-gsm-manuals suite.

Mailing List

Discussions related to osmo-iuh are happening on the openbsc@lists.osmocom.org mailing list, please see https://lists.osmocom.org/mailman/listinfo/openbsc for subscription options and the list archive.

Please observe the Osmocom Mailing List Rules when posting.

Contributing

Our coding standards are described at https://osmocom.org/projects/cellular-infrastructure/wiki/Coding_standards

We us a gerrit based patch submission/review process for managing contributions. Please see https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit for more details

The current patch queue for osmo-iuh can be seen at https://gerrit.osmocom.org/#/q/project:osmo-iuh+status:open

Building

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
  • 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)

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

autoreconf --install

After that, run the usual

./configure [options]
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)
  • Then in osmo-iuh.git: make -C src/ regen