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
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-netif/+/29516 )
Change subject: cosmetic: osmux: Fix typo in comment
......................................................................
cosmetic: osmux: Fix typo in comment
Change-Id: I05aa1941f9cc8f3aa5ba873cf134767b56b56b69
---
M src/osmux.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/16/29516/1
diff --git a/src/osmux.c b/src/osmux.c
index 991fd33..de59d2f 100644
--- a/src/osmux.c
+++ b/src/osmux.c
@@ -152,7 +152,7 @@
/* rtp packet with the marker bit is always guaranteed to be the first
* one. We want to notify with marker in 2 scenarios:
* 1- Sender told us through osmux frame rtp_m.
- * 2- Sntermediate osmux frame lost (seq gap), otherwise rtp receiver only sees
+ * 2- Intermediate osmux frame lost (seq gap), otherwise rtp receiver only sees
* steady increase of delay
*/
rtph->marker = first_pkt &&
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/29516
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I05aa1941f9cc8f3aa5ba873cf134767b56b56b69
Gerrit-Change-Number: 29516
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-netif/+/29518 )
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, 588 insertions(+), 587 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/18/29518/1
--
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-MessageType: newchange
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-netif/+/29517 )
Change subject: osmux: Mark unused osmux_in_handle field as deprecated
......................................................................
osmux: Mark unused osmux_in_handle field as deprecated
It is not used anywhere, and it shouldn't be used since the seqnum state
is per circuit. It cannot be dropped since it would break ABI.
Change-Id: Ia26fcba5d7364a5744b2d64d0542a2b3880eee34
---
M include/osmocom/netif/osmux.h
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/17/29517/1
diff --git a/include/osmocom/netif/osmux.h b/include/osmocom/netif/osmux.h
index c663c1b..373b86d 100644
--- a/include/osmocom/netif/osmux.h
+++ b/include/osmocom/netif/osmux.h
@@ -57,7 +57,7 @@
/* one to handle all existing RTP flows */
struct osmux_in_handle {
- uint8_t osmux_seq;
+ uint8_t osmux_seq; /* Unused, DEPRECATED */
uint8_t batch_factor;
uint16_t batch_size;
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/29517
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: Ia26fcba5d7364a5744b2d64d0542a2b3880eee34
Gerrit-Change-Number: 29517
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange