diff options
author | Sven Roederer <freifunk@it-solutions.geroedel.de> | 2018-01-08 21:02:54 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-01-09 07:09:31 +0100 |
commit | a6b41271b711b233e697bab65755d6b6653414c1 (patch) | |
tree | 910bc027759c0c06b6831faf4a9e17fc5ec3dcc4 | |
parent | 63255ec38b2f5849fec9e54d3f3e2aa7ef76bd72 (diff) |
luci-mod-admin-full: Add 802.11b legacy_rates support
this was added to LEDE with ed62d91f4b5296a4aa883ce975d76f590ef4e910 and defaults to enable.
Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
-rw-r--r-- | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua index e8d43a1ba5..094b415c45 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -228,6 +228,10 @@ if hwtype == "mac80211" then s:taboption("advanced", Value, "country", translate("Country Code"), translate("Use ISO/IEC 3166 alpha2 country codes.")) end + legacyrates = s:taboption("advanced", Flag, "legacy_rates", translate("802.11b rates")) + legacyrates.rmempty = false + legacyrates.default = "1" + s:taboption("advanced", Value, "distance", translate("Distance Optimization"), translate("Distance to farthest network member in meters.")) |