mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
NFC: nci: Update nci_enable_se to run proprietary commands to enable a secure element
Some NFC controller using NCI protocols may need a proprietary commands flow to enable a secure element Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
ba4db551bb
commit
93bca2bfa4
2 changed files with 6 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ struct nci_ops {
|
|||
int (*setup)(struct nci_dev *ndev);
|
||||
__u32 (*get_rfprotocol)(struct nci_dev *ndev, __u8 rf_protocol);
|
||||
int (*discover_se)(struct nci_dev *ndev);
|
||||
int (*enable_se)(struct nci_dev *ndev, u32 se_idx);
|
||||
};
|
||||
|
||||
#define NCI_MAX_SUPPORTED_RF_INTERFACES 4
|
||||
|
|
|
|||
Loading…
Reference in a new issue