Skip to content
Success

Changes

Summary

  1. GMM: rework PDP context status (details)
  2. Refactor mmctx_is_r99 into mmctx.c (details)
  3. gprs_ms_net_cap_gea_mask(): protect against empty MS Network (details)
  4. Add include prefix for all libgtp related includes (details)
Commit 0e8f05563112eadc0ed50dc273cf9a723e8f99ac by lynxis
GMM: rework PDP context status

Use an uint16 instead of an pointer with an unknown length.
Also encode the current active PDP context (e.g. on 2G/4G
mobilty this could change). It resynchronizes the UE with the SGSN
state.

Change-Id: I12d3110c9365132f96ef7ff8a1be22a431682c81
The file was modifiedsrc/sgsn/gprs_gmm.c
The file was modifiedtests/sgsn/sgsn_test.c
Commit 921af3d428e3a9bbd1fe5f8a7e7e6717b9313d5d by lynxis
Refactor mmctx_is_r99 into mmctx.c

It is related to the mmctx and should be in mmctx.c instead
of the GMM message parsing or handling.

Change-Id: I198a3c9d49667c70e8995808b3fcb5ea26e8f17a
The file was modifiedinclude/osmocom/sgsn/mmctx.h
The file was modifiedsrc/sgsn/gprs_gmm.c
The file was modifiedsrc/sgsn/mmctx.c
Commit d3b037ccfae542807b7602c2163f11fa0eb3b885 by lynxis
gprs_ms_net_cap_gea_mask(): protect against empty MS Network Capabilities

When the MS Network Capability is empty, expect to support at least
unencrypted communications.
This shouldn't be empty at all, as the minimum length of it is 2 when
the MS/UE is doing an Attach Request.
But when receiving a MS/UE SGSN Context via Gn, the field
is optional.
The MS/UE shall include it into the Routing Area Request,
but not must.

Change-Id: Ieef2e3eeaaadc90c35fff6f20d47bd36aaa4b9e6
The file was modifiedsrc/sgsn/gprs_gmm.c
Commit 028c299bb2bc3ec17b2e34dd0e2ddd13b1975e6e by lynxis
Add include prefix for all libgtp related includes

The libgtp includes contain all the prefix osmocom/gtp.
The old non-prefix was used in the old OpenGGSN code base.

Change-Id: I5ea50c9766f719e1eea89cbf6783fafc2093773d
The file was modifiedtests/gtphub/gtphub_test.c
The file was modifiedsrc/sgsn/sgsn.c
The file was modifiedsrc/sgsn/sgsn_main.c
The file was modifiedsrc/sgsn/sgsn_vty.c
The file was modifiedsrc/gtphub/gtphub.c
The file was modifiedsrc/sgsn/sgsn_cdr.c
The file was modifiedsrc/sgsn/sgsn_ctrl.c
The file was modifiedsrc/sgsn/sgsn_libgtp.c
The file was modifiedsrc/sgsn/mmctx.c
The file was modifiedsrc/sgsn/gprs_ranap.c
The file was modifiedsrc/sgsn/gprs_gmm.c