summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-04-07 21:59:00 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-04-07 21:59:00 +0000
commit85821b20f615a9c1e47b280a9f6f4f4f5e98ae83 (patch)
tree2648a3b976b1d43518ab5ce1e8dc6560790fc08f /modules
parent74f118ab5c48dce01f2ac97c5739c3e1740a101e (diff)
modules/admin-full: brcm-2.4 now supports hwmode, add support
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua6
1 files changed, 6 insertions, 0 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 b79ae109b..0ca37e177 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@ -213,6 +213,12 @@ if hwtype == "broadcom" then
tp:value(p.dbm, "%i dBm (%i mW)" %{ p.dbm, p.mw })
end
+ mode = s:taboption("advanced", ListValue, "hwmode", translate("Mode"))
+ mode:value("11bg", "802.11b+g")
+ mode:value("11b", "802.11b")
+ mode:value("11g", "802.11g")
+ mode:value("11gst", "802.11g + Turbo")
+
mp = s:taboption("macfilter", ListValue, "macfilter", translate("MAC-Address Filter"))
mp:value("", translate("disable"))
mp:value("allow", translate("Allow listed only"))