summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorIlan Elias <ilane@ti.com>2012-08-15 11:46:23 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2012-09-25 00:17:23 +0200
commitac206838403411e617dbe0e7df1891ee957f1f9a (patch)
treec71cced20fcdac75ae4d0e2f7925965f54289485 /include/net
parent7e0352306f6869b442a574a8e691f126c9fe930a (diff)
downloadop-kernel-dev-ac206838403411e617dbe0e7df1891ee957f1f9a.zip
op-kernel-dev-ac206838403411e617dbe0e7df1891ee957f1f9a.tar.gz
NFC: Parse NCI NFC-DEP activation params
Signed-off-by: Ilan Elias <ilane@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/nfc/nci.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/nfc/nci.h b/include/net/nfc/nci.h
index d260ef3..88785e5 100644
--- a/include/net/nfc/nci.h
+++ b/include/net/nfc/nci.h
@@ -351,6 +351,11 @@ struct activation_params_nfcb_poll_iso_dep {
__u8 attrib_res[50];
};
+struct activation_params_poll_nfc_dep {
+ __u8 atr_res_len;
+ __u8 atr_res[63];
+};
+
struct nci_rf_intf_activated_ntf {
__u8 rf_discovery_id;
__u8 rf_interface;
@@ -374,6 +379,7 @@ struct nci_rf_intf_activated_ntf {
union {
struct activation_params_nfca_poll_iso_dep nfca_poll_iso_dep;
struct activation_params_nfcb_poll_iso_dep nfcb_poll_iso_dep;
+ struct activation_params_poll_nfc_dep poll_nfc_dep;
} activation_params;
} __packed;
OpenPOWER on IntegriCloud