NFC: Initial Secure Element API
Each NFC adapter can have several links to different secure elements and that property needs to be exported by the drivers. A secure element link can be enabled and disabled, and card emulation will be handled by the currently active one. Otherwise card emulation will be host implemented. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
このコミットが含まれているのは:
@@ -797,6 +797,7 @@ struct nfc_hci_dev *nfc_hci_allocate_device(struct nfc_hci_ops *ops,
|
||||
struct nfc_hci_init_data *init_data,
|
||||
unsigned long quirks,
|
||||
u32 protocols,
|
||||
u32 supported_se,
|
||||
const char *llc_name,
|
||||
int tx_headroom,
|
||||
int tx_tailroom,
|
||||
@@ -822,7 +823,7 @@ struct nfc_hci_dev *nfc_hci_allocate_device(struct nfc_hci_ops *ops,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
hdev->ndev = nfc_allocate_device(&hci_nfc_ops, protocols,
|
||||
hdev->ndev = nfc_allocate_device(&hci_nfc_ops, protocols, supported_se,
|
||||
tx_headroom + HCI_CMDS_HEADROOM,
|
||||
tx_tailroom);
|
||||
if (!hdev->ndev) {
|
||||
|
新しいイシューから参照
ユーザーをブロックする