Tricky1
September 11, 2024, 1:18pm
1
I have just flash openwrt latest version on my tplink c6 v3 but when i get like 15 meters away the 5ghz download speed drops but the upload speed remains good. I have tried doing it for 3-5 times but same results.
Is there any fix for this? The download speed drops really fast but when i am close the speed it's completely fine
Is there any fix for this? (It was completely fine on stock firmware)
brada4
September 11, 2024, 1:27pm
2
You need to set up country codes for all radios.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </>
" button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
Tricky1
September 11, 2024, 1:40pm
3
Yes i have set up country code on my router
ubus call system board
{
"kernel": "5.15.162",
"hostname": "OpenWrt",
"system": "MediaTek MT7621 ver:1 eco:3",
"model": "TP-Link Archer A6 v3",
"board_name": "tplink,archer-a6-v3",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "23.05.4",
"revision": "r24012-d8dd03c46f",
"target": "ramips/mt7621",
"description": "OpenWrt 23.05.4 r24012-d8dd03c46f"
}
}
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 packet_steering '1'
option ula_prefix 'fdeb:39bb:bb8e::/48'
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 '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option device 'wan'
option proto 'pppoe'
option username 'REDACTED'
option password 'REDACTED'
option ipv6 'auto'
config interface 'wan6'
option device 'wan'
option proto 'dhcpv6'
config device
option name 'eth0'
option macaddr '60:32:b1:4d:5b:46'
config device
option name 'lan1'
option macaddr '60:32:b1:4d:5b:47'
config device
option name 'wan'
option macaddr '60:32:b1:4d:5b:47'
root@OpenWrt:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
option band '2g'
option htmode 'HT40'
option channel '13'
option cell_density '0'
option noscan '1'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'Unknown wifi'
option encryption 'psk2'
option key 'eee'
config wifi-device 'radio1'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
option channel '161'
option band '5g'
option htmode 'VHT80'
option cell_density '0'
option country 'BD'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'Unknown wifi_5Ghz'
option encryption 'psk2'
option key 'aa'
root@OpenWrt:~# cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option nonwildcard '1'
option localservice '1'
option ednspacket_max '1232'
option confdir '/tmp/dnsmasq.d'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
option ra_slaac '1'
list ra_flags 'managed-config'
list ra_flags 'other-config'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
brada4
September 11, 2024, 2:28pm
4
Set country on 2.4GHz radio and remove noscan option.
The behaviour looks like NSS1 and consequential beamform fail fixed here
committed 10:38PM - 26 Jul 24 UTC
Backport 2 patches from upstream Linux to fix a Wifi throughput
problem.
Fixes:… 323e249ce8ed ("mac80211: Update to version 6.1.97-1")
Link: https://github.com/openwrt/openwrt/pull/16007
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
i.e downgrade to 23.05.3 or upgrade to 23.05-SNAPSHOT (not the master SNAPSHOT from firmware -selector, but one on download server)
2 Likes
Tricky1
September 11, 2024, 4:17pm
5
Just downgrading is going to fix it huh and does the snapshot version has gui?
And how to remove noscan option?
Tricky1
September 11, 2024, 4:28pm
6
And can i just downgrade?
Just force update?
brada4
September 11, 2024, 4:48pm
7
Check the label, whether it is A6 or C6
Tricky1
September 11, 2024, 4:51pm
8
It is c6 v3
I have downgraded it
Now how to remove no scan option?
brada4
September 11, 2024, 4:51pm
9
Checkbox is cal\ed "force 40MHz"
Tricky1
September 11, 2024, 5:02pm
10
How to know if beamforming is actually working on on router?
brada4
September 11, 2024, 5:35pm
11
If you see NSS:2 near end of status page (this is defect - NSS1 from AP to client)
Tricky1
September 11, 2024, 6:10pm
12
Isn't that different than beamfroming?
brada4
September 11, 2024, 6:17pm
13
Beamforming is the ripple beams forming effect when you drop 2 stones in the water, cant happen with one.
Tricky1
September 11, 2024, 6:23pm
14
Well it shows 2
I did some research and found that in system log it should say [SU-BEAMFORMER]
But it is missing from mine
Even after a system reboot same
brada4
September 11, 2024, 6:28pm
15
You can find hostapd config files in /var/run, it is there under capabilities.
It says signal quite average.
As per wiki page - this device does not support radar detection, so you are restricted to usually crowded non-dfs channels. You can try automatic channel, it gets kind of least used, but not guaranteed to be better.
Tricky1
September 11, 2024, 6:31pm
16
Well it somehow is getting worse range than stock firmware that's the thing but i ain't going to use stock firmware cause that thing is missing a lot of things anyways you actually helped to fix the range enough that I can use it
brada4
September 11, 2024, 7:02pm
17
Yes, this is one of devices with serious limitations. Your speed is limited by weak radio reception. If you want to max wired performance you have to enable firewall offloads, and to have best (still not ideal) wifi coverage set up identical access points in both bands.
1 Like