openbsc.git branch jerlbeck/fixes/sgsn created. 0.15.0-146-g622f82e

gitosis at gitosis at
Mon Jan 4 17:42:05 UTC 2016

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/fixes/sgsn has been created
        at  622f82e46a26f7758df607d464c552167481e943 (commit)

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

commit 622f82e46a26f7758df607d464c552167481e943
Author: Jacob Erlbeck <jerlbeck at>
Date:   Wed Dec 30 17:24:27 2015 +0100

    sgsn: Re-add searching for MM ctx based on TLLI / P-TMSI matches
    If an MM context cannot be found based on BBSGP info and a RA UPDATE
    REQUEST is received, try to find an MM context with an P-TMSI from
    which the TLLI could have been derived. This also checks, whether the
    routing area matches.
    This is similar to the old behaviour removed by the commits
    "sgsn: Only look at TLLIs in sgsn_mm_ctx_by_tlli" and
    "sgsn: Remove tlli_foreign2local", except that this will only
    be done for RA UPDATE REQUESTs now.
    Sponsored-by: On-Waves ehf

commit 6e65cfe514d947c0d95fe03c6a1f5325f2ea4469
Author: Jacob Erlbeck <jerlbeck at>
Date:   Wed Dec 30 16:01:52 2015 +0100

    sgsn/test: Add test case test_gmm_routing_areas
    This test add different cases of routing area changes.
    Sponsored-by: On-Waves ehf

commit bd3ed8cd2f4f5e4163e5dc57a98e5c684686efa3
Author: Jacob Erlbeck <jerlbeck at>
Date:   Wed Dec 30 15:49:06 2015 +0100

    sgsn: Change handling of missing mmctx in gsm48_rx_gmm_ra_upd_req
    Currently the MM context is just overwritten by a call to
    sgsn_mm_ctx_by_tlli(msgb_tlli(msg), &old_ra_id) even if it
    has already been found by using the BSSGP info. With the changes
    made to sgsn_mm_ctx_by_tlli this will never find a MM context if
    the routing area has changed. If the routing area has not changed,
    the mmctx has already been found if it exists.
    This commit splits searching for an MM context (if it hasn't been
    found already) from checking, whether a found one can really be
    used. The actual search is removed, so that the MS will be forced to
    restart the attach procedure, which is less efficient but safe.
    Sponsored-by: On-Waves ehf

commit e1fe5dd40a097a4897d5ca5fd688dfc2b064c830
Author: Jacob Erlbeck <jerlbeck at>
Date:   Wed Dec 30 15:40:40 2015 +0100

    sgsn: Only look at TLLIs in sgsn_mm_ctx_by_tlli
    Currently the code also matches the TLLI against LOCAL and FOREIGN
    mappings of the P-TMSI, thus eventually finding MM contexts not
    consistent with the TLLI (both tlli and tlli_new differ). On
    the other hand, tlli_new is not checked at all.
    This commit changes the function to only look at mmctx->tlli,
    mmctx->tlli_new, and the routing area.
    Sponsored-by: On-Waves ehf

commit 6a3b9e6270b75805d501662c473567e1827a006c
Author: Jacob Erlbeck <jerlbeck at>
Date:   Wed Dec 30 15:45:51 2015 +0100

    sgsn: Make ra_id_equals available as gprs_ra_id_equals
    The function is moved to gprs_utils.c, renamed, and made non-static
    to be usable in other modules, too.
    Sponsored-by: On-Waves ehf

commit 0194ee7b417fef627ee8d25a7bb380b5e0bc9d45
Author: Jacob Erlbeck <jerlbeck at>
Date:   Wed Dec 30 12:27:11 2015 +0100

    sgsn/test: Add bssgp_raid parameter to send_0408_message
    The BSSGP cell identifier is used to get the RA for the TLLI lookup.
    The send_0408_message function used in the tests does not set this,
    so the RA identifier is always 0-0-0-0.
    This commit adds a parameters to pass the RAID and adds missing
    dummy RAIDs.
    Note that the CI can still not be set and thus is always 0.
    Sponsored-by: On-Waves ehf

commit f1f8c751a15d6ef9cf741490e7e54c5c031a2e32
Author: Jacob Erlbeck <jerlbeck at>
Date:   Tue Dec 29 14:35:31 2015 +0100

    sgsn: Remove tlli_foreign2local
    Currently foreign TLLI are sometimes mapped to local TLLI in the
    hope that they will match. This seems to sometimes introduce
    inconsisties, possibly leading to a failing assertion in
    This mapping should probably reduce the allocation of additional
    LLME during routing area changes.
    This commit removes tlli_foreign2local.
    Sponsored-by: On-Waves ehf


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

More information about the osmocom-commitlog mailing list