Merge tag 'nfc-next-3.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/nfc-next
Samuel Ortiz <sameo@linux.intel.com> says: "NFC: 3.16: First pull request This is the NFC pull request for 3.16. We have: - STMicroeectronics st21nfca support. The st21nfca is an HCI chipset and thus relies on the HCI stack. This submission provides support for tag redaer/writer mode (including Type 5) and device tree bindings. - PM runtime support and a bunch of bug fixes for TI's trf7970a. - Device tree support for NXP's pn544. Legacy platform data support is obviously kept intact. - NFC Tag type 4B support to the NFC Digital stack. - SOCK_RAW type support to the raw NFC socket, and allow NCI sniffing from that. This can be extended to report HCI frames and also proprietarry ones like e.g. the pn533 ones." Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
@@ -36,6 +36,7 @@ enum {
|
||||
NFC_DIGITAL_RF_TECH_212F,
|
||||
NFC_DIGITAL_RF_TECH_424F,
|
||||
NFC_DIGITAL_RF_TECH_ISO15693,
|
||||
NFC_DIGITAL_RF_TECH_106B,
|
||||
|
||||
NFC_DIGITAL_RF_TECH_LAST,
|
||||
};
|
||||
@@ -62,6 +63,9 @@ enum {
|
||||
NFC_DIGITAL_FRAMING_ISO15693_INVENTORY,
|
||||
NFC_DIGITAL_FRAMING_ISO15693_T5T,
|
||||
|
||||
NFC_DIGITAL_FRAMING_NFCB,
|
||||
NFC_DIGITAL_FRAMING_NFCB_T4T,
|
||||
|
||||
NFC_DIGITAL_FRAMING_LAST,
|
||||
};
|
||||
|
||||
|
@@ -27,6 +27,7 @@ struct nfc_hci_dev;
|
||||
struct nfc_hci_ops {
|
||||
int (*open) (struct nfc_hci_dev *hdev);
|
||||
void (*close) (struct nfc_hci_dev *hdev);
|
||||
int (*load_session) (struct nfc_hci_dev *hdev);
|
||||
int (*hci_ready) (struct nfc_hci_dev *hdev);
|
||||
/*
|
||||
* xmit must always send the complete buffer before
|
||||
|
@@ -264,4 +264,7 @@ int nfc_add_se(struct nfc_dev *dev, u32 se_idx, u16 type);
|
||||
int nfc_remove_se(struct nfc_dev *dev, u32 se_idx);
|
||||
struct nfc_se *nfc_find_se(struct nfc_dev *dev, u32 se_idx);
|
||||
|
||||
void nfc_send_to_raw_sock(struct nfc_dev *dev, struct sk_buff *skb,
|
||||
u8 payload_type, u8 direction);
|
||||
|
||||
#endif /* __NET_NFC_H */
|
||||
|
Reference in New Issue
Block a user