From 8fc8ceff16aa1fdd3b0b6bdcc7659ad7ba7ad591 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 22 Jul 2020 09:47:34 +0200 Subject: 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 --- src/input/e1d.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 @@ e1d_line_update(struct e1inp_line *line) } 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 @@ e1d_line_update(struct e1inp_line *line) } 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 @@ e1d_line_update(struct e1inp_line *line) } 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); -- cgit v1.2.3