modules/admin-full: move RTS/CTS and Frag settings to device for mac80211

This commit is contained in:
Jo-Philipp Wich 2011-10-13 12:48:55 +00:00
parent 9165957581
commit d845a4e450

View file

@ -170,6 +170,9 @@ if hwtype == "mac80211" then
s:taboption("advanced", Value, "distance", translate("Distance Optimization"),
translate("Distance to farthest network member in meters."))
s:taboption("advanced", Value, "frag", translate("Fragmentation Threshold"))
s:taboption("advanced", Value, "rts", translate("RTS/CTS Threshold"))
end
@ -354,9 +357,6 @@ if hwtype == "mac80211" then
mode:value("monitor", translate("Monitor"))
bssid:depends({mode="adhoc"})
s:taboption("advanced", Value, "frag", translate("Fragmentation Threshold"))
s:taboption("advanced", Value, "rts", translate("RTS/CTS Threshold"))
mp = s:taboption("macfilter", ListValue, "macfilter", translate("MAC-Address Filter"))
mp:depends({mode="ap"})
mp:depends({mode="ap-wds"})