From 5506978158f63fc1f51267f443e193d183cb45d7 Mon Sep 17 00:00:00 2001 From: laforge Date: Mon, 13 Jun 2005 09:17:05 +0000 Subject: add speed information to data structures git-svn-id: https://svn.gnumonks.org/trunk/librfid@1207 e0336214-984f-0b4b-a45f-81c69e1f0ede --- include/rfid/rfid_reader.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/rfid') diff --git a/include/rfid/rfid_reader.h b/include/rfid/rfid_reader.h index d6ad3a1..11f2ca1 100644 --- a/include/rfid/rfid_reader.h +++ b/include/rfid/rfid_reader.h @@ -24,9 +24,11 @@ struct rfid_reader { int (*transcieve_acf)(struct rfid_reader_handle *h, struct iso14443a_anticol_cmd *cmd, unsigned int *bit_of_col); + unsigned int speed; } iso14443a; struct rfid_14443b_reader { int (*init)(struct rfid_reader_handle *rh); + unsigned int speed; } iso14443b; struct rfid_15693_reader { @@ -39,6 +41,13 @@ enum rfid_reader_id { RFID_READER_PEGODA, }; +enum rfid_reader_14443a_speed { + RFID_READER_SPEED_106K, + RFID_READER_SPEED_212K, + RFID_READER_SPEED_424K, + RFID_READER_SPEED_848K, +}; + struct rfid_reader_handle { struct rfid_asic_handle *ah; -- cgit v1.2.3