osmo-iuh.git branch neels/ranap_iu updated. d5a564775f84814edf23358e9330da13acc90408

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Thu Jul 20 11:39:21 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 "Osmocom code for Iuh interface".

The branch, neels/ranap_iu has been updated
  discards  68b5c13adb3cf28dc355b0e734f2d2311be86120 (commit)
       via  d5a564775f84814edf23358e9330da13acc90408 (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 (68b5c13adb3cf28dc355b0e734f2d2311be86120)
            \
             N -- N -- N (d5a564775f84814edf23358e9330da13acc90408)

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 -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-iuh/commit/?id=d5a564775f84814edf23358e9330da13acc90408

commit d5a564775f84814edf23358e9330da13acc90408
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Jul 5 14:38:52 2017 +0200

    move openbsc.git's iu.h, iu.c, iu_vty.c here as iu_client* NOT FOR MERGE
    
    *** NOT FOR MERGE: use SCCP address book: the libsccp address book code is
    currently in flux, will follow in the next patch set when pmaier is ready with
    it ***
    
    To help split openbsc.git to separate MSC and SGSN repositories, place the
    common Iu interface related code here in libosmo-ranap. Also apply various
    improvements while moving (from intermittent code review).
    
    The code depends on libosmo-ranap tightly. One reason to want this separate
    from libosmo-ranap could be that it uses libosmo-sigtran, accepting an sccp
    instance. However, including in libosmo-ranap is the simplest way to go. The
    osmo-iuh build depends on libosmo-sigtran anyway because of OsmoHNBGW, and all
    current users of libosmo-ranap also naturally link libosmo-sigtran already.
    
    Apply prefix ranap_iu_ and RANAP_IU_ to allow smooth transition from the
    openbsc.git iu_ to the libranap ranap_iu_ implementations.
    
    Prune unneeded #include statements.
    
    Instead of sccp_addr, store an rnc pointer in the ue_conn_ctx. To facilitate,
    also:
    - Move iu_rnc struct to iu_client.h (as ranap_iu_rnc).
    - Instead of sccp_addr, pass rnc to ue_conn_ctx_alloc().
    - Pass a local struct new_ue_conn_ctx containing the sccp_addr and conn_id up
      the RANAP handling stack in case of an InitialUE message.
    - Separate the InitialUE message handling from cn_ranap_handle_co(), by moving
      to new and separate cn_ranap_handle_co_initial(), so we can still pass a
      looked-up ue_conn_ctx to all other cn_ranap_handle_co() code paths.
    - Allocate the ue_conn_ctx only in ranap_handle_co_initial_ue(), not as early
      as before.
    Note that we are not actually ever using the rnc pointer now present in
    ue_conn_ctx. It could be used for more concise paging, to first page only the
    RNC where we last saw the subscriber. So far we page all matching LAC/RACs.
    
    Tweak error logging: use __func__ instead of writing the function names as
    string constants.
    
    In iu_client_vty.c:
    - Move the asn.1 debug commands from logging over to the iu node. They are not
      specific to the logging target. They could qualify for an entirely separate
      'asn1' root node, but for simplicity place under 'iu'.
    - Add the 'asn1' commands to ranap_iu_vty_config_write(), so far missing.
    - remove the legacy "net." from a VTY error message, it is not known which name
      the parent node of 'iu' has.
    
    Change-Id: I6a3f7ad15be03fb94689b4af6ccfa828c25f45c0

-----------------------------------------------------------------------

Summary of changes:
 include/osmocom/ranap/iu_client.h | 13 ++----
 src/iu_client.c                   | 84 ++++++++++++++++++++++++++-------------
 src/iu_client_vty.c               | 34 ++++++++++------
 3 files changed, 82 insertions(+), 49 deletions(-)


hooks/post-receive
-- 
Osmocom code for Iuh interface



More information about the osmocom-commitlog mailing list