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>
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"))