modules/admin-core: sync uci schema
[project/luci.git] / modules / admin-core / root / lib / uci / schema / default / wireless
1 package wireless
2
3 config package
4 option title 'Wireless LAN'
5
6 config section
7 option name 'wifi-device'
8 option package 'wireless'
9 option title 'Devices'
10 option named true
11
12 config variable
13 option name 'disabled'
14 option section 'wireless.wifi-device'
15 option title 'disabled'
16 option datatype boolean
17
18 config variable
19 option name 'type'
20 option section 'wireless.wifi-device'
21 option title 'Type'
22 option required true
23
24 config variable
25 option name 'channel'
26 option section 'wireless.wifi-device'
27 option title 'Channel'
28
29 config variable
30 option name 'mode'
31 option section 'wireless.wifi-device'
32 option title 'Mode (atheros)'
33 option type enum
34 list depends type=atheros
35
36 config enum
37 option variable 'wireless.wifi-device.mode'
38 option value ''
39 option title 'auto'
40
41 config enum
42 option variable 'wireless.wifi-device.mode'
43 option value '11b'
44 option title '802.11b'
45
46 config enum
47 option variable 'wireless.wifi-device.mode'
48 option value '11g'
49 option title '802.11g'
50
51 config enum
52 option variable 'wireless.wifi-device.mode'
53 option value '11a'
54 option title '802.11a'
55
56 config enum
57 option variable 'wireless.wifi-device.mode'
58 option value '11bg'
59 option title '802.11b+g'
60
61 config enum
62 option variable 'wireless.wifi-device.mode'
63 option value '11gdt'
64 option title '802.11adt'
65
66 config enum
67 option variable 'wireless.wifi-device.mode'
68 option value '11adt'
69 option title '802.11adt'
70
71 config enum
72 option variable 'wireless.wifi-device.mode'
73 option value 'fh'
74 option title 'Frequency Hopping'
75
76 config variable
77 option name 'diversity'
78 option section 'wireless.wifi-device'
79 option title 'Diversity (atheros)'
80 option datatype boolean
81 list depends type=atheros
82
83 config variable
84 option name 'txpower'
85 option section 'wireless.wifi-device'
86 option title 'Transmit Power'
87 option description 'dbm'
88 option datatype uint
89
90 config variable
91 option name 'txantenna'
92 option section 'wireless.wifi-device'
93 option title 'Transmitter Antenna'
94 option datatype uint
95 list depends type=atheros
96 list depends type=broadcom
97
98 config variable
99 option name 'rxantenna'
100 option section 'wireless.wifi-device'
101 option title 'Receiver Antenna'
102 option datatype uint
103 list depends type=atheros
104 list depends type=broadcom
105
106 config variable
107 option name 'distance'
108 option section 'wireless.wifi-device'
109 option title 'Distance Optimization (atheros, broadcom)'
110 option description 'Distance to farthest network member in meters.'
111 option datatype uint
112 list depends type=atheros
113 list depends type=broadcom
114
115 config variable
116 option name 'macfilter'
117 option section 'wireless.wifi-device'
118 option title 'MAC-Address Filter (broadcom)'
119 option type enum
120 list depends type=broadcom
121
122 config enum
123 option variable 'wireless.wifi-device.macfilter'
124 option value 'deny'
125 option title 'Allow listed only'
126
127 config enum
128 option variable 'wireless.wifi-device.macfilter'
129 option value 'allow'
130 option title 'Allow all except listed'
131
132 config variable
133 option name 'maclist'
134 option section 'wireless.wifi-device'
135 option title 'MAC-List (broadcom)'
136 list depends 'type=broadcom, macfilter=allow'
137 list depends 'type=broadcom, macfilter=deny'
138 option type lazylist
139 option datatype macaddr
140
141 config variable
142 option name 'frameburst'
143 option section 'wireless.wifi-device'
144 option title 'Frame Bursting (broadcom)'
145 option datatype boolean
146 list depends 'type=broadcom'
147
148 config variable
149 option name 'country'
150 option section 'wireless.wifi-device'
151 option title 'Country Code (broadcom)'
152 list depends 'type=broadcom'
153
154 config variable
155 option name 'maxassoc'
156 option section 'wireless.wifi-device'
157 option title 'Connection Limit (broadcom)'
158 option datatype uint
159 list depends 'type=broadcom'
160
161
162 config section
163 option name 'wifi-iface'
164 option package 'wireless'
165 option title 'Interfaces'
166
167 config variable
168 option name 'device'
169 option section 'wireless.wifi-iface'
170 option title 'Wifi Device'
171 option valueof 'wireless.wifi-device'
172
173 config variable
174 option name 'ssid'
175 option section 'wireless.wifi-iface'
176 option title 'ESSID'
177
178 config variable
179 option name 'network'
180 option section 'wireless.wifi-iface'
181 option title 'Network'
182 option description 'Add the Wifi network to physical network'
183 option type reference
184 list valueof network.interface
185
186 config variable
187 option name 'mode'
188 option section 'wireless.wifi-iface'
189 option title 'Mode'
190 option required true
191 option type enum
192
193 config enum
194 option variable 'wireless.wifi-iface.mode'
195 option value 'ap'
196 option title 'Access Point'
197
198 config enum
199 option variable 'wireless.wifi-iface.mode'
200 option value 'adhoc'
201 option title 'Ad-Hoc'
202
203 config enum
204 option variable 'wireless.wifi-iface.mode'
205 option value 'sta'
206 option title 'Client'
207
208 config enum
209 option variable 'wireless.wifi-iface.mode'
210 option value 'monitor'
211 option title 'Monitor'
212
213 config enum
214 option variable 'wireless.wifi-iface.mode'
215 option value 'ahdemo'
216 option title 'Pseudo Ad-Hoc (ahdemo)'
217
218 config enum
219 option variable 'wireless.wifi-iface.mode'
220 option value 'wds'
221 option title 'WDS'
222
223 config enum
224 option variable 'wireless.wifi-iface.mode'
225 option value 'mesh'
226 option title 'Mesh (802.11s)'
227
228 config variable
229 option name 'bssid'
230 option section 'wireless.wifi-iface'
231 option title 'BSSID'
232
233 config variable
234 option name 'txpower'
235 option section 'wireless.wifi-iface'
236 option title 'Transmit Power'
237 option description 'dbm'
238 option datatype uint
239
240 config variable
241 option name 'frag'
242 option section 'wireless.wifi-iface'
243 option title 'Fragmentation Threshold (mac80211, atheros)'
244 option datatype uint
245
246 config variable
247 option name 'rts'
248 option section 'wireless.wifi-iface'
249 option title 'RTS/CTS Threshold (mac80211, atheros)'
250 option datatype uint
251
252 config variable
253 option name 'wds'
254 option section 'wireless.wifi-iface'
255 option title 'WDS (atheros)'
256 option datatype boolean
257 list depends 'mode=ap'
258 list depends 'mode=sta'
259
260 config variable
261 option name 'wdssep'
262 option section 'wireless.wifi-iface'
263 option title 'Separate WDS (atheros)'
264 option datatype boolean
265 list depends 'wds=1,mode=ap'
266
267 config variable
268 option name 'doth'
269 option section 'wireless.wifi-iface'
270 option title '802.11h (atheros)'
271 option datatype boolean
272
273 config variable
274 option name 'hidden'
275 option section 'wireless.wifi-iface'
276 option title 'Hide ESSID (atheros, broadcom)'
277 option datatype boolean
278 list depends 'mode=ap'
279 list depends 'mode=adhoc'
280 list depends 'mode=wds'
281
282 config variable
283 option name 'isolate'
284 option section 'wireless.wifi-iface'
285 option title 'isolate (atheros, broadcom)'
286 option datatype boolean
287 list depends 'mode=ap'
288
289 config variable
290 option name 'bgscan'
291 option section 'wireless.wifi-iface'
292 option title 'Background Scan (atheros)'
293 option datatype boolean
294
295 config variable
296 option name 'sw_merge'
297 option section 'wireless.wifi-iface'
298 option title 'Disable Ad-Hoc HW beacon timer (atheros)'
299 option datatype boolean
300
301 config variable
302 option name 'nosbeacon'
303 option section 'wireless.wifi-iface'
304 option title 'Disable station HW beacon timer (atheros)'
305 option datatype boolean
306
307 config variable
308 option name 'probereq'
309 option section 'wireless.wifi-iface'
310 option title 'Disable probe responses (atheros)'
311 option datatype boolean
312
313 config variable
314 option name 'macpolicy'
315 option section 'wireless.wifi-iface'
316 option title 'MAC-Address Filter (atheros)'
317 option type enum
318
319 config enum
320 option variable 'wireless.wifi-iface.macpolicy'
321 option value 'deny'
322 option title 'Allow listed only'
323
324 config enum
325 option variable 'wireless.wifi-iface.macpolicy'
326 option value 'allow'
327 option title 'Allow all except listed'
328
329 config variable
330 option name 'maclist'
331 option section 'wireless.wifi-iface'
332 option title 'MAC-List (atheros)'
333 list depends 'macpolicy=allow'
334 list depends 'macpolicy=deny'
335 option type lazylist
336 option datatype macaddr
337
338 config variable
339 option name 'rate'
340 option section 'wireless.wifi-iface'
341 option title 'Transmission Rate (atheros)'
342
343 config variable
344 option name 'mcast_rate'
345 option section 'wireless.wifi-iface'
346 option title 'Multicast Rate (atheros)'
347
348 config variable
349 option name 'minrate'
350 option section 'wireless.wifi-iface'
351 option title 'Minimum Rate (atheros)'
352
353 config variable
354 option name 'maxrate'
355 option section 'wireless.wifi-iface'
356 option title 'Maximum Rate (atheros)'
357
358 config variable
359 option name 'compression'
360 option section 'wireless.wifi-iface'
361 option title 'Compression (atheros)'
362 option datatype boolean
363
364 config variable
365 option name 'bursting'
366 option section 'wireless.wifi-iface'
367 option title 'Frame Bursting (atheros)'
368 option datatype boolean
369
370 config variable
371 option name 'turbo'
372 option section 'wireless.wifi-iface'
373 option title 'Turbo Mode (atheros)'
374 option datatype boolean
375
376 config variable
377 option name 'ff'
378 option section 'wireless.wifi-iface'
379 option title 'Fast Frames (atheros)'
380
381 config variable
382 option name 'wmm'
383 option section 'wireless.wifi-iface'
384 option title 'WMM Mode (atheros)'
385 option datatype boolean
386
387 config variable
388 option name 'xr'
389 option section 'wireless.wifi-iface'
390 option title 'XR Support (atheros)'
391 option datatype boolean
392
393 config variable
394 option name 'ar'
395 option section 'wireless.wifi-iface'
396 option title 'AR Support (atheros)'
397 option datatype boolean
398
399 config variable
400 option name 'encryption'
401 option section 'wireless.wifi-iface'
402 option title 'Encryption'
403 option description 'WPA-Encryption requires wpa_supplicant (for client mode) or hostapd (for AP and ad-hoc mode) to be installed.'
404 option type enum
405
406 config enum
407 option variable 'wireless.wifi-iface.encryption'
408 option value 'none'
409 option title 'No Encryption'
410
411 config enum
412 option variable 'wireless.wifi-iface.encryption'
413 option value 'wep'
414 option title 'WEP'
415
416 config enum
417 option variable 'wireless.wifi-iface.encryption'
418 option value 'psk'
419 option title 'WPA-PSK'
420
421 config enum
422 option variable 'wireless.wifi-iface.encryption'
423 option value 'psk2'
424 option title 'WPA2-PSK'
425
426 config enum
427 option variable 'wireless.wifi-iface.encryption'
428 option value 'wpa'
429 option title 'WPA-EAP'
430
431 config enum
432 option variable 'wireless.wifi-iface.encryption'
433 option value 'wpa2'
434 option title 'WPA2-EAP'
435
436 config variable
437 option name 'server'
438 option section 'wireless.wifi-iface'
439 option title 'RadiusServer'
440 list depends 'encryption=wpa,mode=ap'
441 list depends 'encryption=wpa2,mode=ap'
442 option datatype host
443
444 config variable
445 option name 'port'
446 option section 'wireless.wifi-iface'
447 option title 'Radius-Port'
448 list depends 'encryption=wpa,mode=ap'
449 list depends 'encryption=wpa2,mode=ap'
450 option datatype port
451
452 config variable
453 option name 'key'
454 option section 'wireless.wifi-iface'
455 option title 'Key'
456 option minlength 8
457 option maxlength 63
458 list depends 'encryption=wep'
459 list depends 'encryption=psk'
460 list depends 'encryption=wpa,mode=ap'
461 list depends 'encryption=psk2'
462 list depends 'encryption=wpa2,mode=ap'
463 list depends 'encryption=psk+psk2'
464 list depends 'encryption=mixed'
465
466 config variable
467 option name 'nasid'
468 option section 'wireless.wifi-iface'
469 option title 'NAS ID'
470 list depends 'encryption=wpa,mode=ap'
471 list depends 'encryption=wpa2,mode=ap'
472
473 config variable
474 option name 'eap_type'
475 option section 'wireless.wifi-iface'
476 option title 'EAP-Method'
477 option type enum
478 list depends 'encryption=wpa,mode=sta'
479 list depends 'encryption=wpa2,mode=sta'
480
481 config enum
482 option variable 'wireless.wifi-iface.eap_type'
483 option value 'TLS'
484
485 config enum
486 option variable 'wireless.wifi-iface.eap_type'
487 option value 'PEAP'
488
489 config enum
490 option variable 'wireless.wifi-iface.eap_type'
491 option value 'TTLS'
492
493 config variable
494 option name 'ca_cert'
495 option section 'wireless.wifi-iface'
496 option title 'Path to CA-Certificate'
497 list depends 'encryption=wpa,mode=sta'
498 list depends 'encryption=wpa2,mode=sta'
499 option datatype file
500
501 config variable
502 option name 'priv_key'
503 option section 'wireless.wifi-iface'
504 option title 'Path to Private Key'
505 list depends 'mode=sta,encryption=wpa2,eap_type=TLS'
506 list depends 'mode=sta,encryption=wpa,eap_type=TLS'
507 option datatype file
508
509
510 config variable
511 option name 'priv_key_pwd'
512 option section 'wireless.wifi-iface'
513 option title 'Password of Private Key'
514 list depends 'mode=sta,encryption=wpa2,eap_type=TLS'
515 list depends 'mode=sta,encryption=wpa,eap_type=TLS'
516
517 config variable
518 option name 'auth'
519 option section 'wireless.wifi-iface'
520 option title 'Authentication'
521 list depends 'mode=sta,encryption=wpa2,eap_type=PEAP'
522 list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
523 list depends 'mode=sta,encryption=wpa2,eap_type=TTLS'
524 list depends 'mode=sta,encryption=wpa,eap_type=TTLS'
525
526 config variable
527 option name 'identity'
528 option section 'wireless.wifi-iface'
529 option title 'Identity'
530 list depends 'mode=sta,encryption=wpa2,eap_type=PEAP'
531 list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
532 list depends 'mode=sta,encryption=wpa2,eap_type=TTLS'
533 list depends 'mode=sta,encryption=wpa,eap_type=TTLS'
534
535 config variable
536 option name 'password'
537 option section 'wireless.wifi-iface'
538 option title 'Password'
539 list depends 'mode=sta,encryption=wpa2,eap_type=PEAP'
540 list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
541 list depends 'mode=sta,encryption=wpa2,eap_type=TTLS'
542 list depends 'mode=sta,encryption=wpa,eap_type=TTLS'