aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-01-07asn1tostruct: Add memory free functions and use them in HNBAPDaniel Willmann2-2/+37
2016-01-07hnbgw_hnbap: Handle hnb deregister message as wellDaniel Willmann1-0/+18
2016-01-07hnbgw: When a HNB is released release associated UEs as wellDaniel Willmann1-0/+11
2016-01-07hnbgw: Use libosmo-netif for SCCP connection handlingDaniel Willmann5-78/+54
2016-01-07Correct postprocessing of generated filesDaniel Willmann1-4/+4
Rewrite ranap_common.h include path in ranap_ies_defs.h as well Don't move ranap_ies_defs.h to the install directory, but move it inside the source tree
2016-01-06also 'sed' the include path of the ranap_common.h fileHarald Welte1-0/+1
2016-01-06make ranap_common.cn.[ch] part of libosmo-ranapHarald Welte5-3/+5
2016-01-06ranap_common_cn.c: Use call-backs rather than function callsHarald Welte3-20/+13
When we use call-back function pointers with ranap_cn_rx_c{o,l}() functions, we can (soon) migrate it into libosmo-ranap without an application having to provide 'magic symbols' that the library expects to be able to call.
2016-01-05move ranap_*.h,iu_helpers.h to include/osmocom/ranap/Neels Hofmeyr17-29/+41
A bit hacky: the ranap_ies_defs.h is generated together with the ranap_encoder.c and ranap_decoder.c. See comments in src/Makefile.am and include/osmocom/ranap/Makefile.am.
2016-01-05Fix install location to osmocom/ranap (without osmo-iuh)Neels Hofmeyr1-1/+1
2016-01-05hnbap_common.c: Fix include pathHarald Welte1-1/+1
2016-01-05asn1tostruct.py: don't generate unused local struct instances.Neels Hofmeyr1-3/+2
2016-01-05gitignore (dummy-cn, testsuite.dir)Neels Hofmeyr1-0/+2
2016-01-05rebuild en/decoders when asn1tostruct.py changedNeels Hofmeyr1-3/+3
Add asn1tostruct.py as dependency for the targets that use it, so that any modification to the asn1tostruct.py regenerates everything related automatically.
2016-01-05Fix -I in tests/ (broken by include dir changes)Neels Hofmeyr1-2/+2
2016-01-05Fix subdirs of include/osmocom/Makefile.amNeels Hofmeyr1-1/+1
2016-01-05install only ranap headers, make rua and hnbap headers 'noinst'.Neels Hofmeyr2-7/+2
Only ranap will be used in external code, hnbap and rua use will be limited to the osmo-iuh repos.
2016-01-05Remove osmo-iuh subdir level from include/ (2/2)Neels Hofmeyr1169-2359/+2358
Make all changes to #include statements and build files.
2016-01-05Remove osmo-iuh subdir level from include/ (1/2)Neels Hofmeyr733-2/+0
First just move the files to make the upcoming commit diff easier to read.
2016-01-04gitignore m4 and libosmo-ranap.pcNeels Hofmeyr1-0/+2
2016-01-04move asn1 headers to include/ dir (5/5)Neels Hofmeyr17-749/+1498
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-04move asn1 headers to include/ dir (4/5)Neels Hofmeyr729-0/+0
Move headers.
2016-01-04move asn1 headers to include/ dir (3/5)Neels Hofmeyr1-1/+1
Enable header move. Don't actually move yet.
2016-01-04move asn1 headers to include/ dir (2/5)Neels Hofmeyr1160-1619/+1619
Show effects of the new sed step on asn1-generated files, without moving the files.
2016-01-04move asn1 headers to include/ dir (1/5)Neels Hofmeyr5-2/+51
Add move-asn1-header-files.sh to do header file moving and sed'ding the include statements. The file moving part is disabled until a later commit, to make reading the diffs easier. Call shell script from src/{hnbap,ranap,rua}/Makefile.am regen targets. Add convenience regen target to src/Makefile.am, calling regen in the three subdirs. This change is split over several commits to ease diff reading. Subsequent commits show, in steps: - the "unmoved" effect of sed, - header moves, - adjust build system and include statements.
2016-01-03add pkg-config file for libosmo-ranapHarald Welte3-0/+14
2016-01-03add git-version-gen to auto-generate git based version numberHarald Welte3-3/+162
2016-01-03move tests/rua_helper.[ch] to src directoryHarald Welte5-11/+14
The RUA Helper is not test-specific.
2016-01-03add test-ranap to testsuiteHarald Welte2-0/+211
2016-01-03steps towards making 'make distcheck' workHarald Welte5-7/+10
'make distcheck' checks for out-of-source-tree builds and whether the distribution tarball includes all source files. This commit fixes many problems, except some remaining with src/test still to-be-fixd.
2016-01-03move asn1helpers.[ch] to libasn1cHarald Welte4-184/+6
Those helper functions are not specific to osmo-iuh, so I moved them to libasn1c, which also resolves the problem that libosmo-ranap is depending on those helpers (and subsequently external programs linking libosmo-ranap will need to have access to the helpers)
2016-01-03don't include hnbgw.h from ranap header filesHarald Welte6-4/+15
To use libosmo-ranap from outside of this repository, we need to eliminated all dependencies to local header files
2016-01-03update .gitignoreHarald Welte1-0/+8
2016-01-03merge (+rename) iu_helpers.c into libosmo-ranapHarald Welte9-22/+23
2016-01-03Makefile restructuring; install ranap header filesHarald Welte2-13/+35
2016-01-03Introduce libosmo-ranap.so as shared RANAP libHarald Welte4-14/+18
This shared RANAP library will be used not only by hnbgw, but also by OsmoCSCN, OsmoSGSN.
2016-01-01import message sequence charts (ladder diagrams) for RUA/RANAP/NASHarald Welte7-0/+403
2016-01-01test-ranap: Call new RANAP encoder functions from ranap_msg_factory.cHarald Welte1-0/+35
2016-01-01ranap_msg_factory: Fix memory leaks in OCTET_STRINGHarald Welte1-9/+10
the 'ies' types do not have a free() function, and thus we have to avoid using any functions that dynamically allocate memory, such as OCTET_STRING_fromBuf.
2016-01-01asn1helpers: Add new OCTET_STRING_noallocHarald Welte1-0/+6
This assings the buffer + size of an OCTET_STRING without allocating a new buffer and copying the data.
2016-01-01ranap_msg_factory: Mark 'RANAP_Cause_t *' as constHarald Welte2-2/+2
2016-01-01ranap_msg_factory: functions for RAB and IU Release RequestHarald Welte2-0/+75
2015-12-29fix copy+paste mistakes when encoding GTP TEI in RAB ParametersHarald Welte1-3/+3
2015-12-29make bitrates configurable in new_rab_par_data()Harald Welte1-4/+5
2015-12-29more verbose logging in various placesHarald Welte4-2/+15
2015-12-28ranap_common_cn: Handle non-terminal 'outcome' for RAB-ASS.respHarald Welte1-0/+30
2015-12-28ranap_common_cn: Fix typoHarald Welte1-1/+1
2015-12-28ranap_msg_factory.c: Use X.213 NSAP encoding for TransportLayerAddrHarald Welte1-4/+24
2015-12-28ranap_msg_factory: CipheringInformation is optional in SecurityModeCommandHarald Welte1-3/+3
2015-12-27RANAP-PDU-Contents: fix syntax error regarding InitialUE-MessageHarald Welte1-1/+1
With that syntax error, the RAC was not treated as a possible IE in the InitialUE-Message, causing decoder failure.