mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-11 15:04:26 +00:00
lantiq: add VDSL2 vectoring status information
Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 47785
This commit is contained in:
parent
ee7f0ec473
commit
ec1b121769
@ -160,6 +160,9 @@ xtse() {
|
|||||||
|
|
||||||
local annex_s=""
|
local annex_s=""
|
||||||
local line_mode_s=""
|
local line_mode_s=""
|
||||||
|
local vector_s=""
|
||||||
|
|
||||||
|
local dsmsg=""
|
||||||
local cmd=""
|
local cmd=""
|
||||||
|
|
||||||
xtusesg=$(dsl_cmd g997xtusesg)
|
xtusesg=$(dsl_cmd g997xtusesg)
|
||||||
@ -256,7 +259,15 @@ xtse() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $((xtse8 & 7)) != 0 ]; then
|
if [ $((xtse8 & 7)) != 0 ]; then
|
||||||
line_mode_s="$line_mode_s G.993.2 (VDSL2),"
|
dsmsg=$(dsl_cmd dsmsg)
|
||||||
|
vector_s=$(dsl_val "$dsmsg" eVectorStatus)
|
||||||
|
|
||||||
|
case "$vector_s" in
|
||||||
|
"0") line_mode_s="$line_mode_s G.993.2 (VDSL2)," ;;
|
||||||
|
"1") line_mode_s="$line_mode_s G.993.5 (VDSL2 with downstream vectoring)," ;;
|
||||||
|
"2") line_mode_s="$line_mode_s G.993.5 (VDSL2 with down- and upstream vectoring)," ;;
|
||||||
|
*) line_mode_s="$line_mode_s unknown," ;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#!!! PROPRIETARY & INTERMEDIATE USE !!!
|
#!!! PROPRIETARY & INTERMEDIATE USE !!!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user