• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1###########################################################
2# file: nl80211.py
3# ---------------------------------------------------------
4# This file is generated using extract.py using pycparser
5###########################################################
6NL80211_GENL_FAMILY = 'nl80211'
7
8NL80211_CMD_UNSPEC = 0
9NL80211_CMD_GET_WIPHY = 1
10NL80211_CMD_SET_WIPHY = 2
11NL80211_CMD_NEW_WIPHY = 3
12NL80211_CMD_DEL_WIPHY = 4
13NL80211_CMD_GET_INTERFACE = 5
14NL80211_CMD_SET_INTERFACE = 6
15NL80211_CMD_NEW_INTERFACE = 7
16NL80211_CMD_DEL_INTERFACE = 8
17NL80211_CMD_GET_KEY = 9
18NL80211_CMD_SET_KEY = 10
19NL80211_CMD_NEW_KEY = 11
20NL80211_CMD_DEL_KEY = 12
21NL80211_CMD_GET_BEACON = 13
22NL80211_CMD_SET_BEACON = 14
23NL80211_CMD_START_AP = 15
24NL80211_CMD_NEW_BEACON = NL80211_CMD_START_AP
25NL80211_CMD_STOP_AP = 16
26NL80211_CMD_DEL_BEACON = NL80211_CMD_STOP_AP
27NL80211_CMD_GET_STATION = 17
28NL80211_CMD_SET_STATION = 18
29NL80211_CMD_NEW_STATION = 19
30NL80211_CMD_DEL_STATION = 20
31NL80211_CMD_GET_MPATH = 21
32NL80211_CMD_SET_MPATH = 22
33NL80211_CMD_NEW_MPATH = 23
34NL80211_CMD_DEL_MPATH = 24
35NL80211_CMD_SET_BSS = 25
36NL80211_CMD_SET_REG = 26
37NL80211_CMD_REQ_SET_REG = 27
38NL80211_CMD_GET_MESH_CONFIG = 28
39NL80211_CMD_SET_MESH_CONFIG = 29
40NL80211_CMD_SET_MGMT_EXTRA_IE = 30
41NL80211_CMD_GET_REG = 31
42NL80211_CMD_GET_SCAN = 32
43NL80211_CMD_TRIGGER_SCAN = 33
44NL80211_CMD_NEW_SCAN_RESULTS = 34
45NL80211_CMD_SCAN_ABORTED = 35
46NL80211_CMD_REG_CHANGE = 36
47NL80211_CMD_AUTHENTICATE = 37
48NL80211_CMD_ASSOCIATE = 38
49NL80211_CMD_DEAUTHENTICATE = 39
50NL80211_CMD_DISASSOCIATE = 40
51NL80211_CMD_MICHAEL_MIC_FAILURE = 41
52NL80211_CMD_REG_BEACON_HINT = 42
53NL80211_CMD_JOIN_IBSS = 43
54NL80211_CMD_LEAVE_IBSS = 44
55NL80211_CMD_TESTMODE = 45
56NL80211_CMD_CONNECT = 46
57NL80211_CMD_ROAM = 47
58NL80211_CMD_DISCONNECT = 48
59NL80211_CMD_SET_WIPHY_NETNS = 49
60NL80211_CMD_GET_SURVEY = 50
61NL80211_CMD_NEW_SURVEY_RESULTS = 51
62NL80211_CMD_SET_PMKSA = 52
63NL80211_CMD_DEL_PMKSA = 53
64NL80211_CMD_FLUSH_PMKSA = 54
65NL80211_CMD_REMAIN_ON_CHANNEL = 55
66NL80211_CMD_CANCEL_REMAIN_ON_CHANNEL = 56
67NL80211_CMD_SET_TX_BITRATE_MASK = 57
68NL80211_CMD_REGISTER_FRAME = 58
69NL80211_CMD_REGISTER_ACTION = NL80211_CMD_REGISTER_FRAME
70NL80211_CMD_FRAME = 59
71NL80211_CMD_ACTION = NL80211_CMD_FRAME
72NL80211_CMD_FRAME_TX_STATUS = 60
73NL80211_CMD_ACTION_TX_STATUS = NL80211_CMD_FRAME_TX_STATUS
74NL80211_CMD_SET_POWER_SAVE = 61
75NL80211_CMD_GET_POWER_SAVE = 62
76NL80211_CMD_SET_CQM = 63
77NL80211_CMD_NOTIFY_CQM = 64
78NL80211_CMD_SET_CHANNEL = 65
79NL80211_CMD_SET_WDS_PEER = 66
80NL80211_CMD_FRAME_WAIT_CANCEL = 67
81NL80211_CMD_JOIN_MESH = 68
82NL80211_CMD_LEAVE_MESH = 69
83NL80211_CMD_UNPROT_DEAUTHENTICATE = 70
84NL80211_CMD_UNPROT_DISASSOCIATE = 71
85NL80211_CMD_NEW_PEER_CANDIDATE = 72
86NL80211_CMD_GET_WOWLAN = 73
87NL80211_CMD_SET_WOWLAN = 74
88NL80211_CMD_START_SCHED_SCAN = 75
89NL80211_CMD_STOP_SCHED_SCAN = 76
90NL80211_CMD_SCHED_SCAN_RESULTS = 77
91NL80211_CMD_SCHED_SCAN_STOPPED = 78
92NL80211_CMD_SET_REKEY_OFFLOAD = 79
93NL80211_CMD_PMKSA_CANDIDATE = 80
94NL80211_CMD_TDLS_OPER = 81
95NL80211_CMD_TDLS_MGMT = 82
96NL80211_CMD_UNEXPECTED_FRAME = 83
97NL80211_CMD_PROBE_CLIENT = 84
98NL80211_CMD_REGISTER_BEACONS = 85
99NL80211_CMD_UNEXPECTED_4ADDR_FRAME = 86
100NL80211_CMD_SET_NOACK_MAP = 87
101NL80211_CMD_CH_SWITCH_NOTIFY = 88
102NL80211_CMD_START_P2P_DEVICE = 89
103NL80211_CMD_STOP_P2P_DEVICE = 90
104NL80211_CMD_CONN_FAILED = 91
105NL80211_CMD_SET_MCAST_RATE = 92
106NL80211_CMD_SET_MAC_ACL = 93
107NL80211_CMD_RADAR_DETECT = 94
108NL80211_CMD_GET_PROTOCOL_FEATURES = 95
109NL80211_CMD_UPDATE_FT_IES = 96
110NL80211_CMD_FT_EVENT = 97
111NL80211_CMD_CRIT_PROTOCOL_START = 98
112NL80211_CMD_CRIT_PROTOCOL_STOP = 99
113__NL80211_CMD_AFTER_LAST = 100
114NL80211_CMD_MAX = __NL80211_CMD_AFTER_LAST - 1
115NL80211_ATTR_UNSPEC = 0
116NL80211_ATTR_WIPHY = 1
117NL80211_ATTR_WIPHY_NAME = 2
118NL80211_ATTR_IFINDEX = 3
119NL80211_ATTR_IFNAME = 4
120NL80211_ATTR_IFTYPE = 5
121NL80211_ATTR_MAC = 6
122NL80211_ATTR_KEY_DATA = 7
123NL80211_ATTR_KEY_IDX = 8
124NL80211_ATTR_KEY_CIPHER = 9
125NL80211_ATTR_KEY_SEQ = 10
126NL80211_ATTR_KEY_DEFAULT = 11
127NL80211_ATTR_BEACON_INTERVAL = 12
128NL80211_ATTR_DTIM_PERIOD = 13
129NL80211_ATTR_BEACON_HEAD = 14
130NL80211_ATTR_BEACON_TAIL = 15
131NL80211_ATTR_STA_AID = 16
132NL80211_ATTR_STA_FLAGS = 17
133NL80211_ATTR_STA_LISTEN_INTERVAL = 18
134NL80211_ATTR_STA_SUPPORTED_RATES = 19
135NL80211_ATTR_STA_VLAN = 20
136NL80211_ATTR_STA_INFO = 21
137NL80211_ATTR_WIPHY_BANDS = 22
138NL80211_ATTR_MNTR_FLAGS = 23
139NL80211_ATTR_MESH_ID = 24
140NL80211_ATTR_STA_PLINK_ACTION = 25
141NL80211_ATTR_MPATH_NEXT_HOP = 26
142NL80211_ATTR_MPATH_INFO = 27
143NL80211_ATTR_BSS_CTS_PROT = 28
144NL80211_ATTR_BSS_SHORT_PREAMBLE = 29
145NL80211_ATTR_BSS_SHORT_SLOT_TIME = 30
146NL80211_ATTR_HT_CAPABILITY = 31
147NL80211_ATTR_SUPPORTED_IFTYPES = 32
148NL80211_ATTR_REG_ALPHA2 = 33
149NL80211_ATTR_REG_RULES = 34
150NL80211_ATTR_MESH_CONFIG = 35
151NL80211_ATTR_BSS_BASIC_RATES = 36
152NL80211_ATTR_WIPHY_TXQ_PARAMS = 37
153NL80211_ATTR_WIPHY_FREQ = 38
154NL80211_ATTR_WIPHY_CHANNEL_TYPE = 39
155NL80211_ATTR_KEY_DEFAULT_MGMT = 40
156NL80211_ATTR_MGMT_SUBTYPE = 41
157NL80211_ATTR_IE = 42
158NL80211_ATTR_MAX_NUM_SCAN_SSIDS = 43
159NL80211_ATTR_SCAN_FREQUENCIES = 44
160NL80211_ATTR_SCAN_SSIDS = 45
161NL80211_ATTR_GENERATION = 46
162NL80211_ATTR_BSS = 47
163NL80211_ATTR_REG_INITIATOR = 48
164NL80211_ATTR_REG_TYPE = 49
165NL80211_ATTR_SUPPORTED_COMMANDS = 50
166NL80211_ATTR_FRAME = 51
167NL80211_ATTR_SSID = 52
168NL80211_ATTR_AUTH_TYPE = 53
169NL80211_ATTR_REASON_CODE = 54
170NL80211_ATTR_KEY_TYPE = 55
171NL80211_ATTR_MAX_SCAN_IE_LEN = 56
172NL80211_ATTR_CIPHER_SUITES = 57
173NL80211_ATTR_FREQ_BEFORE = 58
174NL80211_ATTR_FREQ_AFTER = 59
175NL80211_ATTR_FREQ_FIXED = 60
176NL80211_ATTR_WIPHY_RETRY_SHORT = 61
177NL80211_ATTR_WIPHY_RETRY_LONG = 62
178NL80211_ATTR_WIPHY_FRAG_THRESHOLD = 63
179NL80211_ATTR_WIPHY_RTS_THRESHOLD = 64
180NL80211_ATTR_TIMED_OUT = 65
181NL80211_ATTR_USE_MFP = 66
182NL80211_ATTR_STA_FLAGS2 = 67
183NL80211_ATTR_CONTROL_PORT = 68
184NL80211_ATTR_TESTDATA = 69
185NL80211_ATTR_PRIVACY = 70
186NL80211_ATTR_DISCONNECTED_BY_AP = 71
187NL80211_ATTR_STATUS_CODE = 72
188NL80211_ATTR_CIPHER_SUITES_PAIRWISE = 73
189NL80211_ATTR_CIPHER_SUITE_GROUP = 74
190NL80211_ATTR_WPA_VERSIONS = 75
191NL80211_ATTR_AKM_SUITES = 76
192NL80211_ATTR_REQ_IE = 77
193NL80211_ATTR_RESP_IE = 78
194NL80211_ATTR_PREV_BSSID = 79
195NL80211_ATTR_KEY = 80
196NL80211_ATTR_KEYS = 81
197NL80211_ATTR_PID = 82
198NL80211_ATTR_4ADDR = 83
199NL80211_ATTR_SURVEY_INFO = 84
200NL80211_ATTR_PMKID = 85
201NL80211_ATTR_MAX_NUM_PMKIDS = 86
202NL80211_ATTR_DURATION = 87
203NL80211_ATTR_COOKIE = 88
204NL80211_ATTR_WIPHY_COVERAGE_CLASS = 89
205NL80211_ATTR_TX_RATES = 90
206NL80211_ATTR_FRAME_MATCH = 91
207NL80211_ATTR_ACK = 92
208NL80211_ATTR_PS_STATE = 93
209NL80211_ATTR_CQM = 94
210NL80211_ATTR_LOCAL_STATE_CHANGE = 95
211NL80211_ATTR_AP_ISOLATE = 96
212NL80211_ATTR_WIPHY_TX_POWER_SETTING = 97
213NL80211_ATTR_WIPHY_TX_POWER_LEVEL = 98
214NL80211_ATTR_TX_FRAME_TYPES = 99
215NL80211_ATTR_RX_FRAME_TYPES = 100
216NL80211_ATTR_FRAME_TYPE = 101
217NL80211_ATTR_CONTROL_PORT_ETHERTYPE = 102
218NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT = 103
219NL80211_ATTR_SUPPORT_IBSS_RSN = 104
220NL80211_ATTR_WIPHY_ANTENNA_TX = 105
221NL80211_ATTR_WIPHY_ANTENNA_RX = 106
222NL80211_ATTR_MCAST_RATE = 107
223NL80211_ATTR_OFFCHANNEL_TX_OK = 108
224NL80211_ATTR_BSS_HT_OPMODE = 109
225NL80211_ATTR_KEY_DEFAULT_TYPES = 110
226NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION = 111
227NL80211_ATTR_MESH_SETUP = 112
228NL80211_ATTR_WIPHY_ANTENNA_AVAIL_TX = 113
229NL80211_ATTR_WIPHY_ANTENNA_AVAIL_RX = 114
230NL80211_ATTR_SUPPORT_MESH_AUTH = 115
231NL80211_ATTR_STA_PLINK_STATE = 116
232NL80211_ATTR_WOWLAN_TRIGGERS = 117
233NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED = 118
234NL80211_ATTR_SCHED_SCAN_INTERVAL = 119
235NL80211_ATTR_INTERFACE_COMBINATIONS = 120
236NL80211_ATTR_SOFTWARE_IFTYPES = 121
237NL80211_ATTR_REKEY_DATA = 122
238NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS = 123
239NL80211_ATTR_MAX_SCHED_SCAN_IE_LEN = 124
240NL80211_ATTR_SCAN_SUPP_RATES = 125
241NL80211_ATTR_HIDDEN_SSID = 126
242NL80211_ATTR_IE_PROBE_RESP = 127
243NL80211_ATTR_IE_ASSOC_RESP = 128
244NL80211_ATTR_STA_WME = 129
245NL80211_ATTR_SUPPORT_AP_UAPSD = 130
246NL80211_ATTR_ROAM_SUPPORT = 131
247NL80211_ATTR_SCHED_SCAN_MATCH = 132
248NL80211_ATTR_MAX_MATCH_SETS = 133
249NL80211_ATTR_PMKSA_CANDIDATE = 134
250NL80211_ATTR_TX_NO_CCK_RATE = 135
251NL80211_ATTR_TDLS_ACTION = 136
252NL80211_ATTR_TDLS_DIALOG_TOKEN = 137
253NL80211_ATTR_TDLS_OPERATION = 138
254NL80211_ATTR_TDLS_SUPPORT = 139
255NL80211_ATTR_TDLS_EXTERNAL_SETUP = 140
256NL80211_ATTR_DEVICE_AP_SME = 141
257NL80211_ATTR_DONT_WAIT_FOR_ACK = 142
258NL80211_ATTR_FEATURE_FLAGS = 143
259NL80211_ATTR_PROBE_RESP_OFFLOAD = 144
260NL80211_ATTR_PROBE_RESP = 145
261NL80211_ATTR_DFS_REGION = 146
262NL80211_ATTR_DISABLE_HT = 147
263NL80211_ATTR_HT_CAPABILITY_MASK = 148
264NL80211_ATTR_NOACK_MAP = 149
265NL80211_ATTR_INACTIVITY_TIMEOUT = 150
266NL80211_ATTR_RX_SIGNAL_DBM = 151
267NL80211_ATTR_BG_SCAN_PERIOD = 152
268NL80211_ATTR_WDEV = 153
269NL80211_ATTR_USER_REG_HINT_TYPE = 154
270NL80211_ATTR_CONN_FAILED_REASON = 155
271NL80211_ATTR_SAE_DATA = 156
272NL80211_ATTR_VHT_CAPABILITY = 157
273NL80211_ATTR_SCAN_FLAGS = 158
274NL80211_ATTR_CHANNEL_WIDTH = 159
275NL80211_ATTR_CENTER_FREQ1 = 160
276NL80211_ATTR_CENTER_FREQ2 = 161
277NL80211_ATTR_P2P_CTWINDOW = 162
278NL80211_ATTR_P2P_OPPPS = 163
279NL80211_ATTR_LOCAL_MESH_POWER_MODE = 164
280NL80211_ATTR_ACL_POLICY = 165
281NL80211_ATTR_MAC_ADDRS = 166
282NL80211_ATTR_MAC_ACL_MAX = 167
283NL80211_ATTR_RADAR_EVENT = 168
284NL80211_ATTR_EXT_CAPA = 169
285NL80211_ATTR_EXT_CAPA_MASK = 170
286NL80211_ATTR_STA_CAPABILITY = 171
287NL80211_ATTR_STA_EXT_CAPABILITY = 172
288NL80211_ATTR_PROTOCOL_FEATURES = 173
289NL80211_ATTR_SPLIT_WIPHY_DUMP = 174
290NL80211_ATTR_DISABLE_VHT = 175
291NL80211_ATTR_VHT_CAPABILITY_MASK = 176
292NL80211_ATTR_MDID = 177
293NL80211_ATTR_IE_RIC = 178
294NL80211_ATTR_CRIT_PROT_ID = 179
295NL80211_ATTR_MAX_CRIT_PROT_DURATION = 180
296NL80211_ATTR_PEER_AID = 181
297__NL80211_ATTR_AFTER_LAST = 182
298NL80211_ATTR_MAX = __NL80211_ATTR_AFTER_LAST - 1
299NL80211_IFTYPE_UNSPECIFIED = 0
300NL80211_IFTYPE_ADHOC = 1
301NL80211_IFTYPE_STATION = 2
302NL80211_IFTYPE_AP = 3
303NL80211_IFTYPE_AP_VLAN = 4
304NL80211_IFTYPE_WDS = 5
305NL80211_IFTYPE_MONITOR = 6
306NL80211_IFTYPE_MESH_POINT = 7
307NL80211_IFTYPE_P2P_CLIENT = 8
308NL80211_IFTYPE_P2P_GO = 9
309NL80211_IFTYPE_P2P_DEVICE = 10
310NUM_NL80211_IFTYPES = 11
311NL80211_IFTYPE_MAX = NUM_NL80211_IFTYPES - 1
312__NL80211_STA_FLAG_INVALID = 0
313NL80211_STA_FLAG_AUTHORIZED = 1
314NL80211_STA_FLAG_SHORT_PREAMBLE = 2
315NL80211_STA_FLAG_WME = 3
316NL80211_STA_FLAG_MFP = 4
317NL80211_STA_FLAG_AUTHENTICATED = 5
318NL80211_STA_FLAG_TDLS_PEER = 6
319NL80211_STA_FLAG_ASSOCIATED = 7
320__NL80211_STA_FLAG_AFTER_LAST = 8
321NL80211_STA_FLAG_MAX = __NL80211_STA_FLAG_AFTER_LAST - 1
322__NL80211_RATE_INFO_INVALID = 0
323NL80211_RATE_INFO_BITRATE = 1
324NL80211_RATE_INFO_MCS = 2
325NL80211_RATE_INFO_40_MHZ_WIDTH = 3
326NL80211_RATE_INFO_SHORT_GI = 4
327NL80211_RATE_INFO_BITRATE32 = 5
328NL80211_RATE_INFO_VHT_MCS = 6
329NL80211_RATE_INFO_VHT_NSS = 7
330NL80211_RATE_INFO_80_MHZ_WIDTH = 8
331NL80211_RATE_INFO_80P80_MHZ_WIDTH = 9
332NL80211_RATE_INFO_160_MHZ_WIDTH = 10
333__NL80211_RATE_INFO_AFTER_LAST = 11
334NL80211_RATE_INFO_MAX = __NL80211_RATE_INFO_AFTER_LAST - 1
335__NL80211_STA_BSS_PARAM_INVALID = 0
336NL80211_STA_BSS_PARAM_CTS_PROT = 1
337NL80211_STA_BSS_PARAM_SHORT_PREAMBLE = 2
338NL80211_STA_BSS_PARAM_SHORT_SLOT_TIME = 3
339NL80211_STA_BSS_PARAM_DTIM_PERIOD = 4
340NL80211_STA_BSS_PARAM_BEACON_INTERVAL = 5
341__NL80211_STA_BSS_PARAM_AFTER_LAST = 6
342NL80211_STA_BSS_PARAM_MAX = __NL80211_STA_BSS_PARAM_AFTER_LAST - 1
343__NL80211_STA_INFO_INVALID = 0
344NL80211_STA_INFO_INACTIVE_TIME = 1
345NL80211_STA_INFO_RX_BYTES = 2
346NL80211_STA_INFO_TX_BYTES = 3
347NL80211_STA_INFO_LLID = 4
348NL80211_STA_INFO_PLID = 5
349NL80211_STA_INFO_PLINK_STATE = 6
350NL80211_STA_INFO_SIGNAL = 7
351NL80211_STA_INFO_TX_BITRATE = 8
352NL80211_STA_INFO_RX_PACKETS = 9
353NL80211_STA_INFO_TX_PACKETS = 10
354NL80211_STA_INFO_TX_RETRIES = 11
355NL80211_STA_INFO_TX_FAILED = 12
356NL80211_STA_INFO_SIGNAL_AVG = 13
357NL80211_STA_INFO_RX_BITRATE = 14
358NL80211_STA_INFO_BSS_PARAM = 15
359NL80211_STA_INFO_CONNECTED_TIME = 16
360NL80211_STA_INFO_STA_FLAGS = 17
361NL80211_STA_INFO_BEACON_LOSS = 18
362NL80211_STA_INFO_T_OFFSET = 19
363NL80211_STA_INFO_LOCAL_PM = 20
364NL80211_STA_INFO_PEER_PM = 21
365NL80211_STA_INFO_NONPEER_PM = 22
366NL80211_STA_INFO_RX_BYTES64 = 23
367NL80211_STA_INFO_TX_BYTES64 = 24
368NL80211_STA_INFO_CHAIN_SIGNAL = 25
369NL80211_STA_INFO_CHAIN_SIGNAL_AVG = 26
370__NL80211_STA_INFO_AFTER_LAST = 27
371NL80211_STA_INFO_MAX = __NL80211_STA_INFO_AFTER_LAST - 1
372NL80211_MPATH_FLAG_ACTIVE = 1 << 0
373NL80211_MPATH_FLAG_RESOLVING = 1 << 1
374NL80211_MPATH_FLAG_SN_VALID = 1 << 2
375NL80211_MPATH_FLAG_FIXED = 1 << 3
376NL80211_MPATH_FLAG_RESOLVED = 1 << 4
377__NL80211_MPATH_INFO_INVALID = 0
378NL80211_MPATH_INFO_FRAME_QLEN = 1
379NL80211_MPATH_INFO_SN = 2
380NL80211_MPATH_INFO_METRIC = 3
381NL80211_MPATH_INFO_EXPTIME = 4
382NL80211_MPATH_INFO_FLAGS = 5
383NL80211_MPATH_INFO_DISCOVERY_TIMEOUT = 6
384NL80211_MPATH_INFO_DISCOVERY_RETRIES = 7
385__NL80211_MPATH_INFO_AFTER_LAST = 8
386NL80211_MPATH_INFO_MAX = __NL80211_MPATH_INFO_AFTER_LAST - 1
387__NL80211_BAND_ATTR_INVALID = 0
388NL80211_BAND_ATTR_FREQS = 1
389NL80211_BAND_ATTR_RATES = 2
390NL80211_BAND_ATTR_HT_MCS_SET = 3
391NL80211_BAND_ATTR_HT_CAPA = 4
392NL80211_BAND_ATTR_HT_AMPDU_FACTOR = 5
393NL80211_BAND_ATTR_HT_AMPDU_DENSITY = 6
394NL80211_BAND_ATTR_VHT_MCS_SET = 7
395NL80211_BAND_ATTR_VHT_CAPA = 8
396__NL80211_BAND_ATTR_AFTER_LAST = 9
397NL80211_BAND_ATTR_MAX = __NL80211_BAND_ATTR_AFTER_LAST - 1
398__NL80211_FREQUENCY_ATTR_INVALID = 0
399NL80211_FREQUENCY_ATTR_FREQ = 1
400NL80211_FREQUENCY_ATTR_DISABLED = 2
401NL80211_FREQUENCY_ATTR_PASSIVE_SCAN = 3
402NL80211_FREQUENCY_ATTR_NO_IBSS = 4
403NL80211_FREQUENCY_ATTR_RADAR = 5
404NL80211_FREQUENCY_ATTR_MAX_TX_POWER = 6
405NL80211_FREQUENCY_ATTR_DFS_STATE = 7
406NL80211_FREQUENCY_ATTR_DFS_TIME = 8
407NL80211_FREQUENCY_ATTR_NO_HT40_MINUS = 9
408NL80211_FREQUENCY_ATTR_NO_HT40_PLUS = 10
409NL80211_FREQUENCY_ATTR_NO_80MHZ = 11
410NL80211_FREQUENCY_ATTR_NO_160MHZ = 12
411__NL80211_FREQUENCY_ATTR_AFTER_LAST = 13
412NL80211_FREQUENCY_ATTR_MAX = __NL80211_FREQUENCY_ATTR_AFTER_LAST - 1
413__NL80211_BITRATE_ATTR_INVALID = 0
414NL80211_BITRATE_ATTR_RATE = 1
415NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE = 2
416__NL80211_BITRATE_ATTR_AFTER_LAST = 3
417NL80211_BITRATE_ATTR_MAX = __NL80211_BITRATE_ATTR_AFTER_LAST - 1
418NL80211_REGDOM_SET_BY_CORE = 0
419NL80211_REGDOM_SET_BY_USER = 1
420NL80211_REGDOM_SET_BY_DRIVER = 2
421NL80211_REGDOM_SET_BY_COUNTRY_IE = 3
422NL80211_REGDOM_TYPE_COUNTRY = 0
423NL80211_REGDOM_TYPE_WORLD = 1
424NL80211_REGDOM_TYPE_CUSTOM_WORLD = 2
425NL80211_REGDOM_TYPE_INTERSECTION = 3
426__NL80211_REG_RULE_ATTR_INVALID = 0
427NL80211_ATTR_REG_RULE_FLAGS = 1
428NL80211_ATTR_FREQ_RANGE_START = 2
429NL80211_ATTR_FREQ_RANGE_END = 3
430NL80211_ATTR_FREQ_RANGE_MAX_BW = 4
431NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN = 5
432NL80211_ATTR_POWER_RULE_MAX_EIRP = 6
433__NL80211_REG_RULE_ATTR_AFTER_LAST = 7
434NL80211_REG_RULE_ATTR_MAX = __NL80211_REG_RULE_ATTR_AFTER_LAST - 1
435__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID = 0
436NL80211_SCHED_SCAN_MATCH_ATTR_SSID = 1
437NL80211_SCHED_SCAN_MATCH_ATTR_RSSI = 2
438__NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST = 3
439NL80211_SCHED_SCAN_MATCH_ATTR_MAX = __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST - 1
440NL80211_RRF_NO_OFDM = 1 << 0
441NL80211_RRF_NO_CCK = 1 << 1
442NL80211_RRF_NO_INDOOR = 1 << 2
443NL80211_RRF_NO_OUTDOOR = 1 << 3
444NL80211_RRF_DFS = 1 << 4
445NL80211_RRF_PTP_ONLY = 1 << 5
446NL80211_RRF_PTMP_ONLY = 1 << 6
447NL80211_RRF_PASSIVE_SCAN = 1 << 7
448NL80211_RRF_NO_IBSS = 1 << 8
449NL80211_DFS_UNSET = 0
450NL80211_DFS_FCC = 1
451NL80211_DFS_ETSI = 2
452NL80211_DFS_JP = 3
453NL80211_USER_REG_HINT_USER = 0
454NL80211_USER_REG_HINT_CELL_BASE = 1
455__NL80211_SURVEY_INFO_INVALID = 0
456NL80211_SURVEY_INFO_FREQUENCY = 1
457NL80211_SURVEY_INFO_NOISE = 2
458NL80211_SURVEY_INFO_IN_USE = 3
459NL80211_SURVEY_INFO_CHANNEL_TIME = 4
460NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY = 5
461NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY = 6
462NL80211_SURVEY_INFO_CHANNEL_TIME_RX = 7
463NL80211_SURVEY_INFO_CHANNEL_TIME_TX = 8
464__NL80211_SURVEY_INFO_AFTER_LAST = 9
465NL80211_SURVEY_INFO_MAX = __NL80211_SURVEY_INFO_AFTER_LAST - 1
466__NL80211_MNTR_FLAG_INVALID = 0
467NL80211_MNTR_FLAG_FCSFAIL = 1
468NL80211_MNTR_FLAG_PLCPFAIL = 2
469NL80211_MNTR_FLAG_CONTROL = 3
470NL80211_MNTR_FLAG_OTHER_BSS = 4
471NL80211_MNTR_FLAG_COOK_FRAMES = 5
472NL80211_MNTR_FLAG_ACTIVE = 6
473__NL80211_MNTR_FLAG_AFTER_LAST = 7
474NL80211_MNTR_FLAG_MAX = __NL80211_MNTR_FLAG_AFTER_LAST - 1
475NL80211_MESH_POWER_UNKNOWN = 0
476NL80211_MESH_POWER_ACTIVE = 1
477NL80211_MESH_POWER_LIGHT_SLEEP = 2
478NL80211_MESH_POWER_DEEP_SLEEP = 3
479__NL80211_MESH_POWER_AFTER_LAST = 4
480NL80211_MESH_POWER_MAX = __NL80211_MESH_POWER_AFTER_LAST - 1
481__NL80211_MESHCONF_INVALID = 0
482NL80211_MESHCONF_RETRY_TIMEOUT = 1
483NL80211_MESHCONF_CONFIRM_TIMEOUT = 2
484NL80211_MESHCONF_HOLDING_TIMEOUT = 3
485NL80211_MESHCONF_MAX_PEER_LINKS = 4
486NL80211_MESHCONF_MAX_RETRIES = 5
487NL80211_MESHCONF_TTL = 6
488NL80211_MESHCONF_AUTO_OPEN_PLINKS = 7
489NL80211_MESHCONF_HWMP_MAX_PREQ_RETRIES = 8
490NL80211_MESHCONF_PATH_REFRESH_TIME = 9
491NL80211_MESHCONF_MIN_DISCOVERY_TIMEOUT = 10
492NL80211_MESHCONF_HWMP_ACTIVE_PATH_TIMEOUT = 11
493NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL = 12
494NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME = 13
495NL80211_MESHCONF_HWMP_ROOTMODE = 14
496NL80211_MESHCONF_ELEMENT_TTL = 15
497NL80211_MESHCONF_HWMP_RANN_INTERVAL = 16
498NL80211_MESHCONF_GATE_ANNOUNCEMENTS = 17
499NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL = 18
500NL80211_MESHCONF_FORWARDING = 19
501NL80211_MESHCONF_RSSI_THRESHOLD = 20
502NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR = 21
503NL80211_MESHCONF_HT_OPMODE = 22
504NL80211_MESHCONF_HWMP_PATH_TO_ROOT_TIMEOUT = 23
505NL80211_MESHCONF_HWMP_ROOT_INTERVAL = 24
506NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL = 25
507NL80211_MESHCONF_POWER_MODE = 26
508NL80211_MESHCONF_AWAKE_WINDOW = 27
509NL80211_MESHCONF_PLINK_TIMEOUT = 28
510__NL80211_MESHCONF_ATTR_AFTER_LAST = 29
511NL80211_MESHCONF_ATTR_MAX = __NL80211_MESHCONF_ATTR_AFTER_LAST - 1
512__NL80211_MESH_SETUP_INVALID = 0
513NL80211_MESH_SETUP_ENABLE_VENDOR_PATH_SEL = 1
514NL80211_MESH_SETUP_ENABLE_VENDOR_METRIC = 2
515NL80211_MESH_SETUP_IE = 3
516NL80211_MESH_SETUP_USERSPACE_AUTH = 4
517NL80211_MESH_SETUP_USERSPACE_AMPE = 5
518NL80211_MESH_SETUP_ENABLE_VENDOR_SYNC = 6
519NL80211_MESH_SETUP_USERSPACE_MPM = 7
520NL80211_MESH_SETUP_AUTH_PROTOCOL = 8
521__NL80211_MESH_SETUP_ATTR_AFTER_LAST = 9
522NL80211_MESH_SETUP_ATTR_MAX = __NL80211_MESH_SETUP_ATTR_AFTER_LAST - 1
523__NL80211_TXQ_ATTR_INVALID = 0
524NL80211_TXQ_ATTR_AC = 1
525NL80211_TXQ_ATTR_TXOP = 2
526NL80211_TXQ_ATTR_CWMIN = 3
527NL80211_TXQ_ATTR_CWMAX = 4
528NL80211_TXQ_ATTR_AIFS = 5
529__NL80211_TXQ_ATTR_AFTER_LAST = 6
530NL80211_TXQ_ATTR_MAX = __NL80211_TXQ_ATTR_AFTER_LAST - 1
531NL80211_AC_VO = 0
532NL80211_AC_VI = 1
533NL80211_AC_BE = 2
534NL80211_AC_BK = 3
535NL80211_NUM_ACS = 4
536NL80211_CHAN_NO_HT = 0
537NL80211_CHAN_HT20 = 1
538NL80211_CHAN_HT40MINUS = 2
539NL80211_CHAN_HT40PLUS = 3
540NL80211_CHAN_WIDTH_20_NOHT = 0
541NL80211_CHAN_WIDTH_20 = 1
542NL80211_CHAN_WIDTH_40 = 2
543NL80211_CHAN_WIDTH_80 = 3
544NL80211_CHAN_WIDTH_80P80 = 4
545NL80211_CHAN_WIDTH_160 = 5
546__NL80211_BSS_INVALID = 0
547NL80211_BSS_BSSID = 1
548NL80211_BSS_FREQUENCY = 2
549NL80211_BSS_TSF = 3
550NL80211_BSS_BEACON_INTERVAL = 4
551NL80211_BSS_CAPABILITY = 5
552NL80211_BSS_INFORMATION_ELEMENTS = 6
553NL80211_BSS_SIGNAL_MBM = 7
554NL80211_BSS_SIGNAL_UNSPEC = 8
555NL80211_BSS_STATUS = 9
556NL80211_BSS_SEEN_MS_AGO = 10
557NL80211_BSS_BEACON_IES = 11
558__NL80211_BSS_AFTER_LAST = 12
559NL80211_BSS_MAX = __NL80211_BSS_AFTER_LAST - 1
560NL80211_BSS_STATUS_AUTHENTICATED = 0
561NL80211_BSS_STATUS_ASSOCIATED = 1
562NL80211_BSS_STATUS_IBSS_JOINED = 2
563NL80211_AUTHTYPE_OPEN_SYSTEM = 0
564NL80211_AUTHTYPE_SHARED_KEY = 1
565NL80211_AUTHTYPE_FT = 2
566NL80211_AUTHTYPE_NETWORK_EAP = 3
567NL80211_AUTHTYPE_SAE = 4
568__NL80211_AUTHTYPE_NUM = 5
569NL80211_AUTHTYPE_MAX = __NL80211_AUTHTYPE_NUM - 1
570NL80211_AUTHTYPE_AUTOMATIC = 6
571NL80211_KEYTYPE_GROUP = 0
572NL80211_KEYTYPE_PAIRWISE = 1
573NL80211_KEYTYPE_PEERKEY = 2
574NUM_NL80211_KEYTYPES = 3
575NL80211_MFP_NO = 0
576NL80211_MFP_REQUIRED = 1
577NL80211_WPA_VERSION_1 = 1 << 0
578NL80211_WPA_VERSION_2 = 1 << 1
579__NL80211_KEY_DEFAULT_TYPE_INVALID = 0
580NL80211_KEY_DEFAULT_TYPE_UNICAST = 1
581NL80211_KEY_DEFAULT_TYPE_MULTICAST = 2
582NUM_NL80211_KEY_DEFAULT_TYPES = 3
583__NL80211_KEY_INVALID = 0
584NL80211_KEY_DATA = 1
585NL80211_KEY_IDX = 2
586NL80211_KEY_CIPHER = 3
587NL80211_KEY_SEQ = 4
588NL80211_KEY_DEFAULT = 5
589NL80211_KEY_DEFAULT_MGMT = 6
590NL80211_KEY_TYPE = 7
591NL80211_KEY_DEFAULT_TYPES = 8
592__NL80211_KEY_AFTER_LAST = 9
593NL80211_KEY_MAX = __NL80211_KEY_AFTER_LAST - 1
594__NL80211_TXRATE_INVALID = 0
595NL80211_TXRATE_LEGACY = 1
596NL80211_TXRATE_MCS = 2
597__NL80211_TXRATE_AFTER_LAST = 3
598NL80211_TXRATE_MAX = __NL80211_TXRATE_AFTER_LAST - 1
599NL80211_BAND_2GHZ = 0
600NL80211_BAND_5GHZ = 1
601NL80211_BAND_60GHZ = 2
602NL80211_PS_DISABLED = 0
603NL80211_PS_ENABLED = 1
604__NL80211_ATTR_CQM_INVALID = 0
605NL80211_ATTR_CQM_RSSI_THOLD = 1
606NL80211_ATTR_CQM_RSSI_HYST = 2
607NL80211_ATTR_CQM_RSSI_THRESHOLD_EVENT = 3
608NL80211_ATTR_CQM_PKT_LOSS_EVENT = 4
609NL80211_ATTR_CQM_TXE_RATE = 5
610NL80211_ATTR_CQM_TXE_PKTS = 6
611NL80211_ATTR_CQM_TXE_INTVL = 7
612__NL80211_ATTR_CQM_AFTER_LAST = 8
613NL80211_ATTR_CQM_MAX = __NL80211_ATTR_CQM_AFTER_LAST - 1
614NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW = 0
615NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH = 1
616NL80211_CQM_RSSI_BEACON_LOSS_EVENT = 2
617NL80211_TX_POWER_AUTOMATIC = 0
618NL80211_TX_POWER_LIMITED = 1
619NL80211_TX_POWER_FIXED = 2
620__NL80211_WOWLAN_PKTPAT_INVALID = 0
621NL80211_WOWLAN_PKTPAT_MASK = 1
622NL80211_WOWLAN_PKTPAT_PATTERN = 2
623NL80211_WOWLAN_PKTPAT_OFFSET = 3
624NUM_NL80211_WOWLAN_PKTPAT = 4
625MAX_NL80211_WOWLAN_PKTPAT = NUM_NL80211_WOWLAN_PKTPAT - 1
626__NL80211_WOWLAN_TRIG_INVALID = 0
627NL80211_WOWLAN_TRIG_ANY = 1
628NL80211_WOWLAN_TRIG_DISCONNECT = 2
629NL80211_WOWLAN_TRIG_MAGIC_PKT = 3
630NL80211_WOWLAN_TRIG_PKT_PATTERN = 4
631NL80211_WOWLAN_TRIG_GTK_REKEY_SUPPORTED = 5
632NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE = 6
633NL80211_WOWLAN_TRIG_EAP_IDENT_REQUEST = 7
634NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE = 8
635NL80211_WOWLAN_TRIG_RFKILL_RELEASE = 9
636NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211 = 10
637NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211_LEN = 11
638NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023 = 12
639NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023_LEN = 13
640NL80211_WOWLAN_TRIG_TCP_CONNECTION = 14
641NL80211_WOWLAN_TRIG_WAKEUP_TCP_MATCH = 15
642NL80211_WOWLAN_TRIG_WAKEUP_TCP_CONNLOST = 16
643NL80211_WOWLAN_TRIG_WAKEUP_TCP_NOMORETOKENS = 17
644NUM_NL80211_WOWLAN_TRIG = 18
645MAX_NL80211_WOWLAN_TRIG = NUM_NL80211_WOWLAN_TRIG - 1
646__NL80211_WOWLAN_TCP_INVALID = 0
647NL80211_WOWLAN_TCP_SRC_IPV4 = 1
648NL80211_WOWLAN_TCP_DST_IPV4 = 2
649NL80211_WOWLAN_TCP_DST_MAC = 3
650NL80211_WOWLAN_TCP_SRC_PORT = 4
651NL80211_WOWLAN_TCP_DST_PORT = 5
652NL80211_WOWLAN_TCP_DATA_PAYLOAD = 6
653NL80211_WOWLAN_TCP_DATA_PAYLOAD_SEQ = 7
654NL80211_WOWLAN_TCP_DATA_PAYLOAD_TOKEN = 8
655NL80211_WOWLAN_TCP_DATA_INTERVAL = 9
656NL80211_WOWLAN_TCP_WAKE_PAYLOAD = 10
657NL80211_WOWLAN_TCP_WAKE_MASK = 11
658NUM_NL80211_WOWLAN_TCP = 12
659MAX_NL80211_WOWLAN_TCP = NUM_NL80211_WOWLAN_TCP - 1
660NL80211_IFACE_LIMIT_UNSPEC = 0
661NL80211_IFACE_LIMIT_MAX = 1
662NL80211_IFACE_LIMIT_TYPES = 2
663NUM_NL80211_IFACE_LIMIT = 3
664MAX_NL80211_IFACE_LIMIT = NUM_NL80211_IFACE_LIMIT - 1
665NL80211_IFACE_COMB_UNSPEC = 0
666NL80211_IFACE_COMB_LIMITS = 1
667NL80211_IFACE_COMB_MAXNUM = 2
668NL80211_IFACE_COMB_STA_AP_BI_MATCH = 3
669NL80211_IFACE_COMB_NUM_CHANNELS = 4
670NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS = 5
671NUM_NL80211_IFACE_COMB = 6
672MAX_NL80211_IFACE_COMB = NUM_NL80211_IFACE_COMB - 1
673NL80211_PLINK_LISTEN = 0
674NL80211_PLINK_OPN_SNT = 1
675NL80211_PLINK_OPN_RCVD = 2
676NL80211_PLINK_CNF_RCVD = 3
677NL80211_PLINK_ESTAB = 4
678NL80211_PLINK_HOLDING = 5
679NL80211_PLINK_BLOCKED = 6
680NUM_NL80211_PLINK_STATES = 7
681MAX_NL80211_PLINK_STATES = NUM_NL80211_PLINK_STATES - 1
682NL80211_PLINK_ACTION_NO_ACTION = 0
683NL80211_PLINK_ACTION_OPEN = 1
684NL80211_PLINK_ACTION_BLOCK = 2
685NUM_NL80211_PLINK_ACTIONS = 3
686__NL80211_REKEY_DATA_INVALID = 0
687NL80211_REKEY_DATA_KEK = 1
688NL80211_REKEY_DATA_KCK = 2
689NL80211_REKEY_DATA_REPLAY_CTR = 3
690NUM_NL80211_REKEY_DATA = 4
691MAX_NL80211_REKEY_DATA = NUM_NL80211_REKEY_DATA - 1
692NL80211_HIDDEN_SSID_NOT_IN_USE = 0
693NL80211_HIDDEN_SSID_ZERO_LEN = 1
694NL80211_HIDDEN_SSID_ZERO_CONTENTS = 2
695__NL80211_STA_WME_INVALID = 0
696NL80211_STA_WME_UAPSD_QUEUES = 1
697NL80211_STA_WME_MAX_SP = 2
698__NL80211_STA_WME_AFTER_LAST = 3
699NL80211_STA_WME_MAX = __NL80211_STA_WME_AFTER_LAST - 1
700__NL80211_PMKSA_CANDIDATE_INVALID = 0
701NL80211_PMKSA_CANDIDATE_INDEX = 1
702NL80211_PMKSA_CANDIDATE_BSSID = 2
703NL80211_PMKSA_CANDIDATE_PREAUTH = 3
704NUM_NL80211_PMKSA_CANDIDATE = 4
705MAX_NL80211_PMKSA_CANDIDATE = NUM_NL80211_PMKSA_CANDIDATE - 1
706NL80211_TDLS_DISCOVERY_REQ = 0
707NL80211_TDLS_SETUP = 1
708NL80211_TDLS_TEARDOWN = 2
709NL80211_TDLS_ENABLE_LINK = 3
710NL80211_TDLS_DISABLE_LINK = 4
711NL80211_FEATURE_SK_TX_STATUS = 1 << 0
712NL80211_FEATURE_HT_IBSS = 1 << 1
713NL80211_FEATURE_INACTIVITY_TIMER = 1 << 2
714NL80211_FEATURE_CELL_BASE_REG_HINTS = 1 << 3
715NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 1 << 4
716NL80211_FEATURE_SAE = 1 << 5
717NL80211_FEATURE_LOW_PRIORITY_SCAN = 1 << 6
718NL80211_FEATURE_SCAN_FLUSH = 1 << 7
719NL80211_FEATURE_AP_SCAN = 1 << 8
720NL80211_FEATURE_VIF_TXPOWER = 1 << 9
721NL80211_FEATURE_NEED_OBSS_SCAN = 1 << 10
722NL80211_FEATURE_P2P_GO_CTWIN = 1 << 11
723NL80211_FEATURE_P2P_GO_OPPPS = 1 << 12
724NL80211_FEATURE_ADVERTISE_CHAN_LIMITS = 1 << 14
725NL80211_FEATURE_FULL_AP_CLIENT_STATE = 1 << 15
726NL80211_FEATURE_USERSPACE_MPM = 1 << 16
727NL80211_FEATURE_ACTIVE_MONITOR = 1 << 17
728NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS = 1 << 0
729NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2 = 1 << 1
730NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P = 1 << 2
731NL80211_PROBE_RESP_OFFLOAD_SUPPORT_80211U = 1 << 3
732NL80211_CONN_FAIL_MAX_CLIENTS = 0
733NL80211_CONN_FAIL_BLOCKED_CLIENT = 1
734NL80211_SCAN_FLAG_LOW_PRIORITY = 1 << 0
735NL80211_SCAN_FLAG_FLUSH = 1 << 1
736NL80211_SCAN_FLAG_AP = 1 << 2
737NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED = 0
738NL80211_ACL_POLICY_DENY_UNLESS_LISTED = 1
739NL80211_RADAR_DETECTED = 0
740NL80211_RADAR_CAC_FINISHED = 1
741NL80211_RADAR_CAC_ABORTED = 2
742NL80211_RADAR_NOP_FINISHED = 3
743NL80211_DFS_USABLE = 0
744NL80211_DFS_UNAVAILABLE = 1
745NL80211_DFS_AVAILABLE = 2
746NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP = 1 << 0
747NL80211_CRIT_PROTO_UNSPEC = 0
748NL80211_CRIT_PROTO_DHCP = 1
749NL80211_CRIT_PROTO_EAPOL = 2
750NL80211_CRIT_PROTO_APIPA = 3
751NUM_NL80211_CRIT_PROTO = 4
752nl80211_commands2str = {
753	NL80211_CMD_UNSPEC: "NL80211_CMD_UNSPEC",
754	NL80211_CMD_GET_WIPHY: "NL80211_CMD_GET_WIPHY",
755	NL80211_CMD_SET_WIPHY: "NL80211_CMD_SET_WIPHY",
756	NL80211_CMD_NEW_WIPHY: "NL80211_CMD_NEW_WIPHY",
757	NL80211_CMD_DEL_WIPHY: "NL80211_CMD_DEL_WIPHY",
758	NL80211_CMD_GET_INTERFACE: "NL80211_CMD_GET_INTERFACE",
759	NL80211_CMD_SET_INTERFACE: "NL80211_CMD_SET_INTERFACE",
760	NL80211_CMD_NEW_INTERFACE: "NL80211_CMD_NEW_INTERFACE",
761	NL80211_CMD_DEL_INTERFACE: "NL80211_CMD_DEL_INTERFACE",
762	NL80211_CMD_GET_KEY: "NL80211_CMD_GET_KEY",
763	NL80211_CMD_SET_KEY: "NL80211_CMD_SET_KEY",
764	NL80211_CMD_NEW_KEY: "NL80211_CMD_NEW_KEY",
765	NL80211_CMD_DEL_KEY: "NL80211_CMD_DEL_KEY",
766	NL80211_CMD_GET_BEACON: "NL80211_CMD_GET_BEACON",
767	NL80211_CMD_SET_BEACON: "NL80211_CMD_SET_BEACON",
768	NL80211_CMD_START_AP: "NL80211_CMD_START_AP",
769	NL80211_CMD_STOP_AP: "NL80211_CMD_STOP_AP",
770	NL80211_CMD_GET_STATION: "NL80211_CMD_GET_STATION",
771	NL80211_CMD_SET_STATION: "NL80211_CMD_SET_STATION",
772	NL80211_CMD_NEW_STATION: "NL80211_CMD_NEW_STATION",
773	NL80211_CMD_DEL_STATION: "NL80211_CMD_DEL_STATION",
774	NL80211_CMD_GET_MPATH: "NL80211_CMD_GET_MPATH",
775	NL80211_CMD_SET_MPATH: "NL80211_CMD_SET_MPATH",
776	NL80211_CMD_NEW_MPATH: "NL80211_CMD_NEW_MPATH",
777	NL80211_CMD_DEL_MPATH: "NL80211_CMD_DEL_MPATH",
778	NL80211_CMD_SET_BSS: "NL80211_CMD_SET_BSS",
779	NL80211_CMD_SET_REG: "NL80211_CMD_SET_REG",
780	NL80211_CMD_REQ_SET_REG: "NL80211_CMD_REQ_SET_REG",
781	NL80211_CMD_GET_MESH_CONFIG: "NL80211_CMD_GET_MESH_CONFIG",
782	NL80211_CMD_SET_MESH_CONFIG: "NL80211_CMD_SET_MESH_CONFIG",
783	NL80211_CMD_SET_MGMT_EXTRA_IE: "NL80211_CMD_SET_MGMT_EXTRA_IE",
784	NL80211_CMD_GET_REG: "NL80211_CMD_GET_REG",
785	NL80211_CMD_GET_SCAN: "NL80211_CMD_GET_SCAN",
786	NL80211_CMD_TRIGGER_SCAN: "NL80211_CMD_TRIGGER_SCAN",
787	NL80211_CMD_NEW_SCAN_RESULTS: "NL80211_CMD_NEW_SCAN_RESULTS",
788	NL80211_CMD_SCAN_ABORTED: "NL80211_CMD_SCAN_ABORTED",
789	NL80211_CMD_REG_CHANGE: "NL80211_CMD_REG_CHANGE",
790	NL80211_CMD_AUTHENTICATE: "NL80211_CMD_AUTHENTICATE",
791	NL80211_CMD_ASSOCIATE: "NL80211_CMD_ASSOCIATE",
792	NL80211_CMD_DEAUTHENTICATE: "NL80211_CMD_DEAUTHENTICATE",
793	NL80211_CMD_DISASSOCIATE: "NL80211_CMD_DISASSOCIATE",
794	NL80211_CMD_MICHAEL_MIC_FAILURE: "NL80211_CMD_MICHAEL_MIC_FAILURE",
795	NL80211_CMD_REG_BEACON_HINT: "NL80211_CMD_REG_BEACON_HINT",
796	NL80211_CMD_JOIN_IBSS: "NL80211_CMD_JOIN_IBSS",
797	NL80211_CMD_LEAVE_IBSS: "NL80211_CMD_LEAVE_IBSS",
798	NL80211_CMD_TESTMODE: "NL80211_CMD_TESTMODE",
799	NL80211_CMD_CONNECT: "NL80211_CMD_CONNECT",
800	NL80211_CMD_ROAM: "NL80211_CMD_ROAM",
801	NL80211_CMD_DISCONNECT: "NL80211_CMD_DISCONNECT",
802	NL80211_CMD_SET_WIPHY_NETNS: "NL80211_CMD_SET_WIPHY_NETNS",
803	NL80211_CMD_GET_SURVEY: "NL80211_CMD_GET_SURVEY",
804	NL80211_CMD_NEW_SURVEY_RESULTS: "NL80211_CMD_NEW_SURVEY_RESULTS",
805	NL80211_CMD_SET_PMKSA: "NL80211_CMD_SET_PMKSA",
806	NL80211_CMD_DEL_PMKSA: "NL80211_CMD_DEL_PMKSA",
807	NL80211_CMD_FLUSH_PMKSA: "NL80211_CMD_FLUSH_PMKSA",
808	NL80211_CMD_REMAIN_ON_CHANNEL: "NL80211_CMD_REMAIN_ON_CHANNEL",
809	NL80211_CMD_CANCEL_REMAIN_ON_CHANNEL: "NL80211_CMD_CANCEL_REMAIN_ON_CHANNEL",
810	NL80211_CMD_SET_TX_BITRATE_MASK: "NL80211_CMD_SET_TX_BITRATE_MASK",
811	NL80211_CMD_REGISTER_FRAME: "NL80211_CMD_REGISTER_FRAME",
812	NL80211_CMD_FRAME: "NL80211_CMD_FRAME",
813	NL80211_CMD_FRAME_TX_STATUS: "NL80211_CMD_FRAME_TX_STATUS",
814	NL80211_CMD_SET_POWER_SAVE: "NL80211_CMD_SET_POWER_SAVE",
815	NL80211_CMD_GET_POWER_SAVE: "NL80211_CMD_GET_POWER_SAVE",
816	NL80211_CMD_SET_CQM: "NL80211_CMD_SET_CQM",
817	NL80211_CMD_NOTIFY_CQM: "NL80211_CMD_NOTIFY_CQM",
818	NL80211_CMD_SET_CHANNEL: "NL80211_CMD_SET_CHANNEL",
819	NL80211_CMD_SET_WDS_PEER: "NL80211_CMD_SET_WDS_PEER",
820	NL80211_CMD_FRAME_WAIT_CANCEL: "NL80211_CMD_FRAME_WAIT_CANCEL",
821	NL80211_CMD_JOIN_MESH: "NL80211_CMD_JOIN_MESH",
822	NL80211_CMD_LEAVE_MESH: "NL80211_CMD_LEAVE_MESH",
823	NL80211_CMD_UNPROT_DEAUTHENTICATE: "NL80211_CMD_UNPROT_DEAUTHENTICATE",
824	NL80211_CMD_UNPROT_DISASSOCIATE: "NL80211_CMD_UNPROT_DISASSOCIATE",
825	NL80211_CMD_NEW_PEER_CANDIDATE: "NL80211_CMD_NEW_PEER_CANDIDATE",
826	NL80211_CMD_GET_WOWLAN: "NL80211_CMD_GET_WOWLAN",
827	NL80211_CMD_SET_WOWLAN: "NL80211_CMD_SET_WOWLAN",
828	NL80211_CMD_START_SCHED_SCAN: "NL80211_CMD_START_SCHED_SCAN",
829	NL80211_CMD_STOP_SCHED_SCAN: "NL80211_CMD_STOP_SCHED_SCAN",
830	NL80211_CMD_SCHED_SCAN_RESULTS: "NL80211_CMD_SCHED_SCAN_RESULTS",
831	NL80211_CMD_SCHED_SCAN_STOPPED: "NL80211_CMD_SCHED_SCAN_STOPPED",
832	NL80211_CMD_SET_REKEY_OFFLOAD: "NL80211_CMD_SET_REKEY_OFFLOAD",
833	NL80211_CMD_PMKSA_CANDIDATE: "NL80211_CMD_PMKSA_CANDIDATE",
834	NL80211_CMD_TDLS_OPER: "NL80211_CMD_TDLS_OPER",
835	NL80211_CMD_TDLS_MGMT: "NL80211_CMD_TDLS_MGMT",
836	NL80211_CMD_UNEXPECTED_FRAME: "NL80211_CMD_UNEXPECTED_FRAME",
837	NL80211_CMD_PROBE_CLIENT: "NL80211_CMD_PROBE_CLIENT",
838	NL80211_CMD_REGISTER_BEACONS: "NL80211_CMD_REGISTER_BEACONS",
839	NL80211_CMD_UNEXPECTED_4ADDR_FRAME: "NL80211_CMD_UNEXPECTED_4ADDR_FRAME",
840	NL80211_CMD_SET_NOACK_MAP: "NL80211_CMD_SET_NOACK_MAP",
841	NL80211_CMD_CH_SWITCH_NOTIFY: "NL80211_CMD_CH_SWITCH_NOTIFY",
842	NL80211_CMD_START_P2P_DEVICE: "NL80211_CMD_START_P2P_DEVICE",
843	NL80211_CMD_STOP_P2P_DEVICE: "NL80211_CMD_STOP_P2P_DEVICE",
844	NL80211_CMD_CONN_FAILED: "NL80211_CMD_CONN_FAILED",
845	NL80211_CMD_SET_MCAST_RATE: "NL80211_CMD_SET_MCAST_RATE",
846	NL80211_CMD_SET_MAC_ACL: "NL80211_CMD_SET_MAC_ACL",
847	NL80211_CMD_RADAR_DETECT: "NL80211_CMD_RADAR_DETECT",
848	NL80211_CMD_GET_PROTOCOL_FEATURES: "NL80211_CMD_GET_PROTOCOL_FEATURES",
849	NL80211_CMD_UPDATE_FT_IES: "NL80211_CMD_UPDATE_FT_IES",
850	NL80211_CMD_FT_EVENT: "NL80211_CMD_FT_EVENT",
851	NL80211_CMD_CRIT_PROTOCOL_START: "NL80211_CMD_CRIT_PROTOCOL_START",
852	NL80211_CMD_CRIT_PROTOCOL_STOP: "NL80211_CMD_CRIT_PROTOCOL_STOP",
853	__NL80211_CMD_AFTER_LAST: "__NL80211_CMD_AFTER_LAST",
854}
855nl80211_attrs2str = {
856	NL80211_ATTR_UNSPEC: "NL80211_ATTR_UNSPEC",
857	NL80211_ATTR_WIPHY: "NL80211_ATTR_WIPHY",
858	NL80211_ATTR_WIPHY_NAME: "NL80211_ATTR_WIPHY_NAME",
859	NL80211_ATTR_IFINDEX: "NL80211_ATTR_IFINDEX",
860	NL80211_ATTR_IFNAME: "NL80211_ATTR_IFNAME",
861	NL80211_ATTR_IFTYPE: "NL80211_ATTR_IFTYPE",
862	NL80211_ATTR_MAC: "NL80211_ATTR_MAC",
863	NL80211_ATTR_KEY_DATA: "NL80211_ATTR_KEY_DATA",
864	NL80211_ATTR_KEY_IDX: "NL80211_ATTR_KEY_IDX",
865	NL80211_ATTR_KEY_CIPHER: "NL80211_ATTR_KEY_CIPHER",
866	NL80211_ATTR_KEY_SEQ: "NL80211_ATTR_KEY_SEQ",
867	NL80211_ATTR_KEY_DEFAULT: "NL80211_ATTR_KEY_DEFAULT",
868	NL80211_ATTR_BEACON_INTERVAL: "NL80211_ATTR_BEACON_INTERVAL",
869	NL80211_ATTR_DTIM_PERIOD: "NL80211_ATTR_DTIM_PERIOD",
870	NL80211_ATTR_BEACON_HEAD: "NL80211_ATTR_BEACON_HEAD",
871	NL80211_ATTR_BEACON_TAIL: "NL80211_ATTR_BEACON_TAIL",
872	NL80211_ATTR_STA_AID: "NL80211_ATTR_STA_AID",
873	NL80211_ATTR_STA_FLAGS: "NL80211_ATTR_STA_FLAGS",
874	NL80211_ATTR_STA_LISTEN_INTERVAL: "NL80211_ATTR_STA_LISTEN_INTERVAL",
875	NL80211_ATTR_STA_SUPPORTED_RATES: "NL80211_ATTR_STA_SUPPORTED_RATES",
876	NL80211_ATTR_STA_VLAN: "NL80211_ATTR_STA_VLAN",
877	NL80211_ATTR_STA_INFO: "NL80211_ATTR_STA_INFO",
878	NL80211_ATTR_WIPHY_BANDS: "NL80211_ATTR_WIPHY_BANDS",
879	NL80211_ATTR_MNTR_FLAGS: "NL80211_ATTR_MNTR_FLAGS",
880	NL80211_ATTR_MESH_ID: "NL80211_ATTR_MESH_ID",
881	NL80211_ATTR_STA_PLINK_ACTION: "NL80211_ATTR_STA_PLINK_ACTION",
882	NL80211_ATTR_MPATH_NEXT_HOP: "NL80211_ATTR_MPATH_NEXT_HOP",
883	NL80211_ATTR_MPATH_INFO: "NL80211_ATTR_MPATH_INFO",
884	NL80211_ATTR_BSS_CTS_PROT: "NL80211_ATTR_BSS_CTS_PROT",
885	NL80211_ATTR_BSS_SHORT_PREAMBLE: "NL80211_ATTR_BSS_SHORT_PREAMBLE",
886	NL80211_ATTR_BSS_SHORT_SLOT_TIME: "NL80211_ATTR_BSS_SHORT_SLOT_TIME",
887	NL80211_ATTR_HT_CAPABILITY: "NL80211_ATTR_HT_CAPABILITY",
888	NL80211_ATTR_SUPPORTED_IFTYPES: "NL80211_ATTR_SUPPORTED_IFTYPES",
889	NL80211_ATTR_REG_ALPHA2: "NL80211_ATTR_REG_ALPHA2",
890	NL80211_ATTR_REG_RULES: "NL80211_ATTR_REG_RULES",
891	NL80211_ATTR_MESH_CONFIG: "NL80211_ATTR_MESH_CONFIG",
892	NL80211_ATTR_BSS_BASIC_RATES: "NL80211_ATTR_BSS_BASIC_RATES",
893	NL80211_ATTR_WIPHY_TXQ_PARAMS: "NL80211_ATTR_WIPHY_TXQ_PARAMS",
894	NL80211_ATTR_WIPHY_FREQ: "NL80211_ATTR_WIPHY_FREQ",
895	NL80211_ATTR_WIPHY_CHANNEL_TYPE: "NL80211_ATTR_WIPHY_CHANNEL_TYPE",
896	NL80211_ATTR_KEY_DEFAULT_MGMT: "NL80211_ATTR_KEY_DEFAULT_MGMT",
897	NL80211_ATTR_MGMT_SUBTYPE: "NL80211_ATTR_MGMT_SUBTYPE",
898	NL80211_ATTR_IE: "NL80211_ATTR_IE",
899	NL80211_ATTR_MAX_NUM_SCAN_SSIDS: "NL80211_ATTR_MAX_NUM_SCAN_SSIDS",
900	NL80211_ATTR_SCAN_FREQUENCIES: "NL80211_ATTR_SCAN_FREQUENCIES",
901	NL80211_ATTR_SCAN_SSIDS: "NL80211_ATTR_SCAN_SSIDS",
902	NL80211_ATTR_GENERATION: "NL80211_ATTR_GENERATION",
903	NL80211_ATTR_BSS: "NL80211_ATTR_BSS",
904	NL80211_ATTR_REG_INITIATOR: "NL80211_ATTR_REG_INITIATOR",
905	NL80211_ATTR_REG_TYPE: "NL80211_ATTR_REG_TYPE",
906	NL80211_ATTR_SUPPORTED_COMMANDS: "NL80211_ATTR_SUPPORTED_COMMANDS",
907	NL80211_ATTR_FRAME: "NL80211_ATTR_FRAME",
908	NL80211_ATTR_SSID: "NL80211_ATTR_SSID",
909	NL80211_ATTR_AUTH_TYPE: "NL80211_ATTR_AUTH_TYPE",
910	NL80211_ATTR_REASON_CODE: "NL80211_ATTR_REASON_CODE",
911	NL80211_ATTR_KEY_TYPE: "NL80211_ATTR_KEY_TYPE",
912	NL80211_ATTR_MAX_SCAN_IE_LEN: "NL80211_ATTR_MAX_SCAN_IE_LEN",
913	NL80211_ATTR_CIPHER_SUITES: "NL80211_ATTR_CIPHER_SUITES",
914	NL80211_ATTR_FREQ_BEFORE: "NL80211_ATTR_FREQ_BEFORE",
915	NL80211_ATTR_FREQ_AFTER: "NL80211_ATTR_FREQ_AFTER",
916	NL80211_ATTR_FREQ_FIXED: "NL80211_ATTR_FREQ_FIXED",
917	NL80211_ATTR_WIPHY_RETRY_SHORT: "NL80211_ATTR_WIPHY_RETRY_SHORT",
918	NL80211_ATTR_WIPHY_RETRY_LONG: "NL80211_ATTR_WIPHY_RETRY_LONG",
919	NL80211_ATTR_WIPHY_FRAG_THRESHOLD: "NL80211_ATTR_WIPHY_FRAG_THRESHOLD",
920	NL80211_ATTR_WIPHY_RTS_THRESHOLD: "NL80211_ATTR_WIPHY_RTS_THRESHOLD",
921	NL80211_ATTR_TIMED_OUT: "NL80211_ATTR_TIMED_OUT",
922	NL80211_ATTR_USE_MFP: "NL80211_ATTR_USE_MFP",
923	NL80211_ATTR_STA_FLAGS2: "NL80211_ATTR_STA_FLAGS2",
924	NL80211_ATTR_CONTROL_PORT: "NL80211_ATTR_CONTROL_PORT",
925	NL80211_ATTR_TESTDATA: "NL80211_ATTR_TESTDATA",
926	NL80211_ATTR_PRIVACY: "NL80211_ATTR_PRIVACY",
927	NL80211_ATTR_DISCONNECTED_BY_AP: "NL80211_ATTR_DISCONNECTED_BY_AP",
928	NL80211_ATTR_STATUS_CODE: "NL80211_ATTR_STATUS_CODE",
929	NL80211_ATTR_CIPHER_SUITES_PAIRWISE: "NL80211_ATTR_CIPHER_SUITES_PAIRWISE",
930	NL80211_ATTR_CIPHER_SUITE_GROUP: "NL80211_ATTR_CIPHER_SUITE_GROUP",
931	NL80211_ATTR_WPA_VERSIONS: "NL80211_ATTR_WPA_VERSIONS",
932	NL80211_ATTR_AKM_SUITES: "NL80211_ATTR_AKM_SUITES",
933	NL80211_ATTR_REQ_IE: "NL80211_ATTR_REQ_IE",
934	NL80211_ATTR_RESP_IE: "NL80211_ATTR_RESP_IE",
935	NL80211_ATTR_PREV_BSSID: "NL80211_ATTR_PREV_BSSID",
936	NL80211_ATTR_KEY: "NL80211_ATTR_KEY",
937	NL80211_ATTR_KEYS: "NL80211_ATTR_KEYS",
938	NL80211_ATTR_PID: "NL80211_ATTR_PID",
939	NL80211_ATTR_4ADDR: "NL80211_ATTR_4ADDR",
940	NL80211_ATTR_SURVEY_INFO: "NL80211_ATTR_SURVEY_INFO",
941	NL80211_ATTR_PMKID: "NL80211_ATTR_PMKID",
942	NL80211_ATTR_MAX_NUM_PMKIDS: "NL80211_ATTR_MAX_NUM_PMKIDS",
943	NL80211_ATTR_DURATION: "NL80211_ATTR_DURATION",
944	NL80211_ATTR_COOKIE: "NL80211_ATTR_COOKIE",
945	NL80211_ATTR_WIPHY_COVERAGE_CLASS: "NL80211_ATTR_WIPHY_COVERAGE_CLASS",
946	NL80211_ATTR_TX_RATES: "NL80211_ATTR_TX_RATES",
947	NL80211_ATTR_FRAME_MATCH: "NL80211_ATTR_FRAME_MATCH",
948	NL80211_ATTR_ACK: "NL80211_ATTR_ACK",
949	NL80211_ATTR_PS_STATE: "NL80211_ATTR_PS_STATE",
950	NL80211_ATTR_CQM: "NL80211_ATTR_CQM",
951	NL80211_ATTR_LOCAL_STATE_CHANGE: "NL80211_ATTR_LOCAL_STATE_CHANGE",
952	NL80211_ATTR_AP_ISOLATE: "NL80211_ATTR_AP_ISOLATE",
953	NL80211_ATTR_WIPHY_TX_POWER_SETTING: "NL80211_ATTR_WIPHY_TX_POWER_SETTING",
954	NL80211_ATTR_WIPHY_TX_POWER_LEVEL: "NL80211_ATTR_WIPHY_TX_POWER_LEVEL",
955	NL80211_ATTR_TX_FRAME_TYPES: "NL80211_ATTR_TX_FRAME_TYPES",
956	NL80211_ATTR_RX_FRAME_TYPES: "NL80211_ATTR_RX_FRAME_TYPES",
957	NL80211_ATTR_FRAME_TYPE: "NL80211_ATTR_FRAME_TYPE",
958	NL80211_ATTR_CONTROL_PORT_ETHERTYPE: "NL80211_ATTR_CONTROL_PORT_ETHERTYPE",
959	NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT: "NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT",
960	NL80211_ATTR_SUPPORT_IBSS_RSN: "NL80211_ATTR_SUPPORT_IBSS_RSN",
961	NL80211_ATTR_WIPHY_ANTENNA_TX: "NL80211_ATTR_WIPHY_ANTENNA_TX",
962	NL80211_ATTR_WIPHY_ANTENNA_RX: "NL80211_ATTR_WIPHY_ANTENNA_RX",
963	NL80211_ATTR_MCAST_RATE: "NL80211_ATTR_MCAST_RATE",
964	NL80211_ATTR_OFFCHANNEL_TX_OK: "NL80211_ATTR_OFFCHANNEL_TX_OK",
965	NL80211_ATTR_BSS_HT_OPMODE: "NL80211_ATTR_BSS_HT_OPMODE",
966	NL80211_ATTR_KEY_DEFAULT_TYPES: "NL80211_ATTR_KEY_DEFAULT_TYPES",
967	NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION: "NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION",
968	NL80211_ATTR_MESH_SETUP: "NL80211_ATTR_MESH_SETUP",
969	NL80211_ATTR_WIPHY_ANTENNA_AVAIL_TX: "NL80211_ATTR_WIPHY_ANTENNA_AVAIL_TX",
970	NL80211_ATTR_WIPHY_ANTENNA_AVAIL_RX: "NL80211_ATTR_WIPHY_ANTENNA_AVAIL_RX",
971	NL80211_ATTR_SUPPORT_MESH_AUTH: "NL80211_ATTR_SUPPORT_MESH_AUTH",
972	NL80211_ATTR_STA_PLINK_STATE: "NL80211_ATTR_STA_PLINK_STATE",
973	NL80211_ATTR_WOWLAN_TRIGGERS: "NL80211_ATTR_WOWLAN_TRIGGERS",
974	NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED: "NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED",
975	NL80211_ATTR_SCHED_SCAN_INTERVAL: "NL80211_ATTR_SCHED_SCAN_INTERVAL",
976	NL80211_ATTR_INTERFACE_COMBINATIONS: "NL80211_ATTR_INTERFACE_COMBINATIONS",
977	NL80211_ATTR_SOFTWARE_IFTYPES: "NL80211_ATTR_SOFTWARE_IFTYPES",
978	NL80211_ATTR_REKEY_DATA: "NL80211_ATTR_REKEY_DATA",
979	NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS: "NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS",
980	NL80211_ATTR_MAX_SCHED_SCAN_IE_LEN: "NL80211_ATTR_MAX_SCHED_SCAN_IE_LEN",
981	NL80211_ATTR_SCAN_SUPP_RATES: "NL80211_ATTR_SCAN_SUPP_RATES",
982	NL80211_ATTR_HIDDEN_SSID: "NL80211_ATTR_HIDDEN_SSID",
983	NL80211_ATTR_IE_PROBE_RESP: "NL80211_ATTR_IE_PROBE_RESP",
984	NL80211_ATTR_IE_ASSOC_RESP: "NL80211_ATTR_IE_ASSOC_RESP",
985	NL80211_ATTR_STA_WME: "NL80211_ATTR_STA_WME",
986	NL80211_ATTR_SUPPORT_AP_UAPSD: "NL80211_ATTR_SUPPORT_AP_UAPSD",
987	NL80211_ATTR_ROAM_SUPPORT: "NL80211_ATTR_ROAM_SUPPORT",
988	NL80211_ATTR_SCHED_SCAN_MATCH: "NL80211_ATTR_SCHED_SCAN_MATCH",
989	NL80211_ATTR_MAX_MATCH_SETS: "NL80211_ATTR_MAX_MATCH_SETS",
990	NL80211_ATTR_PMKSA_CANDIDATE: "NL80211_ATTR_PMKSA_CANDIDATE",
991	NL80211_ATTR_TX_NO_CCK_RATE: "NL80211_ATTR_TX_NO_CCK_RATE",
992	NL80211_ATTR_TDLS_ACTION: "NL80211_ATTR_TDLS_ACTION",
993	NL80211_ATTR_TDLS_DIALOG_TOKEN: "NL80211_ATTR_TDLS_DIALOG_TOKEN",
994	NL80211_ATTR_TDLS_OPERATION: "NL80211_ATTR_TDLS_OPERATION",
995	NL80211_ATTR_TDLS_SUPPORT: "NL80211_ATTR_TDLS_SUPPORT",
996	NL80211_ATTR_TDLS_EXTERNAL_SETUP: "NL80211_ATTR_TDLS_EXTERNAL_SETUP",
997	NL80211_ATTR_DEVICE_AP_SME: "NL80211_ATTR_DEVICE_AP_SME",
998	NL80211_ATTR_DONT_WAIT_FOR_ACK: "NL80211_ATTR_DONT_WAIT_FOR_ACK",
999	NL80211_ATTR_FEATURE_FLAGS: "NL80211_ATTR_FEATURE_FLAGS",
1000	NL80211_ATTR_PROBE_RESP_OFFLOAD: "NL80211_ATTR_PROBE_RESP_OFFLOAD",
1001	NL80211_ATTR_PROBE_RESP: "NL80211_ATTR_PROBE_RESP",
1002	NL80211_ATTR_DFS_REGION: "NL80211_ATTR_DFS_REGION",
1003	NL80211_ATTR_DISABLE_HT: "NL80211_ATTR_DISABLE_HT",
1004	NL80211_ATTR_HT_CAPABILITY_MASK: "NL80211_ATTR_HT_CAPABILITY_MASK",
1005	NL80211_ATTR_NOACK_MAP: "NL80211_ATTR_NOACK_MAP",
1006	NL80211_ATTR_INACTIVITY_TIMEOUT: "NL80211_ATTR_INACTIVITY_TIMEOUT",
1007	NL80211_ATTR_RX_SIGNAL_DBM: "NL80211_ATTR_RX_SIGNAL_DBM",
1008	NL80211_ATTR_BG_SCAN_PERIOD: "NL80211_ATTR_BG_SCAN_PERIOD",
1009	NL80211_ATTR_WDEV: "NL80211_ATTR_WDEV",
1010	NL80211_ATTR_USER_REG_HINT_TYPE: "NL80211_ATTR_USER_REG_HINT_TYPE",
1011	NL80211_ATTR_CONN_FAILED_REASON: "NL80211_ATTR_CONN_FAILED_REASON",
1012	NL80211_ATTR_SAE_DATA: "NL80211_ATTR_SAE_DATA",
1013	NL80211_ATTR_VHT_CAPABILITY: "NL80211_ATTR_VHT_CAPABILITY",
1014	NL80211_ATTR_SCAN_FLAGS: "NL80211_ATTR_SCAN_FLAGS",
1015	NL80211_ATTR_CHANNEL_WIDTH: "NL80211_ATTR_CHANNEL_WIDTH",
1016	NL80211_ATTR_CENTER_FREQ1: "NL80211_ATTR_CENTER_FREQ1",
1017	NL80211_ATTR_CENTER_FREQ2: "NL80211_ATTR_CENTER_FREQ2",
1018	NL80211_ATTR_P2P_CTWINDOW: "NL80211_ATTR_P2P_CTWINDOW",
1019	NL80211_ATTR_P2P_OPPPS: "NL80211_ATTR_P2P_OPPPS",
1020	NL80211_ATTR_LOCAL_MESH_POWER_MODE: "NL80211_ATTR_LOCAL_MESH_POWER_MODE",
1021	NL80211_ATTR_ACL_POLICY: "NL80211_ATTR_ACL_POLICY",
1022	NL80211_ATTR_MAC_ADDRS: "NL80211_ATTR_MAC_ADDRS",
1023	NL80211_ATTR_MAC_ACL_MAX: "NL80211_ATTR_MAC_ACL_MAX",
1024	NL80211_ATTR_RADAR_EVENT: "NL80211_ATTR_RADAR_EVENT",
1025	NL80211_ATTR_EXT_CAPA: "NL80211_ATTR_EXT_CAPA",
1026	NL80211_ATTR_EXT_CAPA_MASK: "NL80211_ATTR_EXT_CAPA_MASK",
1027	NL80211_ATTR_STA_CAPABILITY: "NL80211_ATTR_STA_CAPABILITY",
1028	NL80211_ATTR_STA_EXT_CAPABILITY: "NL80211_ATTR_STA_EXT_CAPABILITY",
1029	NL80211_ATTR_PROTOCOL_FEATURES: "NL80211_ATTR_PROTOCOL_FEATURES",
1030	NL80211_ATTR_SPLIT_WIPHY_DUMP: "NL80211_ATTR_SPLIT_WIPHY_DUMP",
1031	NL80211_ATTR_DISABLE_VHT: "NL80211_ATTR_DISABLE_VHT",
1032	NL80211_ATTR_VHT_CAPABILITY_MASK: "NL80211_ATTR_VHT_CAPABILITY_MASK",
1033	NL80211_ATTR_MDID: "NL80211_ATTR_MDID",
1034	NL80211_ATTR_IE_RIC: "NL80211_ATTR_IE_RIC",
1035	NL80211_ATTR_CRIT_PROT_ID: "NL80211_ATTR_CRIT_PROT_ID",
1036	NL80211_ATTR_MAX_CRIT_PROT_DURATION: "NL80211_ATTR_MAX_CRIT_PROT_DURATION",
1037	NL80211_ATTR_PEER_AID: "NL80211_ATTR_PEER_AID",
1038	__NL80211_ATTR_AFTER_LAST: "__NL80211_ATTR_AFTER_LAST",
1039}
1040nl80211_iftype2str = {
1041	NL80211_IFTYPE_UNSPECIFIED: "NL80211_IFTYPE_UNSPECIFIED",
1042	NL80211_IFTYPE_ADHOC: "NL80211_IFTYPE_ADHOC",
1043	NL80211_IFTYPE_STATION: "NL80211_IFTYPE_STATION",
1044	NL80211_IFTYPE_AP: "NL80211_IFTYPE_AP",
1045	NL80211_IFTYPE_AP_VLAN: "NL80211_IFTYPE_AP_VLAN",
1046	NL80211_IFTYPE_WDS: "NL80211_IFTYPE_WDS",
1047	NL80211_IFTYPE_MONITOR: "NL80211_IFTYPE_MONITOR",
1048	NL80211_IFTYPE_MESH_POINT: "NL80211_IFTYPE_MESH_POINT",
1049	NL80211_IFTYPE_P2P_CLIENT: "NL80211_IFTYPE_P2P_CLIENT",
1050	NL80211_IFTYPE_P2P_GO: "NL80211_IFTYPE_P2P_GO",
1051	NL80211_IFTYPE_P2P_DEVICE: "NL80211_IFTYPE_P2P_DEVICE",
1052	NUM_NL80211_IFTYPES: "NUM_NL80211_IFTYPES",
1053}
1054nl80211_sta_flags2str = {
1055	__NL80211_STA_FLAG_INVALID: "__NL80211_STA_FLAG_INVALID",
1056	NL80211_STA_FLAG_AUTHORIZED: "NL80211_STA_FLAG_AUTHORIZED",
1057	NL80211_STA_FLAG_SHORT_PREAMBLE: "NL80211_STA_FLAG_SHORT_PREAMBLE",
1058	NL80211_STA_FLAG_WME: "NL80211_STA_FLAG_WME",
1059	NL80211_STA_FLAG_MFP: "NL80211_STA_FLAG_MFP",
1060	NL80211_STA_FLAG_AUTHENTICATED: "NL80211_STA_FLAG_AUTHENTICATED",
1061	NL80211_STA_FLAG_TDLS_PEER: "NL80211_STA_FLAG_TDLS_PEER",
1062	NL80211_STA_FLAG_ASSOCIATED: "NL80211_STA_FLAG_ASSOCIATED",
1063	__NL80211_STA_FLAG_AFTER_LAST: "__NL80211_STA_FLAG_AFTER_LAST",
1064}
1065nl80211_rate_info2str = {
1066	__NL80211_RATE_INFO_INVALID: "__NL80211_RATE_INFO_INVALID",
1067	NL80211_RATE_INFO_BITRATE: "NL80211_RATE_INFO_BITRATE",
1068	NL80211_RATE_INFO_MCS: "NL80211_RATE_INFO_MCS",
1069	NL80211_RATE_INFO_40_MHZ_WIDTH: "NL80211_RATE_INFO_40_MHZ_WIDTH",
1070	NL80211_RATE_INFO_SHORT_GI: "NL80211_RATE_INFO_SHORT_GI",
1071	NL80211_RATE_INFO_BITRATE32: "NL80211_RATE_INFO_BITRATE32",
1072	NL80211_RATE_INFO_VHT_MCS: "NL80211_RATE_INFO_VHT_MCS",
1073	NL80211_RATE_INFO_VHT_NSS: "NL80211_RATE_INFO_VHT_NSS",
1074	NL80211_RATE_INFO_80_MHZ_WIDTH: "NL80211_RATE_INFO_80_MHZ_WIDTH",
1075	NL80211_RATE_INFO_80P80_MHZ_WIDTH: "NL80211_RATE_INFO_80P80_MHZ_WIDTH",
1076	NL80211_RATE_INFO_160_MHZ_WIDTH: "NL80211_RATE_INFO_160_MHZ_WIDTH",
1077	__NL80211_RATE_INFO_AFTER_LAST: "__NL80211_RATE_INFO_AFTER_LAST",
1078}
1079nl80211_sta_bss_param2str = {
1080	__NL80211_STA_BSS_PARAM_INVALID: "__NL80211_STA_BSS_PARAM_INVALID",
1081	NL80211_STA_BSS_PARAM_CTS_PROT: "NL80211_STA_BSS_PARAM_CTS_PROT",
1082	NL80211_STA_BSS_PARAM_SHORT_PREAMBLE: "NL80211_STA_BSS_PARAM_SHORT_PREAMBLE",
1083	NL80211_STA_BSS_PARAM_SHORT_SLOT_TIME: "NL80211_STA_BSS_PARAM_SHORT_SLOT_TIME",
1084	NL80211_STA_BSS_PARAM_DTIM_PERIOD: "NL80211_STA_BSS_PARAM_DTIM_PERIOD",
1085	NL80211_STA_BSS_PARAM_BEACON_INTERVAL: "NL80211_STA_BSS_PARAM_BEACON_INTERVAL",
1086	__NL80211_STA_BSS_PARAM_AFTER_LAST: "__NL80211_STA_BSS_PARAM_AFTER_LAST",
1087}
1088nl80211_sta_info2str = {
1089	__NL80211_STA_INFO_INVALID: "__NL80211_STA_INFO_INVALID",
1090	NL80211_STA_INFO_INACTIVE_TIME: "NL80211_STA_INFO_INACTIVE_TIME",
1091	NL80211_STA_INFO_RX_BYTES: "NL80211_STA_INFO_RX_BYTES",
1092	NL80211_STA_INFO_TX_BYTES: "NL80211_STA_INFO_TX_BYTES",
1093	NL80211_STA_INFO_LLID: "NL80211_STA_INFO_LLID",
1094	NL80211_STA_INFO_PLID: "NL80211_STA_INFO_PLID",
1095	NL80211_STA_INFO_PLINK_STATE: "NL80211_STA_INFO_PLINK_STATE",
1096	NL80211_STA_INFO_SIGNAL: "NL80211_STA_INFO_SIGNAL",
1097	NL80211_STA_INFO_TX_BITRATE: "NL80211_STA_INFO_TX_BITRATE",
1098	NL80211_STA_INFO_RX_PACKETS: "NL80211_STA_INFO_RX_PACKETS",
1099	NL80211_STA_INFO_TX_PACKETS: "NL80211_STA_INFO_TX_PACKETS",
1100	NL80211_STA_INFO_TX_RETRIES: "NL80211_STA_INFO_TX_RETRIES",
1101	NL80211_STA_INFO_TX_FAILED: "NL80211_STA_INFO_TX_FAILED",
1102	NL80211_STA_INFO_SIGNAL_AVG: "NL80211_STA_INFO_SIGNAL_AVG",
1103	NL80211_STA_INFO_RX_BITRATE: "NL80211_STA_INFO_RX_BITRATE",
1104	NL80211_STA_INFO_BSS_PARAM: "NL80211_STA_INFO_BSS_PARAM",
1105	NL80211_STA_INFO_CONNECTED_TIME: "NL80211_STA_INFO_CONNECTED_TIME",
1106	NL80211_STA_INFO_STA_FLAGS: "NL80211_STA_INFO_STA_FLAGS",
1107	NL80211_STA_INFO_BEACON_LOSS: "NL80211_STA_INFO_BEACON_LOSS",
1108	NL80211_STA_INFO_T_OFFSET: "NL80211_STA_INFO_T_OFFSET",
1109	NL80211_STA_INFO_LOCAL_PM: "NL80211_STA_INFO_LOCAL_PM",
1110	NL80211_STA_INFO_PEER_PM: "NL80211_STA_INFO_PEER_PM",
1111	NL80211_STA_INFO_NONPEER_PM: "NL80211_STA_INFO_NONPEER_PM",
1112	NL80211_STA_INFO_RX_BYTES64: "NL80211_STA_INFO_RX_BYTES64",
1113	NL80211_STA_INFO_TX_BYTES64: "NL80211_STA_INFO_TX_BYTES64",
1114	NL80211_STA_INFO_CHAIN_SIGNAL: "NL80211_STA_INFO_CHAIN_SIGNAL",
1115	NL80211_STA_INFO_CHAIN_SIGNAL_AVG: "NL80211_STA_INFO_CHAIN_SIGNAL_AVG",
1116	__NL80211_STA_INFO_AFTER_LAST: "__NL80211_STA_INFO_AFTER_LAST",
1117}
1118nl80211_mpath_flags2str = {
1119	NL80211_MPATH_FLAG_ACTIVE: "NL80211_MPATH_FLAG_ACTIVE",
1120	NL80211_MPATH_FLAG_RESOLVING: "NL80211_MPATH_FLAG_RESOLVING",
1121	NL80211_MPATH_FLAG_SN_VALID: "NL80211_MPATH_FLAG_SN_VALID",
1122	NL80211_MPATH_FLAG_FIXED: "NL80211_MPATH_FLAG_FIXED",
1123	NL80211_MPATH_FLAG_RESOLVED: "NL80211_MPATH_FLAG_RESOLVED",
1124}
1125nl80211_mpath_info2str = {
1126	__NL80211_MPATH_INFO_INVALID: "__NL80211_MPATH_INFO_INVALID",
1127	NL80211_MPATH_INFO_FRAME_QLEN: "NL80211_MPATH_INFO_FRAME_QLEN",
1128	NL80211_MPATH_INFO_SN: "NL80211_MPATH_INFO_SN",
1129	NL80211_MPATH_INFO_METRIC: "NL80211_MPATH_INFO_METRIC",
1130	NL80211_MPATH_INFO_EXPTIME: "NL80211_MPATH_INFO_EXPTIME",
1131	NL80211_MPATH_INFO_FLAGS: "NL80211_MPATH_INFO_FLAGS",
1132	NL80211_MPATH_INFO_DISCOVERY_TIMEOUT: "NL80211_MPATH_INFO_DISCOVERY_TIMEOUT",
1133	NL80211_MPATH_INFO_DISCOVERY_RETRIES: "NL80211_MPATH_INFO_DISCOVERY_RETRIES",
1134	__NL80211_MPATH_INFO_AFTER_LAST: "__NL80211_MPATH_INFO_AFTER_LAST",
1135}
1136nl80211_band_attr2str = {
1137	__NL80211_BAND_ATTR_INVALID: "__NL80211_BAND_ATTR_INVALID",
1138	NL80211_BAND_ATTR_FREQS: "NL80211_BAND_ATTR_FREQS",
1139	NL80211_BAND_ATTR_RATES: "NL80211_BAND_ATTR_RATES",
1140	NL80211_BAND_ATTR_HT_MCS_SET: "NL80211_BAND_ATTR_HT_MCS_SET",
1141	NL80211_BAND_ATTR_HT_CAPA: "NL80211_BAND_ATTR_HT_CAPA",
1142	NL80211_BAND_ATTR_HT_AMPDU_FACTOR: "NL80211_BAND_ATTR_HT_AMPDU_FACTOR",
1143	NL80211_BAND_ATTR_HT_AMPDU_DENSITY: "NL80211_BAND_ATTR_HT_AMPDU_DENSITY",
1144	NL80211_BAND_ATTR_VHT_MCS_SET: "NL80211_BAND_ATTR_VHT_MCS_SET",
1145	NL80211_BAND_ATTR_VHT_CAPA: "NL80211_BAND_ATTR_VHT_CAPA",
1146	__NL80211_BAND_ATTR_AFTER_LAST: "__NL80211_BAND_ATTR_AFTER_LAST",
1147}
1148nl80211_frequency_attr2str = {
1149	__NL80211_FREQUENCY_ATTR_INVALID: "__NL80211_FREQUENCY_ATTR_INVALID",
1150	NL80211_FREQUENCY_ATTR_FREQ: "NL80211_FREQUENCY_ATTR_FREQ",
1151	NL80211_FREQUENCY_ATTR_DISABLED: "NL80211_FREQUENCY_ATTR_DISABLED",
1152	NL80211_FREQUENCY_ATTR_PASSIVE_SCAN: "NL80211_FREQUENCY_ATTR_PASSIVE_SCAN",
1153	NL80211_FREQUENCY_ATTR_NO_IBSS: "NL80211_FREQUENCY_ATTR_NO_IBSS",
1154	NL80211_FREQUENCY_ATTR_RADAR: "NL80211_FREQUENCY_ATTR_RADAR",
1155	NL80211_FREQUENCY_ATTR_MAX_TX_POWER: "NL80211_FREQUENCY_ATTR_MAX_TX_POWER",
1156	NL80211_FREQUENCY_ATTR_DFS_STATE: "NL80211_FREQUENCY_ATTR_DFS_STATE",
1157	NL80211_FREQUENCY_ATTR_DFS_TIME: "NL80211_FREQUENCY_ATTR_DFS_TIME",
1158	NL80211_FREQUENCY_ATTR_NO_HT40_MINUS: "NL80211_FREQUENCY_ATTR_NO_HT40_MINUS",
1159	NL80211_FREQUENCY_ATTR_NO_HT40_PLUS: "NL80211_FREQUENCY_ATTR_NO_HT40_PLUS",
1160	NL80211_FREQUENCY_ATTR_NO_80MHZ: "NL80211_FREQUENCY_ATTR_NO_80MHZ",
1161	NL80211_FREQUENCY_ATTR_NO_160MHZ: "NL80211_FREQUENCY_ATTR_NO_160MHZ",
1162	__NL80211_FREQUENCY_ATTR_AFTER_LAST: "__NL80211_FREQUENCY_ATTR_AFTER_LAST",
1163}
1164nl80211_bitrate_attr2str = {
1165	__NL80211_BITRATE_ATTR_INVALID: "__NL80211_BITRATE_ATTR_INVALID",
1166	NL80211_BITRATE_ATTR_RATE: "NL80211_BITRATE_ATTR_RATE",
1167	NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE: "NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE",
1168	__NL80211_BITRATE_ATTR_AFTER_LAST: "__NL80211_BITRATE_ATTR_AFTER_LAST",
1169}
1170nl80211_reg_initiator2str = {
1171	NL80211_REGDOM_SET_BY_CORE: "NL80211_REGDOM_SET_BY_CORE",
1172	NL80211_REGDOM_SET_BY_USER: "NL80211_REGDOM_SET_BY_USER",
1173	NL80211_REGDOM_SET_BY_DRIVER: "NL80211_REGDOM_SET_BY_DRIVER",
1174	NL80211_REGDOM_SET_BY_COUNTRY_IE: "NL80211_REGDOM_SET_BY_COUNTRY_IE",
1175}
1176nl80211_reg_type2str = {
1177	NL80211_REGDOM_TYPE_COUNTRY: "NL80211_REGDOM_TYPE_COUNTRY",
1178	NL80211_REGDOM_TYPE_WORLD: "NL80211_REGDOM_TYPE_WORLD",
1179	NL80211_REGDOM_TYPE_CUSTOM_WORLD: "NL80211_REGDOM_TYPE_CUSTOM_WORLD",
1180	NL80211_REGDOM_TYPE_INTERSECTION: "NL80211_REGDOM_TYPE_INTERSECTION",
1181}
1182nl80211_reg_rule_attr2str = {
1183	__NL80211_REG_RULE_ATTR_INVALID: "__NL80211_REG_RULE_ATTR_INVALID",
1184	NL80211_ATTR_REG_RULE_FLAGS: "NL80211_ATTR_REG_RULE_FLAGS",
1185	NL80211_ATTR_FREQ_RANGE_START: "NL80211_ATTR_FREQ_RANGE_START",
1186	NL80211_ATTR_FREQ_RANGE_END: "NL80211_ATTR_FREQ_RANGE_END",
1187	NL80211_ATTR_FREQ_RANGE_MAX_BW: "NL80211_ATTR_FREQ_RANGE_MAX_BW",
1188	NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN: "NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN",
1189	NL80211_ATTR_POWER_RULE_MAX_EIRP: "NL80211_ATTR_POWER_RULE_MAX_EIRP",
1190	__NL80211_REG_RULE_ATTR_AFTER_LAST: "__NL80211_REG_RULE_ATTR_AFTER_LAST",
1191}
1192nl80211_sched_scan_match_attr2str = {
1193	__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID: "__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID",
1194	NL80211_SCHED_SCAN_MATCH_ATTR_SSID: "NL80211_SCHED_SCAN_MATCH_ATTR_SSID",
1195	NL80211_SCHED_SCAN_MATCH_ATTR_RSSI: "NL80211_SCHED_SCAN_MATCH_ATTR_RSSI",
1196	__NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST: "__NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST",
1197}
1198nl80211_reg_rule_flags2str = {
1199	NL80211_RRF_NO_OFDM: "NL80211_RRF_NO_OFDM",
1200	NL80211_RRF_NO_CCK: "NL80211_RRF_NO_CCK",
1201	NL80211_RRF_NO_INDOOR: "NL80211_RRF_NO_INDOOR",
1202	NL80211_RRF_NO_OUTDOOR: "NL80211_RRF_NO_OUTDOOR",
1203	NL80211_RRF_DFS: "NL80211_RRF_DFS",
1204	NL80211_RRF_PTP_ONLY: "NL80211_RRF_PTP_ONLY",
1205	NL80211_RRF_PTMP_ONLY: "NL80211_RRF_PTMP_ONLY",
1206	NL80211_RRF_PASSIVE_SCAN: "NL80211_RRF_PASSIVE_SCAN",
1207	NL80211_RRF_NO_IBSS: "NL80211_RRF_NO_IBSS",
1208}
1209nl80211_dfs_regions2str = {
1210}
1211nl80211_user_reg_hint_type2str = {
1212}
1213nl80211_survey_info2str = {
1214	__NL80211_SURVEY_INFO_INVALID: "__NL80211_SURVEY_INFO_INVALID",
1215	NL80211_SURVEY_INFO_FREQUENCY: "NL80211_SURVEY_INFO_FREQUENCY",
1216	NL80211_SURVEY_INFO_NOISE: "NL80211_SURVEY_INFO_NOISE",
1217	NL80211_SURVEY_INFO_IN_USE: "NL80211_SURVEY_INFO_IN_USE",
1218	NL80211_SURVEY_INFO_CHANNEL_TIME: "NL80211_SURVEY_INFO_CHANNEL_TIME",
1219	NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY: "NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY",
1220	NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY: "NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY",
1221	NL80211_SURVEY_INFO_CHANNEL_TIME_RX: "NL80211_SURVEY_INFO_CHANNEL_TIME_RX",
1222	NL80211_SURVEY_INFO_CHANNEL_TIME_TX: "NL80211_SURVEY_INFO_CHANNEL_TIME_TX",
1223	__NL80211_SURVEY_INFO_AFTER_LAST: "__NL80211_SURVEY_INFO_AFTER_LAST",
1224}
1225nl80211_mntr_flags2str = {
1226	__NL80211_MNTR_FLAG_INVALID: "__NL80211_MNTR_FLAG_INVALID",
1227	NL80211_MNTR_FLAG_FCSFAIL: "NL80211_MNTR_FLAG_FCSFAIL",
1228	NL80211_MNTR_FLAG_PLCPFAIL: "NL80211_MNTR_FLAG_PLCPFAIL",
1229	NL80211_MNTR_FLAG_CONTROL: "NL80211_MNTR_FLAG_CONTROL",
1230	NL80211_MNTR_FLAG_OTHER_BSS: "NL80211_MNTR_FLAG_OTHER_BSS",
1231	NL80211_MNTR_FLAG_COOK_FRAMES: "NL80211_MNTR_FLAG_COOK_FRAMES",
1232	NL80211_MNTR_FLAG_ACTIVE: "NL80211_MNTR_FLAG_ACTIVE",
1233	__NL80211_MNTR_FLAG_AFTER_LAST: "__NL80211_MNTR_FLAG_AFTER_LAST",
1234}
1235nl80211_mesh_power_mode2str = {
1236	NL80211_MESH_POWER_UNKNOWN: "NL80211_MESH_POWER_UNKNOWN",
1237	NL80211_MESH_POWER_ACTIVE: "NL80211_MESH_POWER_ACTIVE",
1238	NL80211_MESH_POWER_LIGHT_SLEEP: "NL80211_MESH_POWER_LIGHT_SLEEP",
1239	NL80211_MESH_POWER_DEEP_SLEEP: "NL80211_MESH_POWER_DEEP_SLEEP",
1240	__NL80211_MESH_POWER_AFTER_LAST: "__NL80211_MESH_POWER_AFTER_LAST",
1241}
1242nl80211_meshconf_params2str = {
1243	__NL80211_MESHCONF_INVALID: "__NL80211_MESHCONF_INVALID",
1244	NL80211_MESHCONF_RETRY_TIMEOUT: "NL80211_MESHCONF_RETRY_TIMEOUT",
1245	NL80211_MESHCONF_CONFIRM_TIMEOUT: "NL80211_MESHCONF_CONFIRM_TIMEOUT",
1246	NL80211_MESHCONF_HOLDING_TIMEOUT: "NL80211_MESHCONF_HOLDING_TIMEOUT",
1247	NL80211_MESHCONF_MAX_PEER_LINKS: "NL80211_MESHCONF_MAX_PEER_LINKS",
1248	NL80211_MESHCONF_MAX_RETRIES: "NL80211_MESHCONF_MAX_RETRIES",
1249	NL80211_MESHCONF_TTL: "NL80211_MESHCONF_TTL",
1250	NL80211_MESHCONF_AUTO_OPEN_PLINKS: "NL80211_MESHCONF_AUTO_OPEN_PLINKS",
1251	NL80211_MESHCONF_HWMP_MAX_PREQ_RETRIES: "NL80211_MESHCONF_HWMP_MAX_PREQ_RETRIES",
1252	NL80211_MESHCONF_PATH_REFRESH_TIME: "NL80211_MESHCONF_PATH_REFRESH_TIME",
1253	NL80211_MESHCONF_MIN_DISCOVERY_TIMEOUT: "NL80211_MESHCONF_MIN_DISCOVERY_TIMEOUT",
1254	NL80211_MESHCONF_HWMP_ACTIVE_PATH_TIMEOUT: "NL80211_MESHCONF_HWMP_ACTIVE_PATH_TIMEOUT",
1255	NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL: "NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL",
1256	NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME: "NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME",
1257	NL80211_MESHCONF_HWMP_ROOTMODE: "NL80211_MESHCONF_HWMP_ROOTMODE",
1258	NL80211_MESHCONF_ELEMENT_TTL: "NL80211_MESHCONF_ELEMENT_TTL",
1259	NL80211_MESHCONF_HWMP_RANN_INTERVAL: "NL80211_MESHCONF_HWMP_RANN_INTERVAL",
1260	NL80211_MESHCONF_GATE_ANNOUNCEMENTS: "NL80211_MESHCONF_GATE_ANNOUNCEMENTS",
1261	NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL: "NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL",
1262	NL80211_MESHCONF_FORWARDING: "NL80211_MESHCONF_FORWARDING",
1263	NL80211_MESHCONF_RSSI_THRESHOLD: "NL80211_MESHCONF_RSSI_THRESHOLD",
1264	NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR: "NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR",
1265	NL80211_MESHCONF_HT_OPMODE: "NL80211_MESHCONF_HT_OPMODE",
1266	NL80211_MESHCONF_HWMP_PATH_TO_ROOT_TIMEOUT: "NL80211_MESHCONF_HWMP_PATH_TO_ROOT_TIMEOUT",
1267	NL80211_MESHCONF_HWMP_ROOT_INTERVAL: "NL80211_MESHCONF_HWMP_ROOT_INTERVAL",
1268	NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL: "NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL",
1269	NL80211_MESHCONF_POWER_MODE: "NL80211_MESHCONF_POWER_MODE",
1270	NL80211_MESHCONF_AWAKE_WINDOW: "NL80211_MESHCONF_AWAKE_WINDOW",
1271	NL80211_MESHCONF_PLINK_TIMEOUT: "NL80211_MESHCONF_PLINK_TIMEOUT",
1272	__NL80211_MESHCONF_ATTR_AFTER_LAST: "__NL80211_MESHCONF_ATTR_AFTER_LAST",
1273}
1274nl80211_mesh_setup_params2str = {
1275	__NL80211_MESH_SETUP_INVALID: "__NL80211_MESH_SETUP_INVALID",
1276	NL80211_MESH_SETUP_ENABLE_VENDOR_PATH_SEL: "NL80211_MESH_SETUP_ENABLE_VENDOR_PATH_SEL",
1277	NL80211_MESH_SETUP_ENABLE_VENDOR_METRIC: "NL80211_MESH_SETUP_ENABLE_VENDOR_METRIC",
1278	NL80211_MESH_SETUP_IE: "NL80211_MESH_SETUP_IE",
1279	NL80211_MESH_SETUP_USERSPACE_AUTH: "NL80211_MESH_SETUP_USERSPACE_AUTH",
1280	NL80211_MESH_SETUP_USERSPACE_AMPE: "NL80211_MESH_SETUP_USERSPACE_AMPE",
1281	NL80211_MESH_SETUP_ENABLE_VENDOR_SYNC: "NL80211_MESH_SETUP_ENABLE_VENDOR_SYNC",
1282	NL80211_MESH_SETUP_USERSPACE_MPM: "NL80211_MESH_SETUP_USERSPACE_MPM",
1283	NL80211_MESH_SETUP_AUTH_PROTOCOL: "NL80211_MESH_SETUP_AUTH_PROTOCOL",
1284	__NL80211_MESH_SETUP_ATTR_AFTER_LAST: "__NL80211_MESH_SETUP_ATTR_AFTER_LAST",
1285}
1286nl80211_txq_attr2str = {
1287	__NL80211_TXQ_ATTR_INVALID: "__NL80211_TXQ_ATTR_INVALID",
1288	NL80211_TXQ_ATTR_AC: "NL80211_TXQ_ATTR_AC",
1289	NL80211_TXQ_ATTR_TXOP: "NL80211_TXQ_ATTR_TXOP",
1290	NL80211_TXQ_ATTR_CWMIN: "NL80211_TXQ_ATTR_CWMIN",
1291	NL80211_TXQ_ATTR_CWMAX: "NL80211_TXQ_ATTR_CWMAX",
1292	NL80211_TXQ_ATTR_AIFS: "NL80211_TXQ_ATTR_AIFS",
1293	__NL80211_TXQ_ATTR_AFTER_LAST: "__NL80211_TXQ_ATTR_AFTER_LAST",
1294}
1295nl80211_ac2str = {
1296	NL80211_AC_VO: "NL80211_AC_VO",
1297	NL80211_AC_VI: "NL80211_AC_VI",
1298	NL80211_AC_BE: "NL80211_AC_BE",
1299	NL80211_AC_BK: "NL80211_AC_BK",
1300	NL80211_NUM_ACS: "NL80211_NUM_ACS",
1301}
1302nl80211_channel_type2str = {
1303	NL80211_CHAN_NO_HT: "NL80211_CHAN_NO_HT",
1304	NL80211_CHAN_HT20: "NL80211_CHAN_HT20",
1305	NL80211_CHAN_HT40MINUS: "NL80211_CHAN_HT40MINUS",
1306	NL80211_CHAN_HT40PLUS: "NL80211_CHAN_HT40PLUS",
1307}
1308nl80211_chan_width2str = {
1309	NL80211_CHAN_WIDTH_20_NOHT: "NL80211_CHAN_WIDTH_20_NOHT",
1310	NL80211_CHAN_WIDTH_20: "NL80211_CHAN_WIDTH_20",
1311	NL80211_CHAN_WIDTH_40: "NL80211_CHAN_WIDTH_40",
1312	NL80211_CHAN_WIDTH_80: "NL80211_CHAN_WIDTH_80",
1313	NL80211_CHAN_WIDTH_80P80: "NL80211_CHAN_WIDTH_80P80",
1314	NL80211_CHAN_WIDTH_160: "NL80211_CHAN_WIDTH_160",
1315}
1316nl80211_bss2str = {
1317	__NL80211_BSS_INVALID: "__NL80211_BSS_INVALID",
1318	NL80211_BSS_BSSID: "NL80211_BSS_BSSID",
1319	NL80211_BSS_FREQUENCY: "NL80211_BSS_FREQUENCY",
1320	NL80211_BSS_TSF: "NL80211_BSS_TSF",
1321	NL80211_BSS_BEACON_INTERVAL: "NL80211_BSS_BEACON_INTERVAL",
1322	NL80211_BSS_CAPABILITY: "NL80211_BSS_CAPABILITY",
1323	NL80211_BSS_INFORMATION_ELEMENTS: "NL80211_BSS_INFORMATION_ELEMENTS",
1324	NL80211_BSS_SIGNAL_MBM: "NL80211_BSS_SIGNAL_MBM",
1325	NL80211_BSS_SIGNAL_UNSPEC: "NL80211_BSS_SIGNAL_UNSPEC",
1326	NL80211_BSS_STATUS: "NL80211_BSS_STATUS",
1327	NL80211_BSS_SEEN_MS_AGO: "NL80211_BSS_SEEN_MS_AGO",
1328	NL80211_BSS_BEACON_IES: "NL80211_BSS_BEACON_IES",
1329	__NL80211_BSS_AFTER_LAST: "__NL80211_BSS_AFTER_LAST",
1330}
1331nl80211_bss_status2str = {
1332	NL80211_BSS_STATUS_AUTHENTICATED: "NL80211_BSS_STATUS_AUTHENTICATED",
1333	NL80211_BSS_STATUS_ASSOCIATED: "NL80211_BSS_STATUS_ASSOCIATED",
1334	NL80211_BSS_STATUS_IBSS_JOINED: "NL80211_BSS_STATUS_IBSS_JOINED",
1335}
1336nl80211_auth_type2str = {
1337	NL80211_AUTHTYPE_OPEN_SYSTEM: "NL80211_AUTHTYPE_OPEN_SYSTEM",
1338	NL80211_AUTHTYPE_SHARED_KEY: "NL80211_AUTHTYPE_SHARED_KEY",
1339	NL80211_AUTHTYPE_FT: "NL80211_AUTHTYPE_FT",
1340	NL80211_AUTHTYPE_NETWORK_EAP: "NL80211_AUTHTYPE_NETWORK_EAP",
1341	NL80211_AUTHTYPE_SAE: "NL80211_AUTHTYPE_SAE",
1342	__NL80211_AUTHTYPE_NUM: "__NL80211_AUTHTYPE_NUM",
1343	NL80211_AUTHTYPE_AUTOMATIC: "NL80211_AUTHTYPE_AUTOMATIC",
1344}
1345nl80211_key_type2str = {
1346	NL80211_KEYTYPE_GROUP: "NL80211_KEYTYPE_GROUP",
1347	NL80211_KEYTYPE_PAIRWISE: "NL80211_KEYTYPE_PAIRWISE",
1348	NL80211_KEYTYPE_PEERKEY: "NL80211_KEYTYPE_PEERKEY",
1349	NUM_NL80211_KEYTYPES: "NUM_NL80211_KEYTYPES",
1350}
1351nl80211_mfp2str = {
1352	NL80211_MFP_NO: "NL80211_MFP_NO",
1353	NL80211_MFP_REQUIRED: "NL80211_MFP_REQUIRED",
1354}
1355nl80211_wpa_versions2str = {
1356	NL80211_WPA_VERSION_1: "NL80211_WPA_VERSION_1",
1357	NL80211_WPA_VERSION_2: "NL80211_WPA_VERSION_2",
1358}
1359nl80211_key_default_types2str = {
1360	__NL80211_KEY_DEFAULT_TYPE_INVALID: "__NL80211_KEY_DEFAULT_TYPE_INVALID",
1361	NL80211_KEY_DEFAULT_TYPE_UNICAST: "NL80211_KEY_DEFAULT_TYPE_UNICAST",
1362	NL80211_KEY_DEFAULT_TYPE_MULTICAST: "NL80211_KEY_DEFAULT_TYPE_MULTICAST",
1363	NUM_NL80211_KEY_DEFAULT_TYPES: "NUM_NL80211_KEY_DEFAULT_TYPES",
1364}
1365nl80211_key_attributes2str = {
1366	__NL80211_KEY_INVALID: "__NL80211_KEY_INVALID",
1367	NL80211_KEY_DATA: "NL80211_KEY_DATA",
1368	NL80211_KEY_IDX: "NL80211_KEY_IDX",
1369	NL80211_KEY_CIPHER: "NL80211_KEY_CIPHER",
1370	NL80211_KEY_SEQ: "NL80211_KEY_SEQ",
1371	NL80211_KEY_DEFAULT: "NL80211_KEY_DEFAULT",
1372	NL80211_KEY_DEFAULT_MGMT: "NL80211_KEY_DEFAULT_MGMT",
1373	NL80211_KEY_TYPE: "NL80211_KEY_TYPE",
1374	NL80211_KEY_DEFAULT_TYPES: "NL80211_KEY_DEFAULT_TYPES",
1375	__NL80211_KEY_AFTER_LAST: "__NL80211_KEY_AFTER_LAST",
1376}
1377nl80211_tx_rate_attributes2str = {
1378	__NL80211_TXRATE_INVALID: "__NL80211_TXRATE_INVALID",
1379	NL80211_TXRATE_LEGACY: "NL80211_TXRATE_LEGACY",
1380	NL80211_TXRATE_MCS: "NL80211_TXRATE_MCS",
1381	__NL80211_TXRATE_AFTER_LAST: "__NL80211_TXRATE_AFTER_LAST",
1382}
1383nl80211_band2str = {
1384	NL80211_BAND_2GHZ: "NL80211_BAND_2GHZ",
1385	NL80211_BAND_5GHZ: "NL80211_BAND_5GHZ",
1386	NL80211_BAND_60GHZ: "NL80211_BAND_60GHZ",
1387}
1388nl80211_ps_state2str = {
1389	NL80211_PS_DISABLED: "NL80211_PS_DISABLED",
1390	NL80211_PS_ENABLED: "NL80211_PS_ENABLED",
1391}
1392nl80211_attr_cqm2str = {
1393	__NL80211_ATTR_CQM_INVALID: "__NL80211_ATTR_CQM_INVALID",
1394	NL80211_ATTR_CQM_RSSI_THOLD: "NL80211_ATTR_CQM_RSSI_THOLD",
1395	NL80211_ATTR_CQM_RSSI_HYST: "NL80211_ATTR_CQM_RSSI_HYST",
1396	NL80211_ATTR_CQM_RSSI_THRESHOLD_EVENT: "NL80211_ATTR_CQM_RSSI_THRESHOLD_EVENT",
1397	NL80211_ATTR_CQM_PKT_LOSS_EVENT: "NL80211_ATTR_CQM_PKT_LOSS_EVENT",
1398	NL80211_ATTR_CQM_TXE_RATE: "NL80211_ATTR_CQM_TXE_RATE",
1399	NL80211_ATTR_CQM_TXE_PKTS: "NL80211_ATTR_CQM_TXE_PKTS",
1400	NL80211_ATTR_CQM_TXE_INTVL: "NL80211_ATTR_CQM_TXE_INTVL",
1401	__NL80211_ATTR_CQM_AFTER_LAST: "__NL80211_ATTR_CQM_AFTER_LAST",
1402}
1403nl80211_cqm_rssi_threshold_event2str = {
1404	NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW: "NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW",
1405	NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH: "NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH",
1406	NL80211_CQM_RSSI_BEACON_LOSS_EVENT: "NL80211_CQM_RSSI_BEACON_LOSS_EVENT",
1407}
1408nl80211_tx_power_setting2str = {
1409	NL80211_TX_POWER_AUTOMATIC: "NL80211_TX_POWER_AUTOMATIC",
1410	NL80211_TX_POWER_LIMITED: "NL80211_TX_POWER_LIMITED",
1411	NL80211_TX_POWER_FIXED: "NL80211_TX_POWER_FIXED",
1412}
1413nl80211_wowlan_packet_pattern_attr2str = {
1414	__NL80211_WOWLAN_PKTPAT_INVALID: "__NL80211_WOWLAN_PKTPAT_INVALID",
1415	NL80211_WOWLAN_PKTPAT_MASK: "NL80211_WOWLAN_PKTPAT_MASK",
1416	NL80211_WOWLAN_PKTPAT_PATTERN: "NL80211_WOWLAN_PKTPAT_PATTERN",
1417	NL80211_WOWLAN_PKTPAT_OFFSET: "NL80211_WOWLAN_PKTPAT_OFFSET",
1418	NUM_NL80211_WOWLAN_PKTPAT: "NUM_NL80211_WOWLAN_PKTPAT",
1419}
1420nl80211_wowlan_triggers2str = {
1421	__NL80211_WOWLAN_TRIG_INVALID: "__NL80211_WOWLAN_TRIG_INVALID",
1422	NL80211_WOWLAN_TRIG_ANY: "NL80211_WOWLAN_TRIG_ANY",
1423	NL80211_WOWLAN_TRIG_DISCONNECT: "NL80211_WOWLAN_TRIG_DISCONNECT",
1424	NL80211_WOWLAN_TRIG_MAGIC_PKT: "NL80211_WOWLAN_TRIG_MAGIC_PKT",
1425	NL80211_WOWLAN_TRIG_PKT_PATTERN: "NL80211_WOWLAN_TRIG_PKT_PATTERN",
1426	NL80211_WOWLAN_TRIG_GTK_REKEY_SUPPORTED: "NL80211_WOWLAN_TRIG_GTK_REKEY_SUPPORTED",
1427	NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE: "NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE",
1428	NL80211_WOWLAN_TRIG_EAP_IDENT_REQUEST: "NL80211_WOWLAN_TRIG_EAP_IDENT_REQUEST",
1429	NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE: "NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE",
1430	NL80211_WOWLAN_TRIG_RFKILL_RELEASE: "NL80211_WOWLAN_TRIG_RFKILL_RELEASE",
1431	NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211: "NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211",
1432	NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211_LEN: "NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211_LEN",
1433	NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023: "NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023",
1434	NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023_LEN: "NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023_LEN",
1435	NL80211_WOWLAN_TRIG_TCP_CONNECTION: "NL80211_WOWLAN_TRIG_TCP_CONNECTION",
1436	NL80211_WOWLAN_TRIG_WAKEUP_TCP_MATCH: "NL80211_WOWLAN_TRIG_WAKEUP_TCP_MATCH",
1437	NL80211_WOWLAN_TRIG_WAKEUP_TCP_CONNLOST: "NL80211_WOWLAN_TRIG_WAKEUP_TCP_CONNLOST",
1438	NL80211_WOWLAN_TRIG_WAKEUP_TCP_NOMORETOKENS: "NL80211_WOWLAN_TRIG_WAKEUP_TCP_NOMORETOKENS",
1439	NUM_NL80211_WOWLAN_TRIG: "NUM_NL80211_WOWLAN_TRIG",
1440}
1441nl80211_wowlan_tcp_attrs2str = {
1442	__NL80211_WOWLAN_TCP_INVALID: "__NL80211_WOWLAN_TCP_INVALID",
1443	NL80211_WOWLAN_TCP_SRC_IPV4: "NL80211_WOWLAN_TCP_SRC_IPV4",
1444	NL80211_WOWLAN_TCP_DST_IPV4: "NL80211_WOWLAN_TCP_DST_IPV4",
1445	NL80211_WOWLAN_TCP_DST_MAC: "NL80211_WOWLAN_TCP_DST_MAC",
1446	NL80211_WOWLAN_TCP_SRC_PORT: "NL80211_WOWLAN_TCP_SRC_PORT",
1447	NL80211_WOWLAN_TCP_DST_PORT: "NL80211_WOWLAN_TCP_DST_PORT",
1448	NL80211_WOWLAN_TCP_DATA_PAYLOAD: "NL80211_WOWLAN_TCP_DATA_PAYLOAD",
1449	NL80211_WOWLAN_TCP_DATA_PAYLOAD_SEQ: "NL80211_WOWLAN_TCP_DATA_PAYLOAD_SEQ",
1450	NL80211_WOWLAN_TCP_DATA_PAYLOAD_TOKEN: "NL80211_WOWLAN_TCP_DATA_PAYLOAD_TOKEN",
1451	NL80211_WOWLAN_TCP_DATA_INTERVAL: "NL80211_WOWLAN_TCP_DATA_INTERVAL",
1452	NL80211_WOWLAN_TCP_WAKE_PAYLOAD: "NL80211_WOWLAN_TCP_WAKE_PAYLOAD",
1453	NL80211_WOWLAN_TCP_WAKE_MASK: "NL80211_WOWLAN_TCP_WAKE_MASK",
1454	NUM_NL80211_WOWLAN_TCP: "NUM_NL80211_WOWLAN_TCP",
1455}
1456nl80211_iface_limit_attrs2str = {
1457	NL80211_IFACE_LIMIT_UNSPEC: "NL80211_IFACE_LIMIT_UNSPEC",
1458	NL80211_IFACE_LIMIT_MAX: "NL80211_IFACE_LIMIT_MAX",
1459	NL80211_IFACE_LIMIT_TYPES: "NL80211_IFACE_LIMIT_TYPES",
1460	NUM_NL80211_IFACE_LIMIT: "NUM_NL80211_IFACE_LIMIT",
1461}
1462nl80211_if_combination_attrs2str = {
1463	NL80211_IFACE_COMB_UNSPEC: "NL80211_IFACE_COMB_UNSPEC",
1464	NL80211_IFACE_COMB_LIMITS: "NL80211_IFACE_COMB_LIMITS",
1465	NL80211_IFACE_COMB_MAXNUM: "NL80211_IFACE_COMB_MAXNUM",
1466	NL80211_IFACE_COMB_STA_AP_BI_MATCH: "NL80211_IFACE_COMB_STA_AP_BI_MATCH",
1467	NL80211_IFACE_COMB_NUM_CHANNELS: "NL80211_IFACE_COMB_NUM_CHANNELS",
1468	NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS: "NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS",
1469	NUM_NL80211_IFACE_COMB: "NUM_NL80211_IFACE_COMB",
1470}
1471nl80211_plink_state2str = {
1472	NL80211_PLINK_LISTEN: "NL80211_PLINK_LISTEN",
1473	NL80211_PLINK_OPN_SNT: "NL80211_PLINK_OPN_SNT",
1474	NL80211_PLINK_OPN_RCVD: "NL80211_PLINK_OPN_RCVD",
1475	NL80211_PLINK_CNF_RCVD: "NL80211_PLINK_CNF_RCVD",
1476	NL80211_PLINK_ESTAB: "NL80211_PLINK_ESTAB",
1477	NL80211_PLINK_HOLDING: "NL80211_PLINK_HOLDING",
1478	NL80211_PLINK_BLOCKED: "NL80211_PLINK_BLOCKED",
1479	NUM_NL80211_PLINK_STATES: "NUM_NL80211_PLINK_STATES",
1480}
1481plink_actions2str = {
1482	NL80211_PLINK_ACTION_NO_ACTION: "NL80211_PLINK_ACTION_NO_ACTION",
1483	NL80211_PLINK_ACTION_OPEN: "NL80211_PLINK_ACTION_OPEN",
1484	NL80211_PLINK_ACTION_BLOCK: "NL80211_PLINK_ACTION_BLOCK",
1485	NUM_NL80211_PLINK_ACTIONS: "NUM_NL80211_PLINK_ACTIONS",
1486}
1487nl80211_rekey_data2str = {
1488	__NL80211_REKEY_DATA_INVALID: "__NL80211_REKEY_DATA_INVALID",
1489	NL80211_REKEY_DATA_KEK: "NL80211_REKEY_DATA_KEK",
1490	NL80211_REKEY_DATA_KCK: "NL80211_REKEY_DATA_KCK",
1491	NL80211_REKEY_DATA_REPLAY_CTR: "NL80211_REKEY_DATA_REPLAY_CTR",
1492	NUM_NL80211_REKEY_DATA: "NUM_NL80211_REKEY_DATA",
1493}
1494nl80211_hidden_ssid2str = {
1495	NL80211_HIDDEN_SSID_NOT_IN_USE: "NL80211_HIDDEN_SSID_NOT_IN_USE",
1496	NL80211_HIDDEN_SSID_ZERO_LEN: "NL80211_HIDDEN_SSID_ZERO_LEN",
1497	NL80211_HIDDEN_SSID_ZERO_CONTENTS: "NL80211_HIDDEN_SSID_ZERO_CONTENTS",
1498}
1499nl80211_sta_wme_attr2str = {
1500	__NL80211_STA_WME_INVALID: "__NL80211_STA_WME_INVALID",
1501	NL80211_STA_WME_UAPSD_QUEUES: "NL80211_STA_WME_UAPSD_QUEUES",
1502	NL80211_STA_WME_MAX_SP: "NL80211_STA_WME_MAX_SP",
1503	__NL80211_STA_WME_AFTER_LAST: "__NL80211_STA_WME_AFTER_LAST",
1504}
1505nl80211_pmksa_candidate_attr2str = {
1506	__NL80211_PMKSA_CANDIDATE_INVALID: "__NL80211_PMKSA_CANDIDATE_INVALID",
1507	NL80211_PMKSA_CANDIDATE_INDEX: "NL80211_PMKSA_CANDIDATE_INDEX",
1508	NL80211_PMKSA_CANDIDATE_BSSID: "NL80211_PMKSA_CANDIDATE_BSSID",
1509	NL80211_PMKSA_CANDIDATE_PREAUTH: "NL80211_PMKSA_CANDIDATE_PREAUTH",
1510	NUM_NL80211_PMKSA_CANDIDATE: "NUM_NL80211_PMKSA_CANDIDATE",
1511}
1512nl80211_tdls_operation2str = {
1513	NL80211_TDLS_DISCOVERY_REQ: "NL80211_TDLS_DISCOVERY_REQ",
1514	NL80211_TDLS_SETUP: "NL80211_TDLS_SETUP",
1515	NL80211_TDLS_TEARDOWN: "NL80211_TDLS_TEARDOWN",
1516	NL80211_TDLS_ENABLE_LINK: "NL80211_TDLS_ENABLE_LINK",
1517	NL80211_TDLS_DISABLE_LINK: "NL80211_TDLS_DISABLE_LINK",
1518}
1519nl80211_feature_flags2str = {
1520	NL80211_FEATURE_SK_TX_STATUS: "NL80211_FEATURE_SK_TX_STATUS",
1521	NL80211_FEATURE_HT_IBSS: "NL80211_FEATURE_HT_IBSS",
1522	NL80211_FEATURE_INACTIVITY_TIMER: "NL80211_FEATURE_INACTIVITY_TIMER",
1523	NL80211_FEATURE_CELL_BASE_REG_HINTS: "NL80211_FEATURE_CELL_BASE_REG_HINTS",
1524	NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL: "NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL",
1525	NL80211_FEATURE_SAE: "NL80211_FEATURE_SAE",
1526	NL80211_FEATURE_LOW_PRIORITY_SCAN: "NL80211_FEATURE_LOW_PRIORITY_SCAN",
1527	NL80211_FEATURE_SCAN_FLUSH: "NL80211_FEATURE_SCAN_FLUSH",
1528	NL80211_FEATURE_AP_SCAN: "NL80211_FEATURE_AP_SCAN",
1529	NL80211_FEATURE_VIF_TXPOWER: "NL80211_FEATURE_VIF_TXPOWER",
1530	NL80211_FEATURE_NEED_OBSS_SCAN: "NL80211_FEATURE_NEED_OBSS_SCAN",
1531	NL80211_FEATURE_P2P_GO_CTWIN: "NL80211_FEATURE_P2P_GO_CTWIN",
1532	NL80211_FEATURE_P2P_GO_OPPPS: "NL80211_FEATURE_P2P_GO_OPPPS",
1533	NL80211_FEATURE_ADVERTISE_CHAN_LIMITS: "NL80211_FEATURE_ADVERTISE_CHAN_LIMITS",
1534	NL80211_FEATURE_FULL_AP_CLIENT_STATE: "NL80211_FEATURE_FULL_AP_CLIENT_STATE",
1535	NL80211_FEATURE_USERSPACE_MPM: "NL80211_FEATURE_USERSPACE_MPM",
1536	NL80211_FEATURE_ACTIVE_MONITOR: "NL80211_FEATURE_ACTIVE_MONITOR",
1537}
1538nl80211_probe_resp_offload_support_attr2str = {
1539	NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS: "NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS",
1540	NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2: "NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2",
1541	NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P: "NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P",
1542	NL80211_PROBE_RESP_OFFLOAD_SUPPORT_80211U: "NL80211_PROBE_RESP_OFFLOAD_SUPPORT_80211U",
1543}
1544nl80211_connect_failed_reason2str = {
1545	NL80211_CONN_FAIL_MAX_CLIENTS: "NL80211_CONN_FAIL_MAX_CLIENTS",
1546	NL80211_CONN_FAIL_BLOCKED_CLIENT: "NL80211_CONN_FAIL_BLOCKED_CLIENT",
1547}
1548nl80211_scan_flags2str = {
1549	NL80211_SCAN_FLAG_LOW_PRIORITY: "NL80211_SCAN_FLAG_LOW_PRIORITY",
1550	NL80211_SCAN_FLAG_FLUSH: "NL80211_SCAN_FLAG_FLUSH",
1551	NL80211_SCAN_FLAG_AP: "NL80211_SCAN_FLAG_AP",
1552}
1553nl80211_acl_policy2str = {
1554	NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED: "NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED",
1555	NL80211_ACL_POLICY_DENY_UNLESS_LISTED: "NL80211_ACL_POLICY_DENY_UNLESS_LISTED",
1556}
1557nl80211_radar_event2str = {
1558	NL80211_RADAR_DETECTED: "NL80211_RADAR_DETECTED",
1559	NL80211_RADAR_CAC_FINISHED: "NL80211_RADAR_CAC_FINISHED",
1560	NL80211_RADAR_CAC_ABORTED: "NL80211_RADAR_CAC_ABORTED",
1561	NL80211_RADAR_NOP_FINISHED: "NL80211_RADAR_NOP_FINISHED",
1562}
1563nl80211_dfs_state2str = {
1564	NL80211_DFS_USABLE: "NL80211_DFS_USABLE",
1565	NL80211_DFS_UNAVAILABLE: "NL80211_DFS_UNAVAILABLE",
1566	NL80211_DFS_AVAILABLE: "NL80211_DFS_AVAILABLE",
1567}
1568nl80211_protocol_features2str = {
1569	NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP: "NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP",
1570}
1571nl80211_crit_proto_id2str = {
1572	NL80211_CRIT_PROTO_UNSPEC: "NL80211_CRIT_PROTO_UNSPEC",
1573	NL80211_CRIT_PROTO_DHCP: "NL80211_CRIT_PROTO_DHCP",
1574	NL80211_CRIT_PROTO_EAPOL: "NL80211_CRIT_PROTO_EAPOL",
1575	NL80211_CRIT_PROTO_APIPA: "NL80211_CRIT_PROTO_APIPA",
1576	NUM_NL80211_CRIT_PROTO: "NUM_NL80211_CRIT_PROTO",
1577}
1578