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

gitosis at gitosis at
Tue Feb 3 19:50:28 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  fa6891f892d7599d735747e2dce7fba5aed48b25 (commit)
  discards  d6b6122202aaa8eceb24927e6b5d919f7c57219f (commit)
  discards  c8f8773a16d8ecbb34a897cd6762f65fbdfba183 (commit)
  discards  cf86b8d122bfcd86299f33d85f85af3a3aa7dd30 (commit)
  discards  f1ebb0567cafee2e774a3d33fbb74baebe076dbf (commit)
       via  9a24015d44aac8fb13031d47aad173dba2b2bc4b (commit)
       via  79556aa35d6209ea33ec82cd2e40a7636afcfdc1 (commit)
       via  bfc9bc84b4d7b5441c6ff71dddbf8bae7ebc9dea (commit)
       via  c8715e8ebf96829aa3eb0e5070490408bc76d543 (commit)
       via  947b8520f05e7376caa77272d0e5e4835af669ed (commit)
       via  328022765cc997242db22d5c4ee372664730b242 (commit)
       via  d6be7ef4f74a24e97533c6a8a4670c66cc1b9b32 (commit)
       via  c0fc83160e4f37eb96fda0cbcc965e727fa592ab (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 (fa6891f892d7599d735747e2dce7fba5aed48b25)
             N -- N -- N (9a24015d44aac8fb13031d47aad173dba2b2bc4b)

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 9a24015d44aac8fb13031d47aad173dba2b2bc4b
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 79556aa35d6209ea33ec82cd2e40a7636afcfdc1
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 bfc9bc84b4d7b5441c6ff71dddbf8bae7ebc9dea
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 c8715e8ebf96829aa3eb0e5070490408bc76d543
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 947b8520f05e7376caa77272d0e5e4835af669ed
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 328022765cc997242db22d5c4ee372664730b242
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 d6be7ef4f74a24e97533c6a8a4670c66cc1b9b32
Author: Jacob Erlbeck <jerlbeck at>
Date:   Tue Feb 3 13:47:53 2015 +0100

    sgsn: Add functions to handle APN contexts (TODO)
    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.
     - add an 'sgsn_' prefix to the functions
    Ticket: OW#1334
    Sponsored-by: On-Waves ehf

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

    sgsn: Add PDP info to subscriber data (TODO)
      - commit message
      - raw APN representation ???
      - tests
      - check PDP data list on PDP Ctx Act (other commit)
    Sponsored-by: On-Waves ehf


Summary of changes:
 openbsc/include/openbsc/gprs_sgsn.h |  20 +--
 openbsc/src/gprs/gprs_sgsn.c        |  97 +++++++++--
 openbsc/src/gprs/gprs_subscriber.c  |  51 +-----
 openbsc/src/gprs/sgsn_vty.c         |  52 ++++--
 openbsc/tests/sgsn/sgsn_test.c      | 311 ++++++++++++++++++++++++++----------
 openbsc/tests/sgsn/sgsn_test.ok     |   3 +-
 openbsc/tests/    |  21 +++
 7 files changed, 379 insertions(+), 176 deletions(-)

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

More information about the osmocom-commitlog mailing list