This API will allow NFC drivers to add and remove the secure elements they know about or detect. Typically this should be called (asynchronously or not) from the driver or the host interface stack detect_se hook.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -199,10 +199,12 @@ enum nfc_sdp_attr { · 198 unmodified lines | ||
| 199 | 199 | #define NFC_PROTO_ISO14443_B_MASK (1 << NFC_PROTO_ISO14443_B) |
| 200 | 200 | |
| 201 | 201 | /* NFC Secure Elements */ |
| 202 | −#define NFC_SE_NONE 0x0 | |
| 203 | 202 | #define NFC_SE_UICC 0x1 |
| 204 | 203 | #define NFC_SE_EMBEDDED 0x2 |
| 205 | 204 | |
| 205 | +#define NFC_SE_DISABLED 0x0 | |
| 206 | +#define NFC_SE_ENABLED 0x1 | |
| 207 | + | |
| 206 | 208 | struct sockaddr_nfc { |
| 207 | 209 | sa_family_t sa_family; |
| 208 | 210 | __u32 dev_idx; |