xpp: BRI: batch D-Channel packets to fix frag.
authorOron Peled <oron.peled@xorcom.com>
Mon, 2 Jan 2012 14:07:14 +0000 (14:07 +0000)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Mon, 2 Jan 2012 14:07:14 +0000 (14:07 +0000)
commit892e49c3562cbd76c61b5a7d69791a9a7f0ade1c
treeaf1c36d16130d0bf8e9e610cc5eedbbd6b08d7a3
parent9fd76d93c9555fa9dc1482530941f23e58c2e049
xpp: BRI: batch D-Channel packets to fix frag.

* We need to split the BRI D-Channel (HDLC) frames to smaller packets,
  limitation of the FPGA.
* This changes batches BRI D-channel packets of the same HDLC frame to a
  single XPP frame.
* Avoids an accidental fragmantion in case we were delayed for a few ms-s.
* Also improves efficiency.

Signed-off-by: Oron Peled <oron.peled@xorcom.com>
Acked-By: Tzafrir Cohen <tzafrir.cohen@xorcom.com>

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10390 a0bf4364-ded3-4de4-8d8a-66a801d63aff
drivers/dahdi/xpp/card_bri.c