AX23 Very slow 5GHz WiFi on Windows

Hi. I do have a TP-Link Archer AX23 v1.20 WiFi 6 Router running latest release (not snapshot) of OpenWrt. I get very slow download speeds, under 10Mbps WiFi speeds on Windows 10/11. This doesn't occur on Linux/FreeBSD OSes but only on Windows. Recently I installed stock TP-Link firmware on AX23 and it was giving perfectly fine WiFi download speeds on Windows. I think I've tried everything that I found in this case-like topics to get it working fine on Windows but no success. I do currently have OpenWrt installed on AX23. 2.4GHz seems to give higher download speed than 5GHz. Thanks in advance.

Please add outputs of

ubus call system board
cat /etc/config/network
cat /etc/config/wireless

Edit away passwords, other secrets, and post using </> code block

1 Like

Sorry, here they are. Btw, I am using mini pci-e to pcie x1 adapter connection for my wifi on my desktop pc, wifi model is: Atheros AR9462

# ubus call system board
{
        "kernel": "5.15.167",
        "hostname": "OpenWrt",
        "system": "MediaTek MT7621 ver:1 eco:3",
        "model": "TP-Link Archer AX23 v1",
        "board_name": "tplink,archer-ax23-v1",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.5",
                "revision": "r24106-10cc5fcd00",
                "target": "ramips/mt7621",
                "description": "OpenWrt 23.05.5 r24106-10cc5fcd00"
        }
}

root@OpenWrt:~# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd71:4d04:60d6::/48'
        option packet_steering '1'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'
        list ports 'lan4'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '172.16.0.1'
        option netmask '255.255.255.0'
        option broadcast '172.16.0.255'
        option delegate '0'

config device
        option type '8021q'
        option ifname 'wan'
        option vid '35'
        option name 'wan.35'
        option mtu '1492'
        option ipv6 '0'
        option macaddr 'xxxxxxxxxxx'

config interface 'wan'
        option proto 'pppoe'
        option device 'wan.35'
        option username 'xxxxxxxxxxxx'
        option password 'xxxxxxxxxxxx'
        option ipv6 '0'
        option peerdns '0'
        list dns '1.1.1.1'
        list dns '1.0.0.1'

# cat /etc/config/wireless

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

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

config wifi-iface 'wifinet0'
        option device 'radio0'
        option mode 'ap'
        option ssid 'xxxxxxxxxx_2.4GHz'
        option encryption 'psk2'
        option key 'xxxxxxxxxxx'
        option network 'lan'

config wifi-iface 'wifinet1'
        option device 'radio1'
        option mode 'ap'
        option ssid 'xxxxxxxx'
        option encryption 'sae-mixed'
        option key 'xxxxxxxxxxxxx'
        option network 'lan'


Try PSK2 on 5 Ghz. Possibly also forget the network on the windows machine before reconnecting.

2 Likes

Thanks for your reply. I think I was tried it once already but tried again and still I am getting download speed under 10Mbps, currently 5.9Mbps. Btw, i don't have windows installed, just using WinPE which is hiren's boot cd and in wifi list window, i see that 5ghz AP's radio type is showing 802.11ac and when i connect to it, i just see 802.11n. Just got 36Mbps download speed on 2.4GHz. My link is 100/50. FYI, I remember that I saw, in wireless section of luci, that tx rate of my windows client had 14mbit/s speed.

Do not use sae-mixed. If you really need wpa2 and wpa3 make 2 access points per band, one wpa3 one wpa2 , can even be with same name and password. old devices will not "see" wpa3 one and new devices wil lock on wpa3 due to downgrade protection.

Which channel is used in 5GHz? iwinfo ?

1 Like

I already have 2 APs in total, one is 2.4GHz and other one is 5GHz. 2.4GHz AP's SSID just has 2.4GHz mark. Thanks for the hint.

EDIT: Oh, you said 2 APs per band, so i guess i can have 2 APs in each band?

# iwinfo
phy0-ap0  ESSID: "xxxxxx_2.4GHz"
          Access Point: xxxxxxxxxxx
          Mode: Master  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 20 dBm  Link Quality: 65/70
          Signal: -45 dBm  Noise: -92 dBm
          Bit Rate: 79.4 MBit/s
          Encryption: WPA2 PSK (CCMP)
          Type: nl80211  HW Mode(s): 802.11ax/b/g/n
          Hardware: 14C3:7915 14C3:7915 [MediaTek MT7915E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

phy1-ap0  ESSID: "xxxxxxxxx"
          Access Point: xxxxxxxxxxxxxxx
          Mode: Master  Channel: 52 (5.260 GHz)  HT Mode: VHT80
          Center Channel 1: 58 2: unknown
          Tx-Power: 20 dBm  Link Quality: 43/70
          Signal: -67 dBm  Noise: -92 dBm
          Bit Rate: 292.6 MBit/s
          Encryption: WPA2 PSK (CCMP)
          Type: nl80211  HW Mode(s): 802.11ac/ax/n
          Hardware: 14C3:7915 14C3:7915 [MediaTek MT7915E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy1

Strange it selected relatively busy channel, while in web ui - restart 5ghz radio to re-select channel.

1 Like

I don't know much about WiFi channels but it picked up channel 132. My pc isn't able to see 5GHz AP now while my phone connected to it, strange.

# iwinfo
phy0-ap0  ESSID: "xxxxxxx_2.4GHz"
          Access Point: xxxxxxx
          Mode: Master  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 20 dBm  Link Quality: 57/70
          Signal: -53 dBm  Noise: -91 dBm
          Bit Rate: 101.1 MBit/s
          Encryption: WPA2 PSK (CCMP)
          Type: nl80211  HW Mode(s): 802.11ax/b/g/n
          Hardware: 14C3:7915 14C3:7915 [MediaTek MT7915E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

phy1-ap0  ESSID: "xxxxxxx"
          Access Point: xxxxxxx
          Mode: Master  Channel: 132 (5.660 GHz)  HT Mode: VHT80
          Center Channel 1: 138 2: unknown
          Tx-Power: 23 dBm  Link Quality: 42/70
          Signal: -68 dBm  Noise: -92 dBm
          Bit Rate: 433.3 MBit/s
          Encryption: WPA2 PSK (CCMP)
          Type: nl80211  HW Mode(s): 802.11ac/ax/n
          Hardware: 14C3:7915 14C3:7915 [MediaTek MT7915E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy1

Are client regional settings correct?

Did you mean country code for AP? They are both set to TR which is country I live in, Turkey. If you meant that client's (Windows) regional settings, I don't know, how can I check?

Hiren's Boot CD got crazy (?) and was not connecting to both APs. I switched to FreeBSD and these are the speed results.

% ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=0
        ether xxxxxxxxxx
        inet 172.16.0.101 netmask 0xffffff00 broadcast 172.16.0.255
        inet6 fe80::baee:65ff:fe4e:ef4f%wlan0 prefixlen 64 scopeid 0x3
        groups: wlan
        ssid xxxxxxxxx channel 52 (5260 MHz 11a ht/40+) bssid xxxxxxxxxx
        regdomain ETSI country TR indoor ecm authmode WPA2/802.11i privacy ON
        deftxkey UNDEF AES-CCM 2:128-bit txpower 24 bmiss 7 mcastrate 6
        mgmtrate 6 scanvalid 60 ampdulimit 64k ampdudensity 4 shortgi -uapsd
        wme burst roaming MANUAL
        parent interface: ath0
        media: IEEE 802.11 Wireless Ethernet MCS mode 11na
        status: associated
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>

Your client is wifi-a, 300Mbps link speed?

Sorry, what do you mean by that? My internet link is around 100/50.
hale is my pc's hostname.

Your client netcard is wifi4 level.

1 Like

Thanks but I don't know what that means, so, is it a reason for not getting full speed on Windows while it works on other OSes? Maybe because my router is wifi 6?

Well, what link speed is windows indicating? You might need to reinstall/upgrade drivers.

1 Like

I guess it was 144/144 and when there was tp-link firmware, it was 300/300 if i recall correctly.

Looks like only one antenna is employed, check drivers, as you measured yourself no broken hardware involved.

1 Like

I was tried installing a different version of driver from driverpack.io and it was still same. :thinking:

It works under freebsd, ask closer to microsoft / wifi manufacturer. Dropping to one antenna from two sounds a bit too wild for powersave.

1 Like