NFC_CMD_LLC_GET_PARAMS: request LTO, RW, and MIUX parameters for a device NFC_CMD_LLC_SET_PARAMS: set one or more of LTO, RW, and MIUX parameters for a device. LTO must be set before the link is up otherwise -EINPROGRESS is returned. RW and MIUX can be set at anytime and will be passed in subsequent CONNECT and CC messages. If one of the passed parameters is wrong none is set and -EINVAL is returned.
Showing the changes to include/uapi/linux (1 of 6 files). Show all
Unified · Split
| @@ -60,6 +60,13 @@ · 59 unmodified lines | ||
| 60 | 60 | * target mode. |
| 61 | 61 | * @NFC_EVENT_DEVICE_DEACTIVATED: event emitted when the adapter is deactivated |
| 62 | 62 | * from target mode. |
| 63 | + * @NFC_CMD_LLC_GET_PARAMS: request LTO, RW, and MIUX parameters for a device | |
| 64 | + * @NFC_CMD_LLC_SET_PARAMS: set one or more of LTO, RW, and MIUX parameters for | |
| 65 | + * a device. LTO must be set before the link is up otherwise -EINPROGRESS | |
| 66 | + * is returned. RW and MIUX can be set at anytime and will be passed in | |
| 67 | + * subsequent CONNECT and CC messages. | |
| 68 | + * If one of the passed parameters is wrong none is set and -EINVAL is | |
| 69 | + * returned. | |
| 63 | 70 | */ |
| 64 | 71 | enum nfc_commands { |
| 65 | 72 | NFC_CMD_UNSPEC, |
| @@ -77,6 +84,8 @@ enum nfc_commands { · 11 unmodified lines | ||
| 77 | 84 | NFC_EVENT_TARGET_LOST, |
| 78 | 85 | NFC_EVENT_TM_ACTIVATED, |
| 79 | 86 | NFC_EVENT_TM_DEACTIVATED, |
| 87 | + NFC_CMD_LLC_GET_PARAMS, | |
| 88 | + NFC_CMD_LLC_SET_PARAMS, | |
| 80 | 89 | /* private: internal use only */ |
| 81 | 90 | __NFC_CMD_AFTER_LAST |
| 82 | 91 | }; |
| @@ -102,6 +111,9 @@ enum nfc_commands { · 19 unmodified lines | ||
| 102 | 111 | * @NFC_ATTR_RF_MODE: Initiator or target |
| 103 | 112 | * @NFC_ATTR_IM_PROTOCOLS: Initiator mode protocols to poll for |
| 104 | 113 | * @NFC_ATTR_TM_PROTOCOLS: Target mode protocols to listen for |
| 114 | + * @NFC_ATTR_LLC_PARAM_LTO: Link TimeOut parameter | |
| 115 | + * @NFC_ATTR_LLC_PARAM_RW: Receive Window size parameter | |
| 116 | + * @NFC_ATTR_LLC_PARAM_MIUX: MIU eXtension parameter | |
| 105 | 117 | */ |
| 106 | 118 | enum nfc_attrs { |
| 107 | 119 | NFC_ATTR_UNSPEC, |
| @@ -119,6 +131,9 @@ enum nfc_attrs { · 11 unmodified lines | ||
| 119 | 131 | NFC_ATTR_DEVICE_POWERED, |
| 120 | 132 | NFC_ATTR_IM_PROTOCOLS, |
| 121 | 133 | NFC_ATTR_TM_PROTOCOLS, |
| 134 | + NFC_ATTR_LLC_PARAM_LTO, | |
| 135 | + NFC_ATTR_LLC_PARAM_RW, | |
| 136 | + NFC_ATTR_LLC_PARAM_MIUX, | |
| 122 | 137 | /* private: internal use only */ |
| 123 | 138 | __NFC_ATTR_AFTER_LAST |
| 124 | 139 | }; |