aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-07-22 09:47:34 +0200
committerHarald Welte <laforge@osmocom.org>2020-07-22 09:48:59 +0200
commit8fc8ceff16aa1fdd3b0b6bdcc7659ad7ba7ad591 (patch)
tree2ea3c68eee548c649a51b87d5e369d17ea6a2998
parent3b9bebfa24249a7a3f93ccb2af9a87d92155153b (diff)
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
-rw-r--r--src/input/e1d.c6
1 files 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);