diff options
author | Thierry Escande <thierry.escande@linux.intel.com> | 2014-01-27 03:31:32 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-02-17 02:49:54 +0400 |
commit | c813007f9ffb0b6e9f3dc43bfd9e28806aa57e5d (patch) | |
tree | 1a030aa83175313551eecfd7f23d08797481837b /net/nfc/digital.h | |
parent | 12e3d241e42956da168fd499347855af799f62fb (diff) | |
download | linux-c813007f9ffb0b6e9f3dc43bfd9e28806aa57e5d.tar.xz |
NFC: digital: Add ISO-DEP support for data exchange
When a type 4A target is activated, this change adds the ISO-DEP SoD
when sending frames and removes it when receiving responses. Chaining
is not supported so sent frames are rejected if they exceed remote FSC
bytes.
Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/digital.h')
-rw-r--r-- | net/nfc/digital.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/nfc/digital.h b/net/nfc/digital.h index 3c757dc7d44f..3759add68b1b 100644 --- a/net/nfc/digital.h +++ b/net/nfc/digital.h @@ -74,6 +74,11 @@ int digital_in_send_sens_req(struct nfc_digital_dev *ddev, u8 rf_tech); int digital_in_send_sensf_req(struct nfc_digital_dev *ddev, u8 rf_tech); int digital_in_send_iso15693_inv_req(struct nfc_digital_dev *ddev, u8 rf_tech); +int digital_in_iso_dep_pull_sod(struct nfc_digital_dev *ddev, + struct sk_buff *skb); +int digital_in_iso_dep_push_sod(struct nfc_digital_dev *ddev, + struct sk_buff *skb); + int digital_target_found(struct nfc_digital_dev *ddev, struct nfc_target *target, u8 protocol); |