From b4c7e5000a71fff560ea6b4620c47d3f9eba4602 Mon Sep 17 00:00:00 2001 From: laforge Date: Wed, 14 Jun 2006 19:45:26 +0000 Subject: make sure we never rx/tx frames > 64 bytes because stupid cm5121 is not able to refill FIFO during rx/tx operation due to latency issues. This needs to be put in a reader specific field, rather than an ASIC specific field. git-svn-id: https://svn.gnumonks.org/trunk/librfid@1823 e0336214-984f-0b4b-a45f-81c69e1f0ede --- src/rfid_asic_rc632.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/rfid_asic_rc632.c b/src/rfid_asic_rc632.c index 7c79dfd..e594bce 100644 --- a/src/rfid_asic_rc632.c +++ b/src/rfid_asic_rc632.c @@ -482,7 +482,9 @@ rc632_open(struct rfid_asic_transport_handle *th) h->asic = &rc632; h->rath = th; h->fc = h->asic->fc; - h->mtu = h->mru = 40; /* FIXME */ + /* FIXME: this is only cm5121 specific, since the latency + * down to the RC632 FIFO is too long to refill during TX/RX */ + h->mtu = h->mru = 64; if (rc632_init(h) < 0) { free(h); -- cgit v1.2.3