From 7eb1f621e044a5fb3fa334865239dc61b56c138c Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 18 Feb 2009 03:40:58 +0000 Subject: "the big fix", of the E1 subchannel [de]multiplexer. I don't even remember how many bugs I fixed during the last couple of hours. It was never working at any time before. --- include/openbsc/subchan_demux.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/openbsc') diff --git a/include/openbsc/subchan_demux.h b/include/openbsc/subchan_demux.h index 23c903204..a5c5d8ea4 100644 --- a/include/openbsc/subchan_demux.h +++ b/include/openbsc/subchan_demux.h @@ -34,7 +34,8 @@ struct demux_subch { u_int8_t out_bitbuf[TRAU_FRAME_BITS]; - u_int8_t out_idx; /* next bit to be written in out_bitbuf */ + u_int16_t out_idx; /* next bit to be written in out_bitbuf */ + unsigned int consecutive_zeros; }; struct subch_demux { -- cgit v1.2.3