10ec:8176 rtl8192ce 200-3200+ms latency on 802.11n 2.4GHz network with no load

Bug #1445840 reported by penalvch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
High
Unassigned
Nominated for Utopic by penalvch
Nominated for Vivid by penalvch

Bug Description

Fix patch:
https://www.spinics.net/lists/linux-driver-devel/msg80063.html

With a Asus PCE-N10 PCI-E Adapter Wireless N I have 10-20% packet loss on a 802.11n 2.4GHz network, 2-3200ms latency pinging just the gateway 192.168.1.1, with no network load on either the router or the WiFi chipset. The computer is ~4 feet away from a Verizon Jetpack MiFi 5510L connected to a power source, with no obstructions between them. Other clients (Ubuntu with different chipset, Windows) don't have this problem.

With the router on battery only, Vivid live environment and mainline 4.x, situation has improved, but still get bursts of 2 packets with 300-450ms every 50-100 packets, with ~1% packet loss.

Verizon Jetpack MiFi 5510L information:
My Jetpack version 1.1 (L1.34.23 M1.34.20)
MiFi OS version: 1.34.23
Modem FW version: MDM9X15-1.34.20 1 [2013-10-15 23:07:52]
Wi-Fi FW version: 3.1.1.826

Upstream post:
https://github.com/lwfinger/rtlwifi_new/issues/84
https://bugzilla.kernel.org/show_bug.cgi?id=105471
http://www.spinics.net/lists/linux-wireless/msg136921.html

The following did not provide a WORKAROUND:
sudo nano /etc/modprobe.d/rtl8192ce.conf
options rtl8192ce ips=0 fwlps=0

Attempted to use older Asus provided driver from http://www.asus.com/us/Networking/PCEN10/HelpDesk_Download/ :
sudo make
make[1]: Entering directory '/usr/src/linux-headers-4.0.0-040000-generic'
gcc: error: /lib/modules/4.0.0-040000-generic/build/include/linux/autoconf.h: No such file or directory
gcc: fatal error: no input files
compilation terminated.
scripts/Makefile.build:49: *** CFLAGS was changed in "/home/moniker/Desktop/Linux/HAL/rtl8192/Makefile". Fix it to use ccflags-y. Stop.
Makefile:1390: recipe for target '_module_/home/moniker/Desktop/Linux/HAL/rtl8192' failed
make[1]: *** [_module_/home/moniker/Desktop/Linux/HAL/rtl8192] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.0.0-040000-generic'
Makefile:35: recipe for target 'all' failed
make: *** [all] Error 2

ASUS case number n150465517 requesting an update from Realtek for their driver.

Attempted to use Realtek driver from http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true :
sudo make
make -C /lib/modules/4.0.0-040000-generic/build M=/home/moniker/Desktop/linux2 modules
make[1]: Entering directory '/usr/src/linux-headers-4.0.0-040000-generic'
  CC [M] /home/moniker/Desktop/linux2/base.o
In file included from /home/moniker/Desktop/linux2/base.c:39:0:
/home/moniker/Desktop/linux2/pci.h:247:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl_pci_probe’
 int __devinit rtl_pci_probe(struct pci_dev *pdev,
               ^
/home/moniker/Desktop/linux2/base.c: In function ‘_rtl_init_mac80211’:
/home/moniker/Desktop/linux2/base.c:365:4: error: ‘struct ieee80211_hw’ has no member named ‘channel_change_time’
  hw->channel_change_time = 100;
    ^
/home/moniker/Desktop/linux2/base.c: In function ‘rtl_action_proc’:
/home/moniker/Desktop/linux2/base.c:885:32: error: ‘struct ieee80211_conf’ has no member named ‘channel’
       rx_status.freq = hw->conf.channel->center_freq;
                                ^
/home/moniker/Desktop/linux2/base.c:886:32: error: ‘struct ieee80211_conf’ has no member named ‘channel’
       rx_status.band = hw->conf.channel->band;
                                ^
/home/moniker/Desktop/linux2/base.c: In function ‘rtl_beacon_statistic’:
/home/moniker/Desktop/linux2/base.c:1160:2: error: implicit declaration of function ‘compare_ether_addr’ [-Werror=implicit-function-declaration]
  if (compare_ether_addr(hdr->addr3, rtlpriv->mac80211.bssid))
  ^
/home/moniker/Desktop/linux2/base.c: In function ‘rtl_send_smps_action’:
/home/moniker/Desktop/linux2/base.c:1451:24: error: ‘struct ieee80211_conf’ has no member named ‘channel’
   info->band = hw->conf.channel->band;
                        ^
/home/moniker/Desktop/linux2/base.c: In function ‘rtl_store_debug_level’:
/home/moniker/Desktop/linux2/base.c:1684:2: error: implicit declaration of function ‘strict_strtoul’ [-Werror=implicit-function-declaration]
  ret = strict_strtoul(buf, 0, &val);
  ^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/home/moniker/Desktop/linux2/base.o' failed
make[2]: *** [/home/moniker/Desktop/linux2/base.o] Error 1
Makefile:1390: recipe for target '_module_/home/moniker/Desktop/linux2' failed
make[1]: *** [_module_/home/moniker/Desktop/linux2] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.0.0-040000-generic'
Makefile:27: recipe for target 'all' failed
make: *** [all] Error 2

WORKAROUND: Use mini-PCIe to PCIe converter card to use a known good laptop WiFi card with a desktop chassis:
04:00.0 Network controller [0280]: Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express) [168c:002e] (rev 01)
 Subsystem: Foxconn International, Inc. Device [105b:e034]
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 19
 Region 0: Memory at f7900000 (64-bit, non-prefetchable) [size=64K]
 Capabilities: <access denied>
 Kernel driver in use: ath9k

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: linux-image-3.16.0-34-generic 3.16.0-34.47
ProcVersionSignature: Ubuntu 3.16.0-34.47-generic 3.16.7-ckt8
Uname: Linux 3.16.0-34-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.4
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: moniker 3063 F.... pulseaudio
CurrentDesktop: Unity
Date: Sat Apr 18 17:21:37 2015
HibernationDevice: RESUME=UUID=4afac90c-1164-4d0f-95b5-e95c04ca0070
InstallationDate: Installed on 2015-04-09 (9 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
MachineType: Hewlett-Packard HP ProDesk 400 G1 MT
ProcFB:
 0 inteldrmfb
 1 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-34-generic root=UUID=e650b88a-c6af-4c6a-998a-58f6b206b264 ro quiet splash nomdmonddf nomdmonisw vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-34-generic N/A
 linux-backports-modules-3.16.0-34-generic N/A
 linux-firmware 1.138.1
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/11/2014
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: L02 v02.39
dmi.board.asset.tag: MXL4090N3K
dmi.board.name: 198E
dmi.board.vendor: Hewlett-Packard
dmi.chassis.asset.tag: MXL4090N3K
dmi.chassis.type: 6
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvrL02v02.39:bd12/11/2014:svnHewlett-Packard:pnHPProDesk400G1MT:pvr:rvnHewlett-Packard:rn198E:rvr:cvnHewlett-Packard:ct6:cvr:
dmi.product.name: HP ProDesk 400 G1 MT
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
penalvch (penalvch) wrote :
tags: added: latest-bios-2.39
penalvch (penalvch)
summary: - 10ec:8176 10% packet loss on 802.11n network
+ 10ec:8176 10-20% packet loss on 802.11n network
description: updated
description: updated
penalvch (penalvch)
description: updated
penalvch (penalvch)
description: updated
penalvch (penalvch)
description: updated
tags: added: cherry-pick
removed: needs-reverse-bisect
Changed in linux (Ubuntu):
status: Confirmed → Triaged
tags: added: bisect-done
Revision history for this message
penalvch (penalvch) wrote : Re: 10ec:8176 10-20% packet loss on 802.11n network
description: updated
penalvch (penalvch)
description: updated
penalvch (penalvch)
summary: - 10ec:8176 10-20% packet loss on 802.11n network
+ 10ec:8176 10-20% packet loss on 802.11n 2.4GHz network
penalvch (penalvch)
description: updated
penalvch (penalvch)
description: updated
tags: added: vivid
penalvch (penalvch)
description: updated
description: updated
penalvch (penalvch)
description: updated
tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.0
removed: bisect-done cherry-pick kernel-fixed-upstream kernel-fixed-upstream-4.0
description: updated
description: updated
penalvch (penalvch)
description: updated
penalvch (penalvch)
tags: removed: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.0
tags: removed: vivid
penalvch (penalvch)
Changed in linux (Ubuntu):
status: Triaged → Invalid
Revision history for this message
penalvch (penalvch) wrote :

Resurrecting as it's still not working out well in Vivid.

Changed in linux (Ubuntu):
status: Invalid → Triaged
description: updated
penalvch (penalvch)
description: updated
description: updated
penalvch (penalvch)
description: updated
penalvch (penalvch)
description: updated
tags: added: vivid
penalvch (penalvch)
tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.1-rc5
summary: - 10ec:8176 10-20% packet loss on 802.11n 2.4GHz network
+ 10ec:8176 200-2000ms latency on 802.11n 2.4GHz network with no load
penalvch (penalvch)
summary: - 10ec:8176 200-2000ms latency on 802.11n 2.4GHz network with no load
+ 10ec:8176 200-2000+ms latency on 802.11n 2.4GHz network with no load
summary: - 10ec:8176 200-2000+ms latency on 802.11n 2.4GHz network with no load
+ 10ec:8176 rtl8192ce 200-2000+ms latency on 802.11n 2.4GHz network with
+ no load
penalvch (penalvch)
summary: - 10ec:8176 rtl8192ce 200-2000+ms latency on 802.11n 2.4GHz network with
+ 10ec:8176 rtl8192ce 200-3200+ms latency on 802.11n 2.4GHz network with
no load
penalvch (penalvch)
description: updated
penalvch (penalvch)
description: updated
penalvch (penalvch)
description: updated
description: updated
penalvch (penalvch)
tags: added: cherry-pick
penalvch (penalvch)
description: updated
Revision history for this message
penalvch (penalvch) wrote :

Upstream long ago issued a patch intending to fix the originally reported issue for my hardware only. Also, recently upstream has revamped the driver. As I don't have the hardware anymore, I cannot confirm the results.

Changed in linux (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.