summaryrefslogtreecommitdiff
path: root/include/librfid/rfid_layer2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/librfid/rfid_layer2.h')
-rw-r--r--include/librfid/rfid_layer2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/librfid/rfid_layer2.h b/include/librfid/rfid_layer2.h
index 0f6f683..1ef0713 100644
--- a/include/librfid/rfid_layer2.h
+++ b/include/librfid/rfid_layer2.h
@@ -18,6 +18,8 @@ enum rfid_layer2_id {
#define RFID_OPT_L2_PRIV 0x00010000
enum rfid_layer2_opt {
RFID_OPT_LAYER2_UID = 0x0001,
+ RFID_OPT_LAYER2_PROTO_SUPP = 0x0002,
+ RFID_OPT_LAYER2_WUP = 0x0003,
};
struct rfid_layer2_handle *rfid_layer2_init(struct rfid_reader_handle *rh,
@@ -70,6 +72,7 @@ struct rfid_layer2_handle {
unsigned char uid[10]; /* triple size 14443a id is 10 bytes */
unsigned int uid_len;
unsigned int proto_supported;
+ unsigned int flags;
union {
struct iso14443a_handle iso14443a;
struct iso14443b_handle iso14443b;
personal git repositories of Harald Welte. Your mileage may vary