TP-Link TL-WR902AC v4

i ordered a TP-Link TL-WR902AC and there is a new revision v4. i flashed the v3 firmware on the off chance. This worked right away. however, he has not recognized the 5g wireless. after some research I came across it is a MediaTek MT7613BE 802.11acn. I searched for the necessary kmod packages and came across kmod-mt7615e kmod-mt7663-firmware-ap. So everything works fine. maybe there is a maintainer who can build this automatically.

23: None 01.0: 1070a WLAN
[Created at net.126]
SysFS ID: /class/net/wlan1
SysFS Device Link: /devices/pci0000:00/0000:00:00.0/0000:01:00.0
Hardware Class: network interface
Model: "WLAN network interface"
Driver: "mt7615e"
Driver Modules: "mt7615e"
Device File: wlan1
Link detected: yes
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #4 (WLAN controller)

05: None 00.0: 0282 WLAN controller
[Created at pci.1030]
SysFS ID: /devices/platform/10300000.wmac
SysFS BusID: 10300000.wmac
Hardware Class: network
Model: "ARM Ethernet controller"
Device: "ARM Ethernet controller"
Driver: "mt76_wmac"
Driver Modules: "mt7603e"
Device File: wlan0
Features: WLAN
Link detected: yes
WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 2.484
WLAN encryption modes: WEP40 WEP104 TKIP CCMP
WLAN authentication modes: open sharedkey wpa-psk wpa-eap
Module Alias: "of:NwmacT(null)Cmediatek,mt7628-wmac"
Config Status: cfg=new, avail=yes, need=no, active=unknown

1 Like

That would be you. Since you've already figured out what needs to be done, we can walk you through the process.

The first step is setting up a development environment as described here. Then you create a new target for the v4 and modify the default packages in the source code, see here. The DTS can be moved to a shared DTS where then only the revision changes for v3 and v4.
Once you've got it working locally, you can create a PR to get it accepted into upstream OpenWrt.

I was wondering can anyone help me with this via a MacBook. I can't seem to find the right video or website to help me get OpenWrt on a TP-Link TL-WR902AC v4

I'm not 100% tech savvy, but can follow instructions well.

I have just received the same v4 router, if anyone keen to jump into a new target free to join.

Thanks. You saved me some time

Thanks. I built (with image builder) image with mentioned modules' packages, and it seems to work for the first time.
As a bureaucrat I would prefer to have
machine : TP-Link TL-WR902AC v4
in /proc/cpuinfo :wink: Please note, that this is my first PR, and I have no much experience here.

Good day, could you give me some directions on getting OpenWRT running on TL-WR902AC V4. I have not been able to get OpenWRT functional on this travel router. Appreciate the help in advance...;a=commit;h=ffa40fcc7fe1aee041775e097bccecb9be83cd21

It's not a great device for Openwrt though -

In the current(14.01.2024) snapshot the 2.4GHz wlan is broken (unstable and very slow connection) . If I flash the stable version [23.05.2] for the v3 2.4GHz wlan works but clearly the 5GHz wlan is missing. Then I've added the missing package via kmod on the stable version and now both bands work well.