summaryrefslogtreecommitdiff
path: root/src/rfid_asic_rc632.c
Commit message (Collapse)AuthorAgeFilesLines
* - fix mifare write supportlaforge2006-11-281-9/+37
| | | | | | | | | | - make mifare auth more reliable - add mifare permission / access bit en/decoding - some more 15693 bits - add new 'mifare-tool' program git-svn-id: https://svn.gnumonks.org/trunk/librfid@1928 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - remove prototypes for already-removed _register() functions from headerslaforge2006-10-141-4/+4
| | | | | | | | | - automatically define LIBRFID_STATIC if LIBRFID_FIRMWARE is set - remove any references to printf/snprintf - remove bogus free() in 14443b_init git-svn-id: https://svn.gnumonks.org/trunk/librfid@1905 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Prepare RFID compilation in firmware modelaforge2006-10-141-7/+7
| | | | | | | | | | | | | | - switch from linked lists to static arrays - remove all non-handle dynamic allocations (at the expense of stack) - declare all proto/reader/asic/layer2 structures as const - wrap all handle allocations in macros that expand to references to static structures in case of firmware mode - update copyright notices - add skeleton code for openpcd-inside-firmware driver - update TODO with remaining TODO for firmware mode git-svn-id: https://svn.gnumonks.org/trunk/librfid@1903 e0336214-984f-0b4b-a45f-81c69e1f0ede
* fix various compile warnings. code cleanuplaforge2006-09-301-4/+4
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1891 e0336214-984f-0b4b-a45f-81c69e1f0ede
* memset the size of the structure, rather than the pointer to it. Usually ↵laforge2006-09-221-1/+1
| | | | | | this problem results in memsetting too litttle... but here we actually have a less-than-four-byte-structure and we end up messing up the stack :( git-svn-id: https://svn.gnumonks.org/trunk/librfid@1886 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - fix treatment of rx_length in low-level transceive routineslaforge2006-08-161-3/+15
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1870 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add timer/irq handling, disabledlaforge2006-08-161-4/+119
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1867 e0336214-984f-0b4b-a45f-81c69e1f0ede
* make sure we never rx/tx frames > 64 bytes because stupid cm5121 is not able tolaforge2006-06-141-1/+3
| | | | | | | | 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
* fix multi-fifo-writes. still doesn't work, I think we have to limit the ↵laforge2006-06-141-1/+2
| | | | | | framesize to 64bytes with the cm5121 git-svn-id: https://svn.gnumonks.org/trunk/librfid@1822 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - make timeout more liberallaforge2006-06-141-15/+60
| | | | | | | - implement fifo refill for transmit/transceive > 64bytes git-svn-id: https://svn.gnumonks.org/trunk/librfid@1821 e0336214-984f-0b4b-a45f-81c69e1f0ede
* s/transcieve/transceive/g (Henryk Ploetz)laforge2006-06-131-17/+17
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1817 e0336214-984f-0b4b-a45f-81c69e1f0ede
* patch introduces -ETIMEDOUT as an error return code in case of ↵laforge2006-06-131-2/+1
| | | | | | | | timeout. (For *_close it's important to distinguish between 'real' errors and timeout.) (Henryk Ploetz) git-svn-id: https://svn.gnumonks.org/trunk/librfid@1815 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Fix mifare authentication for multiple blockslaforge2006-06-131-3/+0
| | | | | | | | | | | Around line 1320 in rfid_asic_rc632.c the CRYPTO1 bit in the RC632 is disabled. The RC632 docs state that this bit can only be set by a successfull AUTHENT2 command, but may be cleared by the user to disable encryption thereafter (but they don't say why anyone would want to do that). (Henryk Ploetz) git-svn-id: https://svn.gnumonks.org/trunk/librfid@1814 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add some very rudimentary timeout handling, i.e. abort if there is no ↵laforge2006-05-271-3/+9
| | | | | | response. tolerance = 10000% git-svn-id: https://svn.gnumonks.org/trunk/librfid@1807 e0336214-984f-0b4b-a45f-81c69e1f0ede
* move include directory for pkginclude compliancelaforge2005-11-081-6/+6
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1664 e0336214-984f-0b4b-a45f-81c69e1f0ede
* implement and test baud rates of up to 848klaforge2005-11-081-6/+129
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1663 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - better layering abstracitonlaforge2005-11-081-0/+17
| | | | | | | | | - differentiate between library internal definitions and public ones - implement getopt/setopt like get/setsockopt - offer speed changing controls git-svn-id: https://svn.gnumonks.org/trunk/librfid@1662 e0336214-984f-0b4b-a45f-81c69e1f0ede
* use autoconf/automakelaforge2005-11-081-0/+1295
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1658 e0336214-984f-0b4b-a45f-81c69e1f0ede
personal git repositories of Harald Welte. Your mileage may vary