diff options
author | Julien Lefrique <lefrique@marvell.com> | 2014-10-21 10:52:45 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-11-28 08:07:51 -0500 |
commit | 90d78c13965859d87622b37a221ebf29522585a8 (patch) | |
tree | b5108f476203b2983b923d66c730bae447c38e73 /include/net/nfc | |
parent | 772dccf4a73bdb51a7628263a42347973a06a295 (diff) |
NFC: NCI: Enable NFC-DEP in Listen A and Listen F
Send LA_SEL_INFO and LF_PROTOCOL_TYPE with NFC-DEP protocol enabled.
Configure 212 Kbit/s and 412 Kbit/s bit rates for Listen F.
Signed-off-by: Julien Lefrique <lefrique@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net/nfc')
-rw-r--r-- | include/net/nfc/nci.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/nfc/nci.h b/include/net/nfc/nci.h index 9eca9ae2280c..36cf65386b86 100644 --- a/include/net/nfc/nci.h +++ b/include/net/nfc/nci.h | |||
@@ -106,6 +106,16 @@ | |||
106 | 106 | ||
107 | /* NCI Configuration Parameter Tags */ | 107 | /* NCI Configuration Parameter Tags */ |
108 | #define NCI_PN_ATR_REQ_GEN_BYTES 0x29 | 108 | #define NCI_PN_ATR_REQ_GEN_BYTES 0x29 |
109 | #define NCI_LA_SEL_INFO 0x32 | ||
110 | #define NCI_LF_PROTOCOL_TYPE 0x50 | ||
111 | #define NCI_LF_CON_BITR_F 0x54 | ||
112 | |||
113 | /* NCI Configuration Parameters masks */ | ||
114 | #define NCI_LA_SEL_INFO_ISO_DEP_MASK 0x20 | ||
115 | #define NCI_LA_SEL_INFO_NFC_DEP_MASK 0x40 | ||
116 | #define NCI_LF_PROTOCOL_TYPE_NFC_DEP_MASK 0x02 | ||
117 | #define NCI_LF_CON_BITR_F_212 0x02 | ||
118 | #define NCI_LF_CON_BITR_F_424 0x04 | ||
109 | 119 | ||
110 | /* NCI Reset types */ | 120 | /* NCI Reset types */ |
111 | #define NCI_RESET_TYPE_KEEP_CONFIG 0x00 | 121 | #define NCI_RESET_TYPE_KEEP_CONFIG 0x00 |