-static int openpcd_transceive(struct rfid_reader_handle *rh,
- enum rfid_frametype frametype,
- const unsigned char *tx_data, unsigned int tx_len,
- unsigned char *rx_data, unsigned int *rx_len,
- u_int64_t timeout, unsigned int flags)
-{
- return rh->ah->asic->priv.rc632.fn.transceive(rh->ah, frametype,
- tx_data, tx_len,
- rx_data, rx_len,
- timeout, flags);
-}
-
-static int openpcd_transceive_sf(struct rfid_reader_handle *rh,
- unsigned char cmd, struct iso14443a_atqa *atqa)
-{
- return rh->ah->asic->priv.rc632.fn.iso14443a.transceive_sf(rh->ah,
- cmd,
- atqa);
-}
-
-static int
-openpcd_transceive_acf(struct rfid_reader_handle *rh,
- struct iso14443a_anticol_cmd *cmd,
- unsigned int *bit_of_col)
-{
- return rh->ah->asic->priv.rc632.fn.iso14443a.transceive_acf(rh->ah,
- cmd, bit_of_col);
-}
-
-static int
-openpcd_iso15693_transceive_ac(struct rfid_reader_handle *rh,
- struct iso15693_anticol_cmd *acf, unsigned char uuid[ISO15693_UID_LEN],
- char *bit_of_col)
+static int openpcd_getopt(struct rfid_reader_handle *rh, int optname,
+ void *optval, unsigned int *optlen)