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
This commit is contained in:
laforge 2006-06-14 19:45:26 +00:00
parent e1eacada54
commit b4c7e5000a
1 changed files with 3 additions and 1 deletions

View File

@ -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);