Subject: libosmo-netif.git branch master updated. ffd20f3f1c56c6d47ec196c09069fb6b00ca081a
From: git repository hosting <[email-masked]>
To: [email-masked]
Date: Thu, 02 Aug 2012 20:38:19 +0200

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  ffd20f3f1c56c6d47ec196c09069fb6b00ca081a (commit)
       via  b03de23120b2a45138fa99178b962198b5b0324e (commit)
       via  5e8fab1419b769783bbedb21d65d997a2d61ee1c (commit)
       via  969db946d46f6d7d8cf378d2f7690b44428c0bba (commit)
       via  52c7649e2379e3c8c9acafa7351fa6838532834a (commit)
       via  4aa55450a36aaab09228e0e078218262f8fe73a4 (commit)
      from  8a8c47aaba37865a3696e3ffd4d96c8aa3b70be8 (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 -----------------------------------------------------------------
http://cgit.osmocom.org/cgit/libosmo-netif/commit/?id=ffd20f3f1c56c6d47ec196c09069fb6b00ca081a

commit ffd20f3f1c56c6d47ec196c09069fb6b00ca081a
Author: Pablo Neira Ayuso <[email-masked]>
Date:   Thu Aug 2 20:24:57 2012 +0200

    osmux: major rework to reduce batch message size (add counter field)
    
    This patch adds the counter field to the osmux header, so we can
    reduce the size of the batch even further, eg.
    
    osmuxhdr (ctr=3)
    speech
    speech
    speech
    osmuxhdr (ctr=2)
    speech
    speech
    ...
    
    The new header is the following:
    
     0                   1                   2                   3
     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    | FT  | CTR |F|Q|    SeqNR      |  Circuit ID   |AMR-FT |AMR-CMR|
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    
    The counter field is 3 bits long, thus, we can batch up to 8
    RTP speech frames into one single batch per circuit ID.
    
    I have also removed the RTP marker, since it can be reconstructed
    from the AMR information.
    
    Moreover, the entire workflow has been also reworked. Whenever a
    packet arrives, we introduce it into the batch list. This batch
    list contains a list of RTP messages ordered by RTP SSRC. Then,
    once the batch timer expires or the it gets full, we build the
    batch from the list of RTP messages.
    
    Note that this allows us to put several speech frame into one
    single osmux header without actually worrying about the amount
    of messages that we'll receive.
    
    The functions that reconstruct the RTP messages has been also
    adjusted. Now, it returns a list of RTP messages per RTP SSRC
    that has been extracted from the batch.

http://cgit.osmocom.org/cgit/libosmo-netif/commit/?id=b03de23120b2a45138fa99178b962198b5b0324e

commit b03de23120b2a45138fa99178b962198b5b0324e
Author: Pablo Neira Ayuso <[email-masked]>
Date:   Thu Aug 2 20:35:31 2012 +0200

    tests: osmux: initialize input handler before first run
    
    Make sure we don't segfault due to uninitiliazed handler.

http://cgit.osmocom.org/cgit/libosmo-netif/commit/?id=5e8fab1419b769783bbedb21d65d997a2d61ee1c

commit 5e8fab1419b769783bbedb21d65d997a2d61ee1c
Author: Pablo Neira Ayuso <[email-masked]>
Date:   Thu Aug 2 20:34:04 2012 +0200

    tests: osmo-pcap: callback control the release of the emulated packet
    
    The callback is now in charge of releasing the packet.

http://cgit.osmocom.org/cgit/libosmo-netif/commit/?id=969db946d46f6d7d8cf378d2f7690b44428c0bba

commit 969db946d46f6d7d8cf378d2f7690b44428c0bba
Author: Pablo Neira Ayuso <[email-masked]>
Date:   Thu Aug 2 20:25:36 2012 +0200

    osmux: osmux_get_payload returns uint8_t * instead void *
    
    So we easily add offsets without any casting.

http://cgit.osmocom.org/cgit/libosmo-netif/commit/?id=52c7649e2379e3c8c9acafa7351fa6838532834a

commit 52c7649e2379e3c8c9acafa7351fa6838532834a
Author: Pablo Neira Ayuso <[email-masked]>
Date:   Thu Aug 2 20:24:31 2012 +0200

    osmux: fix wrong maximum batch size
    
    Missing UDP header in calculation.

http://cgit.osmocom.org/cgit/libosmo-netif/commit/?id=4aa55450a36aaab09228e0e078218262f8fe73a4

commit 4aa55450a36aaab09228e0e078218262f8fe73a4
Author: Pablo Neira Ayuso <[email-masked]>
Date:   Thu Aug 2 17:39:02 2012 +0200

    tests: osmo-pcap: cleanup for osmux test receiver loop

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

Summary of changes:
 include/osmocom/netif/osmux.h     |   30 ++---
 src/osmux.c                       |  262 ++++++++++++++++++++++++++++---------
 tests/osmo-pcap-test/osmux_test.c |   32 +++--
 tests/osmo-pcap-test/pcap.c       |    2 -
 4 files changed, 233 insertions(+), 93 deletions(-)

hooks/post-receive
-- 
Osmocom network interface library