1 -- ToDo: Translate, Add descriptions and help texts
3 m = Map("wireless", "Geräte")
5 s = m:section(TypedSection, "wifi-device")
8 en = s:option(Flag, "disabled", "Aktivieren")
12 t = s:option(ListValue, "type", "Typ")
19 local c = ". /etc/functions.sh;for i in /lib/wifi/*;do . $i;done;echo $DRIVERS"
20 for driver in ffluci.sys.execl(c)[1]:gmatch("[^ ]+") do
25 mode = s:option(ListValue, "mode", "Modus")
26 mode:value("", "standard")
27 mode:value("11b", "802.11b")
28 mode:value("11g", "802.11g")
29 mode:value("11a", "802.11a")
30 mode:value("11bg", "802.11b+g")
33 s:option(Value, "channel", "Funkkanal")
35 s:option(Value, "txantenna", "Sendeantenne").rmempty = true
37 s:option(Value, "rxantenna", "Empfangsantenne").rmempty = true
39 s:option(Value, "distance", "Distanz",
40 "Distanz zum am weitesten entfernten Funkpartner (m)").rmempty = true
42 s:option(Value, "diversity", "Diversität"):depends("type", "atheros")
44 country = s:option(Value, "country", "Ländercode")
45 country.optional = true
46 country:depends("type", "broadcom")
48 maxassoc = s:option(Value, "maxassoc", "Verbindungslimit")
49 maxassoc:depends("type", "broadcom")
50 maxassoc.optional = true