* luci/libs/uvl: move most schemes to their corresponding packages
[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 'txantenna'
85         option section 'wireless.wifi-device'
86         option title 'Transmitter Antenna (atheros)'
87         option datatype uint
88         list depends type=atheros
89
90 config variable
91         option name 'rxantenna'
92         option section 'wireless.wifi-device'
93         option title 'Receiver Antenna (atheros)'
94         option datatype uint
95         list depends type=atheros
96
97 config variable
98         option name 'distance'
99         option section 'wireless.wifi-device'
100         option title 'Distance Optimization (atheros, broadcom)'
101         option description 'Distance to farthest network member in meters.'
102         option datatype uint
103         list depends type=atheros
104         list depends type=broadcom
105
106 config variable
107         option name 'macfilter'
108         option section 'wireless.wifi-device'
109         option title 'MAC-Address Filter (broadcom)'
110         option type enum
111         list depends type=broadcom
112
113 config enum
114         option variable 'wireless.wifi-device.macfilter'
115         option value 'deny'
116         option title 'Allow listed only'
117
118 config enum
119         option variable 'wireless.wifi-device.macfilter'
120         option value 'allow'
121         option title 'Allow all except listed'
122
123 config variable
124         option name 'maclist'
125         option section 'wireless.wifi-device'
126         option title 'MAC-List (broadcom)'
127         list depends 'type=broadcom, macfilter=allow'
128         list depends 'type=broadcom, macfilter=deny'
129         option type lazylist
130         option datatype macaddr
131
132 config variable
133         option name 'txant'
134         option section 'wireless.wifi-device'
135         option title 'Transmitter Antenna (broadcom)'
136         option datatype uint
137         list depends 'type=broadcom'
138
139 config variable
140         option name 'rxant'
141         option section 'wireless.wifi-device'
142         option title 'Receiver Antenna (broadcom)'
143         option datatype uint
144         list depends 'type=broadcom'
145
146 config variable
147         option name 'frameburst'
148         option section 'wireless.wifi-device'
149         option title 'Frame Bursting (broadcom)'
150         option datatype boolean
151         list depends 'type=broadcom'
152
153 config variable
154         option name 'country'
155         option section 'wireless.wifi-device'
156         option title 'Country Code (broadcom)'
157         list depends 'type=broadcom'
158
159 config variable
160         option name 'maxassoc'
161         option section 'wireless.wifi-device'
162         option title 'Connection Limit (broadcom)'
163         option datatype uint
164         list depends 'type=broadcom'
165
166
167 config section
168         option name 'wifi-iface'
169         option package 'wireless'
170         option title 'Interfaces'
171
172 config variable
173         option name 'device'
174         option section 'wireless.wifi-iface'
175         option title 'Wifi Device'
176         option valueof 'wireless.wifi-device'
177
178 config variable
179         option name 'ssid'
180         option section 'wireless.wifi-iface'
181         option title 'ESSID'
182
183 config variable
184         option name 'network'
185         option section 'wireless.wifi-iface'
186         option title 'Network'
187         option description 'Add the Wifi network to physical network'
188         option type reference
189         list valueof network.interface
190
191 config variable
192         option name 'mode'
193         option section 'wireless.wifi-iface'
194         option title 'Mode'
195         option required true
196         option type enum
197
198 config enum
199         option variable 'wireless.wifi-iface.mode'
200         option value 'ap'
201         option title 'Access Point'
202
203 config enum
204         option variable 'wireless.wifi-iface.mode'
205         option value 'adhoc'
206         option title 'Ad-Hoc'
207
208 config enum
209         option variable 'wireless.wifi-iface.mode'
210         option value 'sta'
211         option title 'Client'
212
213 config enum
214         option variable 'wireless.wifi-iface.mode'
215         option value 'monitor'
216         option title 'Monitor'
217
218 config enum
219         option variable 'wireless.wifi-iface.mode'
220         option value 'ahdemo'
221         option title 'Pseudo Ad-Hoc (ahdemo)'
222
223 config enum
224         option variable 'wireless.wifi-iface.mode'
225         option value 'wds'
226         option title 'WDS'
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 (mac80211, atheros)'
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 'macpolicy'
297         option section 'wireless.wifi-iface'
298         option title 'MAC-Address Filter (atheros)'
299         option type enum
300
301 config enum
302         option variable 'wireless.wifi-iface.macpolicy'
303         option value 'deny'
304         option title 'Allow listed only'
305
306 config enum
307         option variable 'wireless.wifi-iface.macpolicy'
308         option value 'allow'
309         option title 'Allow all except listed'
310
311 config variable
312         option name 'maclist'
313         option section 'wireless.wifi-iface'
314         option title 'MAC-List (atheros)'
315         list depends 'macpolicy=allow'
316         list depends 'macpolicy=deny'
317         option type lazylist
318         option datatype macaddr
319
320 config variable
321         option name 'rate'
322         option section 'wireless.wifi-iface'
323         option title 'Transmission Rate (atheros)'
324
325 config variable
326         option name 'mcast_rate'
327         option section 'wireless.wifi-iface'
328         option title 'Multicast Rate (atheros)'
329
330 config variable
331         option name 'minrate'
332         option section 'wireless.wifi-iface'
333         option title 'Minimum Rate (atheros)'
334
335 config variable
336         option name 'maxrate'
337         option section 'wireless.wifi-iface'
338         option title 'Maximum Rate (atheros)'
339
340 config variable
341         option name 'compression'
342         option section 'wireless.wifi-iface'
343         option title 'Compression (atheros)'
344         option datatype boolean
345
346 config variable
347         option name 'bursting'
348         option section 'wireless.wifi-iface'
349         option title 'Frame Bursting (atheros)'
350         option datatype boolean
351
352 config variable
353         option name 'turbo'
354         option section 'wireless.wifi-iface'
355         option title 'Turbo Mode (atheros)'
356         option datatype boolean
357
358 config variable
359         option name 'ff'
360         option section 'wireless.wifi-iface'
361         option title 'Fast Frames (atheros)'
362
363 config variable
364         option name 'wmm'
365         option section 'wireless.wifi-iface'
366         option title 'WMM Mode (atheros)'
367         option datatype boolean
368
369 config variable
370         option name 'xr'
371         option section 'wireless.wifi-iface'
372         option title 'XR Support (atheros)'
373         option datatype boolean
374
375 config variable
376         option name 'ar'
377         option section 'wireless.wifi-iface'
378         option title 'AR Support (atheros)'
379         option datatype boolean
380
381 config variable
382         option name 'encryption'
383         option section 'wireless.wifi-iface'
384         option title 'Encryption'
385         option description 'WPA-Encryption requires wpa_supplicant (for client mode) or hostapd (for AP and ad-hoc mode) to be installed.'
386         option type enum
387
388 config enum
389         option variable 'wireless.wifi-iface.encryption'
390         option value 'none'
391         option title 'No Encryption'
392
393 config enum
394         option variable 'wireless.wifi-iface.encryption'
395         option value 'wep'
396         option title 'WEP'
397
398 config enum
399         option variable 'wireless.wifi-iface.encryption'
400         option value 'psk'
401         option title 'WPA-PSK'
402
403 config enum
404         option variable 'wireless.wifi-iface.encryption'
405         option value 'psk2'
406         option title 'WPA2-PSK'
407
408 config enum
409         option variable 'wireless.wifi-iface.encryption'
410         option value 'wpa'
411         option title 'WPA-EAP'
412
413 config enum
414         option variable 'wireless.wifi-iface.encryption'
415         option value 'wpa2i'
416         option title 'WPA2-EAP'
417
418 config variable
419         option name 'server'
420         option section 'wireless.wifi-iface'
421         option title 'RadiusServer'
422         list depends 'encryption=wpa,mode=ap'
423         list depends 'encryption=wpa2i,mode=ap'
424         option datatype host
425
426 config variable
427         option name 'port'
428         option section 'wireless.wifi-iface'
429         option title 'Radius-Port'
430         list depends 'encryption=wpa,mode=ap'
431         list depends 'encryption=wpa2i,mode=ap'
432         option datatype port
433
434 config variable
435         option name 'key'
436         option section 'wireless.wifi-iface'
437         option title 'Key'
438         list depends 'encryption=wep'
439         list depends 'encryption=psk'
440         list depends 'encryption=wpa,mode=ap'
441         list depends 'encryption=psk2'
442         list depends 'encryption=wpa2i,mode=ap'
443
444 config variable
445         option name 'nasid'
446         option section 'wireless.wifi-iface'
447         option title 'NAS ID'
448         list depends 'encryption=wpa,mode=ap'
449         list depends 'encryption=wpa2i,mode=ap'
450
451 config variable
452         option name 'eap_type'
453         option section 'wireless.wifi-iface'
454         option title 'EAP-Method'
455         option type enum
456         list depends 'encryption=wpa,mode=sta'
457         list depends 'encryption=wpa2i,mode=sta'
458
459 config enum
460         option variable 'wireless.wifi-iface.eap_type'
461         option value 'TLS'
462
463 config enum
464         option variable 'wireless.wifi-iface.eap_type'
465         option value 'PEAP'
466
467 config variable
468         option name 'ca_cert'
469         option section 'wireless.wifi-iface'
470         option title 'Path to CA-Certificate'
471         list depends 'encryption=wpa,mode=sta'
472         list depends 'encryption=wpa2i,mode=sta'
473         option datatype file
474
475 config variable
476         option name 'priv_key'
477         option section 'wireless.wifi-iface'
478         option title 'Path to Private Key'
479         list depends 'mode=sta,encryption=wpa2i,eap_type=TLS'
480         list depends 'mode=sta,encryption=wpa,eap_type=TLS'
481         option datatype file
482
483
484 config variable
485         option name 'priv_key_pwd'
486         option section 'wireless.wifi-iface'
487         option title 'Password of Private Key'
488         list depends 'mode=sta,encryption=wpa2i,eap_type=TLS'
489         list depends 'mode=sta,encryption=wpa,eap_type=TLS'
490
491 config variable
492         option name 'auth'
493         option section 'wireless.wifi-iface'
494         option title 'PEAP-Authentication'
495         list depends 'mode=sta,encryption=wpa2i,eap_type=PEAP'
496         list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
497
498 config variable
499         option name 'identity'
500         option section 'wireless.wifi-iface'
501         option title 'PEAP-Identity'
502         list depends 'mode=sta,encryption=wpa2i,eap_type=PEAP'
503         list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
504
505 config variable
506         option name 'password'
507         option section 'wireless.wifi-iface'
508         option title 'PEAP-Password'
509         list depends 'mode=sta,encryption=wpa2i,eap_type=PEAP'
510         list depends 'mode=sta,encryption=wpa,eap_type=PEAP'