Reported-by: Andrea Merello <andrea.merello@gmail.com>
[rebase onto master, fix indentation, commit subject, depend on adsl mode]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit
f0716ecd6e807799c8e16bea72d6ea98ec803d1b)
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
+
firmware = dsl:option(Value, "firmware", translate("Firmware File"))
m.pageaction = true