Contains incomplete information!
The RT-AX52-PRO is a Dual Band WiFi 6 router based on the MediaTek Filogic SoC with a dual-core ARM Cortex-A53 @ 1.3 GHz, featuring three 1Gbit LAN ports and one 1Gbit WAN port. It's only difference with AX52 is that AX52 PRO supports AX3000 and 160MHz Wi-Fi, whereas AX52 is AX1800 with only 80MHz support.
Helpful installation links:
This section deals with:
Note: Reset router to factory defaults if it has been previously configured.
asus_rt-ax52-initramfs.trx file from the OpenWrt download server.http://192.168.50.1 or http://www.asusrouter.com/http://www.asusrouter.com/Advanced_FirmwareUpgrade_Content.asp.http://192.168.1.1/cgi-bin/luci/admin/system/flash asus_rt-ax52-squashfs-sysupgrade.bin and use sysupgrade -nhttp://192.168.1.1 asus_rt-ax52-initramfs-kernel.bin). Copy the image to a TFTP server reachable at 192.168.1.70/24. Rename the image to rtax52.bin.$ setenv ipaddr 192.168.1.1 $ setenv serverip 192.168.1.70 $ tftpboot 0x46000000 rtax52.bin $ bootm 0x46000000
$ sysupgrade -n <path-to-sysupgrade.bin>
or browse to http://192.168.1.1/cgi-bin/luci/admin/system/flash , upload asus_rt-ax52-squashfs-sysupgrade.bin file to router.
http://192.168.1.1 $: ubi remove linux $: ubi remove jffs2 $: ubi remove rootfs $: ubi remove rootfs_data $: ubi create linux 0x45fe000 $: reset
then the dut will reboot, interrupt the autoboot process by pressing '2' when prompted.
2: Load System code then write to Flash via TFTP.
Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)
$: enter y
you will see the follow, type enter directly:
Input device IP (192.168.1.1) ==: Input server IP (192.168.1.70) ==: Input Linux Kernel filename (RT-AX52.trx) ==:
Missing content!
Missing content!
Missing content!
Missing content!
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
Values might be incorrect!
The default network configuration is:
| Interface Name | Description | Default configuration |
|---|---|---|
| br-lan | LAN & WiFi | 192.168.1.1/24 |
| wan | WAN port | DHCP |
Values might be incorrect!
| Port | Switch port |
|---|---|
| WAN (Blue) | wan |
| LAN 1 | lan1 |
| LAN 2 | lan2 |
| LAN 3 | lan3 |
→ hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.
Values might be incorrect!
cat /sys/kernel/debug/gpio gpiochip0: GPIOs 512-568, parent: platform/11d00000.pinctrl, pinctrl_moore: gpio-512 ( |wps ) in hi IRQ ACTIVE LOW gpio-513 ( |reset ) in hi IRQ ACTIVE LOW gpio-520 ( |blue:wan ) out hi ACTIVE LOW gpio-524 ( |blue:system ) out hi gpio-546 ( |white:wlan-2ghz ) out lo ACTIVE LOW gpio-547 ( |white:wlan-5ghz ) out lo ACTIVE LOW gpio-551 ( |reset ) out hi
The ASUS RT-AX52 has the following buttons:
| BUTTON | EVENT |
|---|---|
| Power switch | Power on/off |
| Reset button | Pressed < 1 sec. = reboot, pressed > 5 sec. factory reset |
| WPS button | WPS < 3 sec. trigger WPS on hostapd, WPS > 3 sec. trigger WPS on wpa_supplicant only |
Before enabling each SSID set your Country Code to ensure the correct WiFi channels and transmit power are used:
Alternatively, set via SSH with iw reg set.
MediaTek supports hardware acceleration for their SoCs which increases throughput and greatly reduces load off the CPU. It does this by processing traffic on their Packet Processing Engine (aka Network Accelerator). The downside to this approach is it cannot be used in combination with QoS features such as SQM and AQL. This is not enabled by default in OpenWrt. To enable, read below.
HFO enables hardware offloading of routing/NAT packets. The caveat being it is incompatible with SQM. This can be enabled via /etc/config/firewall or in LuCI as follows:
Link points to GL.iNet GL-MT6000 topic due to lack of testing on ASUS RT-AX52! WED not tested on ASUS RT-AX52.
WED enables hardware offloading of wireless traffic. The caveat being it will also bypass AQL which may result in higher WiFi latency. This feature is not yet available in LuCI. To enable it, use the command line:
nano /etc/modules.confoptions mt7915e wed_enable=Y
To check if WED is enabled, the following module will return either Y or N (yes or no): cat /sys/module/mt7915e/parameters/wed_enable
To check traffic offloaded to the PPEs for wired and wireless, cat ppe0/ppe1 bind/status, e.g.: cat /sys/kernel/debug/ppe0/bind.
Packet Steering may be enabled for single-core or multi-core. Note that with HFO enabled instead this will not matter as flows are offloaded. Irqbalance may be used as well, this will not affect bandwidth however may help with other tasks. While these can be enabled via SSH using LuCI is described below:
luci-app-irqbalance package and enable on: Services → irqbalance.
Link points to GL.iNet GL-MT6000 topic due to lack of testing on ASUS RT-AX52! Changing AQL limits works.
This device uses the mt76 mac80211 wifi driver which supports AQL. While the default values are sensible, reducing TX queue limits can improve latency, albeit with a reduction in peak throughput. See forum post for adjusting AQL limits showing limits in the 1500-2500 range yield the lowest latency results. As always with WiFi, results will vary due to a variety of clients, frequencies, obstructions, etc. As noted above this cannot be used with WED enabled.
Check current AQL limits: cat /sys/kernel/debug/ieee80211/phy*/aql_txq_limit
Example for setting different limits on both radios:
for ac in 0 1 2 3; do echo $ac 2500 8500 > /sys/kernel/debug/ieee80211/phy0/aql_txq_limit; done
for ac in 0 1 2 3; do echo $ac 2500 8500 > /sys/kernel/debug/ieee80211/phy1/aql_txq_limit; done
To retain configuration after reboot save to /etc/rc.local:
# AQL Tweaks aql_txq_limit_l=2500 aql_txq_limit_h=8500 for ac in 0 1 2 3; do echo $ac $aql_txq_limit_l $aql_txq_limit_h > /sys/kernel/debug/ieee80211/phy0/aql_txq_limit; done for ac in 0 1 2 3; do echo $ac $aql_txq_limit_l $aql_txq_limit_h > /sys/kernel/debug/ieee80211/phy1/aql_txq_limit; done
If configuring this device to function only as a wireless access point (dumb AP) follow the bridgedap guide and consider leaving hardware acceleration features off as explained below.
A dumb AP does not perform routing/NAT since it is on the same LAN as the router. Flow offloading (SFO and HFO) will therefore have no impact, better to leave these off.
Since a dumb AP does not perform other functions there is plenty of CPU headroom, therefore WiFi will typically have lower latency by leaving WED disabled so it will utilize AQL. Nevertheless if you would like to use WED, enable it as described above, then install the bridger package which does some BPF (Berkeley Packet Filter) magic to track and offload bridged streams. Optionally, edit /etc/config/bridger and define a device or bridge to exclude from bridge forwarding acceleration.