[OpenWrt-Devel] [PATCH 2/4] lantiq: base-files: drop the dsl tone settings

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Wed Dec 2 16:07:29 EST 2015



Am 02.12.2015 um 21:38 schrieb Andre Heider:
> Unused since r46920.

I think the removal of the tone setup in r46920 should be reverted. It
is still the only way to exactly control which pilot tones are sent by
the DSL firmware. I would not trust the default setting of the
dsl_cpe_control daemon. Especially in Germany you may not send a V43
tone on a Deutsche Telekom port according to 1TR112 specification, only
B43 is allowed.

> 
> Signed-off-by: Andre Heider <a.heider at gmail.com>
> ---
>  target/linux/lantiq/base-files/etc/uci-defaults/02_network | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
> index b22060c..4974b48 100644
> --- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
> +++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
> @@ -41,13 +41,11 @@ EOF
>  set_vdsl_modem() {
>  	local annex=$1
>  	local firmware=$2
> -	local tone=$3
>  	local xfer_mode=$4
>  	uci batch <<EOF
>  set network.dsl='vdsl'
>  set network.dsl.annex='$annex'
>  set network.dsl.firmware='$firmware'
> -set network.dsl.tone='$tone'
>  set network.dsl.xfer_mode='$xfer_mode'
>  EOF
>  }
> @@ -198,7 +196,7 @@ esac
>  [ -z "$(ls /lib/modules/`uname -r`/ltq_atm*)" ] || set_atm_wan "$vpi" "$vci" "$encaps" "$payload"
>  
>  if [ -n "$(grep "system type.*: VR9" /proc/cpuinfo)" ]; then
> -	set_vdsl_modem "$annex" "/lib/firmware/vdsl.bin" "av" "ptm"
> +	set_vdsl_modem "$annex" "/lib/firmware/vdsl.bin" "ptm"
>  else
>  	set_adsl_modem "$annex" "/lib/firmware/adsl.bin"
>  fi
> 

-- 
- Daniel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list