1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
|
package wireless
config package
option title 'Wireless LAN'
config section
option name 'wifi-device'
option package 'wireless'
option title 'Devices'
option named true
config variable
option name 'disabled'
option section 'wireless.wifi-device'
option title 'disabled'
option datatype boolean
config variable
option name 'type'
option section 'wireless.wifi-device'
option title 'Type'
option required true
config variable
option name 'channel'
option section 'wireless.wifi-device'
option title 'Channel'
config variable
option name 'mode'
option section 'wireless.wifi-device'
option title 'Mode (atheros)'
option type enum
list depends type=atheros
config enum
option variable 'wireless.wifi-device.mode'
option value ''
option title 'auto'
config enum
option variable 'wireless.wifi-device.mode'
option value '11b'
option title '802.11b'
config enum
option variable 'wireless.wifi-device.mode'
option value '11g'
option title '802.11g'
config enum
option variable 'wireless.wifi-device.mode'
option value '11a'
option title '802.11a'
config enum
option variable 'wireless.wifi-device.mode'
option value '11bg'
option title '802.11b+g'
config enum
option variable 'wireless.wifi-device.mode'
option value '11gdt'
option title '802.11adt'
config enum
option variable 'wireless.wifi-device.mode'
option value '11adt'
option title '802.11adt'
config enum
option variable 'wireless.wifi-device.mode'
option value 'fh'
option title 'Frequency Hopping'
config variable
option name 'diversity'
option section 'wireless.wifi-device'
option title 'Diversity (atheros)'
option datatype boolean
list depends type=atheros
config variable
option name 'txantenna'
option section 'wireless.wifi-device'
option title 'Transmitter Antenna (atheros)'
option datatype uint
list depends type=atheros
config variable
option name 'rxantenna'
option section 'wireless.wifi-device'
option title 'Receiver Antenna (atheros)'
option datatype uint
list depends type=atheros
config variable
option name 'distance'
option section 'wireless.wifi-device'
option title 'Distance Optimization (atheros, broadcom)'
option description 'Distance to farthest network member in meters.'
option datatype uint
list depends type=atheros
list depends type=broadcom
config variable
option name 'macfilter'
option section 'wireless.wifi-device'
option title 'MAC-Address Filter (broadcom)'
option type enum
list depends type=broadcom
config enum
option variable 'wireless.wifi-device.macfilter'
option value 'deny'
option title 'Allow listed only'
config enum
option variable 'wireless.wifi-device.macfilter'
option value 'allow'
option title 'Allow all except listed'
config variable
option name 'maclist'
option section 'wireless.wifi-device'
option title 'MAC-List (broadcom)'
list depends 'type=broadcom, macfilter=allow'
list depends 'type=broadcom, macfilter=deny'
option type lazylist
option datatype macaddr
config variable
option name 'txant'
option section 'wireless.wifi-device'
option title 'Transmitter Antenna (broadcom)'
option datatype uint
list depends 'type=broadcom'
config variable
option name 'rxant'
option section 'wireless.wifi-device'
option title 'Receiver Antenna (broadcom)'
option datatype uint
list depends 'type=broadcom'
config variable
option name 'frameburst'
option section 'wireless.wifi-device'
option title 'Frame Bursting (broadcom)'
option datatype boolean
list depends 'type=broadcom'
config variable
option name 'country'
option section 'wireless.wifi-device'
option title 'Country Code (broadcom)'
list depends 'type=broadcom'
config variable
option name 'maxassoc'
option section 'wireless.wifi-device'
option title 'Connection Limit (broadcom)'
option datatype uint
list depends 'type=broadcom'
config section
option name 'wifi-iface'
option package 'wireless'
option title 'Interfaces'
config variable
option name 'ssid'
option section 'wireless.wifi-iface'
option title 'ESSID'
config variable
option name 'network'
option section 'wireless.wifi-iface'
option title 'Network'
option description 'Add the Wifi network to physical network'
option type reference
list valueof network.interface
config variable
option name 'mode'
option section 'wireless.wifi-iface'
option title 'Mode'
option required true
option type enum
config enum
option variable 'wireless.wifi-iface.mode'
option value 'ap'
option title 'Access Point'
config enum
option variable 'wireless.wifi-iface.mode'
option value 'adhoc'
option title 'Ad-Hoc'
config enum
option variable 'wireless.wifi-iface.mode'
option value 'sta'
option title 'Client'
config enum
option variable 'wireless.wifi-iface.mode'
option value 'monitor'
option title 'Monitor'
config enum
option variable 'wireless.wifi-iface.mode'
option value 'ahdemo'
option title 'Pseudo Ad-Hoc (ahdemo)'
config enum
option variable 'wireless.wifi-iface.mode'
option value 'wds'
option title 'WDS'
config variable
option name 'bssid'
option section 'wireless.wifi-iface'
option title BSSID
config variable
option name 'txpower'
option section 'wireless.wifi-iface'
option title 'Transmit Power (mac80211, atheros)'
option description 'dbm'
option datatype uint
config variable
option name 'frag'
option section 'wireless.wifi-iface'
option title 'Fragmentation Threshold (mac80211, atheros)'
option datatype uint
config variable
option name 'rts'
option section 'wireless.wifi-iface'
option title 'RTS/CTS Threshold (mac80211, atheros)'
option datatype uint
config variable
option name 'wds'
option section 'wireless.wifi-iface'
option title 'WDS (atheros)'
option datatype boolean
list depends 'mode=ap'
list depends 'mode=sta'
config variable
option name 'wdssep'
option section 'wireless.wifi-iface'
option title 'Separate WDS (atheros)'
option datatype boolean
list depends 'wds=1,mode=ap'
config variable
option name 'doth'
option section 'wireless.wifi-iface'
option title '802.11h (atheros)'
option datatype boolean
config variable
option name 'hidden'
option section 'wireless.wifi-iface'
option title 'Hide ESSID (atheros, broadcom)'
option datatype boolean
list depends 'mode=ap'
list depends 'mode=adhoc'
list depends 'mode=wds'
config variable
option name 'isolate'
option section 'wireless.wifi-iface'
option title 'isolate (atheros, broadcom)'
option datatype boolean
list depends 'mode=ap'
config variable
option name 'bgscan'
option section 'wireless.wifi-iface'
option title 'Background Scan (atheros)'
option datatype boolean
config variable
option name 'macpolicy'
option section 'wireless.wifi-iface'
option title 'MAC-Address Filter (atheros)'
option type enum
config enum
option variable 'wireless.wifi-iface.macpolicy'
option value 'deny'
option title 'Allow listed only'
config enum
option variable 'wireless.wifi-iface.macpolicy'
option value 'allow'
option title 'Allow all except listed'
config variable
option name 'maclist'
option section 'wireless.wifi-iface'
option title 'MAC-List (atheros)'
list depends 'macpolicy=allow'
list depends 'macpolicy=deny'
option type lazylist
option datatype macaddr
config variable
option name 'rate'
option section 'wireless.wifi-iface'
option title 'Transmission Rate (atheros)'
config variable
option name 'mcast_rate'
option section 'wireless.wifi-iface'
option title 'Multicast Rate (atheros)'
config variable
option name 'minrate'
option section 'wireless.wifi-iface'
option title 'Minimum Rate (atheros)'
config variable
option name 'maxrate'
option section 'wireless.wifi-iface'
option title 'Maximum Rate (atheros)'
config variable
option name 'compression'
option section 'wireless.wifi-iface'
option title 'Compression (atheros)'
option datatype boolean
config variable
option name 'bursting'
option section 'wireless.wifi-iface'
option title 'Frame Bursting (atheros)'
option datatype boolean
config variable
option name 'turbo'
option section 'wireless.wifi-iface'
option title 'Turbo Mode (atheros)'
option datatype boolean
config variable
option name 'ff'
option section 'wireless.wifi-iface'
option title 'Fast Frames (atheros)'
config variable
option name 'wmm'
option section 'wireless.wifi-iface'
option title 'WMM Mode (atheros)'
option datatype boolean
config variable
option name 'xr'
option section 'wireless.wifi-iface'
option title 'XR Support (atheros)'
option datatype boolean
config variable
option name 'ar'
option section 'wireless.wifi-iface'
option title 'AR Support (atheros)'
option datatype boolean
config variable
option name 'encryption'
option section 'wireless.wifi-iface'
option title 'Encryption'
option description 'WPA-Encryption requires wpa_supplicant (for client mode) or hostapd (for AP and ad-hoc mode) to be installed.'
option type enum
config enum
option variable 'wireless.wifi-iface.encryption'
option value 'none'
option title 'No Encryption'
config enum
option variable 'wireless.wifi-iface.encryption'
option value 'wep'
option title 'WEP'
config enum
option variable 'wireless.wifi-iface.encryption'
option value 'psk'
option title 'WPA-PSK'
config enum
option variable 'wireless.wifi-iface.encryption'
option value 'psk2'
option title 'WPA2-PSK'
config enum
option variable 'wireless.wifi-iface.encryption'
option value 'wpa'
option title 'WPA-EAP'
config enum
option variable 'wireless.wifi-iface.encryption'
option value 'wpa2i'
option title 'WPA2-EAP'
config variable
option name 'server'
option section 'wireless.wifi-iface'
option title 'RadiusServer'
list depends 'encryption=wpa,mode=ap'
list depends 'encryption=wpa2i,mode=ap'
option datatype host
config variable
option name 'port'
option section 'wireless.wifi-iface'
option title 'Radius-Port'
list depends 'encryption=wpa,mode=ap'
list depends 'encryption=wpa2i,mode=ap'
option datatype port
config variable
option name 'key'
option section 'wireless.wifi-iface'
option title 'Key'
list depends 'encryption=wep'
list depends 'encryption=psk'
list depends 'encryption=wpa,mode=ap'
list depends 'encryption=psk2'
list depends 'encryption=wpa2i,mode=ap'
config variable
option name 'nasid'
option section 'wireless.wifi-iface'
option title 'NAS ID'
list depends 'encryption=wpa,mode=ap'
list depends 'encryption=wpa2i,mode=ap'
config variable
option name 'eap_type'
option section 'wireless.wifi-iface'
option title 'EAP-Method'
option type enum
list depends 'encryption=wpa,mode=sta'
list depends 'encryption=wpa2i,mode=sta'
config enum
option variable 'wireless.wifi-iface.eap_type'
option value 'TLS'
config enum
option variable 'wireless.wifi-iface.eap_type'
option value 'PEAP'
config variable
option name 'ca_cert'
option section 'wireless.wifi-iface'
option title 'Path to CA-Certificate'
list depends 'encryption=wpa,mode=sta'
list depends 'encryption=wpa2i,mode=sta'
option datatype file
config variable
option name 'priv_key'
option section 'wireless.wifi-iface'
option title 'Path to Private Key'
list depends 'mode=sta,encryption=wpa2i,eap_type=TLS'
list depends 'mode=sta,encryption=wpa,eap_type=TLS'
option datatype file
config variable
option name 'priv_key_pwd'
option section 'wireless.wifi-iface'
option title 'Password of Private Key'
list depends 'mode=sta,encryption=wpa2i,eap_type=TLS'
list depends 'mode=sta,encryption=wpa,eap_type=TLS'
config variable
option name 'auth'
option section 'wireless.wifi-iface'
option title 'PEAP-Authentication'
list depends 'mode=sta,encryption=wpa2i,eap_type=PEAP'
list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
config variable
option name 'identity'
option section 'wireless.wifi-iface'
option title 'PEAP-Identity'
list depends 'mode=sta,encryption=wpa2i,eap_type=PEAP'
list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
config variable
option name 'password'
option section 'wireless.wifi-iface'
option title 'PEAP-Password'
list depends 'mode=sta,encryption=wpa2i,eap_type=PEAP'
list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
|