diff options
author | laforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede> | 2006-06-14 19:45:26 +0000 |
---|---|---|
committer | laforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede> | 2006-06-14 19:45:26 +0000 |
commit | b4c7e5000a71fff560ea6b4620c47d3f9eba4602 (patch) | |
tree | 37fd1cfbd7bbbea60ee0002ac5f5d463e46ab2e1 | |
parent | e1eacada54e9edb2f14c64a8ba615cad6ae3ed8b (diff) |
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
-rw-r--r-- | src/rfid_asic_rc632.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |