summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* - don't display debug messages during usb bus scanlaforge2006-10-081-3/+0
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1898 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - use C99 compiler flagslaforge2006-10-078-16/+289
| | | | | | | | | | | - implement some getopt/setopt functions for UID and layer2 specific parameters - basic rfid scanning support - add commandline arguments for layer2 / scanning to librfid-tool - try to detect both supported readers automatically in librfid-tool - add new 'l2_supported' and 'proto_supported members to rfid_reader git-svn-id: https://svn.gnumonks.org/trunk/librfid@1895 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - make openpcd driver work with most recent openpcd dumbreader firmwarelaforge2006-10-041-5/+6
| | | | | | | | - make openpcd driver work if it is called after some other usb driver was initialized git-svn-id: https://svn.gnumonks.org/trunk/librfid@1893 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add support for multiple [new] usb id's in openct backend driverlaforge2006-09-301-12/+26
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1892 e0336214-984f-0b4b-a45f-81c69e1f0ede
* fix various compile warnings. code cleanuplaforge2006-09-305-4/+11
| | | | 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
* re-initialize sak rx_len for each cascade level (Henryk Ploetz)laforge2006-09-221-0/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1885 e0336214-984f-0b4b-a45f-81c69e1f0ede
* update to new (four-byte, explicit response_request flag) revision of ↵laforge2006-09-221-24/+36
| | | | | | openpcd usb protocol git-svn-id: https://svn.gnumonks.org/trunk/librfid@1884 e0336214-984f-0b4b-a45f-81c69e1f0ede
* introduce new debug macro for debugging register-level accesseslaforge2006-09-221-12/+23
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1883 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
* ugly workaround to avoid stack overflowlaforge2006-08-161-1/+3
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1869 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
* add some more register definitionlaforge2006-08-161-1/+17
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1862 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - more verbose/precise debug messageslaforge2006-08-161-13/+10
| | | | | | | - don't close usb before closing reader handle git-svn-id: https://svn.gnumonks.org/trunk/librfid@1861 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add interrupt definitionslaforge2006-08-071-0/+10
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1856 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add support for new OpenPCD designlaforge2006-07-233-1/+388
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1851 e0336214-984f-0b4b-a45f-81c69e1f0ede
* minor cosmetic cleanup, use macro instead of explicit checklaforge2006-06-231-3/+2
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1833 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add more debugging about CID/NAD capability of cardlaforge2006-06-231-2/+6
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1832 e0336214-984f-0b4b-a45f-81c69e1f0ede
* fix TX chaining: Don't use/respect toggle bit (block nr) for S-blocks.laforge2006-06-231-16/+24
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1831 e0336214-984f-0b4b-a45f-81c69e1f0ede
* implement TX side chaining, clean up a lot of spaghetti codelaforge2006-06-211-118/+157
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1828 e0336214-984f-0b4b-a45f-81c69e1f0ede
* respect MTU indicated by low-level driver.laforge2006-06-141-0/+2
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1825 e0336214-984f-0b4b-a45f-81c69e1f0ede
* fix tx chaininglaforge2006-06-141-5/+6
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1824 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-1312-90/+90
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1817 e0336214-984f-0b4b-a45f-81c69e1f0ede
* increased SNDBUF_SIZE to prevent overflowlaforge2006-06-131-3/+3
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1816 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
* fix conditional compilation of internal CCID driverlaforge2006-05-272-3/+9
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1798 e0336214-984f-0b4b-a45f-81c69e1f0ede
* move ccid direct backend to subdirectorylaforge2006-05-271-0/+0
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1797 e0336214-984f-0b4b-a45f-81c69e1f0ede
* fix include pathlaforge2006-05-271-1/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1796 e0336214-984f-0b4b-a45f-81c69e1f0ede
* move ccid driver to correct directorylaforge2006-05-272-0/+2556
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1795 e0336214-984f-0b4b-a45f-81c69e1f0ede
* it's 89C5122, not 98C5122 (Paul Stewart)laforge2005-12-031-1/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1730 e0336214-984f-0b4b-a45f-81c69e1f0ede
* disable 848k since it's unstablelaforge2005-11-081-1/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1675 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - disable debug statementslaforge2005-11-082-19/+1
| | | | | | | - cleanly initialize pps[2] git-svn-id: https://svn.gnumonks.org/trunk/librfid@1672 e0336214-984f-0b4b-a45f-81c69e1f0ede
* cosmetic issues (linewrap)laforge2005-11-081-2/+3
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1666 e0336214-984f-0b4b-a45f-81c69e1f0ede
* move include directory for pkginclude compliancelaforge2005-11-0817-541/+53
| | | | 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-085-23/+189
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1663 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - better layering abstracitonlaforge2005-11-089-39/+145
| | | | | | | | | - 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
* add -EPERM return in case of missing authenticationlaforge2005-11-081-0/+3
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1661 e0336214-984f-0b4b-a45f-81c69e1f0ede
* make library work after autoconf migrationlaforge2005-11-081-3/+3
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1660 e0336214-984f-0b4b-a45f-81c69e1f0ede
* use autoconf/automakelaforge2005-11-0821-0/+4765
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