Backport scheme and uci fixes
[project/luci.git] / libs / uvl / 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 'macpolicy'
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.macpolicy'
115 option value 'deny'
116 option title 'Allow listed only'
117
118 config enum
119 option variable 'wireless.wifi-device.macpolicy'
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, macpolicy=allow'
128 list depends 'type=broadcom, macpolicy=deny'
129 option multival true
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 'ssid'
174 option section 'wireless.wifi-iface'
175 option title 'ESSID'
176
177 config variable
178 option name 'network'
179 option section 'wireless.wifi-iface'
180 option title 'Network'
181 option description 'Add the Wifi network to physical network'
182 option type reference
183 list valueof network.interface
184
185 config variable
186 option name 'mode'
187 option section 'wireless.wifi-iface'
188 option title 'Mode'
189 option required true
190 option type enum
191
192 config enum
193 option variable 'wireless.wifi-iface.mode'
194 option value 'ap'
195 option title 'Access Point'
196
197 config enum
198 option variable 'wireless.wifi-iface.mode'
199 option value 'adhoc'
200 option title 'Ad-Hoc'
201
202 config enum
203 option variable 'wireless.wifi-iface.mode'
204 option value 'sta'
205 option title 'Client'
206
207 config enum
208 option variable 'wireless.wifi-iface.mode'
209 option value 'monitor'
210 option title 'Monitor'
211
212 config enum
213 option variable 'wireless.wifi-iface.mode'
214 option value 'ahdemo'
215 option title 'Pseudo Ad-Hoc (ahdemo)'
216
217 config enum
218 option variable 'wireless.wifi-iface.mode'
219 option value 'wds'
220 option title 'WDS'
221
222 config variable
223 option name 'bssid'
224 option section 'wireless.wifi-iface'
225 option title BSSID
226
227 config variable
228 option name 'txpower'
229 option section 'wireless.wifi-iface'
230 option title 'Transmit Power (mac80211, atheros)'
231 option description 'dbm'
232 option datatype uint
233
234 config variable
235 option name 'frag'
236 option section 'wireless.wifi-iface'
237 option title 'Fragmentation Threshold (mac80211, atheros)'
238 option datatype uint
239
240 config variable
241 option name 'rts'
242 option section 'wireless.wifi-iface'
243 option title 'RTS/CTS Threshold (mac80211, atheros)'
244 option datatype uint
245
246 config variable
247 option name 'wds'
248 option section 'wireless.wifi-iface'
249 option title 'WDS (atheros)'
250 option datatype boolean
251 list depends 'mode=ap'
252 list depends 'mode=sta'
253
254 config variable
255 option name 'wdssep'
256 option section 'wireless.wifi-iface'
257 option title 'Separate WDS (atheros)'
258 option datatype boolean
259 list depends 'wds=1,mode=ap'
260
261 config variable
262 option name 'doth'
263 option section 'wireless.wifi-iface'
264 option title '802.11h (atheros)'
265 option datatype boolean
266
267 config variable
268 option name 'hidden'
269 option section 'wireless.wifi-iface'
270 option title 'Hide ESSID (atheros, broadcom)'
271 option datatype boolean
272 list depends 'mode=ap'
273 list depends 'mode=adhoc'
274 list depends 'mode=wds'
275
276 config variable
277 option name 'isolate'
278 option section 'wireless.wifi-iface'
279 option title 'isolate (atheros, broadcom)'
280 option datatype boolean
281 list depends 'mode=ap'
282
283 config variable
284 option name 'bgscan'
285 option section 'wireless.wifi-iface'
286 option title 'Background Scan (atheros)'
287 option datatype boolean
288
289 config variable
290 option name 'macpolicy'
291 option section 'wireless.wifi-iface'
292 option title 'MAC-Address Filter (atheros)'
293 option type enum
294
295 config enum
296 option variable 'wireless.wifi-iface.macpolicy'
297 option value 'deny'
298 option title 'Allow listed only'
299
300 config enum
301 option variable 'wireless.wifi-iface.macpolicy'
302 option value 'allow'
303 option title 'Allow all except listed'
304
305 config variable
306 option name 'maclist'
307 option section 'wireless.wifi-iface'
308 option title 'MAC-List (atheros)'
309 list depends 'macpolicy=allow'
310 list depends 'macpolicy=deny'
311
312 config variable
313 option name 'rate'
314 option section 'wireless.wifi-iface'
315 option title 'Transmission Rate (atheros)'
316
317 config variable
318 option name 'mcast_rate'
319 option section 'wireless.wifi-iface'
320 option title 'Multicast Rate (atheros)'
321
322 config variable
323 option name 'minrate'
324 option section 'wireless.wifi-iface'
325 option title 'Minimum Rate (atheros)'
326
327 config variable
328 option name 'maxrate'
329 option section 'wireless.wifi-iface'
330 option title 'Maximum Rate (atheros)'
331
332 config variable
333 option name 'compression'
334 option section 'wireless.wifi-iface'
335 option title 'Compression (atheros)'
336 option datatype boolean
337
338 config variable
339 option name 'bursting'
340 option section 'wireless.wifi-iface'
341 option title 'Frame Bursting (atheros)'
342 option datatype boolean
343
344 config variable
345 option name 'turbo'
346 option section 'wireless.wifi-iface'
347 option title 'Turbo Mode (atheros)'
348 option datatype boolean
349
350 config variable
351 option name 'ff'
352 option section 'wireless.wifi-iface'
353 option title 'Fast Frames (atheros)'
354
355 config variable
356 option name 'wmm'
357 option section 'wireless.wifi-iface'
358 option title 'WMM Mode (atheros)'
359 option datatype boolean
360
361 config variable
362 option name 'xr'
363 option section 'wireless.wifi-iface'
364 option title 'XR Support (atheros)'
365 option datatype boolean
366
367 config variable
368 option name 'ar'
369 option section 'wireless.wifi-iface'
370 option title 'AR Support (atheros)'
371 option datatype boolean
372
373 config variable
374 option name 'encryption'
375 option section 'wireless.wifi-iface'
376 option title 'Encryption'
377 option description 'WPA-Encryption requires wpa_supplicant (for client mode) or hostapd (for AP and ad-hoc mode) to be installed.'
378 option type enum
379
380 config enum
381 option variable 'wireless.wifi-iface.encryption'
382 option value 'none'
383 option title 'No Encryption'
384
385 config enum
386 option variable 'wireless.wifi-iface.encryption'
387 option value 'wep'
388 option title 'WEP'
389
390 config enum
391 option variable 'wireless.wifi-iface.encryption'
392 option value 'psk'
393 option title 'WPA-PSK'
394
395 config enum
396 option variable 'wireless.wifi-iface.encryption'
397 option value 'psk2'
398 option title 'WPA2-PSK'
399
400 config enum
401 option variable 'wireless.wifi-iface.encryption'
402 option value 'wpa'
403 option title 'WPA-EAP'
404
405 config enum
406 option variable 'wireless.wifi-iface.encryption'
407 option value 'wpa2i'
408 option title 'WPA2-EAP'
409
410 config variable
411 option name 'server'
412 option section 'wireless.wifi-iface'
413 option title 'RadiusServer'
414 list depends 'encryption=wpa,mode=ap'
415 list depends 'encryption=wpa2i,mode=ap'
416 option datatype host
417
418 config variable
419 option name 'port'
420 option section 'wireless.wifi-iface'
421 option title 'Radius-Port'
422 list depends 'encryption=wpa,mode=ap'
423 list depends 'encryption=wpa2i,mode=ap'
424 option datatype port
425
426 config variable
427 option name 'key'
428 option section 'wireless.wifi-iface'
429 option title 'Key'
430 list depends 'encryption=wep'
431 list depends 'encryption=psk'
432 list depends 'encryption=wpa,mode=ap'
433 list depends 'encryption=psk2'
434 list depends 'encryption=wpa2i,mode=ap'
435
436 config variable
437 option name 'nasid'
438 option section 'wireless.wifi-iface'
439 option title 'NAS ID'
440 list depends 'encryption=wpa,mode=ap'
441 list depends 'encryption=wpa2i,mode=ap'
442
443 config variable
444 option name 'eap_type'
445 option section 'wireless.wifi-iface'
446 option title 'EAP-Method'
447 option type enum
448 list depends 'encryption=wpa,mode=sta'
449 list depends 'encryption=wpa2i,mode=sta'
450
451 config enum
452 option variable 'wireless.wifi-iface.eap_type'
453 option value 'TLS'
454
455 config enum
456 option variable 'wireless.wifi-iface.eap_type'
457 option value 'PEAP'
458
459 config variable
460 option name 'ca_cert'
461 option section 'wireless.wifi-iface'
462 option title 'Path to CA-Certificate'
463 list depends 'encryption=wpa,mode=sta'
464 list depends 'encryption=wpa2i,mode=sta'
465 option datatype file
466
467 config variable
468 option name 'priv_key'
469 option section 'wireless.wifi-iface'
470 option title 'Path to Private Key'
471 list depends 'mode=sta,encryption=wpa2i,eap_type=TLS'
472 list depends 'mode=sta,encryption=wpa,eap_type=TLS'
473 option datatype file
474
475
476 config variable
477 option name 'priv_key_pwd'
478 option section 'wireless.wifi-iface'
479 option title 'Password of Private Key'
480 list depends 'mode=sta,encryption=wpa2i,eap_type=TLS'
481 list depends 'mode=sta,encryption=wpa,eap_type=TLS'
482
483 config variable
484 option name 'auth'
485 option section 'wireless.wifi-iface'
486 option title 'PEAP-Authentication'
487 list depends 'mode=sta,encryption=wpa2i,eap_type=PEAP'
488 list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
489
490 config variable
491 option name 'identity'
492 option section 'wireless.wifi-iface'
493 option title 'PEAP-Identity'
494 list depends 'mode=sta,encryption=wpa2i,eap_type=PEAP'
495 list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
496
497 config variable
498 option name 'password'
499 option section 'wireless.wifi-iface'
500 option title 'PEAP-Password'
501 list depends 'mode=sta,encryption=wpa2i,eap_type=PEAP'
502 list depends 'mode=sta,encryption=wpa,eap_type=PEAP'