Modify

Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#17836 closed defect (worksforme)

WDR3600 packet loss on devices connected via wifi

Reported by: osamajvd@… Owned by: developers
Priority: normal Milestone:
Component: base system Version: Trunk
Keywords: WDR3600, packet loss Cc:

Description

Hi all.

I am currently have OpenWrt Chaos Calmer r42455 running on my TP-Link TL-WDR3600. Every device on the network that is connected to the router via wifi is experiencing ~3% packet loss.

This also happens on Breaking Barrier RC1 and RC3.

I saw a similar issue and here is what was requested on that ticket.

root@OpenWrt:~# iw dev wlan0 station dump
Station 70:1a:04:c9:03:a2 (on wlan0)
        inactive time:  10 ms
        rx bytes:       15698864
        rx packets:     140527
        tx bytes:       808476172
        tx packets:     542183
        tx retries:     20880
        tx failed:      14
        signal:         -41 [-41, -54] dBm
        signal avg:     -39 [-40, -53] dBm
        tx bitrate:     162.0 MBit/s MCS 12 40MHz
        rx bitrate:     270.0 MBit/s MCS 15 40MHz
        authorized:     yes
        authenticated:  yes
        preamble:       short
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
Station 98:0c:82:1e:7c:9a (on wlan0)
        inactive time:  22640 ms
        rx bytes:       3443798
        rx packets:     31212
        tx bytes:       17428880
        tx packets:     17955
        tx retries:     3285
        tx failed:      30
        signal:         -54 [-60, -55] dBm
        signal avg:     -56 [-61, -57] dBm
        tx bitrate:     58.5 MBit/s MCS 6
        rx bitrate:     65.0 MBit/s MCS 7
        authorized:     yes
        authenticated:  yes
        preamble:       short
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
Station cc:fa:00:f1:fb:e8 (on wlan0)
        inactive time:  6920 ms
        rx bytes:       16406740
        rx packets:     85307
        tx bytes:       139524473
        tx packets:     114320
        tx retries:     7466
        tx failed:      1
        signal:         -61 [-63, -59] dBm
        signal avg:     -56 [-63, -57] dBm
        tx bitrate:     65.0 MBit/s MCS 7
        rx bitrate:     1.0 MBit/s
        authorized:     yes
        authenticated:  yes
        preamble:       short
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy0/netdev:wlan0/stations/70:1a:04:c9:03:a2/rc_stats
type         rate     throughput  ewma prob   this prob  retry   this succ/attempt   success    attempts
CCK/LP        1.0M           0.6       79.7       100.0      0              0(  0)       211         395
CCK/SP        2.0M           1.5      100.0       100.0      0              0(  0)         1           1
CCK/SP        5.5M           3.8      100.0       100.0      0              0(  0)         1           1
CCK/SP       11.0M           6.1      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS0            5.6      100.0       100.0      1              0(  0)         5           5
HT20/LGI     MCS1           10.5       95.2       100.0      0              0(  0)        15          19
HT20/LGI     MCS2           14.8      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS3           18.6      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS4           25.1      100.0       100.0      5              0(  0)        11          11
HT20/LGI     MCS5           30.3      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS6           32.5      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS7           35.0      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS8           10.5      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS9           18.6      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS10          25.1      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS11          30.3      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS12          38.7       95.7       100.0      0              0(  0)        11          12
HT20/LGI     MCS13          44.0       95.2       100.0      6              0(  0)        10          65
HT20/LGI     MCS14          46.8       95.4       100.0      0              0(  0)        11          14
HT20/LGI     MCS15          48.8       95.6       100.0      6              0(  0)        34          57
HT40/LGI     MCS0           10.8      100.0       100.0      0              0(  0)         1           1
HT40/LGI     MCS1           19.3      100.0       100.0      0              0(  0)         1           1
HT40/LGI     MCS2           25.7      100.0       100.0      0              0(  0)         1           1
HT40/LGI     MCS3           31.1      100.0       100.0      0              0(  0)         1           1
HT40/LGI     MCS4           39.3      100.0       100.0      0              0(  0)         1           1
HT40/LGI     MCS5           44.8       96.1       100.0      6              0(  0)        27          33
HT40/LGI     MCS6           47.7       96.1       100.0      6              0(  0)       128         142
HT40/LGI     MCS7           47.1       85.0       100.0      6              0(  0)       964        1015
HT40/LGI     MCS8           19.3      100.0       100.0      0              0(  0)         1           1
HT40/LGI     MCS9           31.1      100.0       100.0      0              0(  0)         1           1
HT40/LGI     MCS10          39.3      100.0       100.0      0              0(  0)         1           1
HT40/LGI     MCS11          44.8      100.0       100.0      6              0(  0)         2           2
HT40/LGI T   MCS12          53.5       98.3       100.0      6              1(  1)      6529        7549
HT40/LGI     MCS13          49.5       77.4        50.0      6              0(  0)     39994       46520
HT40/LGI     MCS14          49.7       73.7       100.0      6              0(  0)     15071       19497
HT40/LGI     MCS15           9.7       14.0         0.0      5              0(  0)      8498       13400
HT40/SGI     MCS0           11.9      100.0       100.0      0              0(  0)         1           1
HT40/SGI     MCS1           20.9      100.0       100.0      0              0(  0)         1           1
HT40/SGI     MCS2           27.6      100.0       100.0      0              0(  0)         1           1
HT40/SGI     MCS3           33.1      100.0       100.0      0              0(  0)         1           1
HT40/SGI     MCS4           41.5      100.0       100.0      0              0(  0)         1           1
HT40/SGI     MCS5           46.8       97.1       100.0      6              0(  0)        52          54
HT40/SGI     MCS6           49.7       96.2       100.0      6              0(  0)       183         202
HT40/SGI   P MCS7           51.7       98.4       100.0      6              0(  0)     12775       13622
HT40/SGI     MCS8           20.9      100.0       100.0      0              0(  0)         1           1
HT40/SGI     MCS9           33.1      100.0       100.0      0              0(  0)         1           1
HT40/SGI     MCS10          41.5      100.0       100.0      0              0(  0)         1           1
HT40/SGI     MCS11          46.8      100.0       100.0      0              0(  0)         1           1
HT40/SGI     MCS12          48.2       78.7        66.6      6              0(  0)     71301       77517
HT40/SGI  t  MCS13          50.8       77.4       100.0      6              0(  0)    276465      314885
HT40/SGI     MCS14          51.4       74.5        66.6      6              0(  0)    100386      112993
HT40/SGI     MCS15          13.2       18.7         0.0      6              0(  0)     10304       16114

Total packet count::    ideal 532548      lookaround 10370
Average A-MPDU length: 1.0

Attachments (0)

Change History (9)

comment:1 follow-up: Changed 3 years ago by bittorf@…

please check r42457 or later and report again.

comment:2 Changed 3 years ago by anonymous

Ok same result. Running on OpenWrt r42464 I am still getting packet loss. Installed it, ran ping google.com -t and I get a 3% packet loss almost everytime I run it. I usually let it go for a while. This time it sent 133, 4 of which were lost.

Here is same debug output but if I connect to the router as soon as it starts I only get 20Hz. I forgot about this so I have 2 outputs. One in 20Hz and one in 40Hz. If this doesn't make a difference please let me know so I can remove one of them.

root@OpenWrt:~# iw dev wlan0 station dump
Station 70:1a:04:c9:03:a2 (on wlan0)
        inactive time:  10 ms
        rx bytes:       545735
        rx packets:     3261
        tx bytes:       1691541
        tx packets:     3314
        tx retries:     246
        tx failed:      5
        signal:         -38 [-39, -47] dBm
        signal avg:     -38 [-39, -47] dBm
        tx bitrate:     130.0 MBit/s MCS 15
        rx bitrate:     130.0 MBit/s MCS 15
        authorized:     yes
        authenticated:  yes
        preamble:       short
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy0/netdev:wlan0/stations/70:1a:04:c9:03:a2/rc_stats
type         rate     throughput  ewma prob   this prob  retry   this succ/attempt   success    attempts
CCK/LP        1.0M           0.6       73.7         9.0      0              0(  0)        55         116
CCK/SP        2.0M           1.5      100.0       100.0      0              0(  0)         1           1
CCK/SP        5.5M           3.8      100.0       100.0      0              0(  0)         1           1
CCK/SP       11.0M           6.1      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS0            5.6      100.0       100.0      1              0(  0)         2           2
HT20/LGI     MCS1           10.5      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS2           14.8      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS3           18.6      100.0       100.0      0              0(  0)         2           2
HT20/LGI     MCS4           25.1      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS5           30.3      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS6           32.5      100.0       100.0      0              0(  0)         1           1
HT20/LGI   P MCS7           35.0      100.0       100.0      5              0(  0)        44          44
HT20/LGI     MCS8           10.5      100.0       100.0      4              0(  0)         1           1
HT20/LGI     MCS9           18.6      100.0       100.0      5              0(  0)         1           1
HT20/LGI     MCS10          25.1      100.0       100.0      5              0(  0)         1           1
HT20/LGI     MCS11          30.3      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS12          38.7       96.3       100.0      6              0(  0)        48          52
HT20/LGI  t  MCS13          43.7       89.4       100.0      6              0(  0)       156         168
HT20/LGI     MCS14          41.9       80.6        33.3      6              0(  0)       519         573
HT20/LGI T   MCS15          48.8       97.0       100.0      6              1(  1)      2751        2927

Total packet count::    ideal 3483      lookaround 70
Average A-MPDU length: 1.0

root@OpenWrt:~# iw dev wlan0 station dump
Station 70:1a:04:c9:03:a2 (on wlan0)
        inactive time:  10 ms
        rx bytes:       333753
        rx packets:     1864
        tx bytes:       1240107
        tx packets:     1931
        tx retries:     259
        tx failed:      3
        signal:         -44 [-44, -51] dBm
        signal avg:     -42 [-42, -50] dBm
        tx bitrate:     180.0 MBit/s MCS 12 40MHz short GI
        rx bitrate:     300.0 MBit/s MCS 15 40MHz short GI
        authorized:     yes
        authenticated:  yes
        preamble:       short
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy0/netdev:wlan0/stations/70:1a:04:c9:03:a2/rc_stats
type         rate     throughput  ewma prob   this prob  retry   this succ/attempt   success    attempts
CCK/LP        1.0M           0.7       83.6       100.0      0              0(  0)        23          54
CCK/SP        2.0M           1.5      100.0       100.0      0              0(  0)         1           1
CCK/SP        5.5M           3.8      100.0       100.0      0              0(  0)         1           1
CCK/SP       11.0M           6.1      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS0            5.6      100.0       100.0      3              0(  0)         3           3
HT20/LGI     MCS1           10.5      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS2           14.8      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS3           18.6      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS4           25.1      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS5           30.3      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS6           32.5      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS7           35.0       95.1        91.9      5              0(  0)       242         258
HT20/LGI     MCS8           10.5      100.0       100.0      4              0(  0)         1           1
HT20/LGI     MCS9           18.6      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS10          25.1      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS11          30.3      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS12          38.7      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS13          44.0      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS14          46.8      100.0       100.0      0              0(  0)         1           1
HT20/LGI     MCS15          48.8      100.0       100.0      6              0(  0)        67          67
HT40/LGI     MCS0           10.8      100.0       100.0      4              0(  0)         1           1
HT40/LGI     MCS1           19.3      100.0       100.0      0              0(  0)         1           1
HT40/LGI     MCS2           25.7      100.0       100.0      0              0(  0)         1           1
HT40/LGI     MCS3           23.6       68.3       100.0      0              0(  0)         4           5
HT40/LGI     MCS4           39.3      100.0       100.0      6              0(  0)         1           1
HT40/LGI     MCS5           44.8      100.0       100.0      0              0(  0)         1           1
HT40/LGI     MCS6           47.7      100.0       100.0      6              0(  0)         1           1
HT40/LGI   P MCS7           48.5       87.5        50.0      6              0(  0)         4           5
HT40/LGI     MCS8           19.3      100.0       100.0      5              0(  0)         1           1
HT40/LGI     MCS9           31.1      100.0       100.0      0              0(  0)         1           1
HT40/LGI     MCS10          39.3       95.4       100.0      6              0(  0)        69          77
HT40/LGI     MCS11          44.8       95.4       100.0      6              0(  0)       118         125
HT40/LGI     MCS12          48.2       81.2       100.0      6              0(  0)       113         119
HT40/LGI  t  MCS13          52.3       81.8       100.0      6              0(  0)       121         143
HT40/LGI     MCS14          47.1       69.9       100.0      6              0(  0)       190         215
HT40/LGI     MCS15          30.3       43.8         0.0      6              0(  0)       112         145
HT40/SGI     MCS0           11.9      100.0       100.0      0              0(  0)         1           1
HT40/SGI     MCS1           20.9      100.0       100.0      0              0(  0)         1           1
HT40/SGI     MCS2           20.9       68.3       100.0      0              0(  0)         4           5
HT40/SGI     MCS3           33.1      100.0       100.0      0              0(  0)         1           1
HT40/SGI     MCS4           41.5      100.0       100.0      6              0(  0)         1           1
HT40/SGI     MCS5           46.8      100.0       100.0      6              0(  0)         1           1
HT40/SGI     MCS6           47.4       85.9       100.0      6              0(  0)        13          16
HT40/SGI     MCS7           46.0       80.2        25.0      6              0(  0)        54          62
HT40/SGI     MCS8           20.9      100.0       100.0      5              0(  0)         2           2
HT40/SGI     MCS9           33.1      100.0       100.0      0              0(  0)         1           1
HT40/SGI     MCS10          41.5       97.2        89.1      6              0(  0)        42          47
HT40/SGI     MCS11          46.8      100.0       100.0      0              0(  0)         1           1
HT40/SGI T   MCS12          55.2       98.8       100.0      6              1(  1)       376         401
HT40/SGI     MCS13          52.0       79.2       100.0      6              0(  0)        20          28
HT40/SGI     MCS14          46.2       67.1       100.0      6              0(  0)       195         249
HT40/SGI     MCS15          32.0       45.2         0.0      6              0(  0)       167         199

Total packet count::    ideal 1863      lookaround 88
Average A-MPDU length: 1.0

comment:3 Changed 3 years ago by bittorf@…

please check where the packet-loss occurs:

1) ping the router itself from the client and
2) ping the client from the router
3) ping the internet from the router
4) ping the router from the internet

comment:4 in reply to: ↑ 1 Changed 3 years ago by anonymous

Ok I ran the first 3 tests at the exact same time. I wasn't sure how to go about pinging my router from the internet. My router connects through a modem (I have extensively tested to make sure it's not the modem. I even had my ISP ping my modem 500 times and the result was 0 packet loss) so I forwarded port 80 on my modem to the router and ran multiple ping tests. All of them came back with 100% packet loss. I was however, able to access Luci using my public IP. So I had a friend ping me using paping and he saw 0 packet loss.

Ping statistics for 192.168.1.2:
    Packets: Sent = 409, Received = 409, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 61ms, Average = 2ms

Ping client from router:

--- 192.168.1.234 ping statistics ---
417 packets transmitted, 413 packets received, 0% packet loss
round-trip min/avg/max = 0.970/3.354/85.328 ms

Ping internet from client:

Ping statistics for 24.156.131.20:
    Packets: Sent = 350, Received = 338, Lost = 12 (3% loss),
Approximate round trip times in milli-seconds:
    Minimum = 12ms, Maximum = 429ms, Average = 27ms

Ping internet from router:

--- google.com ping statistics ---
405 packets transmitted, 405 packets received, 0% packet loss
round-trip min/avg/max = 11.487/24.501/156.704 ms

comment:5 Changed 3 years ago by anonymous

1 thing I should add..

Ping internet from client connected via Ethernet:

Ping statistics for 66.185.84.182:
    Packets: Sent = 215, Received = 215, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 12ms, Maximum = 183ms, Average = 26ms

comment:6 Changed 3 years ago by anonymous

Ok I went out and got a replacement router and the packet loss is all gone. It seems to have been a hardware issue and not software.

comment:7 Changed 3 years ago by nbd

  • Resolution set to worksforme
  • Status changed from new to closed

comment:8 Changed 2 years ago by atlasznak@…

I bought several TP-link devices in the past years (different types, including 1043ND and 3600) for their good price and functionalities.
Unfortunately they seem to die after 1-2 years. It always starts with sporadic packet drops which are becoming more and more disturbing. Reboot helps for a while. Than I set-up regular reboots at night and in the afternoon to woraround the problem. Afther some time the router's wifi interface becomes completely unreliable. It still functions perfectly as a gigabit router or switch just the wifi is useless. I will need to find a good way to add an external wifi with high-gain antennas.
I will consider if I should ever buy from this company again. (Just to compare: I have a 10 years old D-Link still working fine..)

comment:9 Changed 2 years ago by atlasznak@…

I bought several TP-link devices in the past years (different types, including 1043ND and 3600) for their good price and functionalities.
Unfortunately they seem to die after 1-2 years. It always starts with sporadic packet drops which are becoming more and more disturbing. Reboot helps for a while. Than I set-up regular reboots at night and in the afternoon to woraround the problem. Afther some time the router's wifi interface becomes completely unreliable. It still functions perfectly as a gigabit router or switch just the wifi is useless. I will need to find a good way to add an external wifi with high-gain antennas.
I will consider if I should ever buy from this company again. (Just to compare: I have a 10 years old D-Link still working fine..)

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.