diff options
Diffstat (limited to 'include/linux/nl80211.h')
| -rw-r--r-- | include/linux/nl80211.h | 156 |
1 files changed, 103 insertions, 53 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index 970afdf5a605..c0fc5d277338 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
| @@ -277,6 +277,12 @@ | |||
| 277 | * @NL80211_CMD_NEW_SURVEY_RESULTS: survey data notification (as a reply to | 277 | * @NL80211_CMD_NEW_SURVEY_RESULTS: survey data notification (as a reply to |
| 278 | * NL80211_CMD_GET_SURVEY and on the "scan" multicast group) | 278 | * NL80211_CMD_GET_SURVEY and on the "scan" multicast group) |
| 279 | * | 279 | * |
| 280 | * @NL80211_CMD_SET_PMKSA: Add a PMKSA cache entry, using %NL80211_ATTR_MAC | ||
| 281 | * (for the BSSID) and %NL80211_ATTR_PMKID. | ||
| 282 | * @NL80211_CMD_DEL_PMKSA: Delete a PMKSA cache entry, using %NL80211_ATTR_MAC | ||
| 283 | * (for the BSSID) and %NL80211_ATTR_PMKID. | ||
| 284 | * @NL80211_CMD_FLUSH_PMKSA: Flush all PMKSA cache entries. | ||
| 285 | * | ||
| 280 | * @NL80211_CMD_REG_CHANGE: indicates to userspace the regulatory domain | 286 | * @NL80211_CMD_REG_CHANGE: indicates to userspace the regulatory domain |
| 281 | * has been changed and provides details of the request information | 287 | * has been changed and provides details of the request information |
| 282 | * that caused the change such as who initiated the regulatory request | 288 | * that caused the change such as who initiated the regulatory request |
| @@ -456,6 +462,10 @@ | |||
| 456 | * the frame. | 462 | * the frame. |
| 457 | * @NL80211_CMD_ACTION_TX_STATUS: Alias for @NL80211_CMD_FRAME_TX_STATUS for | 463 | * @NL80211_CMD_ACTION_TX_STATUS: Alias for @NL80211_CMD_FRAME_TX_STATUS for |
| 458 | * backward compatibility. | 464 | * backward compatibility. |
| 465 | * | ||
| 466 | * @NL80211_CMD_SET_POWER_SAVE: Set powersave, using %NL80211_ATTR_PS_STATE | ||
| 467 | * @NL80211_CMD_GET_POWER_SAVE: Get powersave status in %NL80211_ATTR_PS_STATE | ||
| 468 | * | ||
| 459 | * @NL80211_CMD_SET_CQM: Connection quality monitor configuration. This command | 469 | * @NL80211_CMD_SET_CQM: Connection quality monitor configuration. This command |
| 460 | * is used to configure connection quality monitoring notification trigger | 470 | * is used to configure connection quality monitoring notification trigger |
| 461 | * levels. | 471 | * levels. |
| @@ -771,6 +781,13 @@ enum nl80211_commands { | |||
| 771 | * section 7.3.2.25.1, e.g. 0x000FAC04) | 781 | * section 7.3.2.25.1, e.g. 0x000FAC04) |
| 772 | * @NL80211_ATTR_KEY_SEQ: transmit key sequence number (IV/PN) for TKIP and | 782 | * @NL80211_ATTR_KEY_SEQ: transmit key sequence number (IV/PN) for TKIP and |
| 773 | * CCMP keys, each six bytes in little endian | 783 | * CCMP keys, each six bytes in little endian |
| 784 | * @NL80211_ATTR_KEY_DEFAULT: Flag attribute indicating the key is default key | ||
| 785 | * @NL80211_ATTR_KEY_DEFAULT_MGMT: Flag attribute indicating the key is the | ||
| 786 | * default management key | ||
| 787 | * @NL80211_ATTR_CIPHER_SUITES_PAIRWISE: For crypto settings for connect or | ||
| 788 | * other commands, indicates which pairwise cipher suites are used | ||
| 789 | * @NL80211_ATTR_CIPHER_SUITE_GROUP: For crypto settings for connect or | ||
| 790 | * other commands, indicates which group cipher suite is used | ||
| 774 | * | 791 | * |
| 775 | * @NL80211_ATTR_BEACON_INTERVAL: beacon interval in TU | 792 | * @NL80211_ATTR_BEACON_INTERVAL: beacon interval in TU |
| 776 | * @NL80211_ATTR_DTIM_PERIOD: DTIM period for beaconing | 793 | * @NL80211_ATTR_DTIM_PERIOD: DTIM period for beaconing |
| @@ -1006,6 +1023,8 @@ enum nl80211_commands { | |||
| 1006 | * @NL80211_ATTR_ACK: Flag attribute indicating that the frame was | 1023 | * @NL80211_ATTR_ACK: Flag attribute indicating that the frame was |
| 1007 | * acknowledged by the recipient. | 1024 | * acknowledged by the recipient. |
| 1008 | * | 1025 | * |
| 1026 | * @NL80211_ATTR_PS_STATE: powersave state, using &enum nl80211_ps_state values. | ||
| 1027 | * | ||
| 1009 | * @NL80211_ATTR_CQM: connection quality monitor configuration in a | 1028 | * @NL80211_ATTR_CQM: connection quality monitor configuration in a |
| 1010 | * nested attribute with %NL80211_ATTR_CQM_* sub-attributes. | 1029 | * nested attribute with %NL80211_ATTR_CQM_* sub-attributes. |
| 1011 | * | 1030 | * |
| @@ -1063,7 +1082,7 @@ enum nl80211_commands { | |||
| 1063 | * flag isn't set, the frame will be rejected. This is also used as an | 1082 | * flag isn't set, the frame will be rejected. This is also used as an |
| 1064 | * nl80211 capability flag. | 1083 | * nl80211 capability flag. |
| 1065 | * | 1084 | * |
| 1066 | * @NL80211_ATTR_BSS_HTOPMODE: HT operation mode (u16) | 1085 | * @NL80211_ATTR_BSS_HT_OPMODE: HT operation mode (u16) |
| 1067 | * | 1086 | * |
| 1068 | * @NL80211_ATTR_KEY_DEFAULT_TYPES: A nested attribute containing flags | 1087 | * @NL80211_ATTR_KEY_DEFAULT_TYPES: A nested attribute containing flags |
| 1069 | * attributes, specifying what a key should be set as default as. | 1088 | * attributes, specifying what a key should be set as default as. |
| @@ -1087,10 +1106,10 @@ enum nl80211_commands { | |||
| 1087 | * indicate which WoW triggers should be enabled. This is also | 1106 | * indicate which WoW triggers should be enabled. This is also |
| 1088 | * used by %NL80211_CMD_GET_WOWLAN to get the currently enabled WoWLAN | 1107 | * used by %NL80211_CMD_GET_WOWLAN to get the currently enabled WoWLAN |
| 1089 | * triggers. | 1108 | * triggers. |
| 1090 | 1109 | * | |
| 1091 | * @NL80211_ATTR_SCHED_SCAN_INTERVAL: Interval between scheduled scan | 1110 | * @NL80211_ATTR_SCHED_SCAN_INTERVAL: Interval between scheduled scan |
| 1092 | * cycles, in msecs. | 1111 | * cycles, in msecs. |
| 1093 | 1112 | * | |
| 1094 | * @NL80211_ATTR_SCHED_SCAN_MATCH: Nested attribute with one or more | 1113 | * @NL80211_ATTR_SCHED_SCAN_MATCH: Nested attribute with one or more |
| 1095 | * sets of attributes to match during scheduled scans. Only BSSs | 1114 | * sets of attributes to match during scheduled scans. Only BSSs |
| 1096 | * that match any of the sets will be reported. These are | 1115 | * that match any of the sets will be reported. These are |
| @@ -1117,7 +1136,7 @@ enum nl80211_commands { | |||
| 1117 | * are managed in software: interfaces of these types aren't subject to | 1136 | * are managed in software: interfaces of these types aren't subject to |
| 1118 | * any restrictions in their number or combinations. | 1137 | * any restrictions in their number or combinations. |
| 1119 | * | 1138 | * |
| 1120 | * @%NL80211_ATTR_REKEY_DATA: nested attribute containing the information | 1139 | * @NL80211_ATTR_REKEY_DATA: nested attribute containing the information |
| 1121 | * necessary for GTK rekeying in the device, see &enum nl80211_rekey_data. | 1140 | * necessary for GTK rekeying in the device, see &enum nl80211_rekey_data. |
| 1122 | * | 1141 | * |
| 1123 | * @NL80211_ATTR_SCAN_SUPP_RATES: rates per to be advertised as supported in scan, | 1142 | * @NL80211_ATTR_SCAN_SUPP_RATES: rates per to be advertised as supported in scan, |
| @@ -1184,7 +1203,6 @@ enum nl80211_commands { | |||
| 1184 | * @NL80211_ATTR_FEATURE_FLAGS: This u32 attribute contains flags from | 1203 | * @NL80211_ATTR_FEATURE_FLAGS: This u32 attribute contains flags from |
| 1185 | * &enum nl80211_feature_flags and is advertised in wiphy information. | 1204 | * &enum nl80211_feature_flags and is advertised in wiphy information. |
| 1186 | * @NL80211_ATTR_PROBE_RESP_OFFLOAD: Indicates that the HW responds to probe | 1205 | * @NL80211_ATTR_PROBE_RESP_OFFLOAD: Indicates that the HW responds to probe |
| 1187 | * | ||
| 1188 | * requests while operating in AP-mode. | 1206 | * requests while operating in AP-mode. |
| 1189 | * This attribute holds a bitmap of the supported protocols for | 1207 | * This attribute holds a bitmap of the supported protocols for |
| 1190 | * offloading (see &enum nl80211_probe_resp_offload_support_attr). | 1208 | * offloading (see &enum nl80211_probe_resp_offload_support_attr). |
| @@ -1524,6 +1542,9 @@ enum nl80211_attrs { | |||
| 1524 | 1542 | ||
| 1525 | #define NL80211_MIN_REMAIN_ON_CHANNEL_TIME 10 | 1543 | #define NL80211_MIN_REMAIN_ON_CHANNEL_TIME 10 |
| 1526 | 1544 | ||
| 1545 | /* default RSSI threshold for scan results if none specified. */ | ||
| 1546 | #define NL80211_SCAN_RSSI_THOLD_OFF -300 | ||
| 1547 | |||
| 1527 | /** | 1548 | /** |
| 1528 | * enum nl80211_iftype - (virtual) interface types | 1549 | * enum nl80211_iftype - (virtual) interface types |
| 1529 | * | 1550 | * |
| @@ -1956,6 +1977,8 @@ enum nl80211_reg_rule_attr { | |||
| 1956 | * @__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID: attribute number 0 is reserved | 1977 | * @__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID: attribute number 0 is reserved |
| 1957 | * @NL80211_SCHED_SCAN_MATCH_ATTR_SSID: SSID to be used for matching, | 1978 | * @NL80211_SCHED_SCAN_MATCH_ATTR_SSID: SSID to be used for matching, |
| 1958 | * only report BSS with matching SSID. | 1979 | * only report BSS with matching SSID. |
| 1980 | * @NL80211_SCHED_SCAN_MATCH_ATTR_RSSI: RSSI threshold (in dBm) for reporting a | ||
| 1981 | * BSS in scan results. Filtering is turned off if not specified. | ||
| 1959 | * @NL80211_SCHED_SCAN_MATCH_ATTR_MAX: highest scheduled scan filter | 1982 | * @NL80211_SCHED_SCAN_MATCH_ATTR_MAX: highest scheduled scan filter |
| 1960 | * attribute number currently defined | 1983 | * attribute number currently defined |
| 1961 | * @__NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST: internal use | 1984 | * @__NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST: internal use |
| @@ -1963,7 +1986,8 @@ enum nl80211_reg_rule_attr { | |||
| 1963 | enum nl80211_sched_scan_match_attr { | 1986 | enum nl80211_sched_scan_match_attr { |
| 1964 | __NL80211_SCHED_SCAN_MATCH_ATTR_INVALID, | 1987 | __NL80211_SCHED_SCAN_MATCH_ATTR_INVALID, |
| 1965 | 1988 | ||
| 1966 | NL80211_ATTR_SCHED_SCAN_MATCH_SSID, | 1989 | NL80211_SCHED_SCAN_MATCH_ATTR_SSID, |
| 1990 | NL80211_SCHED_SCAN_MATCH_ATTR_RSSI, | ||
| 1967 | 1991 | ||
| 1968 | /* keep last */ | 1992 | /* keep last */ |
| 1969 | __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST, | 1993 | __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST, |
| @@ -1971,6 +1995,9 @@ enum nl80211_sched_scan_match_attr { | |||
| 1971 | __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST - 1 | 1995 | __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST - 1 |
| 1972 | }; | 1996 | }; |
| 1973 | 1997 | ||
| 1998 | /* only for backward compatibility */ | ||
| 1999 | #define NL80211_ATTR_SCHED_SCAN_MATCH_SSID NL80211_SCHED_SCAN_MATCH_ATTR_SSID | ||
| 2000 | |||
| 1974 | /** | 2001 | /** |
| 1975 | * enum nl80211_reg_rule_flags - regulatory rule flags | 2002 | * enum nl80211_reg_rule_flags - regulatory rule flags |
| 1976 | * | 2003 | * |
| @@ -2090,78 +2117,91 @@ enum nl80211_mntr_flags { | |||
| 2090 | * @__NL80211_MESHCONF_INVALID: internal use | 2117 | * @__NL80211_MESHCONF_INVALID: internal use |
| 2091 | * | 2118 | * |
| 2092 | * @NL80211_MESHCONF_RETRY_TIMEOUT: specifies the initial retry timeout in | 2119 | * @NL80211_MESHCONF_RETRY_TIMEOUT: specifies the initial retry timeout in |
| 2093 | * millisecond units, used by the Peer Link Open message | 2120 | * millisecond units, used by the Peer Link Open message |
| 2094 | * | 2121 | * |
| 2095 | * @NL80211_MESHCONF_CONFIRM_TIMEOUT: specifies the initial confirm timeout, in | 2122 | * @NL80211_MESHCONF_CONFIRM_TIMEOUT: specifies the initial confirm timeout, in |
| 2096 | * millisecond units, used by the peer link management to close a peer link | 2123 | * millisecond units, used by the peer link management to close a peer link |
| 2097 | * | 2124 | * |
| 2098 | * @NL80211_MESHCONF_HOLDING_TIMEOUT: specifies the holding timeout, in | 2125 | * @NL80211_MESHCONF_HOLDING_TIMEOUT: specifies the holding timeout, in |
| 2099 | * millisecond units | 2126 | * millisecond units |
| 2100 | * | 2127 | * |
| 2101 | * @NL80211_MESHCONF_MAX_PEER_LINKS: maximum number of peer links allowed | 2128 | * @NL80211_MESHCONF_MAX_PEER_LINKS: maximum number of peer links allowed |
| 2102 | * on this mesh interface | 2129 | * on this mesh interface |
| 2103 | * | 2130 | * |
| 2104 | * @NL80211_MESHCONF_MAX_RETRIES: specifies the maximum number of peer link | 2131 | * @NL80211_MESHCONF_MAX_RETRIES: specifies the maximum number of peer link |
| 2105 | * open retries that can be sent to establish a new peer link instance in a | 2132 | * open retries that can be sent to establish a new peer link instance in a |
| 2106 | * mesh | 2133 | * mesh |
| 2107 | * | 2134 | * |
| 2108 | * @NL80211_MESHCONF_TTL: specifies the value of TTL field set at a source mesh | 2135 | * @NL80211_MESHCONF_TTL: specifies the value of TTL field set at a source mesh |
| 2109 | * point. | 2136 | * point. |
| 2110 | * | 2137 | * |
| 2111 | * @NL80211_MESHCONF_AUTO_OPEN_PLINKS: whether we should automatically | 2138 | * @NL80211_MESHCONF_AUTO_OPEN_PLINKS: whether we should automatically |
| 2112 | * open peer links when we detect compatible mesh peers. | 2139 | * open peer links when we detect compatible mesh peers. |
| 2113 | * | 2140 | * |
| 2114 | * @NL80211_MESHCONF_HWMP_MAX_PREQ_RETRIES: the number of action frames | 2141 | * @NL80211_MESHCONF_HWMP_MAX_PREQ_RETRIES: the number of action frames |
| 2115 | * containing a PREQ that an MP can send to a particular destination (path | 2142 | * containing a PREQ that an MP can send to a particular destination (path |
| 2116 | * target) | 2143 | * target) |
| 2117 | * | 2144 | * |
| 2118 | * @NL80211_MESHCONF_PATH_REFRESH_TIME: how frequently to refresh mesh paths | 2145 | * @NL80211_MESHCONF_PATH_REFRESH_TIME: how frequently to refresh mesh paths |
| 2119 | * (in milliseconds) | 2146 | * (in milliseconds) |
| 2120 | * | 2147 | * |
| 2121 | * @NL80211_MESHCONF_MIN_DISCOVERY_TIMEOUT: minimum length of time to wait | 2148 | * @NL80211_MESHCONF_MIN_DISCOVERY_TIMEOUT: minimum length of time to wait |
| 2122 | * until giving up on a path discovery (in milliseconds) | 2149 | * until giving up on a path discovery (in milliseconds) |
| 2123 | * | 2150 | * |
| 2124 | * @NL80211_MESHCONF_HWMP_ACTIVE_PATH_TIMEOUT: The time (in TUs) for which mesh | 2151 | * @NL80211_MESHCONF_HWMP_ACTIVE_PATH_TIMEOUT: The time (in TUs) for which mesh |
| 2125 | * points receiving a PREQ shall consider the forwarding information from the | 2152 | * points receiving a PREQ shall consider the forwarding information from |
| 2126 | * root to be valid. (TU = time unit) | 2153 | * the root to be valid. (TU = time unit) |
| 2127 | * | 2154 | * |
| 2128 | * @NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL: The minimum interval of time (in | 2155 | * @NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL: The minimum interval of time (in |
| 2129 | * TUs) during which an MP can send only one action frame containing a PREQ | 2156 | * TUs) during which an MP can send only one action frame containing a PREQ |
| 2130 | * reference element | 2157 | * reference element |
| 2131 | * | 2158 | * |
| 2132 | * @NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME: The interval of time (in TUs) | 2159 | * @NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME: The interval of time (in TUs) |
| 2133 | * that it takes for an HWMP information element to propagate across the mesh | 2160 | * that it takes for an HWMP information element to propagate across the |
| 2161 | * mesh | ||
| 2134 | * | 2162 | * |
| 2135 | * @NL80211_MESHCONF_HWMP_ROOTMODE: whether root mode is enabled or not | 2163 | * @NL80211_MESHCONF_HWMP_ROOTMODE: whether root mode is enabled or not |
| 2136 | * | 2164 | * |
| 2137 | * @NL80211_MESHCONF_ELEMENT_TTL: specifies the value of TTL field set at a | 2165 | * @NL80211_MESHCONF_ELEMENT_TTL: specifies the value of TTL field set at a |
| 2138 | * source mesh point for path selection elements. | 2166 | * source mesh point for path selection elements. |
| 2139 | * | 2167 | * |
| 2140 | * @NL80211_MESHCONF_HWMP_RANN_INTERVAL: The interval of time (in TUs) between | 2168 | * @NL80211_MESHCONF_HWMP_RANN_INTERVAL: The interval of time (in TUs) between |
| 2141 | * root announcements are transmitted. | 2169 | * root announcements are transmitted. |
| 2142 | * | 2170 | * |
| 2143 | * @NL80211_MESHCONF_GATE_ANNOUNCEMENTS: Advertise that this mesh station has | 2171 | * @NL80211_MESHCONF_GATE_ANNOUNCEMENTS: Advertise that this mesh station has |
| 2144 | * access to a broader network beyond the MBSS. This is done via Root | 2172 | * access to a broader network beyond the MBSS. This is done via Root |
| 2145 | * Announcement frames. | 2173 | * Announcement frames. |
| 2146 | * | 2174 | * |
| 2147 | * @NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL: The minimum interval of time (in | 2175 | * @NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL: The minimum interval of time (in |
| 2148 | * TUs) during which a mesh STA can send only one Action frame containing a | 2176 | * TUs) during which a mesh STA can send only one Action frame containing a |
| 2149 | * PERR element. | 2177 | * PERR element. |
| 2150 | * | 2178 | * |
| 2151 | * @NL80211_MESHCONF_FORWARDING: set Mesh STA as forwarding or non-forwarding | 2179 | * @NL80211_MESHCONF_FORWARDING: set Mesh STA as forwarding or non-forwarding |
| 2152 | * or forwarding entity (default is TRUE - forwarding entity) | 2180 | * or forwarding entity (default is TRUE - forwarding entity) |
| 2153 | * | 2181 | * |
| 2154 | * @NL80211_MESHCONF_RSSI_THRESHOLD: RSSI threshold in dBm. This specifies the | 2182 | * @NL80211_MESHCONF_RSSI_THRESHOLD: RSSI threshold in dBm. This specifies the |
| 2155 | * threshold for average signal strength of candidate station to establish | 2183 | * threshold for average signal strength of candidate station to establish |
| 2156 | * a peer link. | 2184 | * a peer link. |
| 2157 | * | ||
| 2158 | * @NL80211_MESHCONF_ATTR_MAX: highest possible mesh configuration attribute | ||
| 2159 | * | 2185 | * |
| 2160 | * @NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR: maximum number of neighbors | 2186 | * @NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR: maximum number of neighbors |
| 2161 | * to synchronize to for 11s default synchronization method (see 11C.12.2.2) | 2187 | * to synchronize to for 11s default synchronization method |
| 2188 | * (see 11C.12.2.2) | ||
| 2162 | * | 2189 | * |
| 2163 | * @NL80211_MESHCONF_HT_OPMODE: set mesh HT protection mode. | 2190 | * @NL80211_MESHCONF_HT_OPMODE: set mesh HT protection mode. |
| 2164 | * | 2191 | * |
| 2192 | * @NL80211_MESHCONF_ATTR_MAX: highest possible mesh configuration attribute | ||
| 2193 | * | ||
| 2194 | * @NL80211_MESHCONF_HWMP_PATH_TO_ROOT_TIMEOUT: The time (in TUs) for | ||
| 2195 | * which mesh STAs receiving a proactive PREQ shall consider the forwarding | ||
| 2196 | * information to the root mesh STA to be valid. | ||
| 2197 | * | ||
| 2198 | * @NL80211_MESHCONF_HWMP_ROOT_INTERVAL: The interval of time (in TUs) between | ||
| 2199 | * proactive PREQs are transmitted. | ||
| 2200 | * | ||
| 2201 | * @NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL: The minimum interval of time | ||
| 2202 | * (in TUs) during which a mesh STA can send only one Action frame | ||
| 2203 | * containing a PREQ element for root path confirmation. | ||
| 2204 | * | ||
| 2165 | * @__NL80211_MESHCONF_ATTR_AFTER_LAST: internal use | 2205 | * @__NL80211_MESHCONF_ATTR_AFTER_LAST: internal use |
| 2166 | */ | 2206 | */ |
| 2167 | enum nl80211_meshconf_params { | 2207 | enum nl80211_meshconf_params { |
| @@ -2188,6 +2228,9 @@ enum nl80211_meshconf_params { | |||
| 2188 | NL80211_MESHCONF_RSSI_THRESHOLD, | 2228 | NL80211_MESHCONF_RSSI_THRESHOLD, |
| 2189 | NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR, | 2229 | NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR, |
| 2190 | NL80211_MESHCONF_HT_OPMODE, | 2230 | NL80211_MESHCONF_HT_OPMODE, |
| 2231 | NL80211_MESHCONF_HWMP_PATH_TO_ROOT_TIMEOUT, | ||
| 2232 | NL80211_MESHCONF_HWMP_ROOT_INTERVAL, | ||
| 2233 | NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL, | ||
| 2191 | 2234 | ||
| 2192 | /* keep last */ | 2235 | /* keep last */ |
| 2193 | __NL80211_MESHCONF_ATTR_AFTER_LAST, | 2236 | __NL80211_MESHCONF_ATTR_AFTER_LAST, |
| @@ -2203,34 +2246,36 @@ enum nl80211_meshconf_params { | |||
| 2203 | * @__NL80211_MESH_SETUP_INVALID: Internal use | 2246 | * @__NL80211_MESH_SETUP_INVALID: Internal use |
| 2204 | * | 2247 | * |
| 2205 | * @NL80211_MESH_SETUP_ENABLE_VENDOR_PATH_SEL: Enable this option to use a | 2248 | * @NL80211_MESH_SETUP_ENABLE_VENDOR_PATH_SEL: Enable this option to use a |
| 2206 | * vendor specific path selection algorithm or disable it to use the default | 2249 | * vendor specific path selection algorithm or disable it to use the |
| 2207 | * HWMP. | 2250 | * default HWMP. |
| 2208 | * | 2251 | * |
| 2209 | * @NL80211_MESH_SETUP_ENABLE_VENDOR_METRIC: Enable this option to use a | 2252 | * @NL80211_MESH_SETUP_ENABLE_VENDOR_METRIC: Enable this option to use a |
| 2210 | * vendor specific path metric or disable it to use the default Airtime | 2253 | * vendor specific path metric or disable it to use the default Airtime |
| 2211 | * metric. | 2254 | * metric. |
| 2212 | * | 2255 | * |
| 2213 | * @NL80211_MESH_SETUP_IE: Information elements for this mesh, for instance, a | 2256 | * @NL80211_MESH_SETUP_IE: Information elements for this mesh, for instance, a |
| 2214 | * robust security network ie, or a vendor specific information element that | 2257 | * robust security network ie, or a vendor specific information element |
| 2215 | * vendors will use to identify the path selection methods and metrics in use. | 2258 | * that vendors will use to identify the path selection methods and |
| 2259 | * metrics in use. | ||
| 2216 | * | 2260 | * |
| 2217 | * @NL80211_MESH_SETUP_USERSPACE_AUTH: Enable this option if an authentication | 2261 | * @NL80211_MESH_SETUP_USERSPACE_AUTH: Enable this option if an authentication |
| 2218 | * daemon will be authenticating mesh candidates. | 2262 | * daemon will be authenticating mesh candidates. |
| 2219 | * | 2263 | * |
| 2220 | * @NL80211_MESH_SETUP_USERSPACE_AMPE: Enable this option if an authentication | 2264 | * @NL80211_MESH_SETUP_USERSPACE_AMPE: Enable this option if an authentication |
| 2221 | * daemon will be securing peer link frames. AMPE is a secured version of Mesh | 2265 | * daemon will be securing peer link frames. AMPE is a secured version of |
| 2222 | * Peering Management (MPM) and is implemented with the assistance of a | 2266 | * Mesh Peering Management (MPM) and is implemented with the assistance of |
| 2223 | * userspace daemon. When this flag is set, the kernel will send peer | 2267 | * a userspace daemon. When this flag is set, the kernel will send peer |
| 2224 | * management frames to a userspace daemon that will implement AMPE | 2268 | * management frames to a userspace daemon that will implement AMPE |
| 2225 | * functionality (security capabilities selection, key confirmation, and key | 2269 | * functionality (security capabilities selection, key confirmation, and |
| 2226 | * management). When the flag is unset (default), the kernel can autonomously | 2270 | * key management). When the flag is unset (default), the kernel can |
| 2227 | * complete (unsecured) mesh peering without the need of a userspace daemon. | 2271 | * autonomously complete (unsecured) mesh peering without the need of a |
| 2228 | * | 2272 | * userspace daemon. |
| 2229 | * @NL80211_MESH_SETUP_ATTR_MAX: highest possible mesh setup attribute number | ||
| 2230 | * | 2273 | * |
| 2231 | * @NL80211_MESH_SETUP_ENABLE_VENDOR_SYNC: Enable this option to use a | 2274 | * @NL80211_MESH_SETUP_ENABLE_VENDOR_SYNC: Enable this option to use a |
| 2232 | * vendor specific synchronization method or disable it to use the default | 2275 | * vendor specific synchronization method or disable it to use the default |
| 2233 | * neighbor offset synchronization | 2276 | * neighbor offset synchronization |
| 2277 | * | ||
| 2278 | * @NL80211_MESH_SETUP_ATTR_MAX: highest possible mesh setup attribute number | ||
| 2234 | * | 2279 | * |
| 2235 | * @__NL80211_MESH_SETUP_ATTR_AFTER_LAST: Internal use | 2280 | * @__NL80211_MESH_SETUP_ATTR_AFTER_LAST: Internal use |
| 2236 | */ | 2281 | */ |
| @@ -2500,6 +2545,11 @@ enum nl80211_band { | |||
| 2500 | NL80211_BAND_5GHZ, | 2545 | NL80211_BAND_5GHZ, |
| 2501 | }; | 2546 | }; |
| 2502 | 2547 | ||
| 2548 | /** | ||
| 2549 | * enum nl80211_ps_state - powersave state | ||
| 2550 | * @NL80211_PS_DISABLED: powersave is disabled | ||
| 2551 | * @NL80211_PS_ENABLED: powersave is enabled | ||
| 2552 | */ | ||
| 2503 | enum nl80211_ps_state { | 2553 | enum nl80211_ps_state { |
| 2504 | NL80211_PS_DISABLED, | 2554 | NL80211_PS_DISABLED, |
| 2505 | NL80211_PS_ENABLED, | 2555 | NL80211_PS_ENABLED, |
