Harald Welte
f42317ba9c
Introduce DRANAP/DRUA log categories to separate logging
2015-12-23 15:37:17 +01:00
Harald Welte
04329dcbdc
{hnbap,rua,ranap}_common: check for encoding errors in new_ie()
2015-12-18 15:18:13 +01:00
Harald Welte
629391321f
{hnbap,ranap,rua}_common: use FREEMEM(), not free() directly
...
If we allocate with CALLOC/MALLOC macros, we need to release memory via the
same API.
2015-12-18 14:58:34 +01:00
Harald Welte
8526d158f8
hnbap/rua: Don't usse malloc() directly but use CALLOC() macro
2015-12-18 13:41:39 +01:00
Daniel Willmann
59d17d8961
hnbap: Free ASN.1 components after they are no longer needed
2015-12-17 17:56:56 +01:00
Harald Welte
462db35426
hnbap_common: Fix copy+paste mistake (use hnbap msgb allocator)
2015-12-16 23:06:59 +01:00
Harald Welte
8dacb07baf
{hnbap,rua,ranap}_common.c: Reduce code duplicatioon
...
There used to be a lot of code duplication between the code to generate
initiating, successfulOutcome and unsuccessfulOutcome messages. Try to
reduce that by callign a generic function.
2015-12-16 20:27:14 +01:00
Harald Welte
cbaaeefe00
{rua,hnbap,ranap}_common: Add missing encoding functions
...
We used to only have those generator functions that we needed for
the existing hnbgw code; Implement the missing encoders
2015-12-16 20:17:26 +01:00
Daniel Willmann
0e8ef67b7a
hnbap_common: Add function to HNBAP generate initiating message
...
An earlier version was commented out, this function now works like
hnbap_generate_successful_outcome()
2015-12-07 17:19:40 +01:00
Harald Welte
77847ad020
add copyright statement and AGPLv3 headers to source code files
2015-10-06 22:07:04 +02:00
Harald Welte
3af1db87ed
hnbap: Print error messages in error cases
2015-09-11 17:03:16 +02:00
Harald Welte
e2e5d4dd53
Back RUA/RANAP integration until RANAP Reset works for cs+ps
...
The hNodeB is now actively transmitting and we are getting up to the
HNBAP UE-REGISTER.req with the IMSI of the MS.
2015-09-10 23:49:45 +02:00
Harald Welte
1c1c53ca11
hnbap encode: don't pass 0 as available buffer space
2015-09-07 22:41:02 +02:00
Harald Welte
c060b7bf2c
more error logging in hnbap TX successful outcome
2015-09-07 22:40:41 +02:00
Harald Welte
339b8e2a77
successful has only one 'l' (copy+paste error)
2015-08-30 23:08:32 +02:00
Harald Welte
27f9c4ab4b
migration of code from ffasn1c to asn1c + asn1tostruct.py
2015-08-30 22:48:59 +02:00