libosmo-netif.git branch master updated. 0.0.4-30-g0d90dd1

gitosis at gitosis at
Tue Aug 18 22:09: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 "Osmocom network interface library".

The branch, master has been updated
       via  0d90dd1563739a1db2af30737f9f8e76bfb4120e (commit)
       via  552bae60814291b301247a092a287f7385ddc3c7 (commit)
       via  f71308001a32a3dd67f2b9098e9a67292d964fbb (commit)
       via  41d5c3081a3a97a5e18ce8bb2599a76fe399152e (commit)
       via  e1aefad278de2ca9cc410cf6de6752424097c063 (commit)
       via  f9407cc66811d67641fa1d1bb828dc051470ba10 (commit)
       via  b8bdc290d091452e33f87f4756a103eb06fd5403 (commit)
       via  386e7755a773271873b2abbcb49d2c6ca9bd3b48 (commit)
       via  b36951e6e30380f64d19896e240b1ca540331735 (commit)
       via  635bef7363b731638bf9f86251ec937f6795934d (commit)
       via  ea549806c90f02f87a1fc6625e0626602048737c (commit)
       via  b3fc27423a76ab4178a3734423800bebd2e9f639 (commit)
       via  ab898deea3903202ae98a2e258b861ec38f4ceed (commit)
       via  d886bd05032611e3274b3b0c9d3ca43c539ad381 (commit)
       via  f3016f29dd3193e48cbc645564fccfdeff724204 (commit)
       via  22026a4b9b0ff4625b54f0cba654cd0599a15023 (commit)
       via  75df57e15f94b05571dbfe86dd0a7376d591aeae (commit)
       via  752a9c68e540f3749cd25cc14bc6d09308755768 (commit)
       via  f67d1126aba76337b9b7d9100464c05bd28732a6 (commit)
      from  c55d867508c8ddb93a822c018b5ce5a9a72006aa (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 0d90dd1563739a1db2af30737f9f8e76bfb4120e
Author: Pablo Neira Ayuso <pablo at>
Date:   Tue Jul 21 17:10:14 2015 +0200

    build: bump library release number
    I have added two new interfaces to add and to delete circuits from osmux input
    handles. The client application needs to be adapted to use them otherwise it
    will break. That's why I'm making this library release incompatible with the
    previous generation.

commit 552bae60814291b301247a092a287f7385ddc3c7
Author: Pablo Neira Ayuso <pablo at>
Date:   Tue Jul 21 11:11:26 2015 +0200

    tests: osmux: iterate 64 times in osmo_test_loop()
    Instead of 63, this resolves major "definitely lost" remaining leak that
    valgrind reports regarding msgb.

commit f71308001a32a3dd67f2b9098e9a67292d964fbb
Author: Pablo Neira Ayuso <pablo at>
Date:   Tue Jul 21 10:56:34 2015 +0200

    tests: compile tests with debugging symbols, ie. -g
    Useful when debuggin via valgrind/gdb.

commit 41d5c3081a3a97a5e18ce8bb2599a76fe399152e
Author: Pablo Neira Ayuso <pablo at>
Date:   Tue Jul 21 10:46:41 2015 +0200

    tests: osmux: fix msgb leaks

commit e1aefad278de2ca9cc410cf6de6752424097c063
Author: Pablo Neira Ayuso <pablo at>
Date:   Tue Jul 21 10:40:00 2015 +0200

    osmux: kill osmux_get_hdr()
    Never used, so let's get rid of this function. We can recover it later on in
    case we need it.

commit f9407cc66811d67641fa1d1bb828dc051470ba10
Author: Pablo Neira Ayuso <pablo at>
Date:   Tue Jul 21 10:37:29 2015 +0200

    tests: osmux: test circuit reopening after closure
    Make sure circuit routines works correctly.

commit b8bdc290d091452e33f87f4756a103eb06fd5403
Author: Pablo Neira Ayuso <pablo at>
Date:   Tue Jul 21 10:31:44 2015 +0200

    tests: osmux: validate dummy padding with no voice data interaction
    Make sure that early dummy bandwitch preallocation works fine in the absence of
    any kind of voice traffic.

commit 386e7755a773271873b2abbcb49d2c6ca9bd3b48
Author: Pablo Neira Ayuso <pablo at>
Date:   Tue Jul 21 10:20:54 2015 +0200

    tests: osmux: test online deactivation of dummy padding
    Add RTP packets to circuit with dummy padding enabled to test automatic
    deactivation once when start seeing real voice traffic.

commit b36951e6e30380f64d19896e240b1ca540331735
Author: Pablo Neira Ayuso <pablo at>
Date:   Tue Jul 21 10:17:42 2015 +0200

    tests: osmux: factor out main test loop
    Move main test loop routine to the new osmux_test_loop() function.

commit 635bef7363b731638bf9f86251ec937f6795934d
Author: Pablo Neira Ayuso <pablo at>
Date:   Mon Jul 20 21:01:58 2015 +0200

    tests: osmux: adapt it to use the new circuit API
    This also introduces a spare circuit that contains no voice data to test
    bandwidth preallocation through the new osmux dummy frame type.

commit ea549806c90f02f87a1fc6625e0626602048737c
Author: Pablo Neira Ayuso <pablo at>
Date:   Fri Jul 17 20:47:04 2015 +0200

    osmux: introduce osmux_xfrm_input_open_circuit()
    This new function allows you to create a circuit on an existing input handle.
    We don't create the circuit anymore from the first packet seen, instead the
    client application is in full control of opening and closing the circuit.
    This change includes a new feature to pad a circuit until we see the first
    packet that contains voice data. This is useful to preallocate bandwidth on
    satellite links such as Iridium/OpenPort.

commit b3fc27423a76ab4178a3734423800bebd2e9f639
Author: Pablo Neira Ayuso <pablo at>
Date:   Fri Jul 17 19:55:18 2015 +0200

    osmux: introduce osmux_xfrm_input_close_circuit()
    Add this new function to explicitly remove an existing circuit. Thus, the
    client application (openbsc) is in full control to release circuits.
    Before this patch, the circuit object was added when the first RTP messages was
    seen, and it was removed when transforming the list of pending RTP messages to
    the Osmux message (once the timer expired).
    Moreover, check circuit->nmsgs to account bytes that are consumed by the osmux
    header, given that !circuit doesn't mean "this is the first packet" anymore.

commit ab898deea3903202ae98a2e258b861ec38f4ceed
Author: Pablo Neira Ayuso <pablo at>
Date:   Fri Jul 17 20:23:25 2015 +0200

    osmux: count pending messages to be transformed in the batch
    Add a new field to count the number of messages in the batch that are pending
    to be transformed to osmux. Use this new field to check when to enable the
    osmux timer.
    The follow up patch keeps circuit objects in the batch until they are closed,
    so we won't be able to rely on this to know when to enable the timer anymore.

commit d886bd05032611e3274b3b0c9d3ca43c539ad381
Author: Pablo Neira Ayuso <pablo at>
Date:   Fri Jul 17 20:13:16 2015 +0200

    osmux: pass up struct osmux_batch
    Instead of struct osmux_in_handle. This object contains the internal batching
    state information.

commit f3016f29dd3193e48cbc645564fccfdeff724204
Author: Pablo Neira Ayuso <pablo at>
Date:   Fri Jul 17 19:37:28 2015 +0200

    osmux: rename circuit->list to circuit->rtp_list
    A circuit object contains a list of pending RTP messages to be converted to the
    osmux format.

commit 22026a4b9b0ff4625b54f0cba654cd0599a15023
Author: Pablo Neira Ayuso <pablo at>
Date:   Fri Jul 17 19:24:49 2015 +0200

    osmux: rename struct batch_list_node to osmux_circuit
    I think this is a better name for this object. Basically, an input handle
    represents a batch that is composed of one or more circuit objects.
    Each circuit object contains a list of RTP messages that are pending to be
    converted to the osmux format in one single batch.

commit 75df57e15f94b05571dbfe86dd0a7376d591aeae
Author: Pablo Neira Ayuso <pablo at>
Date:   Fri Jul 17 19:15:42 2015 +0200

    osmux: add circuit helper functions
    Add osmux_batch_add_circuit() and osmux_batch_find_circuit() helper functions.

commit 752a9c68e540f3749cd25cc14bc6d09308755768
Author: Pablo Neira Ayuso <pablo at>
Date:   Fri Jul 17 16:58:31 2015 +0200

    osmux: add osmux_input_state structure
    This new structure serves as container of the internal osmux state during
    transformation from RTP AMR to the compressed osmux format.
    This reduces the footprint of several functions and it makes them easier to
    extend if we need to pass new information between functions.

commit f67d1126aba76337b9b7d9100464c05bd28732a6
Author: Pablo Neira Ayuso <pablo at>
Date:   Fri Jul 17 21:20:43 2015 +0200

    osmux: discard non voice osmux message
    We only support voice osmux messages by now. Discard unsupported types.


Summary of changes:
 include/osmocom/netif/osmux.h |   8 +-
 src/               |   2 +-
 src/osmux.c                   | 374 +++++++++++++++++++++++++++---------------
 tests/             |   2 +-
 tests/osmux/osmux_test.c      |  80 ++++++---
 5 files changed, 305 insertions(+), 161 deletions(-)

Osmocom network interface library

More information about the osmocom-commitlog mailing list