openbsc.git branch master updated. 0.13.0-925-gca69b0f

gitosis at gitosis at
Fri Feb 6 12:27:35 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, master has been updated
       via  ca69b0f68d748e56eecd14d1c1a754971e9240ba (commit)
       via  277b71e0d8b7a8c53599546b0d06ae3810a290eb (commit)
       via  f345612654720c63e29c75c0689e6955da478059 (commit)
       via  cb1db8b6d5277a52ed553925d301bfdc514bb77c (commit)
       via  0e8add601da35188eb155c8c279a9bdcaf4ba41b (commit)
      from  f6f86b0eec18da165db136b14bf2db87fde4b4ac (commit)

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 ca69b0f68d748e56eecd14d1c1a754971e9240ba
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 277b71e0d8b7a8c53599546b0d06ae3810a290eb
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 f345612654720c63e29c75c0689e6955da478059
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 cb1db8b6d5277a52ed553925d301bfdc514bb77c
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 0e8add601da35188eb155c8c279a9bdcaf4ba41b
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.
    [hfreyther: Added talloc_free in gprs_subscr_pdp_data_clear]
    Sponsored-by: On-Waves ehf


Summary of changes:
 openbsc/include/openbsc/gprs_sgsn.h |  32 ++--
 openbsc/src/gprs/gprs_gmm.c         |  13 +-
 openbsc/src/gprs/gprs_sgsn.c        | 193 +++++++++++++++++++++-
 openbsc/src/gprs/gprs_subscriber.c  | 136 ++++++++-------
 openbsc/src/gprs/sgsn_vty.c         |  71 +++++++-
 openbsc/tests/sgsn/sgsn_test.c      | 321 ++++++++++++++++++++++++++----------
 openbsc/tests/sgsn/sgsn_test.ok     |   3 +-
 openbsc/tests/    |  21 +++
 8 files changed, 618 insertions(+), 172 deletions(-)

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

More information about the osmocom-commitlog mailing list