aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-02-18 03:40:58 +0000
committerHarald Welte <laforge@gnumonks.org>2009-02-18 03:40:58 +0000
commit7eb1f621e044a5fb3fa334865239dc61b56c138c (patch)
tree7539ba0923e31342c6d26cb1efb19522aaaf21a3 /include/openbsc
parentf9227c756259052c94ae38f706fa79cf46a78111 (diff)
"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.
Diffstat (limited to 'include/openbsc')
-rw-r--r--include/openbsc/subchan_demux.h3
1 files changed, 2 insertions, 1 deletions
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 {