modules/admin-full: expose wmm option for mac80211 interfaces
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 23 Jul 2012 08:53:50 +0000 (08:53 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 23 Jul 2012 08:53:50 +0000 (08:53 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua

index d57c91f205e02ce081a66f7f02d5baabec376694..e65dce4135a34554a42f9e5c7becb934578bb464 100644 (file)
@@ -507,6 +507,11 @@ if hwtype == "mac80211" then
        hidden = s:taboption("general", Flag, "hidden", translate("Hide <abbr title=\"Extended Service Set Identifier\">ESSID</abbr>"))
        hidden:depends({mode="ap"})
        hidden:depends({mode="ap-wds"})
+
+       wmm = s:taboption("general", Flag, "wmm", translate("WMM Mode"))
+       wmm:depends({mode="ap"})
+       wmm:depends({mode="ap-wds"})
+       wmm.default = wmm.enabled
 end