← Back to team overview

kernel-packages team mailing list archive

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

 

** Description changed:

  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.0, situation has improved, but still get bursts of 2 packets with
  300-450ms every 50-100 packets, with ~1% packet loss.
+ 
+ Upstream post:
+ 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
+  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

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1445840

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

Status in linux package in Ubuntu:
  Triaged

Bug description:
  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.0, situation has improved, but still get bursts of 2 packets with
  300-450ms every 50-100 packets, with ~1% packet loss.

  Upstream post:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1445840/+subscriptions


References