laforge has submitted this change. ( 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(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved pespin: Looks good to me, but someone else must approve fixeria: Looks good to me, but someone else must approve
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