summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua
index bd01bda9f7..83fdaadcbb 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua
+++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua
@@ -54,6 +54,12 @@ if fs.access("/etc/init.d/dsl_control") then
line_mode:value("", translate("auto"))
line_mode:value("adsl", translate("ADSL"))
line_mode:value("vdsl", translate("VDSL"))
+
+ ds_snr = dsl:option(ListValue, "ds_snr_offset", translate("Downstream SNR offset"))
+ ds_snr:depends("line_mode", "adsl")
+ for i = -50, 50, 5 do
+ ds_snr:value(i, translate("%.1f dB" %{ i / 10} ))
+ end
end
firmware = dsl:option(Value, "firmware", translate("Firmware File"))