diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/if_arp.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/nfc.h | 18 | ||||
| -rw-r--r-- | include/uapi/linux/nl80211.h | 9 | ||||
| -rw-r--r-- | include/uapi/linux/snmp.h | 1 |
4 files changed, 28 insertions, 1 deletions
diff --git a/include/uapi/linux/if_arp.h b/include/uapi/linux/if_arp.h index 82c7d1bdadeb..d7fea3496f32 100644 --- a/include/uapi/linux/if_arp.h +++ b/include/uapi/linux/if_arp.h | |||
| @@ -93,6 +93,7 @@ | |||
| 93 | #define ARPHRD_PHONET_PIPE 821 /* PhoNet pipe header */ | 93 | #define ARPHRD_PHONET_PIPE 821 /* PhoNet pipe header */ |
| 94 | #define ARPHRD_CAIF 822 /* CAIF media type */ | 94 | #define ARPHRD_CAIF 822 /* CAIF media type */ |
| 95 | #define ARPHRD_IP6GRE 823 /* GRE over IPv6 */ | 95 | #define ARPHRD_IP6GRE 823 /* GRE over IPv6 */ |
| 96 | #define ARPHRD_NETLINK 824 /* Netlink header */ | ||
| 96 | 97 | ||
| 97 | #define ARPHRD_VOID 0xFFFF /* Void type, nothing is known */ | 98 | #define ARPHRD_VOID 0xFFFF /* Void type, nothing is known */ |
| 98 | #define ARPHRD_NONE 0xFFFE /* zero header length */ | 99 | #define ARPHRD_NONE 0xFFFE /* zero header length */ |
diff --git a/include/uapi/linux/nfc.h b/include/uapi/linux/nfc.h index 7c6f627a717d..caed0f324d5f 100644 --- a/include/uapi/linux/nfc.h +++ b/include/uapi/linux/nfc.h | |||
| @@ -69,6 +69,8 @@ | |||
| 69 | * starting a poll from a device which has a secure element enabled means | 69 | * starting a poll from a device which has a secure element enabled means |
| 70 | * we want to do SE based card emulation. | 70 | * we want to do SE based card emulation. |
| 71 | * @NFC_CMD_DISABLE_SE: Disable the physical link to a specific secure element. | 71 | * @NFC_CMD_DISABLE_SE: Disable the physical link to a specific secure element. |
| 72 | * @NFC_CMD_FW_UPLOAD: Request to Load/flash firmware, or event to inform that | ||
| 73 | * some firmware was loaded | ||
| 72 | */ | 74 | */ |
| 73 | enum nfc_commands { | 75 | enum nfc_commands { |
| 74 | NFC_CMD_UNSPEC, | 76 | NFC_CMD_UNSPEC, |
| @@ -92,6 +94,9 @@ enum nfc_commands { | |||
| 92 | NFC_CMD_DISABLE_SE, | 94 | NFC_CMD_DISABLE_SE, |
| 93 | NFC_CMD_LLC_SDREQ, | 95 | NFC_CMD_LLC_SDREQ, |
| 94 | NFC_EVENT_LLC_SDRES, | 96 | NFC_EVENT_LLC_SDRES, |
| 97 | NFC_CMD_FW_UPLOAD, | ||
| 98 | NFC_EVENT_SE_ADDED, | ||
| 99 | NFC_EVENT_SE_REMOVED, | ||
| 95 | /* private: internal use only */ | 100 | /* private: internal use only */ |
| 96 | __NFC_CMD_AFTER_LAST | 101 | __NFC_CMD_AFTER_LAST |
| 97 | }; | 102 | }; |
| @@ -121,6 +126,9 @@ enum nfc_commands { | |||
| 121 | * @NFC_ATTR_LLC_PARAM_RW: Receive Window size parameter | 126 | * @NFC_ATTR_LLC_PARAM_RW: Receive Window size parameter |
| 122 | * @NFC_ATTR_LLC_PARAM_MIUX: MIU eXtension parameter | 127 | * @NFC_ATTR_LLC_PARAM_MIUX: MIU eXtension parameter |
| 123 | * @NFC_ATTR_SE: Available Secure Elements | 128 | * @NFC_ATTR_SE: Available Secure Elements |
| 129 | * @NFC_ATTR_FIRMWARE_NAME: Free format firmware version | ||
| 130 | * @NFC_ATTR_SE_INDEX: Secure element index | ||
| 131 | * @NFC_ATTR_SE_TYPE: Secure element type (UICC or EMBEDDED) | ||
| 124 | */ | 132 | */ |
| 125 | enum nfc_attrs { | 133 | enum nfc_attrs { |
| 126 | NFC_ATTR_UNSPEC, | 134 | NFC_ATTR_UNSPEC, |
| @@ -143,6 +151,9 @@ enum nfc_attrs { | |||
| 143 | NFC_ATTR_LLC_PARAM_MIUX, | 151 | NFC_ATTR_LLC_PARAM_MIUX, |
| 144 | NFC_ATTR_SE, | 152 | NFC_ATTR_SE, |
| 145 | NFC_ATTR_LLC_SDP, | 153 | NFC_ATTR_LLC_SDP, |
| 154 | NFC_ATTR_FIRMWARE_NAME, | ||
| 155 | NFC_ATTR_SE_INDEX, | ||
| 156 | NFC_ATTR_SE_TYPE, | ||
| 146 | /* private: internal use only */ | 157 | /* private: internal use only */ |
| 147 | __NFC_ATTR_AFTER_LAST | 158 | __NFC_ATTR_AFTER_LAST |
| 148 | }; | 159 | }; |
| @@ -159,9 +170,12 @@ enum nfc_sdp_attr { | |||
| 159 | 170 | ||
| 160 | #define NFC_DEVICE_NAME_MAXSIZE 8 | 171 | #define NFC_DEVICE_NAME_MAXSIZE 8 |
| 161 | #define NFC_NFCID1_MAXSIZE 10 | 172 | #define NFC_NFCID1_MAXSIZE 10 |
| 173 | #define NFC_NFCID2_MAXSIZE 8 | ||
| 174 | #define NFC_NFCID3_MAXSIZE 10 | ||
| 162 | #define NFC_SENSB_RES_MAXSIZE 12 | 175 | #define NFC_SENSB_RES_MAXSIZE 12 |
| 163 | #define NFC_SENSF_RES_MAXSIZE 18 | 176 | #define NFC_SENSF_RES_MAXSIZE 18 |
| 164 | #define NFC_GB_MAXSIZE 48 | 177 | #define NFC_GB_MAXSIZE 48 |
| 178 | #define NFC_FIRMWARE_NAME_MAXSIZE 32 | ||
| 165 | 179 | ||
| 166 | /* NFC protocols */ | 180 | /* NFC protocols */ |
| 167 | #define NFC_PROTO_JEWEL 1 | 181 | #define NFC_PROTO_JEWEL 1 |
| @@ -191,10 +205,12 @@ enum nfc_sdp_attr { | |||
| 191 | #define NFC_PROTO_ISO14443_B_MASK (1 << NFC_PROTO_ISO14443_B) | 205 | #define NFC_PROTO_ISO14443_B_MASK (1 << NFC_PROTO_ISO14443_B) |
| 192 | 206 | ||
| 193 | /* NFC Secure Elements */ | 207 | /* NFC Secure Elements */ |
| 194 | #define NFC_SE_NONE 0x0 | ||
| 195 | #define NFC_SE_UICC 0x1 | 208 | #define NFC_SE_UICC 0x1 |
| 196 | #define NFC_SE_EMBEDDED 0x2 | 209 | #define NFC_SE_EMBEDDED 0x2 |
| 197 | 210 | ||
| 211 | #define NFC_SE_DISABLED 0x0 | ||
| 212 | #define NFC_SE_ENABLED 0x1 | ||
| 213 | |||
| 198 | struct sockaddr_nfc { | 214 | struct sockaddr_nfc { |
| 199 | sa_family_t sa_family; | 215 | sa_family_t sa_family; |
| 200 | __u32 dev_idx; | 216 | __u32 dev_idx; |
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index 5920715278c2..ca6facf4df0c 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h | |||
| @@ -2577,6 +2577,10 @@ enum nl80211_mesh_power_mode { | |||
| 2577 | * | 2577 | * |
| 2578 | * @NL80211_MESHCONF_AWAKE_WINDOW: awake window duration (in TUs) | 2578 | * @NL80211_MESHCONF_AWAKE_WINDOW: awake window duration (in TUs) |
| 2579 | * | 2579 | * |
| 2580 | * @NL80211_MESHCONF_PLINK_TIMEOUT: If no tx activity is seen from a STA we've | ||
| 2581 | * established peering with for longer than this time (in seconds), then | ||
| 2582 | * remove it from the STA's list of peers. Default is 30 minutes. | ||
| 2583 | * | ||
| 2580 | * @__NL80211_MESHCONF_ATTR_AFTER_LAST: internal use | 2584 | * @__NL80211_MESHCONF_ATTR_AFTER_LAST: internal use |
| 2581 | */ | 2585 | */ |
| 2582 | enum nl80211_meshconf_params { | 2586 | enum nl80211_meshconf_params { |
| @@ -2608,6 +2612,7 @@ enum nl80211_meshconf_params { | |||
| 2608 | NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL, | 2612 | NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL, |
| 2609 | NL80211_MESHCONF_POWER_MODE, | 2613 | NL80211_MESHCONF_POWER_MODE, |
| 2610 | NL80211_MESHCONF_AWAKE_WINDOW, | 2614 | NL80211_MESHCONF_AWAKE_WINDOW, |
| 2615 | NL80211_MESHCONF_PLINK_TIMEOUT, | ||
| 2611 | 2616 | ||
| 2612 | /* keep last */ | 2617 | /* keep last */ |
| 2613 | __NL80211_MESHCONF_ATTR_AFTER_LAST, | 2618 | __NL80211_MESHCONF_ATTR_AFTER_LAST, |
| @@ -3579,6 +3584,10 @@ enum nl80211_ap_sme_features { | |||
| 3579 | * Peering Management entity which may be implemented by registering for | 3584 | * Peering Management entity which may be implemented by registering for |
| 3580 | * beacons or NL80211_CMD_NEW_PEER_CANDIDATE events. The mesh beacon is | 3585 | * beacons or NL80211_CMD_NEW_PEER_CANDIDATE events. The mesh beacon is |
| 3581 | * still generated by the driver. | 3586 | * still generated by the driver. |
| 3587 | * @NL80211_FEATURE_ACTIVE_MONITOR: This driver supports an active monitor | ||
| 3588 | * interface. An active monitor interface behaves like a normal monitor | ||
| 3589 | * interface, but gets added to the driver. It ensures that incoming | ||
| 3590 | * unicast packets directed at the configured interface address get ACKed. | ||
| 3582 | */ | 3591 | */ |
| 3583 | enum nl80211_feature_flags { | 3592 | enum nl80211_feature_flags { |
| 3584 | NL80211_FEATURE_SK_TX_STATUS = 1 << 0, | 3593 | NL80211_FEATURE_SK_TX_STATUS = 1 << 0, |
diff --git a/include/uapi/linux/snmp.h b/include/uapi/linux/snmp.h index 26cbf76f8058..af0a674cc677 100644 --- a/include/uapi/linux/snmp.h +++ b/include/uapi/linux/snmp.h | |||
| @@ -288,6 +288,7 @@ enum | |||
| 288 | LINUX_MIB_XFRMOUTPOLERROR, /* XfrmOutPolError */ | 288 | LINUX_MIB_XFRMOUTPOLERROR, /* XfrmOutPolError */ |
| 289 | LINUX_MIB_XFRMFWDHDRERROR, /* XfrmFwdHdrError*/ | 289 | LINUX_MIB_XFRMFWDHDRERROR, /* XfrmFwdHdrError*/ |
| 290 | LINUX_MIB_XFRMOUTSTATEINVALID, /* XfrmOutStateInvalid */ | 290 | LINUX_MIB_XFRMOUTSTATEINVALID, /* XfrmOutStateInvalid */ |
| 291 | LINUX_MIB_XFRMACQUIREERROR, /* XfrmAcquireError */ | ||
| 291 | __LINUX_MIB_XFRMMAX | 292 | __LINUX_MIB_XFRMMAX |
| 292 | }; | 293 | }; |
| 293 | 294 | ||
