dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-abis/+/29999 )
Change subject: trau_sync: support more than 40 bytes sync pattern. ......................................................................
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