summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-02-26 15:50:41 +0000
committerSteven Barth <steven@midlink.org>2009-02-26 15:50:41 +0000
commit2b0c0485e8dcbd48437204edd732005e49339009 (patch)
tree83ffc63d0c07231b80d7373059cfde6a312038e8 /modules
parentff2bc9081bb24e42dec9ccd46cdb4c377333dc59 (diff)
Add GUI for 802.11s
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
index 7ba6dd260..43f0ab681 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@ -55,7 +55,6 @@ ch:value(167, 167 .. " (5 GHz)")
s:option(Value, "txpower", translate("a_w_txpwr"), "dBm").rmempty = true
-
------------------- MAC80211 Device ------------------
if hwtype == "mac80211" then
@@ -165,6 +164,10 @@ bssid = s:option(Value, "bssid", translate("wifi_bssid"))
-------------------- MAC80211 Interface ----------------------
if hwtype == "mac80211" then
+ if luci.fs.mtime("/usr/sbin/iw") then
+ mode:value("mesh", "802.11s")
+ end
+
mode:value("ahdemo", translate("a_w_ahdemo"))
mode:value("monitor", translate("a_w_monitor"))
bssid:depends({mode="adhoc"})
@@ -276,6 +279,7 @@ encr:depends({mode="sta"})
encr:depends({mode="adhoc"})
encr:depends({mode="ahdemo"})
encr:depends({mode="wds"})
+encr:depends({mode="mesh"})
encr:value("none", "No Encryption")
encr:value("wep", "WEP")