Attention is currently required from: pespin.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmo-netif/+/29518
to look at the new patch set (#2).
Change subject: osmux: Fix osmux seqnum incremented globally instead of per circuit
......................................................................
osmux: Fix osmux seqnum incremented globally instead of per circuit
There's no real use in having a global seqnum. The seqnum, as specified
by the osmux protocol specification, relates to that of the RTP
seq+timestamp, hence it is per circuit.
Having it per circuit allows detecting gaps and lost batches on the
receiver side, applying the Marker bit on the re-assembled RTP packets.
As a resut of the fix, tests/osmux/osmux_test part validating Marker bit
started failing. It failed because it was wrongly written to start with,
since it used only one osmux_out_handle for the 4 CIDs in use, which was
wrong, since each CID must have its own osmux_out_handle as state is
kept there per circuit.
Related: SYS#5987
Change-Id: I562de6a871d8a35475c314ca107c2a12b55d6683
---
M src/osmux.c
M tests/osmux/osmux_test.c
M tests/osmux/osmux_test.ok
3 files changed, 589 insertions(+), 587 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/18/29518/2
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/29518
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I562de6a871d8a35475c314ca107c2a12b55d6683
Gerrit-Change-Number: 29518
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/29518 )
Change subject: osmux: Fix osmux seqnum incremented globally instead of per circuit
......................................................................
Patch Set 1:
(1 comment)
File tests/osmux/osmux_test.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-libosmo-netif-lint-93):
https://gerrit.osmocom.org/c/libosmo-netif/+/29518/comment/02568156_4cc8d8db
PS1, Line 135: static void osmux_test_marker(int num_ccid) {
open brace '{' following function definitions go on the next line
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/29518
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I562de6a871d8a35475c314ca107c2a12b55d6683
Gerrit-Change-Number: 29518
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Wed, 28 Sep 2022 17:05:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/29514 )
Change subject: osmux: Fix AMR F,Q,CMR fields not properly encoded in osmux header
......................................................................
Patch Set 1:
(2 comments)
File src/osmux.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-libosmo-netif-lint-90):
https://gerrit.osmocom.org/c/libosmo-netif/+/29514/comment/cecd1dcc_125a1cc6
PS1, Line 392: batch->osmuxh->amr_q= state->amrh->q;
spaces required around that '=' (ctx:VxW)
File tests/osmux/osmux_input_test.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-libosmo-netif-lint-90):
https://gerrit.osmocom.org/c/libosmo-netif/+/29514/comment/6114d874_78f7c830
PS1, Line 289: printf("===%s===\n", __FUNCTION__);
__func__ should be used instead of gcc specific __FUNCTION__
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/29514
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I06f3d07a05181d938c22bbd0da7172b5dad6659a
Gerrit-Change-Number: 29514
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Wed, 28 Sep 2022 17:05:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/29513 )
Change subject: tests/osmux: Add new osmux_input_test to validate AMR FT changes
......................................................................
Patch Set 1:
(2 comments)
File tests/osmux/osmux_input_test.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-libosmo-netif-lint-88):
https://gerrit.osmocom.org/c/libosmo-netif/+/29513/comment/38ce7bdc_25d51360
PS1, Line 117: } while(0)
space required before the open parenthesis '('
Robot Comment from checkpatch (run ID jenkins-gerrit-libosmo-netif-lint-88):
https://gerrit.osmocom.org/c/libosmo-netif/+/29513/comment/ae1f9c12_b94f33d1
PS1, Line 197: printf("===%s===\n", __FUNCTION__);
__func__ should be used instead of gcc specific __FUNCTION__
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/29513
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I105466fc8a4d92341f34886ee81ef0ca04014514
Gerrit-Change-Number: 29513
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Wed, 28 Sep 2022 17:05:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment