Project

General

Profile

Actions

Feature #5853

open

osmo-sgsn: Rework to use libosmo-gprs

Added by pespin 22 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
01/11/2023
Due date:
% Done:

0%

Spec Reference:

Description

We should at some point move osmo-sgsn to use libosmo-gprs-{llc,sndcp}, in order to simplify and get rid of lots of code in osmo-sgsn as well as doing proper separation of layers.

The current state of osmo-sgsn, full of layer violations, make this task difficult.

A WIP branch is already available in osmo-sgsn.git "pespin/libosmo-gprs", but it still lacks some work in order to work, which should be done previously (and then the branch rebased on top).
For instance, #5852 should be done beforehand so that we avoid having to pass BVCI and NSEI all across the stack. This is needed beforehand because once we start using libosmogprs, there's no proper way to pass those across the stack (as expected). Hence, right now the WIP branch simply sets those to 0 when transmitting back to the PCU, which fails at BSSGP/NS layer.

Other stuff which is still TODO in the branch:
  • Get rid of "llme" and "lle" structs in osmo-sgsn code. The llme stuff in use can really be merged into the "mmctx" struct.

No data to display

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)