openbsc.git branch neels/vlr updated. 0.15.0-694-gf36dd7ed0

gitosis at gitosis at
Wed Feb 22 02:27:10 UTC 2017

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, neels/vlr has been updated
  discards  303414b291b26976f05033275159c599323ab6c5 (commit)
  discards  e2c61e448c6ef7ab34cf9588a9322c0168d2e41b (commit)
  discards  cfe10e0bd678e7fa4fb4ffa8bc0d89816c75b7bd (commit)
  discards  09c43e7306f637c2fd71cfb4b0e0d54b6a67bef9 (commit)
  discards  652fac1f68b78157d64555f19825ee91d191a8d6 (commit)
  discards  7c7c9e03b2d5c419e543ea035f735aa4ab5f439a (commit)
  discards  61024944c2490cd571807b7dac9c11d85bed4fb1 (commit)
  discards  8160d7881311dfd720b3ed0df69d021dda159a2a (commit)
  discards  add3be4413b6eed145686b7f352a8957a70a9097 (commit)
  discards  6975d62f42a0a376ca6b2887f7f96e452c5a14df (commit)
  discards  d34e04cbc9809ee5416103fedaf9963860be763c (commit)
  discards  7a9528ec7902a61372cbe4024d700b16929fd339 (commit)
  discards  bc64efa1e7060f057e3c0a1782cb882115957766 (commit)
  discards  83f62da268e580f449fca0fe72f1348dd7d6b83f (commit)
  discards  b05d4581800e72c16afc3d9c62756661de0e2890 (commit)
       via  f36dd7ed0f0c96a053cfc69edcb9aa634d04755a (commit)
       via  49eb23c88045c63a73969a6de9bc1849ac22957f (commit)
       via  5b7e8ff1dd76a056d52078df04c748ec91022b2d (commit)
       via  9f14dbb5cdae3138f919b76285191e40ff6e85a6 (commit)
       via  0a7be52683bbc768c992a88eb1e19297c35994a0 (commit)
       via  92ac72ff6ecdd1b4f52b265a8d478a9cadc9e4fc (commit)
       via  8eee30d41f09da7a7f5028862e6aecaf4bffdf9d (commit)
       via  d297f79ac4b77e2a49467bcd93e7757b179e4d7d (commit)
       via  a28cdd407c001fa83336a3002c03a254bb085d76 (commit)
       via  d2600aace5f824f5672ece21b80cc18b827c87d1 (commit)
       via  6263699356837c936f8c123f6686e9bf20f1c72a (commit)
       via  780f0eee488bc1a6a7cd29feb0e3b963c7a4b202 (commit)
       via  5d4cd56402956fbce6f546a402f619371a77ae2b (commit)
       via  fa93d019aee40bfa7e0c6897ae3c3b119b1229ef (commit)
       via  778cdd4e50787767532678fe073b11c0780b219a (commit)
       via  a66d8cfcb530240b5eebdb8f3ad10aaa027bcbde (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 (303414b291b26976f05033275159c599323ab6c5)
             N -- N -- N (f36dd7ed0f0c96a053cfc69edcb9aa634d04755a)

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 f36dd7ed0f0c96a053cfc69edcb9aa634d04755a
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Wed Feb 22 02:27:59 2017 +0100

    SI3: indicate R99+ MSC to GSM MS to enable UMTS AKA
    Change-Id: Iaf11218327f139e8cabfbc5f9916505c66eadbd8

commit 49eb23c88045c63a73969a6de9bc1849ac22957f
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Wed Feb 15 00:20:44 2017 +0100

    vlr: get SMS working, by SMS recipient MSISDN round-robin
    The SQL based lookup of SMS for attached subscribers no longer works since the
    SQL database no longer has the subscriber data. Replace with a round-robin on
    the SMS recipient MSISDNs paired with a VLR subscriber RAM lookup whether the
    subscriber is currently attached.
    If there are many SMS for not-attached subscribers in the SMS database, this
    will become inefficient: a DB hit returns a pending SMS, the RAM lookup will
    reveal that the subscriber is not attached, after which the DB is hit for the
    next SMS. It would become more efficient e.g. by having an MSISDN based hash
    list for the VLR subscribers and by marking non-attached SMS recipients in the
    SMS database so that they can be excluded with the SQL query already.
    There is a sanity limit to do at most 100 db hits per attempt to find a pending
    SMS. So if there are more than 100 stored SMS waiting for their recipients to
    actually attach to the MSC, it may take more than one SMS queue trigger to
    deliver SMS for subscribers that are actually attached.
    This is not very beautiful, but is merely intended to carry us over to a time
    when we have a proper separate SMSC entity.
    Change-Id: I1acf9debb6ba9164e6edcfd5bc5e48e8c98f2b01

commit 5b7e8ff1dd76a056d52078df04c748ec91022b2d
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Tue Feb 14 17:42:25 2017 +0100

    logging: auth request: use hexdump without spaces for RAND, AUTN
    Change-Id: I656d8619a1adc93e2f627f4e1ba21512a7374279

commit 9f14dbb5cdae3138f919b76285191e40ff6e85a6
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Sun Feb 12 00:34:35 2017 +0100

    reject concurrency test
    Change-Id: I5c04b1cf0ad302c35968e0f8dfb122997f3f7bf1

commit 0a7be52683bbc768c992a88eb1e19297c35994a0
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Wed Jan 25 15:04:16 2017 +0100

    Add msc_vlr test suite for MSC+VLR end-to-end tests
    Change-Id: Ic073f3a069a7f5e7e421e0e56140f069ee9b10b8

commit 92ac72ff6ecdd1b4f52b265a8d478a9cadc9e4fc
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Fri Feb 3 02:42:47 2017 +0100

    Use libvlr in libmsc (large refactoring)
    Original libvlr code is by Harald Welte <laforge at>,
    polished and tweaked by Neels Hofmeyr <nhofmeyr at>.
    This is a long series of development collapsed in one patch. The original
    history may still be available as branch neels/vlr_orig.
    TODO: This commit may be split in several smaller changes before merging to
    Related: OS#1592
    Change-Id: I702ba504ce2de93507312c28eca8d11f09f4ee8b

commit 8eee30d41f09da7a7f5028862e6aecaf4bffdf9d
Author: Harald Welte <laforge at>
Date:   Fri Jun 17 00:06:42 2016 +0200

    Add libvlr implementation
    Original libvlr code is by Harald Welte <laforge at>,
    polished and tweaked by Neels Hofmeyr <nhofmeyr at>.
    This is a long series of development collapsed in one patch. The original
    history may still be available as branch neels/vlr_orig.
    Related: OS#1592
    Change-Id: I3f75de5f0cc2ff77f276fd39832dd3621309c4b9

commit d297f79ac4b77e2a49467bcd93e7757b179e4d7d
Author: Harald Welte <laforge at>
Date:   Sun Jun 19 18:06:02 2016 +0200

    Introduce subscriber_connection ref-counting
    This introduces a reference count for gsm_subscriber_connection. Every
    user of the connection needs to hold a reference until done.  Once the
    reference count dorps to zero, the connection is cleared towards the
    BSC (which subsequently will clear any logical channels associated with
    Related: OS#1592
    Change-Id: I8c05e6c81f246ff8b5bf91312f80410b1a85f15e

commit a28cdd407c001fa83336a3002c03a254bb085d76
Author: Harald Welte <laforge at>
Date:   Thu May 5 22:52:41 2016 +0200

    SGSN: Integrate support for UMTS AKA
    We already had almost all the parts in place before:
    * GSUP with capability to send us auth_vectors that contain
      either triplets or quintuples
    * mm_context that holds such auth_vectors
    All that we need to add in this patch is the capability to send the AUTN
    parameter in the GMM AUTH REQ and parse the extended RES in the GMM AUTH RESP,
    as well as forwarding AUTS to the HLR upon Sync Error.
    Depends: libosmocore change-ids
    Related: OS#1956
    Tweaked-by: nhofmeyr (AUTS re-sync)
    Change-Id: Ie6a0cefba5e4e7f02cc2eaf6ec006ac07d5c1816

commit d2600aace5f824f5672ece21b80cc18b827c87d1
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Sat Feb 18 22:20:46 2017 +0100

    add struct bsc_subscr, separating libbsc from gsm_subscriber
    In a future commit, gsm_subscriber will be replaced by vlr_subscr, and it will
    not make sense to use vlr_subscr in libbsc. Thus we need a dedicated BSC
    subscriber: struct bsc_subscr.
    Add rf_policy arg to bsc_grace_paging_request() because the bsc_subscr will no
    longer have a backpointer to gsm_network (used to be via subscr->group).
    Create a separate logging filter for the new BSC subscriber. The implementation
    of adjusting the filter context is added in libbsc to not introduce
    bsc_subscr_get/_put() dependencies to libcommon.
    During Paging Response, fetch a bsc_subscr from the mobile identity, like we do
    for the gsm_subscriber. It looks like a duplication now, but will make sense
    for the VLR as well as for future MSC split patches.
    Naming: it was requested to not name the new struct bsc_sub, because 'sub' is
    too ambiguous. At the same time it would be fine to have 'bsc_sub_' as function
    prefix. Instead of struct bsc_subscriber and bsc_sub_ prefix, I decided to
    match both up as struct bsc_subscr and bsc_subscr_ function prefix. It's fast
    to type, relatively short, unambiguous, and the naming is consistent.
    Add bsc_subscr unit test.
    Related: #1592, #1594
    Change-Id: Ia61cc00e8bb186b976939a4fc8f7cf9ce6aa3d8e

commit 6263699356837c936f8c123f6686e9bf20f1c72a
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Tue Jan 10 00:49:56 2017 +0100

    add struct gprs_subscr, separating gprs from gsm_subscriber
    Prepare for replacing gsm_subscriber with vlr_subscriber. vlr_subscriber will
    not make sense to be used in gprs, so have a dedicated GPRS subscriber struct.
    (Could change if the gprs code were to use libvlr; is currently independent).
    Change-Id: Ia8b391ee009c8545763cba04505be3947835120e
    Related: #1592

commit 780f0eee488bc1a6a7cd29feb0e3b963c7a4b202
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Fri Feb 17 17:06:59 2017 +0100

    debug.h/c: remove unused cruft / cosmetic tweaks
    Change-Id: I9601d478763569933bcc46bf4eaaff70a9843be9

commit 5d4cd56402956fbce6f546a402f619371a77ae2b
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Fri Feb 17 17:05:40 2017 +0100

    logging: use central filter and ctx consts from libosmocore
    The LCHAN and BTS filter contexts are actually never used, so drop them until
    someone adds them properly.
    For now use only LOGGING_{FILTER,CTX}_VLR_SUBSCR. Some of these will change to
    _BSC_SUBSCR once struct bsc_subscriber is introduced, and later on, struct
    gsm_subscriber will be replaced by vlr_subscriber so that the names will match.
    Depends: libosmocore change-id I5c343630020f4b108099696fd96c2111614c8067
    Change-Id: Ifa82f6a461ad4c0eeddb8a38fb3833460432d16b

commit fa93d019aee40bfa7e0c6897ae3c3b119b1229ef
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Thu Feb 2 01:07:28 2017 +0100

    subscriber conn: add indicator for originating interface
    Add via_iface to gsm_subscriber_connection to indicate whether a conn is coming
    in via 2G/GERAN/A-Interface (IFACE_A) or 3G/UTRAN/Iu-Interface (IFACE_IU).
    Prepares for Iu, but also for libvlr to decide between GSM or UMTS Auth.
    Until actual Iu support is merged to master, this indicator will aid VLR unit
    Change-Id: I93b870522f725170e4265a5543f6b680383d7465

commit 778cdd4e50787767532678fe073b11c0780b219a
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Sun Feb 19 18:04:25 2017 +0100

    cosmetic: remove unused scall_signal_data.subscr
    Doesn't make sense to switch this to struct vlr_subscr when it isn't used at
    all. So let's remove it.
    Change-Id: Ifa5901f8bf1aed3981841d24d4ec8d659f3de7a9


Summary of changes:
 openbsc/src/gprs/gprs_subscriber.c | 34 +++++++++++++++++++++++++---------
 openbsc/src/libmsc/db.c            |  2 +-
 openbsc/tests/sgsn/sgsn_test.c     |  3 ++-
 3 files changed, 28 insertions(+), 11 deletions(-)

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

More information about the osmocom-commitlog mailing list