@archiel use command
Code:nvram show | grep -E 'territory_code|ccode|regrev|regulation|wl[0-9]_country|wl[0-9]_reg_mode|:max|wl[0-9]_chlist' | sort
This works where the router has a country code (AX88U)
Code:
admin@RT-AX88U-5050:/tmp/home/root# nvram show | grep -E 'territory_code|ccode|regrev|regulation|wl[0-9]_country|wl[0-9]
_reg_mode|:max|wl[0-9]_chlist' | sort
size: 69554 bytes (61518 left)
1:ccode=DE
1:maxp2ga0=0x6E
1:maxp2ga1=0x6E
1:maxp2ga2=0x6E
1:maxp2ga3=0x6E
1:regrev=963
2:ccode=DE
2:maxp5gb0a0=110
2:maxp5gb0a1=110
2:maxp5gb0a2=110
2:maxp5gb0a3=110
2:maxp5gb1a0=110
2:maxp5gb1a1=110
2:maxp5gb1a2=110
2:maxp5gb1a3=110
2:maxp5gb2a0=110
2:maxp5gb2a1=110
2:maxp5gb2a2=110
2:maxp5gb2a3=110
2:maxp5gb3a0=110
2:maxp5gb3a1=110
2:maxp5gb3a2=110
2:maxp5gb3a3=110
2:maxp5gb4a0=110
2:maxp5gb4a1=110
2:maxp5gb4a2=110
2:maxp5gb4a3=110
2:regrev=963
territory_code=UK/01
wl0_chlist=1 2 3 4 5 6 7 8 9 10 11 12 13
wl0_country_code=DE
wl0_country_rev=963
wl0_reg_mode=d
wl1_chlist=36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140
wl1_country_code=DE
wl1_country_rev=963
wl1_reg_mode=h
but not where the country code is 'unknown' (AX58U)
Code:
admin@RT-AX58U-70F0:/tmp/home/root# nvram show | grep -E 'territory_code|ccode|regrev|regulation|wl[0-9]_country|wl[0-9]
_reg_mode|:max|wl[0-9]_chlist' | sort
size: 65094 bytes (65978 left)
0:ccode=E0
0:maxp2ga0=90
0:maxp2ga1=90
0:regrev=742
1:ccode=E0
1:maxp5gb0a0=110
1:maxp5gb0a1=110
1:maxp5gb0a2=110
1:maxp5gb0a3=110
1:maxp5gb1a0=110
1:maxp5gb1a1=110
1:maxp5gb1a2=110
1:maxp5gb1a3=110
1:maxp5gb2a0=110
1:maxp5gb2a1=110
1:maxp5gb2a2=110
1:maxp5gb2a3=110
1:maxp5gb3a0=110
1:maxp5gb3a1=110
1:maxp5gb3a2=110
1:maxp5gb3a3=110
1:maxp5gb4a0=110
1:maxp5gb4a1=110
1:maxp5gb4a2=110
1:maxp5gb4a3=110
1:regrev=742
territory_code=EU/01
wl0_country_code=E0
wl0_country_rev=742
wl0_reg_mode=off
wl1_country_code=E0
wl1_country_rev=742
wl1_reg_mode=h