Change in simtrace2[master]: buffer: increase buffer size to 512 to cope with fast and long TPDUs

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Kévin Redon gerrit-no-reply at lists.osmocom.org
Wed Jul 4 08:58:55 UTC 2018


Kévin Redon has uploaded this change for review. ( https://gerrit.osmocom.org/9877


Change subject: buffer: increase buffer size to 512 to cope with fast and long TPDUs
......................................................................

buffer: increase buffer size to 512 to cope with fast and long TPDUs

Change-Id: I194c90cf09306a982d80c5bf1222397af6e658a9
---
M firmware/libcommon/include/ringbuffer.h
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/77/9877/1

diff --git a/firmware/libcommon/include/ringbuffer.h b/firmware/libcommon/include/ringbuffer.h
index 1d29760..61c6c58 100644
--- a/firmware/libcommon/include/ringbuffer.h
+++ b/firmware/libcommon/include/ringbuffer.h
@@ -5,7 +5,7 @@
 #include <stdbool.h>
 #include <sys/types.h>
 
-#define RING_BUFLEN 256
+#define RING_BUFLEN 512
 
 typedef struct ringbuf {
 	uint8_t buf[RING_BUFLEN];

-- 
To view, visit https://gerrit.osmocom.org/9877
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I194c90cf09306a982d80c5bf1222397af6e658a9
Gerrit-Change-Number: 9877
Gerrit-PatchSet: 1
Gerrit-Owner: Kévin Redon <kredon at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180704/60a899eb/attachment.htm>


More information about the gerrit-log mailing list