aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2022-11-03 16:07:19 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2023-01-03 12:24:29 +0100
commit4934ff5389263d945c0786f9a8ffe9dced26bf1c (patch)
tree68db7862f7ae7c24297c722d4d1382354d7c3789
parentcf890391eee6ff54af2bedf8ca3def8fe51cd225 (diff)
trau_sync: support more than 40 bytes sync pattern.
40 byte sync pattern size is fine for 16 subslots but with an E1 line we can go up to 64kbps, which is 4 times as much. Lets increase the maximum pattern size to 160 to be prepared for full 64k slots. Change-Id: I5be127ed5e39cb154e949b16fb08c26a1d816357 Related: OS#5198
-rw-r--r--src/trau/trau_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trau/trau_sync.c b/src/trau/trau_sync.c
index 9c7303f..83c7903 100644
--- a/src/trau/trau_sync.c
+++ b/src/trau/trau_sync.c
@@ -31,7 +31,7 @@
#define S(x) (1 << (x))
-#define MAX_TRAU_BYTES 40
+#define MAX_TRAU_BYTES 160
#define T_SYNC 1