dexter has uploaded this change for review.

View Change

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
---
M src/trau/trau_sync.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/99/29999/1
diff --git a/src/trau/trau_sync.c b/src/trau/trau_sync.c
index dba9cd1..f0af26d 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


To view, visit change 29999. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I5be127ed5e39cb154e949b16fb08c26a1d816357
Gerrit-Change-Number: 29999
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: newchange