[FS#602] wifi degrade over time, with packet lost and reconnection with tl-wr2543 (AR9380)

LEDE Bugs lede-bugs at lists.infradead.org
Tue Mar 7 04:03:49 PST 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - Luiz Angelo Daros de Luca (luizluca) 

Attached to Project - LEDE Project
Summary - wifi degrade over time, with packet lost and reconnection with tl-wr2543 (AR9380)
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - High
Priority - Very Low
Reported Version - lede-17.01
Due in Version - Undecided
Due Date - Undecided
Details - Since I upgraded to LEDE 17.01.0 (r3205-59508e3) on my tl-wr2543 (AR9380), my WIFI (2.5Ghz) became very unstable over time.

At first, it works nicely. However, in a matter of hours, it starts to lag, degrade until after a day or two I start to get packets lost. This is a simple ping sequence:

64 bytes from 192.168.3.1: icmp_seq=906 ttl=64 time=10.7 ms
64 bytes from 192.168.3.1: icmp_seq=908 ttl=64 time=9.60 ms
64 bytes from 192.168.3.1: icmp_seq=909 ttl=64 time=21.3 ms
64 bytes from 192.168.3.1: icmp_seq=912 ttl=64 time=22.3 ms
64 bytes from 192.168.3.1: icmp_seq=913 ttl=64 time=10.6 ms
64 bytes from 192.168.3.1: icmp_seq=920 ttl=64 time=27.4 ms
64 bytes from 192.168.3.1: icmp_seq=921 ttl=64 time=18.3 ms
64 bytes from 192.168.3.1: icmp_seq=924 ttl=64 time=12.8 ms
64 bytes from 192.168.3.1: icmp_seq=925 ttl=64 time=9.13 ms
64 bytes from 192.168.3.1: icmp_seq=926 ttl=64 time=11.5 ms
64 bytes from 192.168.3.1: icmp_seq=929 ttl=64 time=23.0 ms
64 bytes from 192.168.3.1: icmp_seq=930 ttl=64 time=8.02 ms
64 bytes from 192.168.3.1: icmp_seq=931 ttl=64 time=11.4 ms
64 bytes from 192.168.3.1: icmp_seq=933 ttl=64 time=13.0 ms

My WiFi is idle, however, the air is crowded with wifi (34 at the moment) but it was never a problem before. Wired LAN seems to be nice. If I restart wifi (wifi command), it magically returns to normal behavior. The latency is reduced back to about 3-5ms.

64 bytes from 192.168.3.1: icmp_seq=1 ttl=64 time=3.12 ms
64 bytes from 192.168.3.1: icmp_seq=2 ttl=64 time=4.73 ms
64 bytes from 192.168.3.1: icmp_seq=3 ttl=64 time=3.24 ms
64 bytes from 192.168.3.1: icmp_seq=4 ttl=64 time=5.35 ms
64 bytes from 192.168.3.1: icmp_seq=5 ttl=64 time=3.09 ms
64 bytes from 192.168.3.1: icmp_seq=6 ttl=64 time=3.42 ms
64 bytes from 192.168.3.1: icmp_seq=7 ttl=64 time=6.72 ms
64 bytes from 192.168.3.1: icmp_seq=8 ttl=64 time=3.19 ms
64 bytes from 192.168.3.1: icmp_seq=9 ttl=64 time=10.7 ms

Is there anything from /sys/kernel/debug/ieee80211/phy0 that can help? dmesg shows no sign of problem.

Maybe it is related to bug #447. My WiFi config do have WDS enabled but I kept my wifi repeater (tl-wr710nd with LEDE) off since before upgrade.

This is my wireless config:


config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11g'
	option path 'pci0000:00/0000:00:00.0'
	option txpower '17'
	option country 'BR'
	option htmode 'HT40'
	option channel '11'

config wifi-iface
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'PB1202'
	option key 'xxxxxxxx'
	option wds '1'
	option encryption 'psk2+ccmp'

config wifi-iface
	option device 'radio0'
	option mode 'ap'
	option network 'lan'
	option macfilter 'allow'
	list maclist '00:1f:3a:5e:3b:f3'
	option encryption 'wep-open'
	option key '1'
	option key1 's:aaaaaeaaaaaaa'
	option disabled '1'

config wifi-iface
	option device 'radio0'
	option mode 'ap'
	option ssid 'PB1202-1'
	option wds '1'
	option network 'lan'
	option key 'xxxxxxxx'
	option encryption 'psk2+ccmp'

config wifi-iface
	option device 'radio0'
	option ssid 'tania'
	option mode 'sta'
	option encryption 'psk2'
	option key 'xxxxxxxx'
	option network 'wan2'
	option disabled '1'

config wifi-iface
	option device 'radio0'
	option mode 'ap'
	option encryption 'none'
	option ssid 'Festa da Giovana'
	option wds '1'
	option network 'guest'
	option disabled '1'


I can deal with patches/build a custom firmware if needed.

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=602



More information about the lede-bugs mailing list