kern/93886: Atheros/D-Link DWL-G650 long delay to associate on 6.1-PRERELEASE

Stephen Liss Stephen.Liss at gmail.com
Sun Feb 26 21:20:05 PST 2006


>Number:         93886
>Category:       kern
>Synopsis:       Atheros/D-Link DWL-G650 long delay to associate on  6.1-PRERELEASE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 27 05:20:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Liss
>Release:        6.1-PRERELEASE
>Organization:
can't say due to company media policy
>Environment:
FreeBSD scruffy 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #31: Sat Feb 25 21:37:37 PST 2006     stephen at scruffy:/usr/obj/usr/src/sys/mykernel  i386

>Description:
It takes ages (~10 minutes) for my D-Link DWL-G650 to associate with the open access points
at the hotels I've been staying in for the past 2 weeks (both Mariott). 

Output from 

ifconfig ath0 scan:

SSID            BSSID              CHAN RATE  S:N   INT CAPS
HotelNet        00:02:2d:93:00:91    6   11M 10:0   100 E
HotelNet        00:02:2d:93:00:48   11   11M 35:0   100 E
HotelNet        00:02:2d:93:00:4b    1   11M 22:0   100 E
HotelNet        00:02:2d:b5:7f:8d    1   11M 14:0   100 E

Output from athdebug:

dev.ath.0.debug: 0x0


Output from athstats:

6 interrupts coalesced
871 tx frames discarded prior to association
2592 tx stopped 'cuz no xmit buffer
4 tx failed 'cuz FIFO underrun
39 tx failed 'cuz bogus xmit rate
738 tx frames with rts enabled
456 rx failed 'cuz of FIFO overrun
5140 beacons transmitted
71 tx used alternate antenna
Antenna profile:
[2] tx      281 rx     1146
[3] tx      583 rx     4538



Output from wpa_supplicant with -dd  specified:

Initializing interface 'ath0' conf '/etc/wpa_supplicant.conf' driver 'default'
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
ssid - hexdump_ascii(len=13):
     4d 65 61 6e 4c 69 74 74 6c 65 44 6f 67            MeanLittleDog
PSK (ASCII passphrase) - hexdump_ascii(len=9): [REMOVED]
scan_ssid=1 (0x1)
BSSID - hexdump(len=6): 00 13 46 a8 ae 76
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line: 7 - start of a new network block
ssid - hexdump_ascii(len=8):
     48 6f 74 65 6c 4e 65 74                           HotelNet
key_mgmt: 0x4
Priority group 0
   id=0 ssid='MeanLittleDog'
   id=1 ssid='HotelNet'
Initializing interface (2) 'ath0'
Own MAC address: 00:11:95:04:47:3b
wpa_driver_bsd_set_wpa: enabled=1
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_set_countermeasures: enabled=0
wpa_driver_bsd_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=13):
     4d 65 61 6e 4c 69 74 74 6c 65 44 6f 67            MeanLittleDog
Received 0 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:02:2d:93:00:48 ssid='HotelNet' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
1: 00:02:2d:b5:7f:8d ssid='HotelNet' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
2: 00:02:2d:93:00:4b ssid='HotelNet' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
   selected non-WPA AP 00:02:2d:93:00:48 ssid='HotelNet'
Trying to associate with 00:02:2d:93:00:48 (SSID='HotelNet' freq=2462 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
No keys have been configured - skip key clearing
wpa_driver_bsd_set_drop_unencrypted: enabled=0
wpa_driver_bsd_associate: ssid 'HotelNet' wpa ie len 0 pairwise 0 group 0 key mgmt 2
wpa_driver_bsd_associate: set PRIVACY 0
Setting authentication timeout: 5 sec 0 usec
Received 0 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:02:2d:93:00:48 ssid='HotelNet' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
1: 00:02:2d:b5:7f:8d ssid='HotelNet' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
2: 00:02:2d:93:00:4b ssid='HotelNet' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
   selected non-WPA AP 00:02:2d:93:00:48 ssid='HotelNet'
Trying to associate with 00:02:2d:93:00:48 (SSID='HotelNet' freq=2462 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
No keys have been configured - skip key clearing
wpa_driver_bsd_set_drop_unencrypted: enabled=0
wpa_driver_bsd_associate: ssid 'HotelNet' wpa ie len 0 pairwise 0 group 0 key mgmt 2
wpa_driver_bsd_associate: set PRIVACY 0
Setting authentication timeout: 5 sec 0 usec
Received 0 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:02:2d:93:00:48 ssid='HotelNet' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
1: 00:02:2d:b5:7f:8d ssid='HotelNet' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
2: 00:02:2d:93:00:4b ssid='HotelNet' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
   selected non-WPA AP 00:02:2d:93:00:48 ssid='HotelNet'
Trying to associate with 00:02:2d:93:00:48 (SSID='HotelNet' freq=2462 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
No keys have been configured - skip key clearing
wpa_driver_bsd_set_drop_unencrypted: enabled=0
wpa_driver_bsd_associate: ssid 'HotelNet' wpa ie len 0 pairwise 0 group 0 key mgmt 2
wpa_driver_bsd_associate: set PRIVACY 0
Setting authentication timeout: 5 sec 0 usec
Received 0 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:02:2d:93:00:48 ssid='HotelNet' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
1: 00:02:2d:b5:7f:8d ssid='HotelNet' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
2: 00:02:2d:93:00:4b ssid='HotelNet' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
   selected non-WPA AP 00:02:2d:93:00:48 ssid='HotelNet'
Trying to associate with 00:02:2d:93:00:48 (SSID='HotelNet' freq=2462 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
No keys have been configured - skip key clearing
wpa_driver_bsd_set_drop_unencrypted: enabled=0
wpa_driver_bsd_associate: ssid 'HotelNet' wpa ie len 0 pairwise 0 group 0 key mgmt 2
wpa_driver_bsd_associate: set PRIVACY 0
Setting authentication timeout: 5 sec 0 usec
Received 0 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:02:2d:93:00:48 ssid='HotelNet' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
1: 00:02:2d:b5:7f:8d ssid='HotelNet' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
2: 00:02:2d:93:00:4b ssid='HotelNet' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE


>How-To-Repeat:
Check in to a Mariott hotel with something capable of running 6.1-PRERELEASE and a DWL-G650 cardbus  adapter. Try to get your machine to associate with their open access points. It will happen, but you will have to wait a while, i.e. ~10 minutes. Windows XP associates immediately. 


>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list