openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-927-g19f8732

gitosis at gitosis at
Wed Feb 4 10:46:37 UTC 2015

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".

The branch, jerlbeck/wip/gprs-patching has been updated
  discards  9a24015d44aac8fb13031d47aad173dba2b2bc4b (commit)
  discards  79556aa35d6209ea33ec82cd2e40a7636afcfdc1 (commit)
  discards  bfc9bc84b4d7b5441c6ff71dddbf8bae7ebc9dea (commit)
  discards  c8715e8ebf96829aa3eb0e5070490408bc76d543 (commit)
  discards  947b8520f05e7376caa77272d0e5e4835af669ed (commit)
  discards  328022765cc997242db22d5c4ee372664730b242 (commit)
  discards  d6be7ef4f74a24e97533c6a8a4670c66cc1b9b32 (commit)
  discards  c0fc83160e4f37eb96fda0cbcc965e727fa592ab (commit)
       via  19f8732c98fb4b0afc9e032ffd6ba15aa585a1a1 (commit)
       via  6f02ccb810a786a5abba7c08a5d2494a495885f2 (commit)
       via  700fccf466089fc884f3ac5d9dd24b3d7c1f8e20 (commit)
       via  582dd149496524e79d7308f5e072f4df9acd97f5 (commit)
       via  a648d1436d9b5b6f292a2db508a363ceda931a18 (commit)
       via  5a5a291b5ebd3831d7ae716bd31e89b9363a4cc4 (commit)
       via  eb07f73d1fd7f8806d7bfaa5c7a00927e623acf8 (commit)
       via  f4321022f23dd5ce1e6af3a5f37d45127fbe950c (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (9a24015d44aac8fb13031d47aad173dba2b2bc4b)
             N -- N -- N (19f8732c98fb4b0afc9e032ffd6ba15aa585a1a1)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 19f8732c98fb4b0afc9e032ffd6ba15aa585a1a1
Author: Jacob Erlbeck <jerlbeck at>
Date:   Tue Sep 30 13:53:26 2014 +0200

    sgsn: Added TODOs (TODO)
      - fix and remove TODOs
      - add test cases for Detach(reattach)
      - add test cases for PDP context deletion (OW#1311)
      - add test cases for Cancel pending timer in sgsn_mm_ctx_free
      - remove this commit
    Sponsored-by: On-Waves ehf

commit 6f02ccb810a786a5abba7c08a5d2494a495885f2
Author: Jacob Erlbeck <jerlbeck at>
Date:   Fri Dec 19 19:11:20 2014 +0100

    sgsn: Add logging to connect_timer_cb (TODO)
      - LOGLevel ?
    Sponsored-by: On-Waves ehf

commit 700fccf466089fc884f3ac5d9dd24b3d7c1f8e20
Author: Jacob Erlbeck <jerlbeck at>
Date:   Thu Jan 29 11:36:35 2015 +0100

    gprs: Extend specification of GSUP cause values (TODO)
    Currently, every error message contains a mandantory Cause IE just
    referring to GSM 04.08 for further details. This leaves the mapping
    from MAP User Errors to GMM Cause values undefined. It is also not
    specified, which GMM Cause to assume, if no User Error has been
    included in the MAP message.
    This commit makes the Cause IE conditional, it is only required if
    the MAP message contained a User Error. A mapping from User Errors to
    GMM Causes is also added. The default value for GMM Causes in GSUP
    error messages is now 'Network failure' to keep the impact low.
    - the mapping is not finished, it needs review and some values are
      not yet specified.
    Sponsored-by: On-Waves ehf

commit 582dd149496524e79d7308f5e072f4df9acd97f5
Author: Jacob Erlbeck <jerlbeck at>
Date:   Tue Feb 3 19:45:46 2015 +0100

    Revert "gprs: Block other GSUP procedures during PURGE_MS"
    This reverts commit f81cacc6814dde73f203d125b0065d1451a98317.
    Since the PURGE MS retry mechanism had been removed, this feature
    is not used anymore. It just makes the code more complex.

commit a648d1436d9b5b6f292a2db508a363ceda931a18
Author: Jacob Erlbeck <jerlbeck at>
Date:   Mon Feb 2 18:03:05 2015 +0100

    sgsn: Select GGSN based on APN
    Currently the APN IE in the Activate PDP Contex Request and the PDP
    data that is stored with the subscriber is ignored completely.
    This commit adds the sgsn_mm_ctx_find_ggsn_ctx that checks the APN IE
    against the subscriber's PDP data entries if both are present. If
    there is no match, the request is rejected.
    If an APN IE has not been included but PDP data entries are present,
    the function checks all of these entries against the static 'apn'
    configuration to find a suitable entry.
    If an APN has not been determined so far and any APN is allowed, the
    configuration is checked with an empty APN string, to allow for
    default configurations based on the IMSI prefix only.
    If nothing of this succeeded but the request wasn't rejected either,
    and there is no 'apn' configuration at all or if any APN is allowed
    but a default configuration ist not present, the GGSN with id 0 is
    used (if present).
    Otherwise the request is rejected ('missing APN').
    Ticket: OW#1334
    Sponsored-by: On-Waves ehf

commit 5a5a291b5ebd3831d7ae716bd31e89b9363a4cc4
Author: Jacob Erlbeck <jerlbeck at>
Date:   Tue Feb 3 19:53:15 2015 +0100

    sgsn: Add sgsn_ggsn_ctx_free function
    This function will be needed for testing, since the leak check would
    fail if the GGSN context are not cleaned up after use.
    Sponsored-by: On-Waves ehf

commit eb07f73d1fd7f8806d7bfaa5c7a00927e623acf8
Author: Jacob Erlbeck <jerlbeck at>
Date:   Tue Feb 3 13:47:53 2015 +0100

    sgsn: Add functions to handle APN contexts
    This commit adds the exported functions apn_ctx_find_alloc,
    apn_ctx_free, apn_ctx_by_name, and apn_ctx_match to manage and
    retrieve APN to GGSN mappings.
    The following VTY commands are added to 'config-sgsn':
     - apn APN ggsn <0-255>
     - apn APN imsi-prefix PREFIX ggsn <0-255>
    which maps an APN gateway string to an SGSN id. The SGSN must be
    configured in advance. When matching an APN string, entries with a
    leading '*' are used for suffix matching, otherwise an exact match is
    done.  When a prefix is given, it is matched against the IMSI. If
    several entries match, a longer matching IMSI prefix has precedence.
    If there are several matching entries with the same PREFIX, the entry
    with longest matching APN is returned.
    Ticket: OW#1334
    Sponsored-by: On-Waves ehf

commit f4321022f23dd5ce1e6af3a5f37d45127fbe950c
Author: Jacob Erlbeck <jerlbeck at>
Date:   Wed Dec 17 14:03:35 2014 +0100

    sgsn: Add PDP info to subscriber data
    Currently the PDP info that is transmitted via GSUP is just parsed
    and then discarded.
    This commit adds a new data structure sgsn_subscriber_pdp_data and
    maintains a list of those in sgsn_subscriber_data. The PDP data is
    copied from an incoming GSUP UpdateLocationResult message. If that
    message contains the PDPInfoComplete flag, the list is cleared before
    new entries are added.  The 'show subscriber cache' output now also
    shows the PDP data entries.
    Note that the InsertSubscriberData message is still not supported.
    Sponsored-by: On-Waves ehf


Summary of changes:
 openbsc/include/openbsc/gprs_sgsn.h |   8 +--
 openbsc/src/gprs/gprs_sgsn.c        |  18 +++---
 openbsc/src/gprs/gprs_subscriber.c  |   4 +-
 openbsc/src/gprs/sgsn_vty.c         |   2 +-
 openbsc/tests/sgsn/sgsn_test.c      | 106 +++++++++++++++++++-----------------
 5 files changed, 73 insertions(+), 65 deletions(-)

The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)

More information about the osmocom-commitlog mailing list