summaryrefslogtreecommitdiff
path: root/include/rfid
diff options
context:
space:
mode:
Diffstat (limited to 'include/rfid')
-rw-r--r--include/rfid/rfid_reader.h9
1 files changed, 9 insertions, 0 deletions
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;
personal git repositories of Harald Welte. Your mileage may vary