modules/admin-full: brcm-2.4 now supports hwmode, add support
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 7 Apr 2010 21:59:00 +0000 (21:59 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 7 Apr 2010 21:59:00 +0000 (21:59 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua

index b79ae109b9d505b5f692913cf533d89c1c0d535a..0ca37e1779f9798dd79a56b2aea3d13fc5249cc6 100644 (file)
@@ -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"))