Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-12-26 | don't double-free msgb's in rua_helper and ranap_common_cn | Harald Welte | 2 | -10/+3 | |
2015-12-26 | add 'dummy cn' as a stub core netwrok element to which hnbgw connects | Harald Welte | 2 | -3/+270 | |
2015-12-26 | ranap_common.c: Add ranap_parse_lai() | Harald Welte | 1 | -0/+26 | |
2015-12-26 | use libosmocore SCCP_SSN_RANAP definition | Harald Welte | 2 | -17/+13 | |
2015-12-25 | ranap_common: Add value_string for procedure code and presence | Harald Welte | 2 | -0/+63 | |
2015-12-25 | factor out some common shared test init code | Harald Welte | 6 | -47/+104 | |
2015-12-25 | Add new common RANAP parsing code for CN elements | Harald Welte | 2 | -0/+320 | |
2015-12-25 | Fix typo / spelling mistakes | Harald Welte | 1 | -2/+2 | |
2015-12-25 | hnbgw_hnbap: Print HNBAP Cause during UE De-Register | Harald Welte | 1 | -2/+2 | |
2015-12-25 | hnbgw_rua.c: Print RUA cause in error indication | Harald Welte | 1 | -1/+2 | |
2015-12-25 | hnbgw_ranap: Print RANAP Cause in RESET and ERROR INDICATION | Harald Welte | 1 | -1/+21 | |
2015-12-25 | don't return undefined strings from rua_cause_str() | Harald Welte | 1 | -0/+3 | |
2015-12-25 | ranap_common: Add ranap_cause_str() to stringify RANAP Cause | Harald Welte | 2 | -0/+203 | |
2015-12-24 | fix build if depenedencies are in distinct directories | Alexander Huemer | 6 | -5/+6 | |
2015-12-24 | add rua_helper.[ch] missing from previous commit | Harald Welte | 2 | -0/+166 | |
2015-12-24 | hnb-test: Add VTY to manually issue Iuh messages | Harald Welte | 3 | -26/+231 | |
We can now send Iuh messages with commands like 'hnbap hnb register', 'hnbap ue regiter imsi 12345', 'ranap reset cs', 'ranap reset ps', and even establish connection-oriented RUA using 'channel cs lu imsi 12345' | |||||
2015-12-24 | ranap_msg_factory.c: Fix compiler warnings | Harald Welte | 1 | -6/+6 | |
2015-12-24 | ranap_msg_factory: use OCTET_STRING_fromBuf() in ranap_new_msg_dt() | Harald Welte | 1 | -2/+1 | |
When using asn1c, we cannot use buffers allocated elsewhere and/or on the stack as input into encoding. | |||||
2015-12-24 | ranap: New ranap_new_msg_initial_ue() funcition | Harald Welte | 3 | -3/+63 | |
for testing, it is useful if we can also generate an InitialUE message - even though a HNB-GW only needs to receive it. | |||||
2015-12-24 | asn1helpers.h: Add missing declarations of functions in asn1helpers.c | Harald Welte | 1 | -0/+3 | |
2015-12-24 | hnbgw_rua.c: Incoming context IDs are 24bit wide according to spec | Harald Welte | 1 | -3/+3 | |
so don't try to decode them to u32, which expects 32bit input values. | |||||
2015-12-24 | RANAP: Replace the last remainng TBCD-STRING with OCTET STRING | Harald Welte | 3 | -37/+41 | |
in order to work around a bug in asn1c. When we keep the original TBCD-STRING, the APER-encoded PLMNidentity always has an extra leading length byte that the decoder doesn't expect. | |||||
2015-12-24 | improve logging, remove obsolete FIXMEs, return of non-void functions | Harald Welte | 2 | -12/+25 | |
2015-12-24 | Implement forwarding of RANAP PAGING from CN to all HNBs | Harald Welte | 1 | -9/+19 | |
2015-12-24 | hnbgw: Bring all parts together | Harald Welte | 12 | -119/+946 | |
We now have the RUA and SUA parts interconnected by the context ID mapper, and should be able to pass messages back and forward between both sides. Unfortunately this touches a bit of everything, but the structures are all still very much in flux. Hopefully they will start to stabilize at some point soon... | |||||
2015-12-23 | hnbgw_rua: Don't use msgb as imput, allow more parameters | Harald Welte | 2 | -11/+63 | |
2015-12-23 | Add a context mapper to map RUA ContextIDs <-> SUA Connection IDs | Harald Welte | 5 | -13/+294 | |
2015-12-23 | Introduce DRANAP/DRUA log categories to separate logging | Harald Welte | 7 | -23/+35 | |
2015-12-23 | fix copy/paste mistake in src/Makefile.am | Alexander Huemer | 1 | -1/+1 | |
2015-12-23 | use msgb_sctp_ppid() from libosmo-netif, remove local declaration | Harald Welte | 4 | -5/+7 | |
2015-12-23 | hnbgw: Add SUA client socket towards localhost | Harald Welte | 4 | -2/+48 | |
This socket doesn't do much yet except to connect to localhost:14001 The host/port needs to be made configurable, and the RUA<->SUA interfacing needs to be implemented. Also, we'll need two SUA sockets, one for MSC and one for SGSN. | |||||
2015-12-23 | remove sigtran code, now part of libosmo-sccp | Harald Welte | 10 | -2095/+0 | |
2015-12-22 | hnbgw: Free msgb when connection is closed | Daniel Willmann | 1 | -2/+4 | |
2015-12-22 | hnbgw_hnbap.c: Clean up after encoding a UE register accept | Daniel Willmann | 1 | -0/+4 | |
Need to free the ASN.1 structs after using them to encode the UE register accept message. | |||||
2015-12-22 | asn1tostruct.py: Fix memory leaks in generated code | Daniel Willmann | 1 | -2/+9 | |
The decode_*ies functions did not clean up after them. This change is taken from changes made to asn1tostruct.py in openair-cn repository. | |||||
2015-12-22 | Remove obsolete ffasn1c files. | Neels Hofmeyr | 6 | -58879/+0 | |
The ffasn1c files from early trials are obsolete, we're using asn1c now. | |||||
2015-12-22 | really fix src/Makefile.am | Neels Hofmeyr | 1 | -1/+3 | |
Add BUILT_SOURCES to src/Makefile.am. (And remove a stray space.) | |||||
2015-12-22 | fix Makefile.am | Alexander Huemer | 1 | -9/+0 | |
2015-12-22 | README, .gitignore | Neels Hofmeyr | 2 | -4/+25 | |
Update building instructions and add tests/atconfig to .gitignore. | |||||
2015-12-21 | SUA: Ensure osmo_ prefix is used on all global symbols | Harald Welte | 6 | -50/+51 | |
2015-12-21 | SUA: More FIXMEs | Harald Welte | 2 | -2/+3 | |
2015-12-21 | Add WIP code for SCCP User Adaptation (SUA) and SCCP User SAP | Harald Welte | 10 | -0/+2093 | |
The idea of this code is to * provide a SCCP User SAP as boundary between the User of SCCP or SCCP-like transport like SUA * implement the minimum subset of SUA to transport RANAP messages betweene HNB-GW and MSC/SGSN At this point * we don't yet implement the proper state machines and timer * we don't imp[lement the SCCP RESET procedure * we don't implement AS/ASP management The code is full of FIXMEs whihc hopefully will get fixed gradually. After some cleanup + verification, it should move to a library, possibly either replacing/renaming libomo-sccp, or adding it to libosmo-netif? | |||||
2015-12-21 | move COPYING file to root directory | Harald Welte | 1 | -0/+0 | |
2015-12-21 | Makefile.am: Try to model the asn1tostruct.py generation dependencies | Harald Welte | 1 | -0/+5 | |
2015-12-19 | add TS 25.412 spec | Harald Welte | 3 | -0/+2 | |
2015-12-19 | Add various RANAP packet captures (pcap files) found on the net | Harald Welte | 7 | -0/+0 | |
2015-12-19 | ranap ASN.1: Define IMSI as OCTET STRING to work around asn1c bug | Harald Welte | 3 | -37/+41 | |
When IMSI is a TBCD-STRING type, and TBCD-STRING is defined as OCTET STRING, we end up encoding the IMSI the wrong way. I don't knwo why that is, but changing it fixed the problem, as described below: before this commit: 00 17 PeranentNAS-UE-ID 40 criticality ignore 0a (length) 00 presence = IMSI 08 BUG: why the additional length field? 46 23 91 34 70 77 80 f3 IMSI (643219430777083) after this commit: 00 17 PeranentNAS-UE-ID 40 criticality ignore 09 (length) 50 presence = IMSI 46 23 91 34 70 77 80 f3 IMSI (643219430777083) | |||||
2015-12-19 | ranap: Don' shift the RAB ID by 3 bits | Harald Welte | 1 | -1/+1 | |
2015-12-19 | ranap: No need for htonl() of IP addresses and the like | Harald Welte | 1 | -3/+3 | |
2015-12-19 | ranap: Don't forget ProtocolIE-CointainerPair around ProtocolIE-FieldPair | Harald Welte | 4 | -6/+11 | |