Wi-Fi R8188EU packet loss

Please report any bug found here

Wi-Fi R8188EU packet loss

Postby The Setlaz » 28 Mar 2016, 19:28

Hi guys,

I updated my RuneAudio on RPi2 to the latest build (23/03/2016) and, although I haven't been very lucky so far with the Wi-Fi, this seem to have gotten worse with the latest release.
What is the R8188EU driver version being used in this release? Should I try to update it myself?

More details:
I'm using a Wi-Fi USB dongle that uses the R8188EU.
Code: Select all
[root@RuneAudio ~]# lsusb
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter

It is connecting to a 2.4GHz WPA2 protected WiFi with good signal quality (same room).

Code: Select all
[root@RuneAudio ~]# iwconfig
wlan0     IEEE 802.11bgn  ESSID:"WiFi101"  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:2.412 GHz  Access Point: 10:BF:48:D3:80:00   
          Bit Rate:72.2 Mb/s   Sensitivity:0/0 
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:****-****-****-****-****-****-****-****   Security mode:open
          Power Management:off
          Link Quality=0/100  Signal level=94/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


Although, Signl Level varies from anywhere between 30 and 100/100 and tends to increase as I keep querying iwconfig in the prompt.

I also notice a good amount of packages dropped returned by ifconfig
Code: Select all
[root@RuneAudio ~]# ifconfig
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.12  netmask 255.255.255.0  broadcast 192.168.1.255
        ether 00:92:cf:09:61:54  txqueuelen 1000  (Ethernet)
        RX packets 82377  bytes 117390377 (111.9 MiB)
        RX errors 0  dropped 237  overruns 0  frame 0
        TX packets 56350  bytes 5835535 (5.5 MiB)
        TX errors 0  dropped 3 overruns 0  carrier 0  collisions 0


dmesg gives a little hint
Code: Select all
[root@RuneAudio ~]# dmesg | tail
[  196.627574] R8188EU: ERROR linked_status_chk(wlan0) disconnect or roaming
[  198.634905] R8188EU: ERROR assoc success

and sometimes this also:
Code: Select all
[  196.635486] R8188EU: ERROR sta recv deauth reason code(7) sta:10:bf:48:d3:80:00


According to Google, that seems to be a quite common issue with R8188EU chipset and there are many versions out there...

Anyone else with this issue? Or a solution?
The Setlaz
 
Posts: 17
Joined: 12 Jun 2015, 13:46

Re: Wi-Fi R8188EU packet loss

Postby PeteB » 28 Mar 2016, 19:59

The Setlaz wrote:Anyone else with this issue? Or a solution?
Yes, and no, in that order. Your packet loss is not as big as mine (sigh). I average between 0.5 and 1% dropped.

Code: Select all
[root@runeaudio ~]# ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.43.45  netmask 255.255.255.0  broadcast 192.168.43.255
        ether 74:da:38:68:e6:ab  txqueuelen 1000  (Ethernet)
        RX packets 1079764  bytes 881484184 (840.6 MiB)
        RX errors 0  dropped 4373  overruns 0  frame 0
        TX packets 858640  bytes 143190359 (136.5 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


Edit,

Well, not always, but often.
PeteB
 
Posts: 421
Joined: 06 Feb 2016, 05:07

Re: Wi-Fi R8188EU packet loss

Postby hondagx35 » 28 Mar 2016, 21:26

Hi The Setlaz,

i also have these dropped packets with my Edimax Technology Co., Ltd EW-7811Un.

I'm searching already for a solution.
Would be great if someone could help with this.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Wi-Fi R8188EU packet loss

Postby The Setlaz » 28 Mar 2016, 21:35

Thanks for the reply Frank. Looks like it's the same bloody R8188 chip anyway.
I'd gladly help, but I may need a little bit of guidance.

@Pete: That can get a lot worse than what I showed... After the music stream becomes cut every 15s, I reach the 1% easily too
Code: Select all
[root@RuneAudio ~]# ifconfig
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.12  netmask 255.255.255.0  broadcast 192.168.1.255
        ether 00:92:cf:09:61:54  txqueuelen 1000  (Ethernet)
        RX packets 322067  bytes 458778395 (437.5 MiB)
        RX errors 0  dropped 3244  overruns 0  frame 0
        TX packets 216779  bytes 22299567 (21.2 MiB)
        TX errors 0  dropped 7 overruns 0  carrier 0  collisions 0
The Setlaz
 
Posts: 17
Joined: 12 Jun 2015, 13:46

Re: Wi-Fi R8188EU packet loss

Postby hondagx35 » 28 Mar 2016, 21:44

Hi,

first please check the driver version.
Code: Select all
lsmod | grep 8188

The outcome should show the name of the current driver:
- rtl8188eu is the older maybe buggy driver
- 8188eu should be the better one

See also here https://sites.google.com/site/easylinux ... /reserve-7

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Wi-Fi R8188EU packet loss

Postby The Setlaz » 28 Mar 2016, 21:59

Hi,

Code: Select all
[root@RuneAudio ~]# lsmod | grep 8188
r8188eu               442832  0


Look like I have an hybrid version... :mrgreen:
I saw quite a few post regarding the lwfinger driver, as mentionned in the link you just gave. I guess you've tried it already?
The Setlaz
 
Posts: 17
Joined: 12 Jun 2015, 13:46

Re: Wi-Fi R8188EU packet loss

Postby PeteB » 28 Mar 2016, 22:57

Code: Select all
[root@runeaudio ~]# lsusb
....
Bus 001 Device 004: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

I assume I may have the same chip in a different dongle??
PeteB
 
Posts: 421
Joined: 06 Feb 2016, 05:07

Re: Wi-Fi R8188EU packet loss

Postby The Setlaz » 28 Mar 2016, 23:46

Looks like the exact same dongle as Frank. :?

Driver version:
Code: Select all
[root@RuneAudio ~]# modinfo r8188eu
filename:       /lib/modules/4.1.20-1-ARCH/kernel/drivers/staging/rtl8188eu/r8188eu.ko.gz
version:        v4.1.4_6773.20130222
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     C8D8C40194447593214B47A


lwfinger has a github branch on 4.1.8_9499 so at least, there is stuff to play with out there!

There seems to be different level of debug:
Code: Select all
@parm:           debug:Set debug level (1-9) (default 1) (int)
The Setlaz
 
Posts: 17
Joined: 12 Jun 2015, 13:46

support RuneAudio Donate with PayPal


Return to Bug report

Who is online

Users browsing this forum: No registered users and 0 guests