Commit Graph

14 Commits

Author SHA1 Message Date
Oliver Smith 7cb7ab6358 debian: set compat level to 10
Related: OS#5958
Change-Id: Icfdbea7cbe4681cd3b286471032fd6dd7226888f
2023-04-26 11:13:24 +00:00
Pau Espin 5e205c8375 Introduce libosmo-gprs-sm
This patch itnroduces all the boilerplate required to build and package
a new libosmo-gprs-sm.so library, which aims to contain the SM layer
implementation.
A minimal implementation is provided together with a unit test,
showcasing Activation of a PDP Context and requesting implicit GPRS
attach to GMM if it is not yet attached.
This commit also adds/improves code in GMM layer implementing the GMMSM
SAP which is used to interact SM<->GMM.

Related: OS#5501
Change-Id: I9b4a9a6364f7799540475e7e1d10ab2310768281
2023-03-30 13:49:29 +02:00
Pau Espin 146643b0f3 Create skeleton for libosmo-gprs-gmm
The library itself only contains a bunch of boilerplate to build the
library and have usual initialization, logging, prim APIs.
There's not yet much logic specific in it yet, but will make next
commits easier to review.

Related: OS#5501
Change-Id: Ie098576954a55e5046c2463390ab7133511c1eb3
2023-03-15 10:43:49 +01:00
Max 2f3efdbb75 Debian: fix broken SNDCP install
Change-Id: Id1691e2a69954cb187d885a60134bb5ec5fe3200
2023-02-11 20:33:49 +03:00
Pau Espin 6d30091174 rlcmac: Rename gprs_rlcmac.h -> csn1_defs.h
That header is used (and should only be used) to contain CSN1 related
code for the encoder/decoder.
Hence rename it, otherwise it looks like a general placeholder for any
kind of stuff.

Change-Id: I84ea63ed0b804699fd995a2e0c07ced17b3ad4c8
2023-02-01 18:20:29 +01:00
Pau Espin 24a100bac8 sndcp: Initial libosmo-gprs-sndcp support
This commit follows a similar approach to Change-Id
I588eb576b2703262f4ab9566ec362920d8390cfd, this time targeting the SNDCP
layer, creating a new library for it.
This new library depends on headers from libosmo-gprs-llc since the
SNDCP spec takes the interface towards lower interfaces from same
llc_prim. It doesn't really call any API from the libosmo-gprs-llc
library to dispatch the primitive, that's left for the application, so
that it can be reused against other implementations.

Most of the SNDCP data structures and APIs are kept private and used
only internally. The Higher/lower layers are expected to interact with
it through the sndcp_prim API.

This commit also implements some of the code paths of the public API by
means on importing SNDCP code from osmo-sgsn.git commit
57b63875c762a784127a13becd1c2549ca6c5454.
The import of code cannot be done in a separate commit since existing code
in osmo-sgsn.git is low quality and has tons of layer violations in all
directions.
Hence, this commit aims at being an initial point of having some working
SNDCP stack by means of a few unit tests, but by no means aims to be a
total working implementation. Some code paths are missing; bugs are
expected at this point.

Change-Id: Ie05b5d721cf0a6147ed45c1feb75ad829865252b
2023-01-04 14:54:04 +00:00
Vadim Yanitskiy 2639b78795 Initial libosmo-gprs-llc library skeleton
Change-Id: Ia537acc6f4e6ab576dc7959d427b80f62c474296
2022-09-02 00:58:05 +07:00
Vadim Yanitskiy e679faad68 debian: clarify license/copyright for CSN.1 codec by ST-Ericsson
Change-Id: Ia76edccdfc14b06297fe7a306bc19ca52c7db3bd
2022-08-18 08:33:40 +00:00
Vadim Yanitskiy 11cbba9d9d update git URLs (git -> https; gitea)
Change-Id: Icb87ee511ceb9e65d7a801eeb8d4314b66e9f20a
2022-08-10 19:35:26 +07:00
Vadim Yanitskiy 4e1fbdd74e debian/compat: bump debhelper compatibility level: 9 -> 10
Change-Id: Ia3c8c4a61615c70c791dd01d02a16341e78dfb33
2022-08-10 02:58:59 +07:00
Vadim Yanitskiy e5e85388fb debian/control: fix missing/misplaced commas in dependencies
Change-Id: I4bf3d90bb57638e01c165c35c3d48c180f01bb68
2022-08-10 02:58:59 +07:00
Vadim Yanitskiy d8cd59014e debian: fix empty changelog: generate using Debian's dch tool
Otherwise debuild would refuse to build packages.

Change-Id: I70b84f3ae080ab9712e83732a103340d774038a7
2022-08-10 02:58:59 +07:00
Vadim Yanitskiy ac4e2d54d7 debian: fix a typo in 'rules': s/csn10/csn1-0/
Change-Id: Ic28ed41f076b460e3f89d0754c1c70ff239642f8
2022-08-07 19:22:26 +07:00
Vadim Yanitskiy a1751f7b17 debian: add initial package manifest
Change-Id: I253d92b3a1820d8e33ed67e73a43c90351158337
2022-08-07 17:51:26 +07:00