[PATCH] Change fast frames option from value to flag type
[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 option datatype boolean
381
382 config variable
383 option name 'wmm'
384 option section 'wireless.wifi-iface'
385 option title 'WMM Mode (atheros)'
386 option datatype boolean
387
388 config variable
389 option name 'xr'
390 option section 'wireless.wifi-iface'
391 option title 'XR Support (atheros)'
392 option datatype boolean
393
394 config variable
395 option name 'ar'
396 option section 'wireless.wifi-iface'
397 option title 'AR Support (atheros)'
398 option datatype boolean
399
400 config variable
401 option name 'encryption'
402 option section 'wireless.wifi-iface'
403 option title 'Encryption'
404 option description 'WPA-Encryption requires wpa_supplicant (for client mode) or hostapd (for AP and ad-hoc mode) to be installed.'
405 option type enum
406
407 config enum
408 option variable 'wireless.wifi-iface.encryption'
409 option value 'none'
410 option title 'No Encryption'
411
412 config enum
413 option variable 'wireless.wifi-iface.encryption'
414 option value 'wep'
415 option title 'WEP'
416
417 config enum
418 option variable 'wireless.wifi-iface.encryption'
419 option value 'psk'
420 option title 'WPA-PSK'
421
422 config enum
423 option variable 'wireless.wifi-iface.encryption'
424 option value 'psk2'
425 option title 'WPA2-PSK'
426
427 config enum
428 option variable 'wireless.wifi-iface.encryption'
429 option value 'wpa'
430 option title 'WPA-EAP'
431
432 config enum
433 option variable 'wireless.wifi-iface.encryption'
434 option value 'wpa2'
435 option title 'WPA2-EAP'
436
437 config variable
438 option name 'server'
439 option section 'wireless.wifi-iface'
440 option title 'RadiusServer'
441 list depends 'encryption=wpa,mode=ap'
442 list depends 'encryption=wpa2,mode=ap'
443 option datatype host
444
445 config variable
446 option name 'port'
447 option section 'wireless.wifi-iface'
448 option title 'Radius-Port'
449 list depends 'encryption=wpa,mode=ap'
450 list depends 'encryption=wpa2,mode=ap'
451 option datatype port
452
453 config variable
454 option name 'key'
455 option section 'wireless.wifi-iface'
456 option title 'Key'
457 option minlength 8
458 option maxlength 63
459 list depends 'encryption=wep'
460 list depends 'encryption=psk'
461 list depends 'encryption=wpa,mode=ap'
462 list depends 'encryption=psk2'
463 list depends 'encryption=wpa2,mode=ap'
464 list depends 'encryption=psk+psk2'
465 list depends 'encryption=mixed'
466
467 config variable
468 option name 'nasid'
469 option section 'wireless.wifi-iface'
470 option title 'NAS ID'
471 list depends 'encryption=wpa,mode=ap'
472 list depends 'encryption=wpa2,mode=ap'
473
474 config variable
475 option name 'eap_type'
476 option section 'wireless.wifi-iface'
477 option title 'EAP-Method'
478 option type enum
479 list depends 'encryption=wpa,mode=sta'
480 list depends 'encryption=wpa2,mode=sta'
481
482 config enum
483 option variable 'wireless.wifi-iface.eap_type'
484 option value 'TLS'
485
486 config enum
487 option variable 'wireless.wifi-iface.eap_type'
488 option value 'PEAP'
489
490 config enum
491 option variable 'wireless.wifi-iface.eap_type'
492 option value 'TTLS'
493
494 config variable
495 option name 'ca_cert'
496 option section 'wireless.wifi-iface'
497 option title 'Path to CA-Certificate'
498 list depends 'encryption=wpa,mode=sta'
499 list depends 'encryption=wpa2,mode=sta'
500 option datatype file
501
502 config variable
503 option name 'priv_key'
504 option section 'wireless.wifi-iface'
505 option title 'Path to Private Key'
506 list depends 'mode=sta,encryption=wpa2,eap_type=TLS'
507 list depends 'mode=sta,encryption=wpa,eap_type=TLS'
508 option datatype file
509
510
511 config variable
512 option name 'priv_key_pwd'
513 option section 'wireless.wifi-iface'
514 option title 'Password of Private Key'
515 list depends 'mode=sta,encryption=wpa2,eap_type=TLS'
516 list depends 'mode=sta,encryption=wpa,eap_type=TLS'
517
518 config variable
519 option name 'auth'
520 option section 'wireless.wifi-iface'
521 option title 'Authentication'
522 list depends 'mode=sta,encryption=wpa2,eap_type=PEAP'
523 list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
524 list depends 'mode=sta,encryption=wpa2,eap_type=TTLS'
525 list depends 'mode=sta,encryption=wpa,eap_type=TTLS'
526
527 config variable
528 option name 'identity'
529 option section 'wireless.wifi-iface'
530 option title 'Identity'
531 list depends 'mode=sta,encryption=wpa2,eap_type=PEAP'
532 list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
533 list depends 'mode=sta,encryption=wpa2,eap_type=TTLS'
534 list depends 'mode=sta,encryption=wpa,eap_type=TTLS'
535
536 config variable
537 option name 'password'
538 option section 'wireless.wifi-iface'
539 option title 'Password'
540 list depends 'mode=sta,encryption=wpa2,eap_type=PEAP'
541 list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
542 list depends 'mode=sta,encryption=wpa2,eap_type=TTLS'
543 list depends 'mode=sta,encryption=wpa,eap_type=TTLS'