aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs
AgeCommit message (Collapse)AuthorFilesLines
2017-07-14add oap_client.cNeels Hofmeyr1-0/+280
Change-Id: I0bc671fffea3c4b1021fe3a96681a14a99ec2dcf
2017-07-14applyNeels Hofmeyr3-4/+33
Change-Id: I8fb8a9f77ad682c6409c3abf362f9e1b996dd229
2017-07-14add gsup_client.cNeels Hofmeyr2-0/+356
Change-Id: I768588706d7ffd1d96977fe7c041b09bf6b94cfd
2017-07-13applyNeels Hofmeyr8-12/+37
Change-Id: Iadd9af732cf8bc19d17eab214325d3659459fd8b
2017-07-13applyNeels Hofmeyr8-15/+9
Change-Id: I6fb3f61b94c7ccc226ed8c0c9a9c22f01661879d
2017-07-13add specific code bitsNeels Hofmeyr2-3/+32
Change-Id: I42c3f261bbee8eb73dd6b0096de72c11704cd0a2
2017-07-12move libiu to osmo-iuh/libosmo-ranapaoipNeels Hofmeyr6-28/+28
Remove libiu here, use the functions from libosmo-ranap instead, by applying the ranap_ / RANAP_ prefix. Corresponding change-id in osmo-iuh.git is I6a3f7ad15be03fb94689b4af6ccfa828c25f45c0 Change-Id: Ib8c4fcdb4766c5e575618b95ce16dce51063206b
2017-07-12common-vty: add ss7 nodes commands to VTYPhilipp Maier1-0/+2
The current VTY implementation has no knowledge about the libosmo-sccp nodes and therefor can not resolve parent nodes, nor decide if we deal with a config node. Change-Id: I815a57ed6270bd55c25ee9a8f45026d4aaad9004
2017-07-12AoIP+3G: use one common SCCP client for A and IuCSNeels Hofmeyr1-1/+15
Move osmo_sccp_simple_client() setup out of iu_init() and a_init(). In msc_main.c and sgsn_main.c, initialize the STP connection first and then pass to iu_init() and a_init(). This allows serving 3G (IuCS) and 2G (A) from one and the same MSC instance. Since both OsmoHNBGW and OsmoBSC are using PC 23 by default now, move BSC to PC 42 (because OsmoBSC typically has vty port 4242, bla). Also: a_iface.c: remove now unused defines a_init(): remove osmo_ss7_init() call that duplicated msc_main.c Change-Id: I963a94e1a0bfc455992d22940dcc9c67c44570b9
2017-07-12sgsn: add missing osmo_ss7_init()Neels Hofmeyr1-0/+1
Change-Id: Ibcf73383bbf2b94f308b4d5bc4e69b652c73ce6e
2017-07-12WIP: Port to new libosmo-sigtran API (with proper M3UA for Iuh)Harald Welte1-1/+1
This changes over to the new libosmo-sigtran API with support for proper SCCP/M3UA/SCTP stacking, as mandated by 3GPP specifications for the IuCS and IuPS interfaces. Only the ASP (client) is used, assuming that both the HNB-GWs and RNCs as well as the MSCs and SGSNs are all connecting as ASP to some STP/SGW which offers M3UA server functionality as well as point-code and/or global title based routing. Change-Id: I450e22d46e47eec350a152f7832428f226bf17fc Tweaked-by: nhofmeyr (test expectation)
2017-07-12Implement IuCS (large refactoring and addition)Neels Hofmeyr5-12/+22
osmo-nitb becomes osmo-msc add DIUCS debug log constant add iucs.[hc] add msc vty, remove nitb vty add libiudummy, to avoid linking Iu deps in tests Use new msc_tx_dtap() instead of gsm0808_submit_dtap() libmgcp: add mgcpgw client API bridge calls via mgcpgw mgcp: hack RAB success from nano3G: patch first RTP payload The ip.access nano3G needs the first RTP payload's first two bytes to read hex 'e400', or it will reject the RAB assignment. Add flag patched_first_rtp_payload to mgcp_rtp_state to detect the first RTP payload on a stream, and overwrite its first bytes with e400. This should probably be configurable, but seems to not harm other femto cells (as long as we patch only the first RTP payload in each stream). Only do this when sending to the BTS side. Change-Id: I5b5b6a9678b458affa86800afb1ec726e66eed88
2017-07-12IuPS adjustmentsHarald Welte4-21/+44
SGSN: Don't indicate GERAN in Iu mode PDP CTX ACT REQ to GGSN sgsn_ranap_iu_event: handle some events without valid MM context sgsn init: pass sgsn_config pointer to sgsn_vty_init(), not sgsn_parse_config Change-Id: Ie6b6e5422987586531a898e0c5b867623dbecb0f IuPS: cosmetic: explicitly check RAN type; move comment
2017-07-12gsup_client: allow passing a unit id to identify with HLRNeels Hofmeyr1-0/+1
Before, each GSUP client would contact the HLR with an identical unit id, i.e. "SGSN-00-00-00-00-00-00", with the result that some messages were sucked off by the wrong client. Pass explicit unit name from each gsup client user, so that OsmoMSC is "MSC" and OsmoSGSN is "SGSN". Hence the HLR can properly route the messages. Todo: also set some values instead of the zeros. Unrelated cosmetic change while editing the arguments: gsup_client_create()'s definition's oap client config arg name mismatched the one used in the declaration. Use oapc_config in both. Change-Id: I0a60681ab4a4d73e26fe8f0637447db4b6fe6eb2
2017-07-12GPRS/IuPS: remove all 3G authentication dev hacksNeels Hofmeyr1-27/+0
UMTS auth works now with the external OsmoHLR. Change-Id: Ie42945bb687b077fd0ee430c2711d19782151610
2017-07-12move openbsc/* to repos rootNeels Hofmeyr39-0/+25004
This is the first step in creating this repository from the legacy openbsc.git. Like all other Osmocom repositories, keep the autoconf and automake files in the repository root. openbsc.git has been the sole exception, which ends now. Change-Id: I9c6f2a448d9cb1cc088cf1cf6918b69d7e69b4e7