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