modules/admin-full: expose wmm option for mac80211 interfaces
[project/luci.git] / modules / admin-full / luasrc / model / cbi / admin_network / wifi.lua
index d57c91f..e65dce4 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