Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ramips/mt7621 - Zbtlink ZBT-WE3526 WiFi 5GHz issue - low output power - incorrectly identified device model #13427

Closed
1 task done
sloniupl opened this issue Sep 8, 2023 · 24 comments
Labels
bug issue report with a confirmed bug

Comments

@sloniupl
Copy link

sloniupl commented Sep 8, 2023

Describe the bug

Wireless driver for 5GHz wifi on this device is showing max 3dBm power to select and as a result 5GHz wifi is not workig (very very weak signal).
It is working correctly on 22.03. Issue only after updating to 23.05
Zbtlink ZBT-WE3526 01
Zbtlink ZBT-WE3526 02
Zbtlink ZBT-WE3526 03

OpenWrt version

r23389-5deed175a5

OpenWrt target/subtarget

ramips/mt7621

Device

Zbtlink ZBT-WE3526

Image kind

Official downloaded image

Steps to reproduce

Update to 23.05 and go to wifi section to configure 5GHz wifi

Actual behaviour

Wifi 5GHz signal very week, unusable for normal use.

Expected behaviour

Wifi 5GHz signal strong and working correctly on 22.03

Additional info

BusyBox v1.36.1 (2023-08-19 14:01:06 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 23.05.0-rc3, r23389-5deed175a5
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# . /etc/openwrt_release && echo $DISTRIB_REVISION
r23389-5deed175a5
root@OpenWrt:~# . /etc/openwrt_release && echo $DISTRIB_TARGET
ramips/mt7621
root@OpenWrt:~# cat /tmp/sysinfo/model
Zbtlink ZBT-WE3526
root@OpenWrt:~# cat /etc/config/wireless 

config wifi-device 'radio0'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
        option channel '1'
        option band '2g'
        option htmode 'HT20'
        option disabled '1'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

config wifi-device 'radio1'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:01:00.0'
        option channel '36'
        option band '5g'
        option htmode 'VHT80'
        option cell_density '0'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

Diffconfig

No response

Terms

  • I am reporting an issue for OpenWrt, not an unsupported fork.
@sloniupl sloniupl added the bug issue report with a confirmed bug label Sep 8, 2023
@brada4
Copy link

brada4 commented Sep 8, 2023

You missed out setting country code in UPPER 'advanced' tab for each radio...
Config file option in radio section will be:
option country 'PL'
After which you need to restart wpad service

@sloniupl
Copy link
Author

I've tested before setting up country code but still can't get power higher than 3dBm:

BusyBox v1.36.1 (2023-08-19 14:01:06 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 23.05.0-rc3, r23389-5deed175a5
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# cat /etc/config/wireless 

config wifi-device 'radio0'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
        option channel '1'
        option band '2g'
        option htmode 'HT20'
        option country 'PL'
        option cell_density '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

config wifi-device 'radio1'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:01:00.0'
        option channel '36'
        option band '5g'
        option htmode 'VHT80'
        option cell_density '0'
        option country 'PL'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

@sloniupl sloniupl changed the title Zbtlink ZBT-WE3526 WiFi 5GHz issue - low output power ramips/mt7621 - Zbtlink ZBT-WE3526 WiFi 5GHz issue - low output power Sep 10, 2023
@brada4
Copy link

brada4 commented Sep 10, 2023

Another more modern mt76.
pci id different as it is different SoC, and AX mode is supported here, your AC setting is correct for your device.
tx power suggested to vote down 13dbm channels in EU, for diagnostics you need to follow logread -f as radio comes up for 1-2 minutes.
full powerdown might be necessary if radio cannot take "stronger" regdom after 00 was set once.

config wifi-device 'radio1'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0+1'
        option band '5g'
        option cell_density '0'
        option min_tx_power '21'
        option htmode 'HE80'
        option country 'BE'
        option channel 'auto'

@brada4
Copy link

brada4 commented Sep 10, 2023

(you might be able to catch 3dBm signal 2cm from antenna, but it could be placeholder for TX off as well)

@sloniupl
Copy link
Author

sloniupl commented Sep 10, 2023

I was able to connect my phone after setting min_tx_power '21' but that does not solve the issue. Wireless power is still low and can't be changed via luci.

BusyBox v1.36.1 (2023-08-19 14:01:06 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 23.05.0-rc3, r23389-5deed175a5
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# logread -f
Sat Aug 19 14:17:18 2023 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy1.conf (phy phy1-ap0) --> new PHY
Sat Aug 19 14:17:18 2023 kern.info kernel: [  175.263390] br-lan: port 5(phy1-ap0) entered blocking state
Sat Aug 19 14:17:18 2023 kern.info kernel: [  175.269006] br-lan: port 5(phy1-ap0) entered disabled state
Sat Aug 19 14:17:18 2023 kern.info kernel: [  175.275092] device phy1-ap0 entered promiscuous mode
Sat Aug 19 14:17:18 2023 daemon.notice hostapd: phy1-ap0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sat Aug 19 14:17:18 2023 daemon.notice hostapd: phy1-ap0: interface state COUNTRY_UPDATE->HT_SCAN
Sat Aug 19 14:17:19 2023 kern.info kernel: [  176.302187] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-ap0: link becomes ready
Sat Aug 19 14:17:19 2023 kern.info kernel: [  176.309352] br-lan: port 5(phy1-ap0) entered blocking state
Sat Aug 19 14:17:19 2023 kern.info kernel: [  176.315049] br-lan: port 5(phy1-ap0) entered forwarding state
Sat Aug 19 14:17:19 2023 daemon.notice hostapd: phy1-ap0: interface state HT_SCAN->ENABLED
Sat Aug 19 14:17:19 2023 daemon.notice hostapd: phy1-ap0: AP-ENABLED
Sat Aug 19 14:17:19 2023 daemon.notice netifd: Wireless device 'radio1' is now up
Sat Aug 19 14:17:19 2023 daemon.notice netifd: Network device 'phy1-ap0' link is up
Sat Aug 19 14:17:20 2023 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Sat Aug 19 14:17:20 2023 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Sat Aug 19 14:17:20 2023 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 2 names
Sat Aug 19 14:17:20 2023 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Sat Aug 19 14:17:21 2023 daemon.warn odhcpd[1558]: No default route present, overriding ra_lifetime!
Sat Aug 19 14:17:28 2023 daemon.info hostapd: phy1-ap0: STA 66:98:2b:a1:99:ac IEEE 802.11: authenticated
Sat Aug 19 14:17:28 2023 daemon.info hostapd: phy1-ap0: STA 66:98:2b:a1:99:ac IEEE 802.11: associated (aid 1)
Sat Aug 19 14:17:28 2023 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED 66:98:2b:a1:99:ac auth_alg=open
Sat Aug 19 14:17:28 2023 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.149 66:98:2b:a1:99:ac
Sat Aug 19 14:17:28 2023 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.149 66:98:2b:a1:99:ac SloniuPl-Zenfone-9
Sat Aug 19 14:17:29 2023 daemon.warn odhcpd[1558]: No default route present, overriding ra_lifetime!
root@OpenWrt:~# cat /etc/config/wireless 

config wifi-device 'radio0'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
        option channel '1'
        option band '2g'
        option htmode 'HT20'
        option country 'PL'
        option cell_density '0'
        option disabled '1'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'
        option disabled '1'

config wifi-device 'radio1'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:01:00.0'
        option channel '36'
        option band '5g'
        option htmode 'VHT80'
        option cell_density '0'
        option country 'PL'
        option min_tx_power '21'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

@brada4
Copy link

brada4 commented Sep 10, 2023

Please show iwinfo (actual tx power) and iw reg get (pivot of country rules and radio calibration data)
seems wrong radio calibration data is read from vendor partitions.
If you have chance and time make same 2 reports with 22.03 to have side by side comparison.

@sloniupl
Copy link
Author

Here are results from both 23.05 and 22.03 on the same device:
23.05:

BusyBox v1.36.1 (2023-08-19 14:01:06 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 23.05.0-rc3, r23389-5deed175a5
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# iwinfo
phy1-ap0  ESSID: "OpenWrt"
          Access Point: 24:6C:AA:9F:2B:02
          Mode: Master  Channel: 36 (5.180 GHz)  HT Mode: VHT80
          Center Channel 1: 42 2: unknown
          Tx-Power: 3 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11ac/b/g/n
          Hardware: 14C3:7662 14C3:7662 [MediaTek MT76x2E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy1

wlan0     ESSID: unknown
          Access Point: 6A:EE:39:50:88:2F
          Mode: Client  Channel: unknown (unknown)  HT Mode: NOHT
          Center Channel 1: unknown 2: unknown
          Tx-Power: 35 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: 14C3:7603 14C3:7603 [MediaTek MT7603E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

root@OpenWrt:~# iw reg get
global
country PL: DFS-ETSI
        (2400 - 2483 @ 40), (N/A, 20), (N/A)
        (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
        (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
        (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
        (5725 - 5875 @ 80), (N/A, 13), (N/A)
        (5945 - 6425 @ 160), (N/A, 23), (N/A), NO-OUTDOOR
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)

root@OpenWrt:~# 

22.03:

BusyBox v1.35.0 (2023-04-27 20:28:15 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 22.03.5, r20134-5f15225c1e
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# iwinfo
wlan0     ESSID: unknown
          Access Point: 78:A3:51:63:38:E8
          Mode: Client  Channel: unknown (unknown)  HT Mode: NOHT
          Center Channel 1: unknown 2: unknown
          Tx-Power: 23 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: 14C3:7603 14C3:7603 [MediaTek MT7603E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

wlan1     ESSID: "OpenWrt"
          Access Point: 78:A3:51:63:38:E9
          Mode: Master  Channel: 36 (5.180 GHz)  HT Mode: VHT80
          Center Channel 1: 42 2: unknown
          Tx-Power: 21 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11ac/n
          Hardware: 14C3:7662 14C3:7662 [MediaTek MT76x2E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy1

root@OpenWrt:~# iw reg get
global
country PL: DFS-ETSI
        (2400 - 2483 @ 40), (N/A, 20), (N/A)
        (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
        (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
        (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
        (5725 - 5875 @ 80), (N/A, 13), (N/A)
        (5945 - 6425 @ 160), (N/A, 23), (N/A), NO-OUTDOOR
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)

root@OpenWrt:~# 

@brada4
Copy link

brada4 commented Sep 11, 2023

It was initially ported by @nbd168

@sloniupl
Copy link
Author

I noticed that in 22.03 interface is called wlan1 and on 23.05 phy1-ap0 also I noticed that wireless AP mac addresses are correct in 22.03 and not correct in 23.05 (don't know if that helps or not).

I have this device for tests as I use 2 exactly the same devices at my and my parents house so I want to figure out the issue and help solve it for 23.05 so I can perform any tests necessary to help figure it out.

@brada4
Copy link

brada4 commented Sep 11, 2023

@sloniupl
Copy link
Author

Not sure how to check it but my MAC for LAN and wan is:
78:A3:51:63:38:EA
78:A3:51:63:38:EB

lan mac

@brada4
Copy link

brada4 commented Sep 11, 2023

Should be on a sticker on underside https://openwrt.org/toh/zbtlink/zbt_we3526
That MAC does not seem registeted to a manufacturer.
78:A3:51 Shenzhen Zhibotong Electronics Co.,Ltd

Last 20:... is not registered. Seems legit.

@sloniupl
Copy link
Author

Yep that 20:55:3F is just something that the WiFi 5GHz (phy1-ap0) is getting on OpenWRT 23.05. I Imaged again 23.05 on this device for future testing and it got a different MAC for WiFi interface than it had before on 23.05 (phy1-ap0 ESSID: "OpenWrt" Access Point: 24:6C:AA:9F:2B:02) so i belive it can be part of the problem.

@brada4
Copy link

brada4 commented Sep 11, 2023

Wifi calibration data is obtained from wrong place following one of latest changes...

@sloniupl
Copy link
Author

I've tested rc1 and rc2 of 23.05 to check if I have the same issue on those versions of 23.05 and looks like the issue is there.
Is there any way I can help solve it before stable 23.05 release?

@brada4
Copy link

brada4 commented Sep 11, 2023

If you want to build image you may try to bisect dts and dtsi changes i e count changes apply first half try if it works, like number guess game till you find commit breaking device.
Problem is isolated to 5ghz radio only that mac and cal data are wrong.

@sloniupl
Copy link
Author

Will do, so if i understand correctly you want me to build a 23.05 rc3 build for testing with different version of openwrt/target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts ?

For example replacing most up to date comit with the older one in build directory and than build it, flash to the router and see if it will work?
image

Sorry for all the questions but i'll do it first time :)

@sloniupl
Copy link
Author

sloniupl commented Sep 11, 2023

Funny thing, i build my own image for 23.05-rc3 using this guide:
https://openwrt.org/docs/guide-developer/toolchain/use-buildsystem

As a target i used ZBT-WG3526 16M:
image
and it is working correctly:
openwrt2305rc3working01
openwrt2305rc3working02

BusyBox v1.36.1 (2023-08-19 14:01:06 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
sloniupl.eu test image for ramips/mt7621 - Zbtlink ZBT-WE3526
 -----------------------------------------------------
 OpenWrt 23.05.0-rc3, r23389-5deed175a5
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# iwinfo
phy1-ap0  ESSID: "OpenWrt"
          Access Point: 78:A3:51:63:38:E9
          Mode: Master  Channel: 36 (5.180 GHz)  HT Mode: VHT80
          Center Channel 1: 42 2: unknown
          Tx-Power: 21 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11ac/n
          Hardware: 14C3:7662 14C3:7662 [MediaTek MT76x2E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy1

wlan0     ESSID: unknown
          Access Point: 62:E5:F8:11:60:4E
          Mode: Client  Channel: unknown (unknown)  HT Mode: NOHT
          Center Channel 1: unknown 2: unknown
          Tx-Power: 35 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: 14C3:7603 14C3:7603 [MediaTek MT7603E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

root@OpenWrt:~# iw reg get
global
country PL: DFS-ETSI
        (2400 - 2483 @ 40), (N/A, 20), (N/A)
        (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
        (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
        (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
        (5725 - 5875 @ 80), (N/A, 13), (N/A)
        (5945 - 6425 @ 160), (N/A, 23), (N/A), NO-OUTDOOR
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)

root@OpenWrt:~# 

@sloniupl
Copy link
Author

sloniupl commented Sep 11, 2023

I tested doing the same thing with ZBT-WG3526 32M but after flashing i did not have the wireless section under network despite Status page showing Wireless interfaces (but not active - no way to enable it via gui):

image
image

Checking console commands you provided me i found that on this 32M version 5GHz wifi is showing as 3dBm

BusyBox v1.36.1 (2023-08-19 14:01:06 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
sloniupl.eu test image for ramips/mt7621 - Zbtlink ZBT-WE3526
 -----------------------------------------------------
 OpenWrt 23.05.0-rc3, r23389-5deed175a5
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# iwinfo
wlan0     ESSID: unknown
          Access Point: EE:21:78:EA:B0:59
          Mode: Client  Channel: unknown (unknown)  HT Mode: NOHT
          Center Channel 1: unknown 2: unknown
          Tx-Power: 35 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: 14C3:7603 14C3:7603 [MediaTek MT7603E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

wlan1     ESSID: unknown
          Access Point: 78:A3:51:63:38:E9
          Mode: Client  Channel: unknown (unknown)  HT Mode: NOHT
          Center Channel 1: unknown 2: unknown
          Tx-Power: 3 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11ac/n
          Hardware: 14C3:7662 14C3:7662 [MediaTek MT76x2E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy1

root@OpenWrt:~# iw reg get
global
country 00: DFS-UNSET
        (755 - 928 @ 2), (N/A, 20), (N/A), PASSIVE-SCAN
        (2402 - 2472 @ 40), (N/A, 20), (N/A)
        (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
        (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
        (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
        (5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
        (57240 - 63720 @ 2160), (N/A, 0), (N/A)

root@OpenWrt:~# 

Any idea how to build a Generic image for ZBT-WE3526 similar how the official images are build?
When doing make menuconfig i only have 16M or 32M to choose from:

image

@sloniupl
Copy link
Author

sloniupl commented Sep 11, 2023

Ok disregard my last two posts. I created images for WG3526 and not WE3526. I'll do one now and test it.

I was able to create proper image for WE3526 and it has the issue i observed:
image
image
image

BusyBox v1.36.1 (2023-08-19 14:01:06 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
sloniupl.eu test image for ramips/mt7621 - Zbtlink ZBT-WE3526
 -----------------------------------------------------
 OpenWrt 23.05.0-rc3, r23389-5deed175a5
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# iwinfo
phy1-ap0  ESSID: "OpenWrt"
          Access Point: D4:EE:12:91:CB:79
          Mode: Master  Channel: 36 (5.180 GHz)  HT Mode: VHT80
          Center Channel 1: 42 2: unknown
          Tx-Power: 3 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11ac/b/g/n
          Hardware: 14C3:7662 14C3:7662 [MediaTek MT76x2E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy1

wlan0     ESSID: unknown
          Access Point: 0A:9A:1E:80:9C:41
          Mode: Client  Channel: unknown (unknown)  HT Mode: NOHT
          Center Channel 1: unknown 2: unknown
          Tx-Power: 35 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: 14C3:7603 14C3:7603 [MediaTek MT7603E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

root@OpenWrt:~# iw reg get
global
country PL: DFS-ETSI
        (2400 - 2483 @ 40), (N/A, 20), (N/A)
        (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
        (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
        (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
        (5725 - 5875 @ 80), (N/A, 13), (N/A)
        (5945 - 6425 @ 160), (N/A, 23), (N/A), NO-OUTDOOR
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)

root@OpenWrt:~# 

Funny thing is that it was looking to be working correctly on image for ZBT-WG3526 16M. I'll try to compare those two device .dts files.

@DragonBluep
Copy link
Contributor

@sloniupl Can you show us the output of the dmesg?

@sloniupl
Copy link
Author

Sure, Here is dmesg from official 23.05 rc3 (i configured country code on 5GHz wifi and enabled it):

BusyBox v1.36.1 (2023-08-19 14:01:06 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 23.05.0-rc3, r23389-5deed175a5
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# dmesg
[    0.000000] Linux version 5.15.127 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23389-5deed175a5) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Sat Aug 19 14:01:06 2023
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Zbtlink ZBT-WE3526
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] percpu: Embedded 11 pages/cpu s14736 r8192 d22128 u45056
[    0.000000] pcpu-alloc: s14736 r8192 d22128 u45056 alloc=11*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=00008bc0
[    0.000000] Readback ErrCtl register=00008bc0
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 249124K/262144K available (7296K kernel code, 627K rwdata, 880K rodata, 1232K init, 226K bss, 13020K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000004] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[    0.008053] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.066217] pid_max: default: 32768 minimum: 301
[    0.071648] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.078860] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.090582] rcu: Hierarchical SRCU implementation.
[    0.096076] smp: Bringing up secondary CPUs ...
[    0.101564] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.101595] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.101610] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.101657] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.160867] Synchronize counters for CPU 1: done.
[    0.193276] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.193298] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.193310] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.193339] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.252336] Synchronize counters for CPU 2: done.
[    0.283007] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.283030] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.283041] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.283074] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.337530] Synchronize counters for CPU 3: done.
[    0.367390] smp: Brought up 1 node, 4 CPUs
[    0.376591] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.386407] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.393522] pinctrl core: initialized pinctrl subsystem
[    0.400440] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.407042] thermal_sys: Registered thermal governor 'step_wise'
[    0.413691] FPU Affinity set after 11720 emulations
[    0.432702] clocksource: Switched to clocksource GIC
[    0.439168] NET: Registered PF_INET protocol family
[    0.444244] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.452548] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.460877] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.468568] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.476180] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.483278] TCP: Hash tables configured (established 2048 bind 2048)
[    0.489723] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.496225] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.503539] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.509180] PCI: CLS 0 bytes, default 32
[    0.516061] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.528006] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.533887] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.545215] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.556889] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.562989] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.568939] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.575143] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    0.581828] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    0.590593] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0060000000
[    0.598697] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    0.962695] mt7621-pci 1e140000.pcie: pcie0 no card, disable it (RST & CLK)
[    0.969597] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    0.974474] mt7621-pci 1e140000.pcie: PCIE2 enabled
[    0.979293] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    0.986525] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    0.992826] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.998226] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.005080] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.011363] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.017314] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.023534] pci 0000:00:01.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[    1.029781] pci 0000:00:01.0: supports D1
[    1.033716] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.040242] pci 0000:00:02.0: [0e8d:0801] type 01 class 0x060400
[    1.046294] pci 0000:00:02.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.052474] pci 0000:00:02.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[    1.058790] pci 0000:00:02.0: supports D1
[    1.062741] pci 0000:00:02.0: PME# supported from D0 D1 D3hot
[    1.070415] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    1.076449] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    1.083225] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    1.089981] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    1.097332] pci 0000:00:01.0: PCI bridge to [bus 01-ff]
[    1.102491] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.108580] pci 0000:00:01.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.115308] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    1.122448] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.129329] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[    1.135316] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    1.141635] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    1.148957] pci 0000:00:02.0: PCI bridge to [bus 02-ff]
[    1.154166] pci 0000:00:02.0:   bridge window [io  0x0000-0x0fff]
[    1.160164] pci 0000:00:02.0:   bridge window [mem 0x60200000-0x602fffff]
[    1.166942] pci 0000:00:02.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    1.174106] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.180692] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    1.187233] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.194148] pci 0000:00:02.0: BAR 0: no space for [mem size 0x80000000]
[    1.200684] pci 0000:00:02.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.207635] pci 0000:00:01.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.214365] pci 0000:00:01.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    1.221507] pci 0000:00:02.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    1.228275] pci 0000:00:02.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    1.235446] pci 0000:00:01.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    1.242163] pci 0000:00:02.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    1.248927] pci 0000:00:01.0: BAR 7: assigned [io  0x0000-0x0fff]
[    1.254972] pci 0000:00:02.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.260999] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    1.268296] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    1.275449] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.280347] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.286421] pci 0000:00:01.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.293160] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    1.300311] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[    1.307074] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.311968] pci 0000:00:02.0:   bridge window [io  0x1000-0x1fff]
[    1.318043] pci 0000:00:02.0:   bridge window [mem 0x60200000-0x602fffff]
[    1.324789] pci 0000:00:02.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    1.334830] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    1.346188] printk: console [ttyS0] disabled
[    1.350506] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    1.359547] printk: console [ttyS0] enabled
[    1.367827] printk: bootconsole [early0] disabled
[    1.381343] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    1.388085] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    1.393056] 4 fixed-partitions partitions found on MTD device spi0.0
[    1.399431] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.406779] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.414677] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.422087] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.429815] Creating 4 MTD partitions on "spi0.0":
[    1.434654] 0x000000000000-0x000000030000 : "u-boot"
[    1.440870] 0x000000030000-0x000000040000 : "u-boot-env"
[    1.447290] 0x000000040000-0x000000050000 : "factory"
[    1.453710] 0x000000050000-0x000001000000 : "firmware"
[    1.460208] 2 uimage-fw partitions found on MTD device firmware
[    1.466197] Creating 2 MTD partitions on "firmware":
[    1.471150] 0x000000000000-0x0000002abeda : "kernel"
[    1.476119] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    1.485559] 0x0000002abeda-0x000000fb0000 : "rootfs"
[    1.490544] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    1.500809] mtd: setting mtd5 (rootfs) as root device
[    1.506068] 1 squashfs-split partitions found on MTD device rootfs
[    1.512249] 0x000000660000-0x000000fb0000 : "rootfs_data"
[    1.656053] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.670181] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22
[    1.682596] mtk_soc_eth 1e100000.ethernet wan: mediatek frame engine at 0xbe100000, irq 22
[    1.693359] i2c_dev: i2c /dev entries driver
[    1.698524] i2c-mt7621 1e000900.i2c: clock 100 kHz
[    1.707025] NET: Registered PF_INET6 protocol family
[    1.714841] Segment Routing with IPv6
[    1.718613] In-situ OAM (IOAM) with IPv6
[    1.722632] NET: Registered PF_PACKET protocol family
[    1.727948] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.741634] 8021q: 802.1Q VLAN Support v1.8
[    1.752410] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.778507] mt7530-mdio mdio-bus:1f: configuring for fixed/rgmii link mode
[    1.786251] mt7530-mdio mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    1.793543] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=24)
[    1.806969] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=25)
[    1.819887] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=26)
[    1.832967] mt7530-mdio mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=27)
[    1.845666] DSA: tree 0 setup
[    1.862298] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.874213] Freeing unused kernel image (initmem) memory: 1232K
[    1.880168] This architecture does not have kernel memory protection.
[    1.886631] Run /sbin/init as init process
[    1.890712]   with arguments:
[    1.890717]     /sbin/init
[    1.890722]   with environment:
[    1.890727]     HOME=/
[    1.890732]     TERM=linux
[    2.654379] init: Console is alive
[    2.658239] init: - watchdog -
[    4.050028] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.135731] usbcore: registered new interface driver usbfs
[    4.141408] usbcore: registered new interface driver hub
[    4.147011] usbcore: registered new device driver usb
[    4.163578] xhci-mtk 1e1c0000.xhci: supply vbus not found, using dummy regulator
[    4.171242] xhci-mtk 1e1c0000.xhci: supply vusb33 not found, using dummy regulator
[    4.179136] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    4.184624] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    4.197221] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000290010
[    4.206467] xhci-mtk 1e1c0000.xhci: irq 21, io mem 0x1e1c0000
[    4.212469] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    4.217883] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    4.225402] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[    4.233178] hub 1-0:1.0: USB hub found
[    4.237163] hub 1-0:1.0: 2 ports detected
[    4.242449] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.251812] hub 2-0:1.0: USB hub found
[    4.255770] hub 2-0:1.0: 1 port detected
[    4.303873] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.319381] init: - preinit -
[    5.680078] random: jshn: uninitialized urandom read (4 bytes read)
[    5.825596] random: jshn: uninitialized urandom read (4 bytes read)
[    5.865834] random: jshn: uninitialized urandom read (4 bytes read)
[    6.152522] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    6.165986] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    6.173119] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[    6.181987] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.397629] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    8.408916] urandom-seed: Seed file not found (/etc/urandom.seed)
[    8.562991] procd: - early -
[    8.566153] procd: - watchdog -
[    9.199631] procd: - watchdog -
[    9.203547] procd: - ubus -
[    9.353264] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.361979] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.368947] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.388211] procd: - init -
[   10.125643] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.235408] urngd: v1.0.2 started.
[   10.322406] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[   10.329944] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[   10.411368] random: crng init done
[   10.414880] random: 30 urandom warning(s) missed due to ratelimiting
[   10.717198] pci 0000:00:02.0: enabling device (0006 -> 0007)
[   10.723028] mt7603e 0000:02:00.0: enabling device (0000 -> 0002)
[   10.729247] mt7603e 0000:02:00.0: ASIC revision: 76030010
[   10.735952] mt7603e 0000:02:00.0: Invalid MAC address, using random address 62:5d:33:91:8c:5c
[   11.765751] mt7603e 0000:02:00.0: Firmware Version: ap_pcie
[   11.771353] mt7603e 0000:02:00.0: Build Time: 20160107100755
[   11.798579] mt7603e 0000:02:00.0: firmware init done
[   11.981805] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   11.994387] pci 0000:00:01.0: enabling device (0006 -> 0007)
[   12.000082] mt76x2e 0000:01:00.0: enabling device (0000 -> 0002)
[   12.006360] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[   12.013114] mt76x2e 0000:01:00.0: EEPROM data check failed: 7603
[   12.652884] mt76x2e 0000:01:00.0: Invalid MAC address, using random address be:51:b1:44:b0:b6
[   12.983704] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[   12.994222] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[   12.999739] mt76x2e 0000:01:00.0: Build: 1
[   13.003848] mt76x2e 0000:01:00.0: Build Time: 201607111443____
[   13.033136] mt76x2e 0000:01:00.0: Firmware running!
[   13.040043] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   13.102448] PPP generic driver version 2.4.2
[   13.108830] NET: Registered PF_PPPOX protocol family
[   13.122137] kmodloader: done loading kernel modules from /etc/modules.d/*
[   30.040790] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   30.069660] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   30.078137] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   30.087455] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   30.095415] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[   30.105026] br-lan: port 1(lan1) entered blocking state
[   30.110341] br-lan: port 1(lan1) entered disabled state
[   30.119185] device lan1 entered promiscuous mode
[   30.123988] device eth0 entered promiscuous mode
[   30.166705] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[   30.176235] br-lan: port 2(lan2) entered blocking state
[   30.181544] br-lan: port 2(lan2) entered disabled state
[   30.190125] device lan2 entered promiscuous mode
[   30.211665] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[   30.219580] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   30.220920] br-lan: port 3(lan3) entered blocking state
[   30.226597] jffs2_build_filesystem(): unlocking the mtd device... 
[   30.226628] done.
[   30.226633] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   30.240157] br-lan: port 3(lan3) entered disabled state
[   30.255381] device lan3 entered promiscuous mode
[   30.274478] mt7530-mdio mdio-bus:1f lan4: configuring for phy/gmii link mode
[   30.283937] br-lan: port 4(lan4) entered blocking state
[   30.289252] br-lan: port 4(lan4) entered disabled state
[   30.297510] device lan4 entered promiscuous mode
[   30.326433] mtk_soc_eth 1e100000.ethernet wan: PHY [mdio-bus:04] driver [MediaTek MT7530 PHY] (irq=POLL)
[   30.336001] mtk_soc_eth 1e100000.ethernet wan: configuring for phy/rgmii link mode
[   33.603846] mt7530-mdio mdio-bus:1f lan4: Link is Up - 1Gbps/Full - flow control rx/tx
[   33.611869] br-lan: port 4(lan4) entered blocking state
[   33.617160] br-lan: port 4(lan4) entered forwarding state
[   33.623553] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   65.443380] done.
[   65.445396] jffs2: notice: (2207) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   65.759384] overlayfs: upper fs does not support tmpfile.
[   88.886843] br-lan: port 5(phy1-ap0) entered blocking state
[   88.892505] br-lan: port 5(phy1-ap0) entered disabled state
[   88.899076] device phy1-ap0 entered promiscuous mode
[   89.724901] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-ap0: link becomes ready
[   89.732328] br-lan: port 5(phy1-ap0) entered blocking state
[   89.738136] br-lan: port 5(phy1-ap0) entered forwarding state
[  100.663327] nf_conntrack: nf_conntrack: table full, dropping packet
[  100.684391] nf_conntrack: nf_conntrack: table full, dropping packet
[  101.695069] nf_conntrack: nf_conntrack: table full, dropping packet
[  103.708476] nf_conntrack: nf_conntrack: table full, dropping packet
root@OpenWrt:~# 

@DragonBluep
Copy link
Contributor

Are you sure your device model is Zbtlink ZBT-WE3526? The image for Zbtlink ZBT-WE1326 should work perfectly for you. Please test it.

@sloniupl
Copy link
Author

sloniupl commented Sep 12, 2023

Thank you very much, indeed it looks like i have WE1326.
After your message i disassembled the device i have and removed MAC address sticker that is on motherboard. Under that was a model number:
image
And it works correctly on the correct firmware:
image

Those devices i have and use are rebranded versions of Zbtlink models. And i was basing the model name on the original OpenWRT firmware that was installed on it when i got my first unit:
image
Router Korbox Gigabitus R1219

Again thanks a lot for figuring out my mistake. Funny thing two such devices worked no problem for last 3 years on the WE3526 version of OpenWRT. I'll reflash them to the correct one :)

@sloniupl sloniupl changed the title ramips/mt7621 - Zbtlink ZBT-WE3526 WiFi 5GHz issue - low output power ramips/mt7621 - Zbtlink ZBT-WE3526 WiFi 5GHz issue - low output power - incorrectly identified device model Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue report with a confirmed bug
Projects
None yet
Development

No branches or pull requests

3 participants