luci-0.9: merge r6035
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 7 Apr 2010 21:59:19 +0000 (21:59 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 7 Apr 2010 21:59:19 +0000 (21:59 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua

index 02bfa12..5c9e0be 100644 (file)
@@ -123,6 +123,12 @@ end
 if hwtype == "broadcom" then
        s:option(Value, "txpower", translate("a_w_txpwr"), "dBm").rmempty = true
 
+       mode = s:option(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:option(ListValue, "macfilter", translate("wifi_macpolicy"))
        mp.optional = true
        mp:value("")