summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-07-23 08:53:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-07-23 08:53:50 +0000
commit746a5be1a896424b6e7db2cd0df107cb847831a8 (patch)
tree13ef548b20b8032f20cc97aabe7c2b4b36f9df94 /modules
parent46c84206f30c7e5f3bfa6fecf913c4fec86aa169 (diff)
modules/admin-full: expose wmm option for mac80211 interfaces
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua5
1 files changed, 5 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 d57c91f205..e65dce4135 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@ -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