Bug 643161

Summary: Very slow wireless connection (1Mbps) with Intel PRO/Wireless 5100ABG built-in Wi-Fi adapter ("iwlagn" module), Acer 6935G notebook
Product: [openSUSE] openSUSE 11.3 Reporter: Vadim Plessky <v.plessky>
Component: KernelAssignee: Jiri Slaby <jslaby>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: tonyj
Version: Final   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.3   
See Also: http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2268
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Screenshot of Network Manager- Connection Information
nm-tool monitoring - signal strength is 100%
Two Wi-Fi adapters- Atheros-USB and Intel 5100
NetworkManager- Connection Information - 54Mbit for Atheros adapter
OpenSUSE 11.4 build 0808 - Intel 5100 ('iwlabn') - Connection Info - 1Mbps

Description Vadim Plessky 2010-10-01 14:03:21 UTC
Created attachment 392581 [details]
Screenshot of Network Manager- Connection Information

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100914 SUSE/3.6.10-0.3.1 Firefox/3.6.10


Very slow wireless connection (1Mbps) with Intel PRO/Wireless 5100ABG built-in Wi-Fi adapter ("iwlagn" module), Acer 6935G notebook

OpenSUSE 11.3 system is updated using #zypper up

Installed packages:
sysconfig-0.73.7-2.1.1.i586
Kernel:  2.6.34.7-0.3-default #1 SMP 2010-09-20 15:27:38 +0200 i686 
wireless-tools-30.pre8-11.2.i586

Default Wi-Fi connection uses WPA2-PSK (pre-shared key)
Other notebooks connect to this Access Point at full speed (54Mbit, 802.11G)
Notebook is located 1m from Access Point, so distance is quite short and there are no any obstacles between notebook and AP.

#hwinfo --netcard

30: PCI 500.0: 0282 WLAN controller
  [Created at pci.318]
  Unique ID: y9sn.0kHEE6pntx7
  Parent ID: Z7uZ.oCBN_8inpgE
  SysFS ID: /devices/pci0000:00/0000:00:1c.3/0000:05:00.0
  SysFS BusID: 0000:05:00.0
  Hardware Class: network
  Model: "Intel PRO/Wireless 5100ABG Network Connection"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x4232 "Wireless WiFi Link 5100"
  SubVendor: pci 0x8086 "Intel Corporation"
  SubDevice: pci 0x1206 "PRO/Wireless 5100ABG Network Connection"
  Driver: "iwlagn"
  Driver Modules: "iwlagn"
  Device File: wlan0
  Features: WLAN
  Memory Range: 0xd8100000-0xd8101fff (rw,non-prefetchable)
  IRQ: 31 (21834 events)
  HW Address: 00:16:ea:c6:7d:0c
  Link detected: yes
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 5.18 5.2 5.22 5.24 5.26 5.28 5.3 5.32 5.5 5.52 5.54 5.56 5.58 5.6 5.62 5.64 5.66 5.68 5.7
  WLAN encryption modes: WEP40 WEP104 TKIP CCMP
  WLAN authentication modes: open sharedkey wpa-psk wpa-eap
  Module Alias: "pci:v00008086d00004232sv00008086sd00001206bc02sc80i00"
  Driver Info #0:
    Driver Status: iwlagn is active
    Driver Activation Cmd: "modprobe iwlagn"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #16 (PCI bridge)





Reproducible: Always

Steps to Reproduce:
1. Start OpenSUSE 11.3
2. Connection starts after logon
3. Check Connection Information in NetworkManager - it would be 1Mbps only

Actual Results:  

Connection Information in NetworkManager - 1Mbps only, sometimes 5Mbps

Expected Results:  

Connection speed should be 54Mbps (802.11g 54Mbit)
Comment 1 Vadim Plessky 2010-10-01 14:11:55 UTC
Created attachment 392583 [details]
nm-tool monitoring - signal strength is 100%
Comment 2 Vadim Plessky 2010-10-01 14:23:59 UTC
Created attachment 392585 [details]
Two Wi-Fi adapters- Atheros-USB and Intel 5100


Two Wi-Fi adapters- Atheros-USB and Intel 5100.
Screenshot demonstrates that signal is strong for both adapters (100%)
And both Wi-Fi adapters successfully connected to Access Point, using WPA2-Preshared Key security settings.
Comment 3 Vadim Plessky 2010-10-01 14:39:16 UTC
Created attachment 392587 [details]
NetworkManager- Connection Information - 54Mbit for Atheros adapter


NetworkManager- Connection Information - 54Mbit for Atheros adapter (ar9170usb)

For Intel adapter- speed is at 1Mbit (see previous screenshot)
Comment 4 Jiri Slaby 2010-10-04 15:12:10 UTC
Could you try compat-wireless:
http://download.opensuse.org/repositories/driver:/wireless/11.3-update/
?
Comment 5 Vadim Plessky 2010-10-22 17:44:53 UTC
Created attachment 396613 [details]
OpenSUSE 11.4 build 0808 - Intel 5100 ('iwlabn') - Connection Info - 1Mbps


Tested with OpenSUSE 11.4 build 0808 - Intel 5100 ('iwlabn' driver) 
Network Manager-  Connection Info - 1Mbps immediately after boot from LiveCD

> nm-tool

NetworkManager Tool

State: connected

- Device: eth0  [Auto eth0] ----------------------------------------------------
  Type:              Wired
  Driver:            ATL1E
  State:             connected
  Default:           yes
  HW Address:        00:A0:D1:A9:D2:AF

  Capabilities:
    Carrier Detect:  yes
    Speed:           100 Mb/s

  Wired Properties
    Carrier:         on

  IPv4 Settings:
    Address:         192.168.1.202
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.1.2

    DNS:             192.168.1.2


- Device: wlan0  [Auto TP-L] ---------------------------------------------------
  Type:              802.11 WiFi
  Driver:            iwlagn
  State:             connected
  Default:           no
  HW Address:        00:16:EA:C6:7D:0C

  Capabilities:
    Speed:           1 Mb/s

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points (* = current AP)
    ZXDSL531BII-66852E: Infra, 00:16:E3:66:85:2E, Freq 2462 MHz, Rate 54 Mb/s, Strength 41
    dima_wireless:   Infra, 00:1E:58:BF:F9:CF, Freq 2437 MHz, Rate 54 Mb/s, Strength 41 WPA
    *TP-L:           Infra, D8:5D:4C:BF:25:B4, Freq 2427 MHz, Rate 11 Mb/s, Strength 100 WPA
    homenet:         Infra, 00:26:18:74:54:EE, Freq 2412 MHz, Rate 54 Mb/s, Strength 45 WPA2
    Thom_D005807:    Infra, 00:24:D1:C8:69:07, Freq 2462 MHz, Rate 54 Mb/s, Strength 55 WPA WPA2
    TRENDnet:        Infra, 00:14:D1:57:F8:11, Freq 2462 MHz, Rate 54 Mb/s, Strength 52 WPA
    dlink:           Infra, 00:26:5A:32:B7:39, Freq 2437 MHz, Rate 54 Mb/s, Strength 71 WPA

  IPv4 Settings:
    Address:         192.168.1.203
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.1.2

    DNS:             192.168.1.2

> uname -a
Linux linux.site 2.6.36-rc4-16-default #1 SMP 2010-09-16 20:58:38 +0200 i686 i686 i386 GNU/Linux
Comment 6 Vadim Plessky 2010-10-22 18:13:07 UTC
Tried to add compat-wireless from Factory repository

http://download.opensuse.org/repositories/driver:/wireless/openSUSE_Factory/

but it seems files there are for 2.6.30 kernel

Can you please update compat-wireless files there for OpenSUSE 11.4 / Factory?
Or advise on other steps to debug this and other problems for wireless adapters.

For Intel 5100 adapter testing - I boot now from GNOME LiveCD.
Comment 7 Jiri Slaby 2010-11-08 10:39:55 UTC
(In reply to comment #6)
> Tried to add compat-wireless from Factory repository
> 
> http://download.opensuse.org/repositories/driver:/wireless/openSUSE_Factory/
> 
> but it seems files there are for 2.6.30 kernel
> 
> Can you please update compat-wireless files there for OpenSUSE 11.4 / Factory?
> Or advise on other steps to debug this and other problems for wireless
> adapters.

If you run factory, there is no need for compat-wireless, hence it is disabled to be built for factory. So this looks like a problem in upstream. Could you try kernel-vanilla from factory and if it occurs there, please report a bug at http://bugzilla.intellinuxwireless.org/

More likely they will debug iwl issues faster than we.
Comment 8 Vadim Plessky 2010-11-08 11:00:44 UTC
I have tested same adapter with Fedora 14 beta, and reported bug:
https://bugzilla.redhat.com/show_bug.cgi?id=640612

Some information on state of Intel iwlagn driver is very confusing and misleading. 
See in particular comment https://bugzilla.redhat.com/show_bug.cgi?id=640612#c26 from John W. Linville

I can just add that problem was not fixed (and pretty much visible) in Fedora 14 final (release).
So I do not think problem is specific to OpenSUSE.
Would take a look at http://www.intellinuxwireless.org/ later.

Infor on main page says:
Note The iwlwifi driver has been merged into mainline kernel since 2.6.24. If you are using kernels after this release, please use the intree (drivers/net/wireless/iwlwifi) driver directly. 

Are you sure bugs still need to be reported at http://bugzilla.intellinuxwireless.org/ ?
Comment 9 Jiri Slaby 2010-11-08 11:06:08 UTC
(In reply to comment #8)
> Infor on main page says:
> Note The iwlwifi driver has been merged into mainline kernel since 2.6.24. If
> you are using kernels after this release, please use the intree
> (drivers/net/wireless/iwlwifi) driver directly. 

Yes, that's about code, not bugs.

> Are you sure bugs still need to be reported at
> http://bugzilla.intellinuxwireless.org/ ?

Yes, they care about bugs there.
Comment 10 Vadim Plessky 2010-11-08 11:22:06 UTC
Reported bug:
http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2268
Comment 11 Jiri Slaby 2010-11-08 11:36:18 UTC
(In reply to comment #10)
> Reported bug:
> http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2268

Thanks.
Comment 12 Jiri Slaby 2010-11-08 11:40:31 UTC
Ah, you forgot to note there that it's the same with 2.6.36 which we have in factory.
Comment 13 Jiri Slaby 2011-01-12 10:24:34 UTC
Hmm, I see intel doesn't care. What about the fedora guys, did they find anything useful?
Comment 14 Vadim Plessky 2011-01-12 11:17:26 UTC
no, there is also silence on Fedora bug.
It seems none is using Intel Wireless? :confused: 

I have finally setup where can test peak throughput from Wi-Fi, copying file from NAS. Transfer speed is much higher comparing to copying from another PC/notebook - about 40MB/sec. on copying from NAS to local disk (Ethernet 1Gig connection).
It is enough to use 100% of wireless bandwidth, even for 11n 300Mbps connection.
Comment 15 Jiri Slaby 2011-02-23 22:38:35 UTC
Can this be closed or is there still any problem?
Comment 16 Jiri Slaby 2011-03-02 07:32:06 UTC
.