1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef __LINUX_NL80211_H
20 #define __LINUX_NL80211_H
21 #include <linux/types.h>
22 #define NL80211_GENL_NAME "nl80211"
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #define NL80211_MULTICAST_GROUP_CONFIG "config"
25 #define NL80211_MULTICAST_GROUP_SCAN "scan"
26 #define NL80211_MULTICAST_GROUP_REG "regulatory"
27 #define NL80211_MULTICAST_GROUP_MLME "mlme"
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 #define NL80211_MULTICAST_GROUP_VENDOR "vendor"
30 #define NL80211_MULTICAST_GROUP_TESTMODE "testmode"
31 enum nl80211_commands {
32   NL80211_CMD_UNSPEC,
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34   NL80211_CMD_GET_WIPHY,
35   NL80211_CMD_SET_WIPHY,
36   NL80211_CMD_NEW_WIPHY,
37   NL80211_CMD_DEL_WIPHY,
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39   NL80211_CMD_GET_INTERFACE,
40   NL80211_CMD_SET_INTERFACE,
41   NL80211_CMD_NEW_INTERFACE,
42   NL80211_CMD_DEL_INTERFACE,
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44   NL80211_CMD_GET_KEY,
45   NL80211_CMD_SET_KEY,
46   NL80211_CMD_NEW_KEY,
47   NL80211_CMD_DEL_KEY,
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49   NL80211_CMD_GET_BEACON,
50   NL80211_CMD_SET_BEACON,
51   NL80211_CMD_START_AP,
52   NL80211_CMD_NEW_BEACON = NL80211_CMD_START_AP,
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54   NL80211_CMD_STOP_AP,
55   NL80211_CMD_DEL_BEACON = NL80211_CMD_STOP_AP,
56   NL80211_CMD_GET_STATION,
57   NL80211_CMD_SET_STATION,
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59   NL80211_CMD_NEW_STATION,
60   NL80211_CMD_DEL_STATION,
61   NL80211_CMD_GET_MPATH,
62   NL80211_CMD_SET_MPATH,
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64   NL80211_CMD_NEW_MPATH,
65   NL80211_CMD_DEL_MPATH,
66   NL80211_CMD_SET_BSS,
67   NL80211_CMD_SET_REG,
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69   NL80211_CMD_REQ_SET_REG,
70   NL80211_CMD_GET_MESH_CONFIG,
71   NL80211_CMD_SET_MESH_CONFIG,
72   NL80211_CMD_SET_MGMT_EXTRA_IE,
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74   NL80211_CMD_GET_REG,
75   NL80211_CMD_GET_SCAN,
76   NL80211_CMD_TRIGGER_SCAN,
77   NL80211_CMD_NEW_SCAN_RESULTS,
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79   NL80211_CMD_SCAN_ABORTED,
80   NL80211_CMD_REG_CHANGE,
81   NL80211_CMD_AUTHENTICATE,
82   NL80211_CMD_ASSOCIATE,
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84   NL80211_CMD_DEAUTHENTICATE,
85   NL80211_CMD_DISASSOCIATE,
86   NL80211_CMD_MICHAEL_MIC_FAILURE,
87   NL80211_CMD_REG_BEACON_HINT,
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89   NL80211_CMD_JOIN_IBSS,
90   NL80211_CMD_LEAVE_IBSS,
91   NL80211_CMD_TESTMODE,
92   NL80211_CMD_CONNECT,
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94   NL80211_CMD_ROAM,
95   NL80211_CMD_DISCONNECT,
96   NL80211_CMD_SET_WIPHY_NETNS,
97   NL80211_CMD_GET_SURVEY,
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99   NL80211_CMD_NEW_SURVEY_RESULTS,
100   NL80211_CMD_SET_PMKSA,
101   NL80211_CMD_DEL_PMKSA,
102   NL80211_CMD_FLUSH_PMKSA,
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104   NL80211_CMD_REMAIN_ON_CHANNEL,
105   NL80211_CMD_CANCEL_REMAIN_ON_CHANNEL,
106   NL80211_CMD_SET_TX_BITRATE_MASK,
107   NL80211_CMD_REGISTER_FRAME,
108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109   NL80211_CMD_REGISTER_ACTION = NL80211_CMD_REGISTER_FRAME,
110   NL80211_CMD_FRAME,
111   NL80211_CMD_ACTION = NL80211_CMD_FRAME,
112   NL80211_CMD_FRAME_TX_STATUS,
113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114   NL80211_CMD_ACTION_TX_STATUS = NL80211_CMD_FRAME_TX_STATUS,
115   NL80211_CMD_SET_POWER_SAVE,
116   NL80211_CMD_GET_POWER_SAVE,
117   NL80211_CMD_SET_CQM,
118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119   NL80211_CMD_NOTIFY_CQM,
120   NL80211_CMD_SET_CHANNEL,
121   NL80211_CMD_SET_WDS_PEER,
122   NL80211_CMD_FRAME_WAIT_CANCEL,
123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124   NL80211_CMD_JOIN_MESH,
125   NL80211_CMD_LEAVE_MESH,
126   NL80211_CMD_UNPROT_DEAUTHENTICATE,
127   NL80211_CMD_UNPROT_DISASSOCIATE,
128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129   NL80211_CMD_NEW_PEER_CANDIDATE,
130   NL80211_CMD_GET_WOWLAN,
131   NL80211_CMD_SET_WOWLAN,
132   NL80211_CMD_START_SCHED_SCAN,
133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134   NL80211_CMD_STOP_SCHED_SCAN,
135   NL80211_CMD_SCHED_SCAN_RESULTS,
136   NL80211_CMD_SCHED_SCAN_STOPPED,
137   NL80211_CMD_SET_REKEY_OFFLOAD,
138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139   NL80211_CMD_PMKSA_CANDIDATE,
140   NL80211_CMD_TDLS_OPER,
141   NL80211_CMD_TDLS_MGMT,
142   NL80211_CMD_UNEXPECTED_FRAME,
143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
144   NL80211_CMD_PROBE_CLIENT,
145   NL80211_CMD_REGISTER_BEACONS,
146   NL80211_CMD_UNEXPECTED_4ADDR_FRAME,
147   NL80211_CMD_SET_NOACK_MAP,
148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149   NL80211_CMD_CH_SWITCH_NOTIFY,
150   NL80211_CMD_START_P2P_DEVICE,
151   NL80211_CMD_STOP_P2P_DEVICE,
152   NL80211_CMD_CONN_FAILED,
153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
154   NL80211_CMD_SET_MCAST_RATE,
155   NL80211_CMD_SET_MAC_ACL,
156   NL80211_CMD_RADAR_DETECT,
157   NL80211_CMD_GET_PROTOCOL_FEATURES,
158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
159   NL80211_CMD_UPDATE_FT_IES,
160   NL80211_CMD_FT_EVENT,
161   NL80211_CMD_CRIT_PROTOCOL_START,
162   NL80211_CMD_CRIT_PROTOCOL_STOP,
163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
164   NL80211_CMD_GET_COALESCE,
165   NL80211_CMD_SET_COALESCE,
166   NL80211_CMD_CHANNEL_SWITCH,
167   NL80211_CMD_VENDOR,
168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
169   NL80211_CMD_SET_QOS_MAP,
170   NL80211_CMD_ADD_TX_TS,
171   NL80211_CMD_DEL_TX_TS,
172   NL80211_CMD_GET_MPP,
173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
174   NL80211_CMD_JOIN_OCB,
175   NL80211_CMD_LEAVE_OCB,
176   NL80211_CMD_CH_SWITCH_STARTED_NOTIFY,
177   NL80211_CMD_TDLS_CHANNEL_SWITCH,
178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
179   NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH,
180   NL80211_CMD_WIPHY_REG_CHANGE,
181   __NL80211_CMD_AFTER_LAST,
182   NL80211_CMD_MAX = __NL80211_CMD_AFTER_LAST - 1
183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
184 };
185 #define NL80211_CMD_SET_BSS NL80211_CMD_SET_BSS
186 #define NL80211_CMD_SET_MGMT_EXTRA_IE NL80211_CMD_SET_MGMT_EXTRA_IE
187 #define NL80211_CMD_REG_CHANGE NL80211_CMD_REG_CHANGE
188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
189 #define NL80211_CMD_AUTHENTICATE NL80211_CMD_AUTHENTICATE
190 #define NL80211_CMD_ASSOCIATE NL80211_CMD_ASSOCIATE
191 #define NL80211_CMD_DEAUTHENTICATE NL80211_CMD_DEAUTHENTICATE
192 #define NL80211_CMD_DISASSOCIATE NL80211_CMD_DISASSOCIATE
193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
194 #define NL80211_CMD_REG_BEACON_HINT NL80211_CMD_REG_BEACON_HINT
195 #define NL80211_ATTR_FEATURE_FLAGS NL80211_ATTR_FEATURE_FLAGS
196 #define NL80211_CMD_GET_MESH_PARAMS NL80211_CMD_GET_MESH_CONFIG
197 #define NL80211_CMD_SET_MESH_PARAMS NL80211_CMD_SET_MESH_CONFIG
198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
199 #define NL80211_MESH_SETUP_VENDOR_PATH_SEL_IE NL80211_MESH_SETUP_IE
200 enum nl80211_attrs {
201   NL80211_ATTR_UNSPEC,
202   NL80211_ATTR_WIPHY,
203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
204   NL80211_ATTR_WIPHY_NAME,
205   NL80211_ATTR_IFINDEX,
206   NL80211_ATTR_IFNAME,
207   NL80211_ATTR_IFTYPE,
208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
209   NL80211_ATTR_MAC,
210   NL80211_ATTR_KEY_DATA,
211   NL80211_ATTR_KEY_IDX,
212   NL80211_ATTR_KEY_CIPHER,
213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
214   NL80211_ATTR_KEY_SEQ,
215   NL80211_ATTR_KEY_DEFAULT,
216   NL80211_ATTR_BEACON_INTERVAL,
217   NL80211_ATTR_DTIM_PERIOD,
218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
219   NL80211_ATTR_BEACON_HEAD,
220   NL80211_ATTR_BEACON_TAIL,
221   NL80211_ATTR_STA_AID,
222   NL80211_ATTR_STA_FLAGS,
223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
224   NL80211_ATTR_STA_LISTEN_INTERVAL,
225   NL80211_ATTR_STA_SUPPORTED_RATES,
226   NL80211_ATTR_STA_VLAN,
227   NL80211_ATTR_STA_INFO,
228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
229   NL80211_ATTR_WIPHY_BANDS,
230   NL80211_ATTR_MNTR_FLAGS,
231   NL80211_ATTR_MESH_ID,
232   NL80211_ATTR_STA_PLINK_ACTION,
233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
234   NL80211_ATTR_MPATH_NEXT_HOP,
235   NL80211_ATTR_MPATH_INFO,
236   NL80211_ATTR_BSS_CTS_PROT,
237   NL80211_ATTR_BSS_SHORT_PREAMBLE,
238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
239   NL80211_ATTR_BSS_SHORT_SLOT_TIME,
240   NL80211_ATTR_HT_CAPABILITY,
241   NL80211_ATTR_SUPPORTED_IFTYPES,
242   NL80211_ATTR_REG_ALPHA2,
243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
244   NL80211_ATTR_REG_RULES,
245   NL80211_ATTR_MESH_CONFIG,
246   NL80211_ATTR_BSS_BASIC_RATES,
247   NL80211_ATTR_WIPHY_TXQ_PARAMS,
248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
249   NL80211_ATTR_WIPHY_FREQ,
250   NL80211_ATTR_WIPHY_CHANNEL_TYPE,
251   NL80211_ATTR_KEY_DEFAULT_MGMT,
252   NL80211_ATTR_MGMT_SUBTYPE,
253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
254   NL80211_ATTR_IE,
255   NL80211_ATTR_MAX_NUM_SCAN_SSIDS,
256   NL80211_ATTR_SCAN_FREQUENCIES,
257   NL80211_ATTR_SCAN_SSIDS,
258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
259   NL80211_ATTR_GENERATION,
260   NL80211_ATTR_BSS,
261   NL80211_ATTR_REG_INITIATOR,
262   NL80211_ATTR_REG_TYPE,
263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
264   NL80211_ATTR_SUPPORTED_COMMANDS,
265   NL80211_ATTR_FRAME,
266   NL80211_ATTR_SSID,
267   NL80211_ATTR_AUTH_TYPE,
268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
269   NL80211_ATTR_REASON_CODE,
270   NL80211_ATTR_KEY_TYPE,
271   NL80211_ATTR_MAX_SCAN_IE_LEN,
272   NL80211_ATTR_CIPHER_SUITES,
273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
274   NL80211_ATTR_FREQ_BEFORE,
275   NL80211_ATTR_FREQ_AFTER,
276   NL80211_ATTR_FREQ_FIXED,
277   NL80211_ATTR_WIPHY_RETRY_SHORT,
278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
279   NL80211_ATTR_WIPHY_RETRY_LONG,
280   NL80211_ATTR_WIPHY_FRAG_THRESHOLD,
281   NL80211_ATTR_WIPHY_RTS_THRESHOLD,
282   NL80211_ATTR_TIMED_OUT,
283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
284   NL80211_ATTR_USE_MFP,
285   NL80211_ATTR_STA_FLAGS2,
286   NL80211_ATTR_CONTROL_PORT,
287   NL80211_ATTR_TESTDATA,
288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
289   NL80211_ATTR_PRIVACY,
290   NL80211_ATTR_DISCONNECTED_BY_AP,
291   NL80211_ATTR_STATUS_CODE,
292   NL80211_ATTR_CIPHER_SUITES_PAIRWISE,
293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
294   NL80211_ATTR_CIPHER_SUITE_GROUP,
295   NL80211_ATTR_WPA_VERSIONS,
296   NL80211_ATTR_AKM_SUITES,
297   NL80211_ATTR_REQ_IE,
298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
299   NL80211_ATTR_RESP_IE,
300   NL80211_ATTR_PREV_BSSID,
301   NL80211_ATTR_KEY,
302   NL80211_ATTR_KEYS,
303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
304   NL80211_ATTR_PID,
305   NL80211_ATTR_4ADDR,
306   NL80211_ATTR_SURVEY_INFO,
307   NL80211_ATTR_PMKID,
308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
309   NL80211_ATTR_MAX_NUM_PMKIDS,
310   NL80211_ATTR_DURATION,
311   NL80211_ATTR_COOKIE,
312   NL80211_ATTR_WIPHY_COVERAGE_CLASS,
313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
314   NL80211_ATTR_TX_RATES,
315   NL80211_ATTR_FRAME_MATCH,
316   NL80211_ATTR_ACK,
317   NL80211_ATTR_PS_STATE,
318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
319   NL80211_ATTR_CQM,
320   NL80211_ATTR_LOCAL_STATE_CHANGE,
321   NL80211_ATTR_AP_ISOLATE,
322   NL80211_ATTR_WIPHY_TX_POWER_SETTING,
323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
324   NL80211_ATTR_WIPHY_TX_POWER_LEVEL,
325   NL80211_ATTR_TX_FRAME_TYPES,
326   NL80211_ATTR_RX_FRAME_TYPES,
327   NL80211_ATTR_FRAME_TYPE,
328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
329   NL80211_ATTR_CONTROL_PORT_ETHERTYPE,
330   NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT,
331   NL80211_ATTR_SUPPORT_IBSS_RSN,
332   NL80211_ATTR_WIPHY_ANTENNA_TX,
333 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
334   NL80211_ATTR_WIPHY_ANTENNA_RX,
335   NL80211_ATTR_MCAST_RATE,
336   NL80211_ATTR_OFFCHANNEL_TX_OK,
337   NL80211_ATTR_BSS_HT_OPMODE,
338 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
339   NL80211_ATTR_KEY_DEFAULT_TYPES,
340   NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION,
341   NL80211_ATTR_MESH_SETUP,
342   NL80211_ATTR_WIPHY_ANTENNA_AVAIL_TX,
343 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
344   NL80211_ATTR_WIPHY_ANTENNA_AVAIL_RX,
345   NL80211_ATTR_SUPPORT_MESH_AUTH,
346   NL80211_ATTR_STA_PLINK_STATE,
347   NL80211_ATTR_WOWLAN_TRIGGERS,
348 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
349   NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED,
350   NL80211_ATTR_SCHED_SCAN_INTERVAL,
351   NL80211_ATTR_INTERFACE_COMBINATIONS,
352   NL80211_ATTR_SOFTWARE_IFTYPES,
353 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
354   NL80211_ATTR_REKEY_DATA,
355   NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS,
356   NL80211_ATTR_MAX_SCHED_SCAN_IE_LEN,
357   NL80211_ATTR_SCAN_SUPP_RATES,
358 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
359   NL80211_ATTR_HIDDEN_SSID,
360   NL80211_ATTR_IE_PROBE_RESP,
361   NL80211_ATTR_IE_ASSOC_RESP,
362   NL80211_ATTR_STA_WME,
363 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
364   NL80211_ATTR_SUPPORT_AP_UAPSD,
365   NL80211_ATTR_ROAM_SUPPORT,
366   NL80211_ATTR_SCHED_SCAN_MATCH,
367   NL80211_ATTR_MAX_MATCH_SETS,
368 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
369   NL80211_ATTR_PMKSA_CANDIDATE,
370   NL80211_ATTR_TX_NO_CCK_RATE,
371   NL80211_ATTR_TDLS_ACTION,
372   NL80211_ATTR_TDLS_DIALOG_TOKEN,
373 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
374   NL80211_ATTR_TDLS_OPERATION,
375   NL80211_ATTR_TDLS_SUPPORT,
376   NL80211_ATTR_TDLS_EXTERNAL_SETUP,
377   NL80211_ATTR_DEVICE_AP_SME,
378 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
379   NL80211_ATTR_DONT_WAIT_FOR_ACK,
380   NL80211_ATTR_FEATURE_FLAGS,
381   NL80211_ATTR_PROBE_RESP_OFFLOAD,
382   NL80211_ATTR_PROBE_RESP,
383 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
384   NL80211_ATTR_DFS_REGION,
385   NL80211_ATTR_DISABLE_HT,
386   NL80211_ATTR_HT_CAPABILITY_MASK,
387   NL80211_ATTR_NOACK_MAP,
388 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
389   NL80211_ATTR_INACTIVITY_TIMEOUT,
390   NL80211_ATTR_RX_SIGNAL_DBM,
391   NL80211_ATTR_BG_SCAN_PERIOD,
392   NL80211_ATTR_WDEV,
393 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
394   NL80211_ATTR_USER_REG_HINT_TYPE,
395   NL80211_ATTR_CONN_FAILED_REASON,
396   NL80211_ATTR_SAE_DATA,
397   NL80211_ATTR_VHT_CAPABILITY,
398 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
399   NL80211_ATTR_SCAN_FLAGS,
400   NL80211_ATTR_CHANNEL_WIDTH,
401   NL80211_ATTR_CENTER_FREQ1,
402   NL80211_ATTR_CENTER_FREQ2,
403 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
404   NL80211_ATTR_P2P_CTWINDOW,
405   NL80211_ATTR_P2P_OPPPS,
406   NL80211_ATTR_LOCAL_MESH_POWER_MODE,
407   NL80211_ATTR_ACL_POLICY,
408 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
409   NL80211_ATTR_MAC_ADDRS,
410   NL80211_ATTR_MAC_ACL_MAX,
411   NL80211_ATTR_RADAR_EVENT,
412   NL80211_ATTR_EXT_CAPA,
413 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
414   NL80211_ATTR_EXT_CAPA_MASK,
415   NL80211_ATTR_STA_CAPABILITY,
416   NL80211_ATTR_STA_EXT_CAPABILITY,
417   NL80211_ATTR_PROTOCOL_FEATURES,
418 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
419   NL80211_ATTR_SPLIT_WIPHY_DUMP,
420   NL80211_ATTR_DISABLE_VHT,
421   NL80211_ATTR_VHT_CAPABILITY_MASK,
422   NL80211_ATTR_MDID,
423 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
424   NL80211_ATTR_IE_RIC,
425   NL80211_ATTR_CRIT_PROT_ID,
426   NL80211_ATTR_MAX_CRIT_PROT_DURATION,
427   NL80211_ATTR_PEER_AID,
428 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
429   NL80211_ATTR_COALESCE_RULE,
430   NL80211_ATTR_CH_SWITCH_COUNT,
431   NL80211_ATTR_CH_SWITCH_BLOCK_TX,
432   NL80211_ATTR_CSA_IES,
433 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
434   NL80211_ATTR_CSA_C_OFF_BEACON,
435   NL80211_ATTR_CSA_C_OFF_PRESP,
436   NL80211_ATTR_RXMGMT_FLAGS,
437   NL80211_ATTR_STA_SUPPORTED_CHANNELS,
438 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
439   NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES,
440   NL80211_ATTR_HANDLE_DFS,
441   NL80211_ATTR_SUPPORT_5_MHZ,
442   NL80211_ATTR_SUPPORT_10_MHZ,
443 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
444   NL80211_ATTR_OPMODE_NOTIF,
445   NL80211_ATTR_VENDOR_ID,
446   NL80211_ATTR_VENDOR_SUBCMD,
447   NL80211_ATTR_VENDOR_DATA,
448 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
449   NL80211_ATTR_VENDOR_EVENTS,
450   NL80211_ATTR_QOS_MAP,
451   NL80211_ATTR_MAC_HINT,
452   NL80211_ATTR_WIPHY_FREQ_HINT,
453 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
454   NL80211_ATTR_MAX_AP_ASSOC_STA,
455   NL80211_ATTR_TDLS_PEER_CAPABILITY,
456   NL80211_ATTR_SOCKET_OWNER,
457   NL80211_ATTR_CSA_C_OFFSETS_TX,
458 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
459   NL80211_ATTR_MAX_CSA_COUNTERS,
460   NL80211_ATTR_TDLS_INITIATOR,
461   NL80211_ATTR_USE_RRM,
462   NL80211_ATTR_WIPHY_DYN_ACK,
463 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
464   NL80211_ATTR_TSID,
465   NL80211_ATTR_USER_PRIO,
466   NL80211_ATTR_ADMITTED_TIME,
467   NL80211_ATTR_SMPS_MODE,
468 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
469   NL80211_ATTR_OPER_CLASS,
470   NL80211_ATTR_MAC_MASK,
471   NL80211_ATTR_WIPHY_SELF_MANAGED_REG,
472   NL80211_ATTR_EXT_FEATURES,
473 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
474   NL80211_ATTR_SURVEY_RADIO_STATS,
475   NL80211_ATTR_NETNS_FD,
476   NL80211_ATTR_SCHED_SCAN_DELAY,
477   NL80211_ATTR_REG_INDOOR,
478 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
479   NL80211_ATTR_MAX_NUM_SCHED_SCAN_PLANS,
480   NL80211_ATTR_MAX_SCAN_PLAN_INTERVAL,
481   NL80211_ATTR_MAX_SCAN_PLAN_ITERATIONS,
482   NL80211_ATTR_SCHED_SCAN_PLANS,
483 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
484   __NL80211_ATTR_AFTER_LAST,
485   NUM_NL80211_ATTR = __NL80211_ATTR_AFTER_LAST,
486   NL80211_ATTR_MAX = __NL80211_ATTR_AFTER_LAST - 1
487 };
488 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
489 #define NL80211_ATTR_SCAN_GENERATION NL80211_ATTR_GENERATION
490 #define NL80211_ATTR_MESH_PARAMS NL80211_ATTR_MESH_CONFIG
491 #define NL80211_ATTR_IFACE_SOCKET_OWNER NL80211_ATTR_SOCKET_OWNER
492 #define NL80211_CMD_CONNECT NL80211_CMD_CONNECT
493 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
494 #define NL80211_ATTR_HT_CAPABILITY NL80211_ATTR_HT_CAPABILITY
495 #define NL80211_ATTR_BSS_BASIC_RATES NL80211_ATTR_BSS_BASIC_RATES
496 #define NL80211_ATTR_WIPHY_TXQ_PARAMS NL80211_ATTR_WIPHY_TXQ_PARAMS
497 #define NL80211_ATTR_WIPHY_FREQ NL80211_ATTR_WIPHY_FREQ
498 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
499 #define NL80211_ATTR_WIPHY_CHANNEL_TYPE NL80211_ATTR_WIPHY_CHANNEL_TYPE
500 #define NL80211_ATTR_MGMT_SUBTYPE NL80211_ATTR_MGMT_SUBTYPE
501 #define NL80211_ATTR_IE NL80211_ATTR_IE
502 #define NL80211_ATTR_REG_INITIATOR NL80211_ATTR_REG_INITIATOR
503 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
504 #define NL80211_ATTR_REG_TYPE NL80211_ATTR_REG_TYPE
505 #define NL80211_ATTR_FRAME NL80211_ATTR_FRAME
506 #define NL80211_ATTR_SSID NL80211_ATTR_SSID
507 #define NL80211_ATTR_AUTH_TYPE NL80211_ATTR_AUTH_TYPE
508 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
509 #define NL80211_ATTR_REASON_CODE NL80211_ATTR_REASON_CODE
510 #define NL80211_ATTR_CIPHER_SUITES_PAIRWISE NL80211_ATTR_CIPHER_SUITES_PAIRWISE
511 #define NL80211_ATTR_CIPHER_SUITE_GROUP NL80211_ATTR_CIPHER_SUITE_GROUP
512 #define NL80211_ATTR_WPA_VERSIONS NL80211_ATTR_WPA_VERSIONS
513 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
514 #define NL80211_ATTR_AKM_SUITES NL80211_ATTR_AKM_SUITES
515 #define NL80211_ATTR_KEY NL80211_ATTR_KEY
516 #define NL80211_ATTR_KEYS NL80211_ATTR_KEYS
517 #define NL80211_ATTR_FEATURE_FLAGS NL80211_ATTR_FEATURE_FLAGS
518 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
519 #define NL80211_MAX_SUPP_RATES 32
520 #define NL80211_MAX_SUPP_HT_RATES 77
521 #define NL80211_MAX_SUPP_REG_RULES 64
522 #define NL80211_TKIP_DATA_OFFSET_ENCR_KEY 0
523 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
524 #define NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY 16
525 #define NL80211_TKIP_DATA_OFFSET_RX_MIC_KEY 24
526 #define NL80211_HT_CAPABILITY_LEN 26
527 #define NL80211_VHT_CAPABILITY_LEN 12
528 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
529 #define NL80211_MAX_NR_CIPHER_SUITES 5
530 #define NL80211_MAX_NR_AKM_SUITES 2
531 #define NL80211_MIN_REMAIN_ON_CHANNEL_TIME 10
532 #define NL80211_SCAN_RSSI_THOLD_OFF - 300
533 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
534 #define NL80211_CQM_TXE_MAX_INTVL 1800
535 enum nl80211_iftype {
536   NL80211_IFTYPE_UNSPECIFIED,
537   NL80211_IFTYPE_ADHOC,
538 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
539   NL80211_IFTYPE_STATION,
540   NL80211_IFTYPE_AP,
541   NL80211_IFTYPE_AP_VLAN,
542   NL80211_IFTYPE_WDS,
543 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
544   NL80211_IFTYPE_MONITOR,
545   NL80211_IFTYPE_MESH_POINT,
546   NL80211_IFTYPE_P2P_CLIENT,
547   NL80211_IFTYPE_P2P_GO,
548 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
549   NL80211_IFTYPE_P2P_DEVICE,
550   NL80211_IFTYPE_OCB,
551   NUM_NL80211_IFTYPES,
552   NL80211_IFTYPE_MAX = NUM_NL80211_IFTYPES - 1
553 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
554 };
555 enum nl80211_sta_flags {
556   __NL80211_STA_FLAG_INVALID,
557   NL80211_STA_FLAG_AUTHORIZED,
558 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
559   NL80211_STA_FLAG_SHORT_PREAMBLE,
560   NL80211_STA_FLAG_WME,
561   NL80211_STA_FLAG_MFP,
562   NL80211_STA_FLAG_AUTHENTICATED,
563 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
564   NL80211_STA_FLAG_TDLS_PEER,
565   NL80211_STA_FLAG_ASSOCIATED,
566   __NL80211_STA_FLAG_AFTER_LAST,
567   NL80211_STA_FLAG_MAX = __NL80211_STA_FLAG_AFTER_LAST - 1
568 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
569 };
570 #define NL80211_STA_FLAG_MAX_OLD_API NL80211_STA_FLAG_TDLS_PEER
571 struct nl80211_sta_flag_update {
572   __u32 mask;
573 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
574   __u32 set;
575 } __attribute__((packed));
576 enum nl80211_rate_info {
577   __NL80211_RATE_INFO_INVALID,
578 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
579   NL80211_RATE_INFO_BITRATE,
580   NL80211_RATE_INFO_MCS,
581   NL80211_RATE_INFO_40_MHZ_WIDTH,
582   NL80211_RATE_INFO_SHORT_GI,
583 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
584   NL80211_RATE_INFO_BITRATE32,
585   NL80211_RATE_INFO_VHT_MCS,
586   NL80211_RATE_INFO_VHT_NSS,
587   NL80211_RATE_INFO_80_MHZ_WIDTH,
588 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
589   NL80211_RATE_INFO_80P80_MHZ_WIDTH,
590   NL80211_RATE_INFO_160_MHZ_WIDTH,
591   NL80211_RATE_INFO_10_MHZ_WIDTH,
592   NL80211_RATE_INFO_5_MHZ_WIDTH,
593 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
594   __NL80211_RATE_INFO_AFTER_LAST,
595   NL80211_RATE_INFO_MAX = __NL80211_RATE_INFO_AFTER_LAST - 1
596 };
597 enum nl80211_sta_bss_param {
598 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
599   __NL80211_STA_BSS_PARAM_INVALID,
600   NL80211_STA_BSS_PARAM_CTS_PROT,
601   NL80211_STA_BSS_PARAM_SHORT_PREAMBLE,
602   NL80211_STA_BSS_PARAM_SHORT_SLOT_TIME,
603 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
604   NL80211_STA_BSS_PARAM_DTIM_PERIOD,
605   NL80211_STA_BSS_PARAM_BEACON_INTERVAL,
606   __NL80211_STA_BSS_PARAM_AFTER_LAST,
607   NL80211_STA_BSS_PARAM_MAX = __NL80211_STA_BSS_PARAM_AFTER_LAST - 1
608 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
609 };
610 enum nl80211_sta_info {
611   __NL80211_STA_INFO_INVALID,
612   NL80211_STA_INFO_INACTIVE_TIME,
613 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
614   NL80211_STA_INFO_RX_BYTES,
615   NL80211_STA_INFO_TX_BYTES,
616   NL80211_STA_INFO_LLID,
617   NL80211_STA_INFO_PLID,
618 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
619   NL80211_STA_INFO_PLINK_STATE,
620   NL80211_STA_INFO_SIGNAL,
621   NL80211_STA_INFO_TX_BITRATE,
622   NL80211_STA_INFO_RX_PACKETS,
623 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
624   NL80211_STA_INFO_TX_PACKETS,
625   NL80211_STA_INFO_TX_RETRIES,
626   NL80211_STA_INFO_TX_FAILED,
627   NL80211_STA_INFO_SIGNAL_AVG,
628 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
629   NL80211_STA_INFO_RX_BITRATE,
630   NL80211_STA_INFO_BSS_PARAM,
631   NL80211_STA_INFO_CONNECTED_TIME,
632   NL80211_STA_INFO_STA_FLAGS,
633 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
634   NL80211_STA_INFO_BEACON_LOSS,
635   NL80211_STA_INFO_T_OFFSET,
636   NL80211_STA_INFO_LOCAL_PM,
637   NL80211_STA_INFO_PEER_PM,
638 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
639   NL80211_STA_INFO_NONPEER_PM,
640   NL80211_STA_INFO_RX_BYTES64,
641   NL80211_STA_INFO_TX_BYTES64,
642   NL80211_STA_INFO_CHAIN_SIGNAL,
643 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
644   NL80211_STA_INFO_CHAIN_SIGNAL_AVG,
645   NL80211_STA_INFO_EXPECTED_THROUGHPUT,
646   NL80211_STA_INFO_RX_DROP_MISC,
647   NL80211_STA_INFO_BEACON_RX,
648 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
649   NL80211_STA_INFO_BEACON_SIGNAL_AVG,
650   NL80211_STA_INFO_TID_STATS,
651   __NL80211_STA_INFO_AFTER_LAST,
652   NL80211_STA_INFO_MAX = __NL80211_STA_INFO_AFTER_LAST - 1
653 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
654 };
655 enum nl80211_tid_stats {
656   __NL80211_TID_STATS_INVALID,
657   NL80211_TID_STATS_RX_MSDU,
658 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
659   NL80211_TID_STATS_TX_MSDU,
660   NL80211_TID_STATS_TX_MSDU_RETRIES,
661   NL80211_TID_STATS_TX_MSDU_FAILED,
662   NUM_NL80211_TID_STATS,
663 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
664   NL80211_TID_STATS_MAX = NUM_NL80211_TID_STATS - 1
665 };
666 enum nl80211_mpath_flags {
667   NL80211_MPATH_FLAG_ACTIVE = 1 << 0,
668 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
669   NL80211_MPATH_FLAG_RESOLVING = 1 << 1,
670   NL80211_MPATH_FLAG_SN_VALID = 1 << 2,
671   NL80211_MPATH_FLAG_FIXED = 1 << 3,
672   NL80211_MPATH_FLAG_RESOLVED = 1 << 4,
673 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
674 };
675 enum nl80211_mpath_info {
676   __NL80211_MPATH_INFO_INVALID,
677   NL80211_MPATH_INFO_FRAME_QLEN,
678 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
679   NL80211_MPATH_INFO_SN,
680   NL80211_MPATH_INFO_METRIC,
681   NL80211_MPATH_INFO_EXPTIME,
682   NL80211_MPATH_INFO_FLAGS,
683 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
684   NL80211_MPATH_INFO_DISCOVERY_TIMEOUT,
685   NL80211_MPATH_INFO_DISCOVERY_RETRIES,
686   __NL80211_MPATH_INFO_AFTER_LAST,
687   NL80211_MPATH_INFO_MAX = __NL80211_MPATH_INFO_AFTER_LAST - 1
688 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
689 };
690 enum nl80211_band_attr {
691   __NL80211_BAND_ATTR_INVALID,
692   NL80211_BAND_ATTR_FREQS,
693 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
694   NL80211_BAND_ATTR_RATES,
695   NL80211_BAND_ATTR_HT_MCS_SET,
696   NL80211_BAND_ATTR_HT_CAPA,
697   NL80211_BAND_ATTR_HT_AMPDU_FACTOR,
698 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
699   NL80211_BAND_ATTR_HT_AMPDU_DENSITY,
700   NL80211_BAND_ATTR_VHT_MCS_SET,
701   NL80211_BAND_ATTR_VHT_CAPA,
702   __NL80211_BAND_ATTR_AFTER_LAST,
703 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
704   NL80211_BAND_ATTR_MAX = __NL80211_BAND_ATTR_AFTER_LAST - 1
705 };
706 #define NL80211_BAND_ATTR_HT_CAPA NL80211_BAND_ATTR_HT_CAPA
707 enum nl80211_frequency_attr {
708 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
709   __NL80211_FREQUENCY_ATTR_INVALID,
710   NL80211_FREQUENCY_ATTR_FREQ,
711   NL80211_FREQUENCY_ATTR_DISABLED,
712   NL80211_FREQUENCY_ATTR_NO_IR,
713 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
714   __NL80211_FREQUENCY_ATTR_NO_IBSS,
715   NL80211_FREQUENCY_ATTR_RADAR,
716   NL80211_FREQUENCY_ATTR_MAX_TX_POWER,
717   NL80211_FREQUENCY_ATTR_DFS_STATE,
718 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
719   NL80211_FREQUENCY_ATTR_DFS_TIME,
720   NL80211_FREQUENCY_ATTR_NO_HT40_MINUS,
721   NL80211_FREQUENCY_ATTR_NO_HT40_PLUS,
722   NL80211_FREQUENCY_ATTR_NO_80MHZ,
723 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
724   NL80211_FREQUENCY_ATTR_NO_160MHZ,
725   NL80211_FREQUENCY_ATTR_DFS_CAC_TIME,
726   NL80211_FREQUENCY_ATTR_INDOOR_ONLY,
727   NL80211_FREQUENCY_ATTR_IR_CONCURRENT,
728 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
729   NL80211_FREQUENCY_ATTR_NO_20MHZ,
730   NL80211_FREQUENCY_ATTR_NO_10MHZ,
731   __NL80211_FREQUENCY_ATTR_AFTER_LAST,
732   NL80211_FREQUENCY_ATTR_MAX = __NL80211_FREQUENCY_ATTR_AFTER_LAST - 1
733 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
734 };
735 #define NL80211_FREQUENCY_ATTR_MAX_TX_POWER NL80211_FREQUENCY_ATTR_MAX_TX_POWER
736 #define NL80211_FREQUENCY_ATTR_PASSIVE_SCAN NL80211_FREQUENCY_ATTR_NO_IR
737 #define NL80211_FREQUENCY_ATTR_NO_IBSS NL80211_FREQUENCY_ATTR_NO_IR
738 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
739 #define NL80211_FREQUENCY_ATTR_NO_IR NL80211_FREQUENCY_ATTR_NO_IR
740 #define NL80211_FREQUENCY_ATTR_GO_CONCURRENT NL80211_FREQUENCY_ATTR_IR_CONCURRENT
741 enum nl80211_bitrate_attr {
742   __NL80211_BITRATE_ATTR_INVALID,
743 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
744   NL80211_BITRATE_ATTR_RATE,
745   NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE,
746   __NL80211_BITRATE_ATTR_AFTER_LAST,
747   NL80211_BITRATE_ATTR_MAX = __NL80211_BITRATE_ATTR_AFTER_LAST - 1
748 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
749 };
750 enum nl80211_reg_initiator {
751   NL80211_REGDOM_SET_BY_CORE,
752   NL80211_REGDOM_SET_BY_USER,
753 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
754   NL80211_REGDOM_SET_BY_DRIVER,
755   NL80211_REGDOM_SET_BY_COUNTRY_IE,
756 };
757 enum nl80211_reg_type {
758 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
759   NL80211_REGDOM_TYPE_COUNTRY,
760   NL80211_REGDOM_TYPE_WORLD,
761   NL80211_REGDOM_TYPE_CUSTOM_WORLD,
762   NL80211_REGDOM_TYPE_INTERSECTION,
763 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
764 };
765 enum nl80211_reg_rule_attr {
766   __NL80211_REG_RULE_ATTR_INVALID,
767   NL80211_ATTR_REG_RULE_FLAGS,
768 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
769   NL80211_ATTR_FREQ_RANGE_START,
770   NL80211_ATTR_FREQ_RANGE_END,
771   NL80211_ATTR_FREQ_RANGE_MAX_BW,
772   NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN,
773 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
774   NL80211_ATTR_POWER_RULE_MAX_EIRP,
775   NL80211_ATTR_DFS_CAC_TIME,
776   __NL80211_REG_RULE_ATTR_AFTER_LAST,
777   NL80211_REG_RULE_ATTR_MAX = __NL80211_REG_RULE_ATTR_AFTER_LAST - 1
778 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
779 };
780 enum nl80211_sched_scan_match_attr {
781   __NL80211_SCHED_SCAN_MATCH_ATTR_INVALID,
782   NL80211_SCHED_SCAN_MATCH_ATTR_SSID,
783 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
784   NL80211_SCHED_SCAN_MATCH_ATTR_RSSI,
785   __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST,
786   NL80211_SCHED_SCAN_MATCH_ATTR_MAX = __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST - 1
787 };
788 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
789 #define NL80211_ATTR_SCHED_SCAN_MATCH_SSID NL80211_SCHED_SCAN_MATCH_ATTR_SSID
790 enum nl80211_reg_rule_flags {
791   NL80211_RRF_NO_OFDM = 1 << 0,
792   NL80211_RRF_NO_CCK = 1 << 1,
793 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
794   NL80211_RRF_NO_INDOOR = 1 << 2,
795   NL80211_RRF_NO_OUTDOOR = 1 << 3,
796   NL80211_RRF_DFS = 1 << 4,
797   NL80211_RRF_PTP_ONLY = 1 << 5,
798 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
799   NL80211_RRF_PTMP_ONLY = 1 << 6,
800   NL80211_RRF_NO_IR = 1 << 7,
801   __NL80211_RRF_NO_IBSS = 1 << 8,
802   NL80211_RRF_AUTO_BW = 1 << 11,
803 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
804   NL80211_RRF_IR_CONCURRENT = 1 << 12,
805   NL80211_RRF_NO_HT40MINUS = 1 << 13,
806   NL80211_RRF_NO_HT40PLUS = 1 << 14,
807   NL80211_RRF_NO_80MHZ = 1 << 15,
808 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
809   NL80211_RRF_NO_160MHZ = 1 << 16,
810 };
811 #define NL80211_RRF_PASSIVE_SCAN NL80211_RRF_NO_IR
812 #define NL80211_RRF_NO_IBSS NL80211_RRF_NO_IR
813 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
814 #define NL80211_RRF_NO_IR NL80211_RRF_NO_IR
815 #define NL80211_RRF_NO_HT40 (NL80211_RRF_NO_HT40MINUS | NL80211_RRF_NO_HT40PLUS)
816 #define NL80211_RRF_GO_CONCURRENT NL80211_RRF_IR_CONCURRENT
817 #define NL80211_RRF_NO_IR_ALL (NL80211_RRF_NO_IR | __NL80211_RRF_NO_IBSS)
818 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
819 enum nl80211_dfs_regions {
820   NL80211_DFS_UNSET = 0,
821   NL80211_DFS_FCC = 1,
822   NL80211_DFS_ETSI = 2,
823 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
824   NL80211_DFS_JP = 3,
825 };
826 enum nl80211_user_reg_hint_type {
827   NL80211_USER_REG_HINT_USER = 0,
828 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
829   NL80211_USER_REG_HINT_CELL_BASE = 1,
830   NL80211_USER_REG_HINT_INDOOR = 2,
831 };
832 enum nl80211_survey_info {
833 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
834   __NL80211_SURVEY_INFO_INVALID,
835   NL80211_SURVEY_INFO_FREQUENCY,
836   NL80211_SURVEY_INFO_NOISE,
837   NL80211_SURVEY_INFO_IN_USE,
838 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
839   NL80211_SURVEY_INFO_TIME,
840   NL80211_SURVEY_INFO_TIME_BUSY,
841   NL80211_SURVEY_INFO_TIME_EXT_BUSY,
842   NL80211_SURVEY_INFO_TIME_RX,
843 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
844   NL80211_SURVEY_INFO_TIME_TX,
845   NL80211_SURVEY_INFO_TIME_SCAN,
846   __NL80211_SURVEY_INFO_AFTER_LAST,
847   NL80211_SURVEY_INFO_MAX = __NL80211_SURVEY_INFO_AFTER_LAST - 1
848 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
849 };
850 #define NL80211_SURVEY_INFO_CHANNEL_TIME NL80211_SURVEY_INFO_TIME
851 #define NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY NL80211_SURVEY_INFO_TIME_BUSY
852 #define NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY NL80211_SURVEY_INFO_TIME_EXT_BUSY
853 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
854 #define NL80211_SURVEY_INFO_CHANNEL_TIME_RX NL80211_SURVEY_INFO_TIME_RX
855 #define NL80211_SURVEY_INFO_CHANNEL_TIME_TX NL80211_SURVEY_INFO_TIME_TX
856 enum nl80211_mntr_flags {
857   __NL80211_MNTR_FLAG_INVALID,
858 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
859   NL80211_MNTR_FLAG_FCSFAIL,
860   NL80211_MNTR_FLAG_PLCPFAIL,
861   NL80211_MNTR_FLAG_CONTROL,
862   NL80211_MNTR_FLAG_OTHER_BSS,
863 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
864   NL80211_MNTR_FLAG_COOK_FRAMES,
865   NL80211_MNTR_FLAG_ACTIVE,
866   __NL80211_MNTR_FLAG_AFTER_LAST,
867   NL80211_MNTR_FLAG_MAX = __NL80211_MNTR_FLAG_AFTER_LAST - 1
868 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
869 };
870 enum nl80211_mesh_power_mode {
871   NL80211_MESH_POWER_UNKNOWN,
872   NL80211_MESH_POWER_ACTIVE,
873 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
874   NL80211_MESH_POWER_LIGHT_SLEEP,
875   NL80211_MESH_POWER_DEEP_SLEEP,
876   __NL80211_MESH_POWER_AFTER_LAST,
877   NL80211_MESH_POWER_MAX = __NL80211_MESH_POWER_AFTER_LAST - 1
878 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
879 };
880 enum nl80211_meshconf_params {
881   __NL80211_MESHCONF_INVALID,
882   NL80211_MESHCONF_RETRY_TIMEOUT,
883 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
884   NL80211_MESHCONF_CONFIRM_TIMEOUT,
885   NL80211_MESHCONF_HOLDING_TIMEOUT,
886   NL80211_MESHCONF_MAX_PEER_LINKS,
887   NL80211_MESHCONF_MAX_RETRIES,
888 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
889   NL80211_MESHCONF_TTL,
890   NL80211_MESHCONF_AUTO_OPEN_PLINKS,
891   NL80211_MESHCONF_HWMP_MAX_PREQ_RETRIES,
892   NL80211_MESHCONF_PATH_REFRESH_TIME,
893 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
894   NL80211_MESHCONF_MIN_DISCOVERY_TIMEOUT,
895   NL80211_MESHCONF_HWMP_ACTIVE_PATH_TIMEOUT,
896   NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL,
897   NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME,
898 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
899   NL80211_MESHCONF_HWMP_ROOTMODE,
900   NL80211_MESHCONF_ELEMENT_TTL,
901   NL80211_MESHCONF_HWMP_RANN_INTERVAL,
902   NL80211_MESHCONF_GATE_ANNOUNCEMENTS,
903 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
904   NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL,
905   NL80211_MESHCONF_FORWARDING,
906   NL80211_MESHCONF_RSSI_THRESHOLD,
907   NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR,
908 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
909   NL80211_MESHCONF_HT_OPMODE,
910   NL80211_MESHCONF_HWMP_PATH_TO_ROOT_TIMEOUT,
911   NL80211_MESHCONF_HWMP_ROOT_INTERVAL,
912   NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL,
913 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
914   NL80211_MESHCONF_POWER_MODE,
915   NL80211_MESHCONF_AWAKE_WINDOW,
916   NL80211_MESHCONF_PLINK_TIMEOUT,
917   __NL80211_MESHCONF_ATTR_AFTER_LAST,
918 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
919   NL80211_MESHCONF_ATTR_MAX = __NL80211_MESHCONF_ATTR_AFTER_LAST - 1
920 };
921 enum nl80211_mesh_setup_params {
922   __NL80211_MESH_SETUP_INVALID,
923 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
924   NL80211_MESH_SETUP_ENABLE_VENDOR_PATH_SEL,
925   NL80211_MESH_SETUP_ENABLE_VENDOR_METRIC,
926   NL80211_MESH_SETUP_IE,
927   NL80211_MESH_SETUP_USERSPACE_AUTH,
928 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
929   NL80211_MESH_SETUP_USERSPACE_AMPE,
930   NL80211_MESH_SETUP_ENABLE_VENDOR_SYNC,
931   NL80211_MESH_SETUP_USERSPACE_MPM,
932   NL80211_MESH_SETUP_AUTH_PROTOCOL,
933 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
934   __NL80211_MESH_SETUP_ATTR_AFTER_LAST,
935   NL80211_MESH_SETUP_ATTR_MAX = __NL80211_MESH_SETUP_ATTR_AFTER_LAST - 1
936 };
937 enum nl80211_txq_attr {
938 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
939   __NL80211_TXQ_ATTR_INVALID,
940   NL80211_TXQ_ATTR_AC,
941   NL80211_TXQ_ATTR_TXOP,
942   NL80211_TXQ_ATTR_CWMIN,
943 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
944   NL80211_TXQ_ATTR_CWMAX,
945   NL80211_TXQ_ATTR_AIFS,
946   __NL80211_TXQ_ATTR_AFTER_LAST,
947   NL80211_TXQ_ATTR_MAX = __NL80211_TXQ_ATTR_AFTER_LAST - 1
948 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
949 };
950 enum nl80211_ac {
951   NL80211_AC_VO,
952   NL80211_AC_VI,
953 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
954   NL80211_AC_BE,
955   NL80211_AC_BK,
956   NL80211_NUM_ACS
957 };
958 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
959 #define NL80211_TXQ_ATTR_QUEUE NL80211_TXQ_ATTR_AC
960 #define NL80211_TXQ_Q_VO NL80211_AC_VO
961 #define NL80211_TXQ_Q_VI NL80211_AC_VI
962 #define NL80211_TXQ_Q_BE NL80211_AC_BE
963 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
964 #define NL80211_TXQ_Q_BK NL80211_AC_BK
965 enum nl80211_channel_type {
966   NL80211_CHAN_NO_HT,
967   NL80211_CHAN_HT20,
968 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
969   NL80211_CHAN_HT40MINUS,
970   NL80211_CHAN_HT40PLUS
971 };
972 enum nl80211_chan_width {
973 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
974   NL80211_CHAN_WIDTH_20_NOHT,
975   NL80211_CHAN_WIDTH_20,
976   NL80211_CHAN_WIDTH_40,
977   NL80211_CHAN_WIDTH_80,
978 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
979   NL80211_CHAN_WIDTH_80P80,
980   NL80211_CHAN_WIDTH_160,
981   NL80211_CHAN_WIDTH_5,
982   NL80211_CHAN_WIDTH_10,
983 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
984 };
985 enum nl80211_bss_scan_width {
986   NL80211_BSS_CHAN_WIDTH_20,
987   NL80211_BSS_CHAN_WIDTH_10,
988 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
989   NL80211_BSS_CHAN_WIDTH_5,
990 };
991 enum nl80211_bss {
992   __NL80211_BSS_INVALID,
993 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
994   NL80211_BSS_BSSID,
995   NL80211_BSS_FREQUENCY,
996   NL80211_BSS_TSF,
997   NL80211_BSS_BEACON_INTERVAL,
998 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
999   NL80211_BSS_CAPABILITY,
1000   NL80211_BSS_INFORMATION_ELEMENTS,
1001   NL80211_BSS_SIGNAL_MBM,
1002   NL80211_BSS_SIGNAL_UNSPEC,
1003 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1004   NL80211_BSS_STATUS,
1005   NL80211_BSS_SEEN_MS_AGO,
1006   NL80211_BSS_BEACON_IES,
1007   NL80211_BSS_CHAN_WIDTH,
1008 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1009   NL80211_BSS_BEACON_TSF,
1010   NL80211_BSS_PRESP_DATA,
1011   NL80211_BSS_LAST_SEEN_BOOTTIME,
1012   __NL80211_BSS_AFTER_LAST,
1013 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1014   NL80211_BSS_MAX = __NL80211_BSS_AFTER_LAST - 1
1015 };
1016 enum nl80211_bss_status {
1017   NL80211_BSS_STATUS_AUTHENTICATED,
1018 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1019   NL80211_BSS_STATUS_ASSOCIATED,
1020   NL80211_BSS_STATUS_IBSS_JOINED,
1021 };
1022 enum nl80211_auth_type {
1023 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1024   NL80211_AUTHTYPE_OPEN_SYSTEM,
1025   NL80211_AUTHTYPE_SHARED_KEY,
1026   NL80211_AUTHTYPE_FT,
1027   NL80211_AUTHTYPE_NETWORK_EAP,
1028 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1029   NL80211_AUTHTYPE_SAE,
1030   __NL80211_AUTHTYPE_NUM,
1031   NL80211_AUTHTYPE_MAX = __NL80211_AUTHTYPE_NUM - 1,
1032   NL80211_AUTHTYPE_AUTOMATIC
1033 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1034 };
1035 enum nl80211_key_type {
1036   NL80211_KEYTYPE_GROUP,
1037   NL80211_KEYTYPE_PAIRWISE,
1038 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1039   NL80211_KEYTYPE_PEERKEY,
1040   NUM_NL80211_KEYTYPES
1041 };
1042 enum nl80211_mfp {
1043 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1044   NL80211_MFP_NO,
1045   NL80211_MFP_REQUIRED,
1046 };
1047 enum nl80211_wpa_versions {
1048 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1049   NL80211_WPA_VERSION_1 = 1 << 0,
1050   NL80211_WPA_VERSION_2 = 1 << 1,
1051 };
1052 enum nl80211_key_default_types {
1053 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1054   __NL80211_KEY_DEFAULT_TYPE_INVALID,
1055   NL80211_KEY_DEFAULT_TYPE_UNICAST,
1056   NL80211_KEY_DEFAULT_TYPE_MULTICAST,
1057   NUM_NL80211_KEY_DEFAULT_TYPES
1058 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1059 };
1060 enum nl80211_key_attributes {
1061   __NL80211_KEY_INVALID,
1062   NL80211_KEY_DATA,
1063 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1064   NL80211_KEY_IDX,
1065   NL80211_KEY_CIPHER,
1066   NL80211_KEY_SEQ,
1067   NL80211_KEY_DEFAULT,
1068 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1069   NL80211_KEY_DEFAULT_MGMT,
1070   NL80211_KEY_TYPE,
1071   NL80211_KEY_DEFAULT_TYPES,
1072   __NL80211_KEY_AFTER_LAST,
1073 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1074   NL80211_KEY_MAX = __NL80211_KEY_AFTER_LAST - 1
1075 };
1076 enum nl80211_tx_rate_attributes {
1077   __NL80211_TXRATE_INVALID,
1078 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1079   NL80211_TXRATE_LEGACY,
1080   NL80211_TXRATE_HT,
1081   NL80211_TXRATE_VHT,
1082   NL80211_TXRATE_GI,
1083 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1084   __NL80211_TXRATE_AFTER_LAST,
1085   NL80211_TXRATE_MAX = __NL80211_TXRATE_AFTER_LAST - 1
1086 };
1087 #define NL80211_TXRATE_MCS NL80211_TXRATE_HT
1088 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1089 #define NL80211_VHT_NSS_MAX 8
1090 struct nl80211_txrate_vht {
1091   __u16 mcs[NL80211_VHT_NSS_MAX];
1092 };
1093 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1094 enum nl80211_txrate_gi {
1095   NL80211_TXRATE_DEFAULT_GI,
1096   NL80211_TXRATE_FORCE_SGI,
1097   NL80211_TXRATE_FORCE_LGI,
1098 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1099 };
1100 enum nl80211_band {
1101   NL80211_BAND_2GHZ,
1102   NL80211_BAND_5GHZ,
1103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1104   NL80211_BAND_60GHZ,
1105 };
1106 enum nl80211_ps_state {
1107   NL80211_PS_DISABLED,
1108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1109   NL80211_PS_ENABLED,
1110 };
1111 enum nl80211_attr_cqm {
1112   __NL80211_ATTR_CQM_INVALID,
1113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1114   NL80211_ATTR_CQM_RSSI_THOLD,
1115   NL80211_ATTR_CQM_RSSI_HYST,
1116   NL80211_ATTR_CQM_RSSI_THRESHOLD_EVENT,
1117   NL80211_ATTR_CQM_PKT_LOSS_EVENT,
1118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1119   NL80211_ATTR_CQM_TXE_RATE,
1120   NL80211_ATTR_CQM_TXE_PKTS,
1121   NL80211_ATTR_CQM_TXE_INTVL,
1122   NL80211_ATTR_CQM_BEACON_LOSS_EVENT,
1123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1124   __NL80211_ATTR_CQM_AFTER_LAST,
1125   NL80211_ATTR_CQM_MAX = __NL80211_ATTR_CQM_AFTER_LAST - 1
1126 };
1127 enum nl80211_cqm_rssi_threshold_event {
1128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1129   NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW,
1130   NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH,
1131   NL80211_CQM_RSSI_BEACON_LOSS_EVENT,
1132 };
1133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1134 enum nl80211_tx_power_setting {
1135   NL80211_TX_POWER_AUTOMATIC,
1136   NL80211_TX_POWER_LIMITED,
1137   NL80211_TX_POWER_FIXED,
1138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1139 };
1140 enum nl80211_packet_pattern_attr {
1141   __NL80211_PKTPAT_INVALID,
1142   NL80211_PKTPAT_MASK,
1143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1144   NL80211_PKTPAT_PATTERN,
1145   NL80211_PKTPAT_OFFSET,
1146   NUM_NL80211_PKTPAT,
1147   MAX_NL80211_PKTPAT = NUM_NL80211_PKTPAT - 1,
1148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1149 };
1150 struct nl80211_pattern_support {
1151   __u32 max_patterns;
1152   __u32 min_pattern_len;
1153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1154   __u32 max_pattern_len;
1155   __u32 max_pkt_offset;
1156 } __attribute__((packed));
1157 #define __NL80211_WOWLAN_PKTPAT_INVALID __NL80211_PKTPAT_INVALID
1158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1159 #define NL80211_WOWLAN_PKTPAT_MASK NL80211_PKTPAT_MASK
1160 #define NL80211_WOWLAN_PKTPAT_PATTERN NL80211_PKTPAT_PATTERN
1161 #define NL80211_WOWLAN_PKTPAT_OFFSET NL80211_PKTPAT_OFFSET
1162 #define NUM_NL80211_WOWLAN_PKTPAT NUM_NL80211_PKTPAT
1163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1164 #define MAX_NL80211_WOWLAN_PKTPAT MAX_NL80211_PKTPAT
1165 #define nl80211_wowlan_pattern_support nl80211_pattern_support
1166 enum nl80211_wowlan_triggers {
1167   __NL80211_WOWLAN_TRIG_INVALID,
1168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1169   NL80211_WOWLAN_TRIG_ANY,
1170   NL80211_WOWLAN_TRIG_DISCONNECT,
1171   NL80211_WOWLAN_TRIG_MAGIC_PKT,
1172   NL80211_WOWLAN_TRIG_PKT_PATTERN,
1173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1174   NL80211_WOWLAN_TRIG_GTK_REKEY_SUPPORTED,
1175   NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE,
1176   NL80211_WOWLAN_TRIG_EAP_IDENT_REQUEST,
1177   NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE,
1178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1179   NL80211_WOWLAN_TRIG_RFKILL_RELEASE,
1180   NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211,
1181   NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211_LEN,
1182   NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023,
1183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1184   NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023_LEN,
1185   NL80211_WOWLAN_TRIG_TCP_CONNECTION,
1186   NL80211_WOWLAN_TRIG_WAKEUP_TCP_MATCH,
1187   NL80211_WOWLAN_TRIG_WAKEUP_TCP_CONNLOST,
1188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1189   NL80211_WOWLAN_TRIG_WAKEUP_TCP_NOMORETOKENS,
1190   NL80211_WOWLAN_TRIG_NET_DETECT,
1191   NL80211_WOWLAN_TRIG_NET_DETECT_RESULTS,
1192   NUM_NL80211_WOWLAN_TRIG,
1193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1194   MAX_NL80211_WOWLAN_TRIG = NUM_NL80211_WOWLAN_TRIG - 1
1195 };
1196 struct nl80211_wowlan_tcp_data_seq {
1197   __u32 start, offset, len;
1198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1199 };
1200 struct nl80211_wowlan_tcp_data_token {
1201   __u32 offset, len;
1202   __u8 token_stream[];
1203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1204 };
1205 struct nl80211_wowlan_tcp_data_token_feature {
1206   __u32 min_len, max_len, bufsize;
1207 };
1208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1209 enum nl80211_wowlan_tcp_attrs {
1210   __NL80211_WOWLAN_TCP_INVALID,
1211   NL80211_WOWLAN_TCP_SRC_IPV4,
1212   NL80211_WOWLAN_TCP_DST_IPV4,
1213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1214   NL80211_WOWLAN_TCP_DST_MAC,
1215   NL80211_WOWLAN_TCP_SRC_PORT,
1216   NL80211_WOWLAN_TCP_DST_PORT,
1217   NL80211_WOWLAN_TCP_DATA_PAYLOAD,
1218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1219   NL80211_WOWLAN_TCP_DATA_PAYLOAD_SEQ,
1220   NL80211_WOWLAN_TCP_DATA_PAYLOAD_TOKEN,
1221   NL80211_WOWLAN_TCP_DATA_INTERVAL,
1222   NL80211_WOWLAN_TCP_WAKE_PAYLOAD,
1223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1224   NL80211_WOWLAN_TCP_WAKE_MASK,
1225   NUM_NL80211_WOWLAN_TCP,
1226   MAX_NL80211_WOWLAN_TCP = NUM_NL80211_WOWLAN_TCP - 1
1227 };
1228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1229 struct nl80211_coalesce_rule_support {
1230   __u32 max_rules;
1231   struct nl80211_pattern_support pat;
1232   __u32 max_delay;
1233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1234 } __attribute__((packed));
1235 enum nl80211_attr_coalesce_rule {
1236   __NL80211_COALESCE_RULE_INVALID,
1237   NL80211_ATTR_COALESCE_RULE_DELAY,
1238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1239   NL80211_ATTR_COALESCE_RULE_CONDITION,
1240   NL80211_ATTR_COALESCE_RULE_PKT_PATTERN,
1241   NUM_NL80211_ATTR_COALESCE_RULE,
1242   NL80211_ATTR_COALESCE_RULE_MAX = NUM_NL80211_ATTR_COALESCE_RULE - 1
1243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1244 };
1245 enum nl80211_coalesce_condition {
1246   NL80211_COALESCE_CONDITION_MATCH,
1247   NL80211_COALESCE_CONDITION_NO_MATCH
1248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1249 };
1250 enum nl80211_iface_limit_attrs {
1251   NL80211_IFACE_LIMIT_UNSPEC,
1252   NL80211_IFACE_LIMIT_MAX,
1253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1254   NL80211_IFACE_LIMIT_TYPES,
1255   NUM_NL80211_IFACE_LIMIT,
1256   MAX_NL80211_IFACE_LIMIT = NUM_NL80211_IFACE_LIMIT - 1
1257 };
1258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1259 enum nl80211_if_combination_attrs {
1260   NL80211_IFACE_COMB_UNSPEC,
1261   NL80211_IFACE_COMB_LIMITS,
1262   NL80211_IFACE_COMB_MAXNUM,
1263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1264   NL80211_IFACE_COMB_STA_AP_BI_MATCH,
1265   NL80211_IFACE_COMB_NUM_CHANNELS,
1266   NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS,
1267   NL80211_IFACE_COMB_RADAR_DETECT_REGIONS,
1268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1269   NUM_NL80211_IFACE_COMB,
1270   MAX_NL80211_IFACE_COMB = NUM_NL80211_IFACE_COMB - 1
1271 };
1272 enum nl80211_plink_state {
1273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1274   NL80211_PLINK_LISTEN,
1275   NL80211_PLINK_OPN_SNT,
1276   NL80211_PLINK_OPN_RCVD,
1277   NL80211_PLINK_CNF_RCVD,
1278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1279   NL80211_PLINK_ESTAB,
1280   NL80211_PLINK_HOLDING,
1281   NL80211_PLINK_BLOCKED,
1282   NUM_NL80211_PLINK_STATES,
1283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1284   MAX_NL80211_PLINK_STATES = NUM_NL80211_PLINK_STATES - 1
1285 };
1286 enum plink_actions {
1287   NL80211_PLINK_ACTION_NO_ACTION,
1288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1289   NL80211_PLINK_ACTION_OPEN,
1290   NL80211_PLINK_ACTION_BLOCK,
1291   NUM_NL80211_PLINK_ACTIONS,
1292 };
1293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1294 #define NL80211_KCK_LEN 16
1295 #define NL80211_KEK_LEN 16
1296 #define NL80211_REPLAY_CTR_LEN 8
1297 enum nl80211_rekey_data {
1298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1299   __NL80211_REKEY_DATA_INVALID,
1300   NL80211_REKEY_DATA_KEK,
1301   NL80211_REKEY_DATA_KCK,
1302   NL80211_REKEY_DATA_REPLAY_CTR,
1303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1304   NUM_NL80211_REKEY_DATA,
1305   MAX_NL80211_REKEY_DATA = NUM_NL80211_REKEY_DATA - 1
1306 };
1307 enum nl80211_hidden_ssid {
1308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1309   NL80211_HIDDEN_SSID_NOT_IN_USE,
1310   NL80211_HIDDEN_SSID_ZERO_LEN,
1311   NL80211_HIDDEN_SSID_ZERO_CONTENTS
1312 };
1313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1314 enum nl80211_sta_wme_attr {
1315   __NL80211_STA_WME_INVALID,
1316   NL80211_STA_WME_UAPSD_QUEUES,
1317   NL80211_STA_WME_MAX_SP,
1318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1319   __NL80211_STA_WME_AFTER_LAST,
1320   NL80211_STA_WME_MAX = __NL80211_STA_WME_AFTER_LAST - 1
1321 };
1322 enum nl80211_pmksa_candidate_attr {
1323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1324   __NL80211_PMKSA_CANDIDATE_INVALID,
1325   NL80211_PMKSA_CANDIDATE_INDEX,
1326   NL80211_PMKSA_CANDIDATE_BSSID,
1327   NL80211_PMKSA_CANDIDATE_PREAUTH,
1328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1329   NUM_NL80211_PMKSA_CANDIDATE,
1330   MAX_NL80211_PMKSA_CANDIDATE = NUM_NL80211_PMKSA_CANDIDATE - 1
1331 };
1332 enum nl80211_tdls_operation {
1333 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1334   NL80211_TDLS_DISCOVERY_REQ,
1335   NL80211_TDLS_SETUP,
1336   NL80211_TDLS_TEARDOWN,
1337   NL80211_TDLS_ENABLE_LINK,
1338 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1339   NL80211_TDLS_DISABLE_LINK,
1340 };
1341 enum nl80211_feature_flags {
1342   NL80211_FEATURE_SK_TX_STATUS = 1 << 0,
1343 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1344   NL80211_FEATURE_HT_IBSS = 1 << 1,
1345   NL80211_FEATURE_INACTIVITY_TIMER = 1 << 2,
1346   NL80211_FEATURE_CELL_BASE_REG_HINTS = 1 << 3,
1347   NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 1 << 4,
1348 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1349   NL80211_FEATURE_SAE = 1 << 5,
1350   NL80211_FEATURE_LOW_PRIORITY_SCAN = 1 << 6,
1351   NL80211_FEATURE_SCAN_FLUSH = 1 << 7,
1352   NL80211_FEATURE_AP_SCAN = 1 << 8,
1353 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1354   NL80211_FEATURE_VIF_TXPOWER = 1 << 9,
1355   NL80211_FEATURE_NEED_OBSS_SCAN = 1 << 10,
1356   NL80211_FEATURE_P2P_GO_CTWIN = 1 << 11,
1357   NL80211_FEATURE_P2P_GO_OPPPS = 1 << 12,
1358 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1359   NL80211_FEATURE_ADVERTISE_CHAN_LIMITS = 1 << 14,
1360   NL80211_FEATURE_FULL_AP_CLIENT_STATE = 1 << 15,
1361   NL80211_FEATURE_USERSPACE_MPM = 1 << 16,
1362   NL80211_FEATURE_ACTIVE_MONITOR = 1 << 17,
1363 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1364   NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE = 1 << 18,
1365   NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES = 1 << 19,
1366   NL80211_FEATURE_WFA_TPC_IE_IN_PROBES = 1 << 20,
1367   NL80211_FEATURE_QUIET = 1 << 21,
1368 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1369   NL80211_FEATURE_TX_POWER_INSERTION = 1 << 22,
1370   NL80211_FEATURE_ACKTO_ESTIMATION = 1 << 23,
1371   NL80211_FEATURE_STATIC_SMPS = 1 << 24,
1372   NL80211_FEATURE_DYNAMIC_SMPS = 1 << 25,
1373 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1374   NL80211_FEATURE_SUPPORTS_WMM_ADMISSION = 1 << 26,
1375   NL80211_FEATURE_MAC_ON_CREATE = 1 << 27,
1376   NL80211_FEATURE_TDLS_CHANNEL_SWITCH = 1 << 28,
1377   NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR = 1 << 29,
1378 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1379   NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR = 1 << 30,
1380   NL80211_FEATURE_ND_RANDOM_MAC_ADDR = 1 << 31,
1381 };
1382 enum nl80211_ext_feature_index {
1383 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1384   NL80211_EXT_FEATURE_VHT_IBSS,
1385   NUM_NL80211_EXT_FEATURES,
1386   MAX_NL80211_EXT_FEATURES = NUM_NL80211_EXT_FEATURES - 1
1387 };
1388 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1389 enum nl80211_probe_resp_offload_support_attr {
1390   NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS = 1 << 0,
1391   NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2 = 1 << 1,
1392   NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P = 1 << 2,
1393 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1394   NL80211_PROBE_RESP_OFFLOAD_SUPPORT_80211U = 1 << 3,
1395 };
1396 enum nl80211_connect_failed_reason {
1397   NL80211_CONN_FAIL_MAX_CLIENTS,
1398 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1399   NL80211_CONN_FAIL_BLOCKED_CLIENT,
1400 };
1401 enum nl80211_scan_flags {
1402   NL80211_SCAN_FLAG_LOW_PRIORITY = 1 << 0,
1403 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1404   NL80211_SCAN_FLAG_FLUSH = 1 << 1,
1405   NL80211_SCAN_FLAG_AP = 1 << 2,
1406   NL80211_SCAN_FLAG_RANDOM_ADDR = 1 << 3,
1407 };
1408 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1409 enum nl80211_acl_policy {
1410   NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED,
1411   NL80211_ACL_POLICY_DENY_UNLESS_LISTED,
1412 };
1413 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1414 enum nl80211_smps_mode {
1415   NL80211_SMPS_OFF,
1416   NL80211_SMPS_STATIC,
1417   NL80211_SMPS_DYNAMIC,
1418 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1419   __NL80211_SMPS_AFTER_LAST,
1420   NL80211_SMPS_MAX = __NL80211_SMPS_AFTER_LAST - 1
1421 };
1422 enum nl80211_radar_event {
1423 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1424   NL80211_RADAR_DETECTED,
1425   NL80211_RADAR_CAC_FINISHED,
1426   NL80211_RADAR_CAC_ABORTED,
1427   NL80211_RADAR_NOP_FINISHED,
1428 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1429 };
1430 enum nl80211_dfs_state {
1431   NL80211_DFS_USABLE,
1432   NL80211_DFS_UNAVAILABLE,
1433 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1434   NL80211_DFS_AVAILABLE,
1435 };
1436 enum nl80211_protocol_features {
1437   NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP = 1 << 0,
1438 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1439 };
1440 enum nl80211_crit_proto_id {
1441   NL80211_CRIT_PROTO_UNSPEC,
1442   NL80211_CRIT_PROTO_DHCP,
1443 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1444   NL80211_CRIT_PROTO_EAPOL,
1445   NL80211_CRIT_PROTO_APIPA,
1446   NUM_NL80211_CRIT_PROTO
1447 };
1448 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1449 #define NL80211_CRIT_PROTO_MAX_DURATION 5000
1450 enum nl80211_rxmgmt_flags {
1451   NL80211_RXMGMT_FLAG_ANSWERED = 1 << 0,
1452 };
1453 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1454 #define NL80211_VENDOR_ID_IS_LINUX 0x80000000
1455 struct nl80211_vendor_cmd_info {
1456   __u32 vendor_id;
1457   __u32 subcmd;
1458 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1459 };
1460 enum nl80211_tdls_peer_capability {
1461   NL80211_TDLS_PEER_HT = 1 << 0,
1462   NL80211_TDLS_PEER_VHT = 1 << 1,
1463 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1464   NL80211_TDLS_PEER_WMM = 1 << 2,
1465 };
1466 enum nl80211_sched_scan_plan {
1467   __NL80211_SCHED_SCAN_PLAN_INVALID,
1468 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1469   NL80211_SCHED_SCAN_PLAN_INTERVAL,
1470   NL80211_SCHED_SCAN_PLAN_ITERATIONS,
1471   __NL80211_SCHED_SCAN_PLAN_AFTER_LAST,
1472   NL80211_SCHED_SCAN_PLAN_MAX = __NL80211_SCHED_SCAN_PLAN_AFTER_LAST - 1
1473 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1474 };
1475 #endif
1476