summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-03-07 11:03:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-03-07 11:03:35 +0000
commita4b818e0bb5c3d9e4734b471ee29278bd8dcaecd (patch)
tree0344e1c7c8c6f96aa1f1246ed11dace9c3356c61
parentfb50282a626522342d22d387ec42dafdb460b81a (diff)
downloadmtk-20170518-a4b818e0bb5c3d9e4734b471ee29278bd8dcaecd.zip
mtk-20170518-a4b818e0bb5c3d9e4734b471ee29278bd8dcaecd.tar.gz
mtk-20170518-a4b818e0bb5c3d9e4734b471ee29278bd8dcaecd.tar.bz2
ltq-vdsl-app: sync annex option between from ADSL package
The detailed annex option were only available in the danube DSL app including the activation of G.992.2 Annex A (ADSL Lite). This is now also added to the vdsl app for the vrx200. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48946
-rw-r--r--package/network/config/ltq-vdsl-app/files/dsl_control44
1 files changed, 41 insertions, 3 deletions
diff --git a/package/network/config/ltq-vdsl-app/files/dsl_control b/package/network/config/ltq-vdsl-app/files/dsl_control
index 1d8a902..48c0cbe 100644
--- a/package/network/config/ltq-vdsl-app/files/dsl_control
+++ b/package/network/config/ltq-vdsl-app/files/dsl_control
@@ -16,11 +16,12 @@ EXTRA_HELP=" status Get DSL status information
# ITU-T G.997.1 Amendment 2 (04/2013) - Section 2.1 - (Vectoring mode enable (VECTORMODE_ENABLE))
#
# G.992.1 Annex A
+# G.992.2 Annex A
# G.992.3 Annex A / L-US1 / L_US-2 / M
# G.992.5 Annex A / M
# G.993.2 Annex A/B/C
# G.993.5 Annex A/B/C
-xtse_xdsl_a="05_00_04_00_4C_01_04_0F"
+xtse_xdsl_a="05_01_04_00_4C_01_04_0F"
# G.992.1 Annex B
# G.992.3 Annex B
@@ -38,6 +39,43 @@ xtse_xdsl_b="10_00_10_00_00_04_00_0F"
# G.993.5 Annex A/B/C
xtse_xdsl_j="10_00_10_40_00_04_01_0F"
+# G.992.1 Annex B
+xtse_xdsl_bdmt="10_00_00_00_00_00_00_00"
+
+# G.992.3 Annex B
+xtse_xdsl_b2="00_00_10_00_00_00_00_00"
+
+# G.992.5 Annex B
+xtse_xdsl_b2p="00_00_00_00_00_04_00_00"
+
+# ANSI T1.413
+xtse_xdsl_at1="01_00_00_00_00_00_00_00"
+
+# G.992.2 Annex A
+xtse_xdsl_alite="00_01_00_00_00_00_00_00"
+
+# G.992.1 Annex A
+xtse_xdsl_admt="04_00_00_00_00_00_00_00"
+
+# G.992.3 Annex A
+xtse_xdsl_a2="00_00_04_00_00_00_00_00"
+
+# G.992.5 Annex A
+xtse_xdsl_a2p="00_00_00_00_00_01_00_00"
+
+# G.992.3 Annex L
+xtse_xdsl_l="00_00_00_00_0C_00_00_00"
+
+# G.992.3 Annex M
+# G.992.5 Annex M
+xtse_xdsl_m="00_00_00_00_40_00_04_00"
+
+# G.992.3 Annex M
+xtse_xdsl_m2="00_00_00_00_40_00_00_00"
+
+# G.992.5 Annex M
+xtse_xdsl_m2p="00_00_00_00_00_00_04_00"
+
#
# ITU-T G.994.1 (06/2012) - Table 2 (Mandatory carrier sets)
#
@@ -157,7 +195,7 @@ start_service() {
# search for the firmware provided by dsl-vrx200-firmware-xdsl-*
if grep -qE "system type.*: (VR9|xRX200)" /proc/cpuinfo; then
case "${annex}" in
- a|l|m)
+ a*|l*|m*)
if [ -f "/lib/firmware/lantiq-vrx200-a.bin" ]; then
firmware="/lib/firmware/lantiq-vrx200-a.bin"
elif [ -f "/tmp/lantiq-vrx200-a.bin" ]; then
@@ -172,7 +210,7 @@ start_service() {
return 1
fi
;;
- b|j)
+ b*|j*)
if [ -f "/lib/firmware/lantiq-vrx200-b.bin" ]; then
firmware="/lib/firmware/lantiq-vrx200-b.bin"
elif [ -f "/tmp/lantiq-vrx200-b.bin" ]; then