Bug 81671 - RTL8188EE slow connection speed
Summary: RTL8188EE slow connection speed
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-04 13:50 UTC by Roger
Modified: 2022-11-08 14:33 UTC (History)
4 users (show)

See Also:
Kernel Version: 3.16
Subsystem:
Regression: No
Bisected commit-id:


Attachments
# lspci -vv -s 07:00.0 (2.77 KB, text/plain)
2014-08-04 13:52 UTC, Roger
Details
attachment-31143-0.html (1.86 KB, text/html)
2014-09-19 18:38 UTC, Alias Fakanami
Details
attachment-5868-0.html (994 bytes, text/html)
2014-09-19 18:43 UTC, Alias Fakanami
Details

Description Roger 2014-08-04 13:50:17 UTC
Connection speed is unstable and slow. With my home router I have had always a speed connection of 54 Mb/s (I don't know if with the new laptop RTL8188EE I have ever had that connection speed).

Connection speed is always 18 Mb/s:

wlo1      IEEE 802.11bgn  ESSID:"xxxxx"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: xx:xx:xx:xx:xx:xx   
          Bit Rate=18 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          Link Quality=26/70  Signal level=-84 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:421   Missed beacon:0
Comment 1 Roger 2014-08-04 13:52:27 UTC
Created attachment 145091 [details]
# lspci -vv -s 07:00.0
Comment 2 Roger 2014-08-04 13:56:29 UTC
Using NetworkManager (Gnome 3.12).
Not a problem of distance. Near the router:
wlo1      IEEE 802.11bgn  ESSID:"xxxx"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: xx:xx:xx:xx:xx:xx   
          Bit Rate=18 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-30 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:3   Missed beacon:0
Comment 3 John W. Linville 2014-08-04 14:12:35 UTC
What driver are you using?  Can we see the output of "ethtool -i wlo1"?
Comment 4 Roger 2014-08-04 14:17:40 UTC
# ethtool -i wlo1
driver: rtl8188ee
version: 3.16.0-1-ARCH
firmware-version: N/A
bus-info: 0000:07:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
Comment 5 Alias Fakanami 2014-08-09 06:02:58 UTC
Weirdly, it seems I'm able to get full speed with torrenting files, (something like the Arch Linux ISO) but it seems anything else is slow...
Comment 6 Alias Fakanami 2014-09-19 16:59:07 UTC
Roger, I don't know if you're already aware, but there's this : https://github.com/lwfinger/rtlwifi_new/issues/4

and the repo : https://github.com/lwfinger/rtlwifi_new
Comment 7 Roger 2014-09-19 17:17:35 UTC
(In reply to Yomi from comment #6)
> Roger, I don't know if you're already aware, but there's this :
> https://github.com/lwfinger/rtlwifi_new/issues/4
> 
> and the repo : https://github.com/lwfinger/rtlwifi_new

Was aware of the repo. Thanks for the first link!
Comment 8 Roger 2014-09-19 18:20:40 UTC
Seems someone found a workaround: https://github.com/lwfinger/rtlwifi_new/issues/4#issuecomment-56164684

>troy-tan commented 7 hours ago
>I have found out one work around for this:
>
>open https://github.com/lwfinger/rtlwifi_new/blob/troy/rtl8188ee/trx.c
>and then modify line
>
>SET_TX_DESC_TX_RATE(pdesc, ptcb_desc->hw_rate);
>to this:
>
>SET_TX_DESC_TX_RATE(pdesc,
>>rtlpriv->cfg->maps[RTL_RC_OFDM_RATE54M]);//ptcb_desc->hw_rate);
>this will increase the throughput.Certainly,I will check the code and do some
>>change
>at last.

I tested it and it works! Although I don't know if the fix is elsewhere in rtlwifi_new
Comment 9 Alias Fakanami 2014-09-19 18:38:36 UTC
Created attachment 150981 [details]
attachment-31143-0.html

That change is yet to be made, IIRC.

On Fri, Sep 19, 2014 at 2:20 PM, <bugzilla-daemon@bugzilla.kernel.org>
wrote:

> https://bugzilla.kernel.org/show_bug.cgi?id=81671
>
> --- Comment #8 from Roger <rogerbassons@gmail.com> ---
> Seems someone found a workaround:
> https://github.com/lwfinger/rtlwifi_new/issues/4#issuecomment-56164684
>
> >troy-tan commented 7 hours ago
> >I have found out one work around for this:
> >
> >open https://github.com/lwfinger/rtlwifi_new/blob/troy/rtl8188ee/trx.c
> >and then modify line
> >
> >SET_TX_DESC_TX_RATE(pdesc, ptcb_desc->hw_rate);
> >to this:
> >
> >SET_TX_DESC_TX_RATE(pdesc,
> >rtlpriv->cfg->maps[RTL_RC_OFDM_RATE54M]);//ptcb_desc->hw_rate);
> >this will increase the throughput.Certainly,I will check the code and do
> some >change
> >at last.
>
> I tested it and it works! Although I don't know if the fix is elsewhere in
> rtlwifi_new
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
>
Comment 10 Roger 2014-09-19 18:41:36 UTC
Actually not so good. Now It disconnects all time...
Comment 11 Alias Fakanami 2014-09-19 18:43:15 UTC
Created attachment 150991 [details]
attachment-5868-0.html

I'd punt that at github.

On Fri, Sep 19, 2014 at 2:41 PM, <bugzilla-daemon@bugzilla.kernel.org>
wrote:

> https://bugzilla.kernel.org/show_bug.cgi?id=81671
>
> --- Comment #10 from Roger <rogerbassons@gmail.com> ---
> Actually not so good. Now It disconnects all time...
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
>
Comment 12 Paul Menzel 2022-11-07 22:25:37 UTC
Is this still an issue?
Comment 13 Roger 2022-11-08 14:33:53 UTC
I no longer use the laptop or this network card. Maybe it was just a bad card or a bad driver.

This bug can be closed.

Note You need to log in before you can comment on or make changes to this bug.