linux/drivers/nfc/pn544
Arron Wang 9c59844005 NFC: pn544: Identify Type F NFC-DEP through NFCID2
NFCID2 is defined as the first 2 manufacturer ID (IDm) bytes.
NFC DEP (NFC peer to peer) devices Type-F NFCID2 must start with
0x01fe according to the NFC Digital Specification.
By checking those first 2 bytes we send the right command either to the
reader gate when NFCID2 != 0x1fe (The NFC tag case) or to the NFCIP1 gate
when seeing an NFC DEP device (The NFC peer to peer case).

Without this fix, Felica (Type F) tags are not properly detected with this
driver.

Signed-off-by: Arron Wang <arron.wang@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2013-06-14 00:18:58 +02:00
..
i2c.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2013-01-28 14:43:00 -05:00
Kconfig NFC: pn544: Add MEI physical layer 2013-04-16 00:39:41 +02:00
Makefile NFC: pn544: Add MEI physical layer 2013-04-16 00:39:41 +02:00
mei.c NFC: mei: Do not disable MEI devices from their remove routine 2013-05-21 10:48:41 +02:00
pn544.c NFC: pn544: Identify Type F NFC-DEP through NFCID2 2013-06-14 00:18:58 +02:00
pn544.h NFC: Separate pn544 hci driver in HW dependant and independant parts 2012-10-26 18:26:46 +02:00