Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/simtrace2/+/30192 )
Change subject: firmware/sniffer: Add + use 16bit ringbuffer
......................................................................
Patch Set 1:
(2 comments)
File firmware/libcommon/include/ringbuffer.h:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1073):
https://gerrit.osmocom.org/c/simtrace2/+/30192/comment/1a973922_030f7d2a
PS1, Line 40: typedef struct ringbuf16 {
do not add new typedefs
File firmware/libcommon/source/ringbuffer.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1073):
https://gerrit.osmocom.org/c/simtrace2/+/30192/comment/2929bf77_9fa9a863
PS1, Line 147: } else {
else is not generally useful after a break or return
--
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/30192
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: Ifde054fbfe7f753b61e7d3409c56eca6e0faeb4b
Gerrit-Change-Number: 30192
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Wed, 16 Nov 2022 18:05:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: pespin.
Hello osmith, Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmo-netif/+/30174
to look at the new patch set (#2).
Change subject: osmux: Obey current batch_size restrictions when creating forged RTP packets to fill holes
......................................................................
osmux: Obey current batch_size restrictions when creating forged RTP packets to fill holes
osmux_link_add() is renamed to osmux_link_handle_rtp_req(), and the last
part of it is split out and kept as osmux_link_add().
hence osmux_link_handle_rtp_req() does proper input checking (like
duplicates, holes, etc.) while osmux_link_add() expects all that to be
sorted out.
Reuse osmux_link_add() in osmux_replay_lost_packets() to properly update
the link state of the to-be-transmitted packet, circuit state, etc.
Change-Id: I4ea435bfb2490a375ad3e5068ee926e48b53cf5c
---
M src/osmux_input.c
1 file changed, 116 insertions(+), 109 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/74/30174/2
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/30174
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I4ea435bfb2490a375ad3e5068ee926e48b53cf5c
Gerrit-Change-Number: 30174
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: pespin.
Hello osmith, Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmo-netif/+/30173
to look at the new patch set (#2).
Change subject: tests/osmux: Test replay of one lost RTP packet when generating osmux batches
......................................................................
tests/osmux: Test replay of one lost RTP packet when generating osmux batches
Change-Id: I913c2ccfc3ad4e7ed801344d64e33e166a0817cf
---
M tests/osmux/osmux_input_test.c
M tests/osmux/osmux_input_test.ok
2 files changed, 98 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/73/30173/2
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/30173
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I913c2ccfc3ad4e7ed801344d64e33e166a0817cf
Gerrit-Change-Number: 30173
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-netif/+/30190 )
Change subject: osmux: Drop noop OR during assignment
......................................................................
osmux: Drop noop OR during assignment
osmuxh->rtp_m is zeroed at that point, it makes no sense to bit-OR at
that point.
Change-Id: I09c920035b1aa1af139a2a63f7cb4a3390bb9d36
---
M src/osmux_input.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/90/30190/1
diff --git a/src/osmux_input.c b/src/osmux_input.c
index 866588f..a50a179 100644
--- a/src/osmux_input.c
+++ b/src/osmux_input.c
@@ -154,7 +154,7 @@
sizeof(struct osmux_hdr));
osmuxh->ft = OSMUX_FT_VOICE_AMR;
osmuxh->ctr = 0;
- osmuxh->rtp_m = osmuxh->rtp_m || state->rtph->marker;
+ osmuxh->rtp_m = state->rtph->marker;
osmuxh->seq = state->circuit->seq++;
osmuxh->circuit_id = state->circuit->ccid;
osmuxh->amr_ft = state->amrh->ft;
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/30190
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I09c920035b1aa1af139a2a63f7cb4a3390bb9d36
Gerrit-Change-Number: 30190
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: laforge.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/simtrace2/+/30183
to look at the new patch set (#2).
Change subject: firmware/sniffer: Group global variables in structs
......................................................................
firmware/sniffer: Group global variables in structs
This is a purely cosmetic change that groups PPS, TPDU and ATR related
global variables into structs. The structs get g_ prefixes to indicate
a global variable. This avoids confusion between very short/generic
variable names that might clash with local variables.
Change-Id: I3e02f6c6b063ebc860b7a2a54dfc6051f1ea584f
---
M firmware/libcommon/source/sniffer.c
1 file changed, 102 insertions(+), 94 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/83/30183/2
--
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/30183
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: I3e02f6c6b063ebc860b7a2a54dfc6051f1ea584f
Gerrit-Change-Number: 30183
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: laforge.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/simtrace2/+/30188
to look at the new patch set (#2).
Change subject: firmware/sniffer: Rename global variable 'wt' to 'g_wt'
......................................................................
firmware/sniffer: Rename global variable 'wt' to 'g_wt'
It's a bad idea to have a two-character global variable which might
easily clash with local variable names.
Change-Id: Ic2fac64129d2772a1923f35e48582be3b130a0f2
---
M firmware/libcommon/source/sniffer.c
1 file changed, 6 insertions(+), 6 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/88/30188/2
--
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/30188
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: Ic2fac64129d2772a1923f35e48582be3b130a0f2
Gerrit-Change-Number: 30188
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: newpatchset
laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/simtrace2/+/30189 )
Change subject: firmware/sniffer: Disable TIMEOUT interrupts in USART IER on exit
......................................................................
firmware/sniffer: Disable TIMEOUT interrupts in USART IER on exit
Not critical (we disable the USART interrupts in NVIC anyway), but
if Sniffer_init() enables this flag, it's good style for Sniffer_exit()
to disable it.
Change-Id: I92e16a160d60fcab33c81e0cf074088b9f20b9ae
---
M firmware/libcommon/source/sniffer.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/89/30189/1
diff --git a/firmware/libcommon/source/sniffer.c b/firmware/libcommon/source/sniffer.c
index 56f0b64..aeb2a5e 100644
--- a/firmware/libcommon/source/sniffer.c
+++ b/firmware/libcommon/source/sniffer.c
@@ -913,7 +913,7 @@
{
TRACE_INFO("Sniffer exit\n\r");
/* Disable USART */
- USART_DisableIt(sniff_usart.base, US_IER_RXRDY);
+ USART_DisableIt(sniff_usart.base, US_IER_RXRDY | US_IER_TIMEOUT);
/* NOTE: don't forget to set the IRQ according to the USART peripheral used */
NVIC_DisableIRQ(IRQ_USART_SIM);
USART_SetReceiverEnabled(sniff_usart.base, 0);
--
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/30189
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: I92e16a160d60fcab33c81e0cf074088b9f20b9ae
Gerrit-Change-Number: 30189
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: newchange