luci-0.8: merge r4693
[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
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 variable
224 option name 'bssid'
225 option section 'wireless.wifi-iface'
226 option title 'BSSID'
227
228 config variable
229 option name 'txpower'
230 option section 'wireless.wifi-iface'
231 option title 'Transmit Power'
232 option description 'dbm'
233 option datatype uint
234
235 config variable
236 option name 'frag'
237 option section 'wireless.wifi-iface'
238 option title 'Fragmentation Threshold (mac80211, atheros)'
239 option datatype uint
240
241 config variable
242 option name 'rts'
243 option section 'wireless.wifi-iface'
244 option title 'RTS/CTS Threshold (mac80211, atheros)'
245 option datatype uint
246
247 config variable
248 option name 'wds'
249 option section 'wireless.wifi-iface'
250 option title 'WDS (atheros)'
251 option datatype boolean
252 list depends 'mode=ap'
253 list depends 'mode=sta'
254
255 config variable
256 option name 'wdssep'
257 option section 'wireless.wifi-iface'
258 option title 'Separate WDS (atheros)'
259 option datatype boolean
260 list depends 'wds=1,mode=ap'
261
262 config variable
263 option name 'doth'
264 option section 'wireless.wifi-iface'
265 option title '802.11h (atheros)'
266 option datatype boolean
267
268 config variable
269 option name 'hidden'
270 option section 'wireless.wifi-iface'
271 option title 'Hide ESSID (atheros, broadcom)'
272 option datatype boolean
273 list depends 'mode=ap'
274 list depends 'mode=adhoc'
275 list depends 'mode=wds'
276
277 config variable
278 option name 'isolate'
279 option section 'wireless.wifi-iface'
280 option title 'isolate (atheros, broadcom)'
281 option datatype boolean
282 list depends 'mode=ap'
283
284 config variable
285 option name 'bgscan'
286 option section 'wireless.wifi-iface'
287 option title 'Background Scan (atheros)'
288 option datatype boolean
289
290 config variable
291 option name 'sw_merge'
292 option section 'wireless.wifi-iface'
293 option title 'Disable Ad-Hoc HW beacon timer (atheros)'
294 option datatype boolean
295
296 config variable
297 option name 'nosbeacon'
298 option section 'wireless.wifi-iface'
299 option title 'Disable station HW beacon timer (atheros)'
300 option datatype boolean
301
302 config variable
303 option name 'probereq'
304 option section 'wireless.wifi-iface'
305 option title 'Disable probe responses (atheros)'
306 option datatype boolean
307
308 config variable
309 option name 'macpolicy'
310 option section 'wireless.wifi-iface'
311 option title 'MAC-Address Filter (atheros)'
312 option type enum
313
314 config enum
315 option variable 'wireless.wifi-iface.macpolicy'
316 option value 'deny'
317 option title 'Allow listed only'
318
319 config enum
320 option variable 'wireless.wifi-iface.macpolicy'
321 option value 'allow'
322 option title 'Allow all except listed'
323
324 config variable
325 option name 'maclist'
326 option section 'wireless.wifi-iface'
327 option title 'MAC-List (atheros)'
328 list depends 'macpolicy=allow'
329 list depends 'macpolicy=deny'
330 option type lazylist
331 option datatype macaddr
332
333 config variable
334 option name 'rate'
335 option section 'wireless.wifi-iface'
336 option title 'Transmission Rate (atheros)'
337
338 config variable
339 option name 'mcast_rate'
340 option section 'wireless.wifi-iface'
341 option title 'Multicast Rate (atheros)'
342
343 config variable
344 option name 'minrate'
345 option section 'wireless.wifi-iface'
346 option title 'Minimum Rate (atheros)'
347
348 config variable
349 option name 'maxrate'
350 option section 'wireless.wifi-iface'
351 option title 'Maximum Rate (atheros)'
352
353 config variable
354 option name 'compression'
355 option section 'wireless.wifi-iface'
356 option title 'Compression (atheros)'
357 option datatype boolean
358
359 config variable
360 option name 'bursting'
361 option section 'wireless.wifi-iface'
362 option title 'Frame Bursting (atheros)'
363 option datatype boolean
364
365 config variable
366 option name 'turbo'
367 option section 'wireless.wifi-iface'
368 option title 'Turbo Mode (atheros)'
369 option datatype boolean
370
371 config variable
372 option name 'ff'
373 option section 'wireless.wifi-iface'
374 option title 'Fast Frames (atheros)'
375
376 config variable
377 option name 'wmm'
378 option section 'wireless.wifi-iface'
379 option title 'WMM Mode (atheros)'
380 option datatype boolean
381
382 config variable
383 option name 'xr'
384 option section 'wireless.wifi-iface'
385 option title 'XR Support (atheros)'
386 option datatype boolean
387
388 config variable
389 option name 'ar'
390 option section 'wireless.wifi-iface'
391 option title 'AR Support (atheros)'
392 option datatype boolean
393
394 config variable
395 option name 'encryption'
396 option section 'wireless.wifi-iface'
397 option title 'Encryption'
398 option description 'WPA-Encryption requires wpa_supplicant (for client mode) or hostapd (for AP and ad-hoc mode) to be installed.'
399 option type enum
400
401 config enum
402 option variable 'wireless.wifi-iface.encryption'
403 option value 'none'
404 option title 'No Encryption'
405
406 config enum
407 option variable 'wireless.wifi-iface.encryption'
408 option value 'wep'
409 option title 'WEP'
410
411 config enum
412 option variable 'wireless.wifi-iface.encryption'
413 option value 'psk'
414 option title 'WPA-PSK'
415
416 config enum
417 option variable 'wireless.wifi-iface.encryption'
418 option value 'psk2'
419 option title 'WPA2-PSK'
420
421 config enum
422 option variable 'wireless.wifi-iface.encryption'
423 option value 'wpa'
424 option title 'WPA-EAP'
425
426 config enum
427 option variable 'wireless.wifi-iface.encryption'
428 option value 'wpa2'
429 option title 'WPA2-EAP'
430
431 config variable
432 option name 'server'
433 option section 'wireless.wifi-iface'
434 option title 'RadiusServer'
435 list depends 'encryption=wpa,mode=ap'
436 list depends 'encryption=wpa2,mode=ap'
437 option datatype host
438
439 config variable
440 option name 'port'
441 option section 'wireless.wifi-iface'
442 option title 'Radius-Port'
443 list depends 'encryption=wpa,mode=ap'
444 list depends 'encryption=wpa2,mode=ap'
445 option datatype port
446
447 config variable
448 option name 'key'
449 option section 'wireless.wifi-iface'
450 option title 'Key'
451 list depends 'encryption=wep'
452 list depends 'encryption=psk'
453 list depends 'encryption=wpa,mode=ap'
454 list depends 'encryption=psk2'
455 list depends 'encryption=wpa2,mode=ap'
456 list depends 'encryption=psk+psk2'
457 list depends 'encryption=mixed'
458
459 config variable
460 option name 'nasid'
461 option section 'wireless.wifi-iface'
462 option title 'NAS ID'
463 list depends 'encryption=wpa,mode=ap'
464 list depends 'encryption=wpa2,mode=ap'
465
466 config variable
467 option name 'eap_type'
468 option section 'wireless.wifi-iface'
469 option title 'EAP-Method'
470 option type enum
471 list depends 'encryption=wpa,mode=sta'
472 list depends 'encryption=wpa2,mode=sta'
473
474 config enum
475 option variable 'wireless.wifi-iface.eap_type'
476 option value 'TLS'
477
478 config enum
479 option variable 'wireless.wifi-iface.eap_type'
480 option value 'PEAP'
481
482 config enum
483 option variable 'wireless.wifi-iface.eap_type'
484 option value 'TTLS'
485
486 config variable
487 option name 'ca_cert'
488 option section 'wireless.wifi-iface'
489 option title 'Path to CA-Certificate'
490 list depends 'encryption=wpa,mode=sta'
491 list depends 'encryption=wpa2,mode=sta'
492 option datatype file
493
494 config variable
495 option name 'priv_key'
496 option section 'wireless.wifi-iface'
497 option title 'Path to Private Key'
498 list depends 'mode=sta,encryption=wpa2,eap_type=TLS'
499 list depends 'mode=sta,encryption=wpa,eap_type=TLS'
500 option datatype file
501
502
503 config variable
504 option name 'priv_key_pwd'
505 option section 'wireless.wifi-iface'
506 option title 'Password of Private Key'
507 list depends 'mode=sta,encryption=wpa2,eap_type=TLS'
508 list depends 'mode=sta,encryption=wpa,eap_type=TLS'
509
510 config variable
511 option name 'auth'
512 option section 'wireless.wifi-iface'
513 option title 'Authentication'
514 list depends 'mode=sta,encryption=wpa2,eap_type=PEAP'
515 list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
516 list depends 'mode=sta,encryption=wpa2,eap_type=TTLS'
517 list depends 'mode=sta,encryption=wpa,eap_type=TTLS'
518
519 config variable
520 option name 'identity'
521 option section 'wireless.wifi-iface'
522 option title 'Identity'
523 list depends 'mode=sta,encryption=wpa2,eap_type=PEAP'
524 list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
525 list depends 'mode=sta,encryption=wpa2,eap_type=TTLS'
526 list depends 'mode=sta,encryption=wpa,eap_type=TTLS'
527
528 config variable
529 option name 'password'
530 option section 'wireless.wifi-iface'
531 option title 'Password'
532 list depends 'mode=sta,encryption=wpa2,eap_type=PEAP'
533 list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
534 list depends 'mode=sta,encryption=wpa2,eap_type=TTLS'
535 list depends 'mode=sta,encryption=wpa,eap_type=TTLS'