Change in libosmo-abis[master]: e1d: Add new osmo_e1dp_client_ts_open() argument

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/.

laforge gerrit-no-reply at lists.osmocom.org
Wed Jul 22 07:49:12 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-abis/+/19361 )


Change subject: e1d: Add new osmo_e1dp_client_ts_open() argument
......................................................................

e1d: Add new osmo_e1dp_client_ts_open() argument

An additional argument was added to specify the timeslot read
buffer size.

Change-Id: I4a088f91f23aaad05c5ab84a4783c1915d85aca6
Depends: osmo-e1d I6d603778cce14c5d72fe5f54904905ea7e66d7ff
---
M src/input/e1d.c
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/61/19361/1

diff --git a/src/input/e1d.c b/src/input/e1d.c
index 4fc0749..3a2f385 100644
--- a/src/input/e1d.c
+++ b/src/input/e1d.c
@@ -245,7 +245,7 @@
 			}
 			if (bfd->fd <= 0) {
 				bfd->fd = osmo_e1dp_client_ts_open(g_e1d, e1d_intf, e1d_line, ts,
-								   E1DP_TSMODE_HDLCFCS);
+								   E1DP_TSMODE_HDLCFCS, D_TSX_ALLOC_SIZE);
 			}
 			if (bfd->fd < 0) {
 				LOGPITS(e1i_ts, DLINP, LOGL_ERROR, "Could not open timeslot %d\n", ts);
@@ -275,7 +275,7 @@
 			}
 			if (bfd->fd <= 0) {
 				bfd->fd = osmo_e1dp_client_ts_open(g_e1d, e1d_intf, e1d_line, ts,
-								   E1DP_TSMODE_HDLCFCS);
+								   E1DP_TSMODE_HDLCFCS, D_TSX_ALLOC_SIZE);
 			}
 			if (bfd->fd < 0) {
 				LOGPITS(e1i_ts, DLINP, LOGL_ERROR, "Could not open timeslot %d\n", ts);
@@ -298,7 +298,7 @@
 			}
 			if (bfd->fd <= 0) {
 				bfd->fd = osmo_e1dp_client_ts_open(g_e1d, e1d_intf, e1d_line, ts,
-								   E1DP_TSMODE_RAW);
+								   E1DP_TSMODE_RAW, D_TSX_ALLOC_SIZE);
 			}
 			if (bfd->fd < 0) {
 				LOGPITS(e1i_ts, DLINP, LOGL_ERROR, "Could not open timeslot %d\n", ts);

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/19361
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I4a088f91f23aaad05c5ab84a4783c1915d85aca6
Gerrit-Change-Number: 19361
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200722/07576240/attachment.htm>


More information about the gerrit-log mailing list