I am using Linux 2.6.22.3 with recent git wireless-dev drivers
(updated a few days ago, actually it is Mandriva's kernel 2.6.22-6mdv
which includes this wireless-dev patch:
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/kernel-2.6/releases/2.6.22/6mdv/PATCHES/patches/MC70_wireless-dev_drivers_updates.patch?view=log)

I have an Asus WL100g Deluxe PC card, which works perfectly fine with
the traditional bcm43xx drivers as included in the standard Linux
kernel. This is the device:
02:00.0 Network controller [0280]: Broadcom Corporation BCM4306
802.11b/g Wireless LAN Controller [14e4:4320] (rev 03)

However, with the new b43 driver, it fails to associate with my
WPA2-PSK (AES) secured AP. Here are some dmesg logs:

pccard: CardBus card inserted into slot 0
PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNK2] -> GSI 10 (level,
low) -> IRQ 10
PCI: Setting latency timer of device 0000:02:00.0 to 64
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x04, vendor 0x4243)
ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x05, vendor 0x4243)
ssb: Core 2 found: PCMCIA (cc 0x80D, rev 0x02, vendor 0x4243)
ssb: Core 3 found: V90 (cc 0x807, rev 0x02, vendor 0x4243)
ssb: Core 4 found: PCI (cc 0x804, rev 0x09, vendor 0x4243)
b43-phy9: Broadcom 4306 WLAN found
b43-phy9 debug: Found PHY: Analog 2, Type 2, Revision 2
b43-phy9 debug: Found Radio: Manuf 0x17F, Version 0x2050, Revision 2
b43-phy9 debug: Radio turned off
wmaster0: Selected rate control algorithm 'simple'
ssb: Sonics Silicon Backplane found on PCI device 0000:02:00.0
udev: renamed network interface wlan0 to eth1
b43-phy9 debug: Adding Interface type 2
b43-phy9 debug: Loading firmware version 351.126 (2006-07-29 05:54:02)
b43-phy9 debug: Radio turned on
b43-phy9 debug: Radio enabled by hardware
b43-phy9 ERROR: bbatt(11) >= size of LO array
b43-phy9 debug: Chip initialized
b43-phy9 debug: 30-bit DMA initialized
b43-phy9 debug: Wireless interface started
ADDRCONF(NETDEV_UP): eth1: link is not ready
b43-phy9 debug: Using hardware based encryption for keyidx: 0, mac:
ff:ff:ff:ff:ff:ff
b43-phy9 debug: Using software based encryption for keyidx: 0, mac:
ff:ff:ff:ff:ff:ff
eth1: Initial auth_alg=0
eth1: authenticate with AP 00:15:f2:0a:ab:43
eth1: authenticate with AP 00:15:f2:0a:ab:43
eth1: authenticate with AP 00:15:f2:0a:ab:43
eth1: authentication with AP 00:15:f2:0a:ab:43 timed out
eth1: Initial auth_alg=0
eth1: authenticate with AP 00:15:f2:0a:ab:43
eth1: Initial auth_alg=0
eth1: authenticate with AP 00:15:f2:0a:ab:43
eth1: Initial auth_alg=0
eth1: authenticate with AP 00:15:f2:0a:ab:43
eth1: authenticate with AP 00:15:f2:0a:ab:43
eth1: authenticate with AP 00:15:f2:0a:ab:43
eth1: authentication with AP 00:15:f2:0a:ab:43 timed out
eth1: Initial auth_alg=0
eth1: authenticate with AP 00:15:f2:0a:ab:43
eth1: Initial auth_alg=0
eth1: authenticate with AP 00:15:f2:0a:ab:43
eth1: Initial auth_alg=0
eth1: authenticate with AP 00:15:f2:0a:ab:43
eth1: authenticate with AP 00:15:f2:0a:ab:43
eth1: authenticate with AP 00:15:f2:0a:ab:43
eth1: authentication with AP 00:15:f2:0a:ab:43 timed out
[...]

When scanning it works and finds my AP:
# iwlist eth1 scan
Warning: Driver for device eth1 has been compiled with version 22
of Wireless Extension, while this program supports up to version 20.
Some things may be broken...

eth1      Scan completed :
          Cell 01 - Address: 00:15:F2:0A:AB:43
                    ESSID:"LinuxNet"
                    Mode:Master
                    Channel:13
                    Frequency:2.472 GHz
                    Quality=81/100  Signal level=-52 dBm  Noise level=-55 dBm
                    Encryption key:on
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
                    Extra:tsf=000004e0d14d04d4

Some wpa_supplicant debugging info:
# wpa_supplicant -dd -Dwext -ieth1 -c/etc/wpa_supplicant.conf
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver
'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
PSK (ASCII passphrase) - hexdump_ascii(len=19): [REMOVED]
scan_ssid=1 (0x1)
ssid - hexdump_ascii(len=8):
     4c 69 6e 75 78 4e 65 74                           LinuxNet
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='LinuxNet'
Initializing interface (2) 'eth1'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:15:f2:51:ca:f9
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - wpa_driver_wext_set_drop_unencrypted
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 - Setting scan request: 0 sec 100000 usec
Added interface eth1
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=8):
     4c 69 6e 75 78 4e 65 74                           LinuxNet
Trying to get current scan results first without requesting a new scan
to speed up initial association
Received 455 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:15:f2:0a:ab:43 ssid='LinuxNet' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
   selected WPA AP 00:15:f2:0a:ab:43 ssid='LinuxNet'
Try to find non-WPA AP
Trying to associate with 00:15:f2:0a:ab:43 (SSID='LinuxNet' freq=2472 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
RSN: using IEEE 802.11i/D9.0
WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2
WPA: clearing AP WPA IE
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00
0f ac 04 01 00 00 0f ac 02 0c 00
WPA: using GTK CCMP
WPA: using PTK CCMP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04
01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 - State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
ioctl[SIOCSIWFREQ]: Invalid argument
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=16
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 665 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:15:f2:0a:ab:43 ssid='LinuxNet' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
   selected WPA AP 00:15:f2:0a:ab:43 ssid='LinuxNet'
Try to find non-WPA AP
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=16
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:15:f2:0a:ab:43 into blacklist
No keys have been configured - skip key clearing
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 665 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:15:f2:0a:ab:43 ssid='LinuxNet' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
   selected WPA AP 00:15:f2:0a:ab:43 ssid='LinuxNet'
Try to find non-WPA AP
Trying to associate with 00:15:f2:0a:ab:43 (SSID='LinuxNet' freq=2472 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
RSN: using IEEE 802.11i/D9.0
WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2
WPA: clearing AP WPA IE
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00
0f ac 04 01 00 00 0f ac 02 0c 00
WPA: using GTK CCMP
WPA: using PTK CCMP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04
01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 - State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
ioctl[SIOCSIWFREQ]: Invalid argument
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=16
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 665 bytes of scan results (3 BSSes)
[...]

What could be wrong?
-- 
Frederik
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to