From nobody@FreeBSD.org  Fri Jan 30 11:23:53 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6E3A7106568B
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 30 Jan 2009 11:23:53 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 513EC8FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 30 Jan 2009 11:23:53 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0UBNqT0090990
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 30 Jan 2009 11:23:52 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n0UBNqIp090989;
	Fri, 30 Jan 2009 11:23:52 GMT
	(envelope-from nobody)
Message-Id: <200901301123.n0UBNqIp090989@www.freebsd.org>
Date: Fri, 30 Jan 2009 11:23:52 GMT
From: Adam Kirchhoff <adamk@voicenet.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: iwi doesn't see a wireless network
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         131153
>Category:       kern
>Synopsis:       [iwi] iwi doesn't see a wireless network
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-net
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 30 11:30:00 UTC 2009
>Closed-Date:    Mon Oct 18 13:08:59 UTC 2010
>Last-Modified:  Mon Oct 18 13:08:59 UTC 2010
>Originator:     Adam Kirchhoff
>Release:        7.1-STABLE
>Organization:
>Environment:
FreeBSD memory.visualtech.com 7.1-STABLE FreeBSD 7.1-STABLE #1: Thu Jan 15 12:11:12 EST 2009     root@memory.visualtech.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
I'm trying to get my laptop to connect to the wireless access point at
work. It has a Intel Pro Wireless 2200BG minipci card, and can
associate with my access point at home. In addition, I can get an
Ubuntu 8.10 liveCD to connect to the access point at work via
NetworkManager. So there is definitely no incompatibility between the
wireless card and access point.

Here's my wpa_supplicant.conf file:

network={
	ssid="Mckella280Front"
	key_mgmt=WPA-PSK
	pairwise=TKIP
	psk="#########"
}

The preshared key is definitely correct, as it's the one that works
with the liveCD. For the sake of testing, I've removed the reference to
my wireless AP at home.

I'm attaching the output from wpa_supplicant run with -dd.  Basically,
it keeps scanning but only ever sees the tmobile network.  That's
actually coming from another person in the building using a tmobile
wireless broadband card. If she's not here, the scan never picks up
anything. Similarly, 'ifconfig iwi0 list scan' only picks up the
tmobile ssid.

Yet, if I reboot off the liveCD, it works. Here's the output of 'iwlist
eth1 scanning' under the liveCD:

eth1      Scan completed :
          Cell 01 - Address: 00:22:6B:9A:CC:AF
                    ESSID:"Mckella280Front"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Frequency:2.457 GHz (Channel 10)
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Quality=50/100  Signal level=-68 dBm  
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    Extra: Last beacon: 904ms ago


And, iwconfig while connected:

eth1      IEEE 802.11g  ESSID:"Mckella280Front"  
          Mode:Managed  Frequency:2.457 GHz  Access Point: 00:22:6B:9A:CC:AF   
          Bit Rate:54 Mb/s   Tx-Power=20 dBm   Sensitivity=8/0  
          Retry limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=59/100  Signal level=-66 dBm  Noise level=-87 dBm
          Rx invalid nwid:0  Rx invalid crypt:6  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:3

Give that the network isn't even visible via ifconfig, I'm guessing that this is a problem with the driver and not with wpa_supplicant. The only thing I can think of is that the AP is using some feature that the iwi driver doesn't support.

The AP is a Linksys WAP4400N Business Edition.
>How-To-Repeat:

Install -STABLE and try to connect to this wireless network.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Jan 30 12:06:24 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131153 

From: Adam K Kirchhoff <adamk@voicenet.com>
To: bug-followup@freebsd.org,
 adamk@voicenet.com
Cc:  
Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network
Date: Fri, 30 Jan 2009 08:05:18 -0500

 --Boundary-00=_OsvgJ5oUYAgR+Tz
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: 7bit
 
 
 Though the SSID is not hidden, I have also tried with scan_ssid=1 in my 
 wpa_supplicant.conf file, but the results are the exact same.
 
 Adam
 
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 
 
 --Boundary-00=_OsvgJ5oUYAgR+Tz
 Content-Type: text/html;
   charset="us-ascii"
 Content-Transfer-Encoding: 7bit
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
 <html><head><meta name="qrichtext" content="1" /><style type="text/css">
 p, li { white-space: pre-wrap; }
 </style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;">
 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Though the SSID is not hidden, I have also tried with scan_ssid=1 in my wpa_supplicant.conf file, but the results are the exact same.</p>
 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Adam</p>
 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p></body><br />-- 
 <br />This message has been scanned for viruses and
 <br />dangerous content by
 <a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
 <br />believed to be clean.
 </html>
 
 --Boundary-00=_OsvgJ5oUYAgR+Tz--

From: Adam K Kirchhoff <adamk@voicenet.com>
To: bug-followup@FreeBSD.org, adamk@voicenet.com
Cc:  
Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network
Date: Tue, 3 Feb 2009 07:13:43 -0500

 Is there anything further I can do to help identify this problem?
 
 Adam
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 

From: Rui Paulo <rpaulo@freebsd.org>
To: bug-followup@FreeBSD.org,
 adamk@voicenet.com
Cc:  
Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network
Date: Wed, 18 Mar 2009 22:58:10 +0000

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --Apple-Mail-10--735631158
 Content-Type: text/plain; charset=US-ASCII; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Please include the result of the following command:
 wpa_supplicant -c /etc/wpa_supplicant.conf -i wlan0 -dd
 
 Thanks.
 
 
 --Apple-Mail-10--735631158
 content-type: application/pgp-signature; x-mac-type=70674453;
 	name=PGP.sig
 content-description: This is a digitally signed message part
 content-disposition: inline; filename=PGP.sig
 content-transfer-encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (Darwin)
 
 iEYEARECAAYFAknBfIIACgkQfD8M/ASTygIScACdG3Vq1VaZ/+hB259pIWmwLVuX
 p98AoNhqHBex14lagyuoMP2OoBKxUpqU
 =3wfU
 -----END PGP SIGNATURE-----
 
 --Apple-Mail-10--735631158--

From: Adam K Kirchhoff <adamk@voicenet.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network
Date: Fri, 20 Mar 2009 08:07:48 -0400

 There is no wlan0 interface, just iwi0.  The output from 'wpa_supplicant -c /etc/wpa_supplicant.conf -i iwi0 -dd', though, was:
 
 Initializing interface 'iwi0' conf '/etc/wpa_supplicant.conf' driver 'bsd' 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: 2 - start of a new network block
 ssid - hexdump_ascii(len=15):
      4d 63 6b 65 6c 6c 61 32 38 30 46 72 6f 6e 74      Mckella280Front 
 key_mgmt: 0x2
 pairwise: 0x8
 PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
 PSK (from passphrase) - hexdump(len=32): [REMOVED]
 Line 8: removed CCMP from group cipher list since it was not allowed for pairwise cipher
 Priority group 0
    id=0 ssid='Mckella280Front'
 Initializing interface (2) 'iwi0'
 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
 Own MAC address: 00:13:ce:a8:10:ea
 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
 Added interface iwi0
 State: DISCONNECTED -> SCANNING
 Starting AP scan (broadcast SSID)
 Trying to get current scan results first without requesting a new scan to speed up initial association
 Received 0 bytes of scan results (1 BSSes)
 Scan results: 1
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 0: 36:00:e5:51:f1:55 ssid='tmobile' wpa_ie_len=0 rsn_ie_len=0 caps=0x2
    skip - no WPA/RSN IE
 Try to find non-WPA AP
 0: 36:00:e5:51:f1:55 ssid='tmobile' wpa_ie_len=0 rsn_ie_len=0 caps=0x2
    skip - SSID mismatch
 No suitable AP found.
 Setting scan request: 0 sec 0 usec
 Starting AP scan (broadcast SSID)
 Received 0 bytes of scan results (1 BSSes)
 Scan results: 1
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 0: 36:00:e5:51:f1:55 ssid='tmobile' wpa_ie_len=0 rsn_ie_len=0 caps=0x2
    skip - no WPA/RSN IE
 Try to find non-WPA AP
 0: 36:00:e5:51:f1:55 ssid='tmobile' wpa_ie_len=0 rsn_ie_len=0 caps=0x2
    skip - SSID mismatch
 No suitable AP found.
 
 It kept scanning, but tmobile was the only wireless network it ever saw at this location.
 
 Adam

From: Adam K Kirchhoff <adamk@voicenet.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network
Date: Fri, 20 Mar 2009 08:07:48 -0400

 There is no wlan0 interface, just iwi0.  The output from 'wpa_supplicant -c /etc/wpa_supplicant.conf -i iwi0 -dd', though, was:
 
 Initializing interface 'iwi0' conf '/etc/wpa_supplicant.conf' driver 'bsd' 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: 2 - start of a new network block
 ssid - hexdump_ascii(len=15):
      4d 63 6b 65 6c 6c 61 32 38 30 46 72 6f 6e 74      Mckella280Front 
 key_mgmt: 0x2
 pairwise: 0x8
 PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
 PSK (from passphrase) - hexdump(len=32): [REMOVED]
 Line 8: removed CCMP from group cipher list since it was not allowed for pairwise cipher
 Priority group 0
    id=0 ssid='Mckella280Front'
 Initializing interface (2) 'iwi0'
 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
 Own MAC address: 00:13:ce:a8:10:ea
 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
 Added interface iwi0
 State: DISCONNECTED -> SCANNING
 Starting AP scan (broadcast SSID)
 Trying to get current scan results first without requesting a new scan to speed up initial association
 Received 0 bytes of scan results (1 BSSes)
 Scan results: 1
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 0: 36:00:e5:51:f1:55 ssid='tmobile' wpa_ie_len=0 rsn_ie_len=0 caps=0x2
    skip - no WPA/RSN IE
 Try to find non-WPA AP
 0: 36:00:e5:51:f1:55 ssid='tmobile' wpa_ie_len=0 rsn_ie_len=0 caps=0x2
    skip - SSID mismatch
 No suitable AP found.
 Setting scan request: 0 sec 0 usec
 Starting AP scan (broadcast SSID)
 Received 0 bytes of scan results (1 BSSes)
 Scan results: 1
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 0: 36:00:e5:51:f1:55 ssid='tmobile' wpa_ie_len=0 rsn_ie_len=0 caps=0x2
    skip - no WPA/RSN IE
 Try to find non-WPA AP
 0: 36:00:e5:51:f1:55 ssid='tmobile' wpa_ie_len=0 rsn_ie_len=0 caps=0x2
    skip - SSID mismatch
 No suitable AP found.
 
 It kept scanning, but tmobile was the only wireless network it ever saw at this location.
 
 Adam

From: Adam K Kirchhoff <adamk@voicenet.com>
To: bug-followup@FreeBSD.org, adamk@voicenet.com
Cc:  
Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network
Date: Wed, 15 Apr 2009 07:18:15 -0400

 This problem persists with 7.2-PRERELEASE, with both iwi and ath.  Any ideas?
 
 Adam

From: Adam K Kirchhoff <adamk@voicenet.com>
To: bug-followup@FreeBSD.org, adamk@voicenet.com
Cc:  
Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network
Date: Thu, 16 Apr 2009 06:37:18 -0400

 FYI, I'm showing the debug output of wpa_supplicant from connecting to
 my home network with the same WPA settings that we have at work.  WPA
 with the same preshared key.
 
 Initializing interface 'iwi0' conf '/etc/wpa_supplicant.conf' driver 'bsd' 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: 2 - start of a new network block
 scan_ssid=1 (0x1)
 ssid - hexdump_ascii(len=5):
      61 73 68 6b 65                                    ashke           
 key_mgmt: 0x2
 pairwise: 0x8
 PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
 PSK (from passphrase) - hexdump(len=32): [REMOVED]
 Line 8: removed CCMP from group cipher list since it was not allowed for pairwise cipher
 Line: 10 - start of a new network block
 scan_ssid=1 (0x1)
 ssid - hexdump_ascii(len=15):
      4d 63 6b 65 6c 6c 61 32 38 30 46 72 6f 6e 74      Mckella280Front 
 key_mgmt: 0x2
 pairwise: 0x8
 PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
 PSK (from passphrase) - hexdump(len=32): [REMOVED]
 Line 16: removed CCMP from group cipher list since it was not allowed for pairwise cipher
 Priority group 0
    id=0 ssid='ashke'
    id=1 ssid='Mckella280Front'
 Initializing interface (2) 'iwi0'
 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
 Own MAC address: 00:13:ce:a8:10:ea
 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
 Added interface iwi0
 State: DISCONNECTED -> SCANNING
 Starting AP scan (specific SSID)
 Scan SSID - hexdump_ascii(len=5):
      61 73 68 6b 65                                    ashke           
 Trying to get current scan results first without requesting a new scan to speed up initial association
 Received 0 bytes of scan results (6 BSSes)
 Scan results: 6
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 0: 00:30:bd:fb:ca:31 ssid='ashke' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
    selected based on WPA IE
    selected WPA AP 00:30:bd:fb:ca:31 ssid='ashke'
 Try to find non-WPA AP
 Trying to associate with 00:30:bd:fb:ca:31 (SSID='ashke' freq=2422 MHz)
 Cancelling scan request
 WPA: clearing own WPA/RSN IE
 Automatic auth_alg selection: 0x1
 wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1
 WPA: using IEEE 802.11i/D3.0
 WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
 WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
 WPA: clearing AP RSN IE
 WPA: using GTK TKIP
 WPA: using PTK TKIP
 WPA: using KEY_MGMT WPA-PSK
 WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
 No keys have been configured - skip key clearing
 wpa_driver_bsd_set_drop_unencrypted: enabled=1
 State: SCANNING -> ASSOCIATING
 wpa_driver_bsd_associate: ssid 'ashke' wpa ie len 24 pairwise 2 group 2 key mgmt 1
 wpa_driver_bsd_associate: set PRIVACY 1
 Setting authentication timeout: 10 sec 0 usec
 EAPOL: External notification - EAP success=0
 EAPOL: External notification - EAP fail=0
 EAPOL: External notification - portControl=Auto
 Authentication with 00:30:bd:fb:ca:31 timed out.
 Added BSSID 00:30:bd:fb:ca:31 into blacklist
 No keys have been configured - skip key clearing
 State: ASSOCIATING -> DISCONNECTED
 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 (specific SSID)
 Scan SSID - hexdump_ascii(len=15):
      4d 63 6b 65 6c 6c 61 32 38 30 46 72 6f 6e 74      Mckella280Front 
 Received 0 bytes of scan results (6 BSSes)
 Scan results: 6
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 0: 00:30:bd:fb:ca:31 ssid='ashke' wpa_ie_len=24 rsn_ie_len=0 caps=0ioctl[SIOCS80211, op 21, len 42]: Invalid argument
 x11
    selected based on WPA IE
    selected WPA AP 00:30:bd:fb:ca:31 ssid='ashke'
 Try to find non-WPA AP
 Trying to associate with 00:30:bd:fb:ca:31 (SSID='ashke' freq=2422 MHz)
 Cancelling scan request
 WPA: clearing own WPA/RSN IE
 Automatic auth_alg selection: 0x1
 wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1
 WPA: using IEEE 802.11i/D3.0
 WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
 WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
 WPA: clearing AP RSN IE
 WPA: using GTK TKIP
 WPA: using PTK TKIP
 WPA: using KEY_MGMT WPA-PSK
 WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
 No keys have been configured - skip key clearing
 wpa_driver_bsd_set_drop_unencrypted: enabled=1
 State: SCANNING -> ASSOCIATING
 wpa_driver_bsd_associate: ssid 'ashke' wpa ie len 24 pairwise 2 group 2 key mgmt 1
 wpa_driver_bsd_associate: set PRIVACY 1
 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
 Authentication with 00:30:bd:fb:ca:31 timed out.
 BSSID 00:30:bd:fb:ca:31 blacklist count incremented to 2
 No keys have been configured - skip key clearing
 State: ASSOCIATING -> DISCONNECTED
 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)
 Received 0 bytes of scan results (6 BSSes)
 Scan results: 6
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 0: 00:30:bd:fb:ca:31 ssid='ashke' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
    skip - blacklisted
 1: 00:13:10:96:62:bb ssid='linksys' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
    skip - no WPA/RSN IE
 2: 00:18:f8:6a:0e:6b ssid='carlie' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
    skip - no WPA/RSN IE
 3: 00:12:0e:54:6b:0f ssid='06B410521966' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
    skip - no WPA/RSN IE
 4: 00:1c:df:7e:5b:0d ssid='Deck Entertainment, LLP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
    skip - no WPA/RSN IE
 5: 00:18:01:81:1c:4a ssid='johnreynolds' wpa_ie_len=0 rsn_ie_len=0 caps=0x71
    skip - no WPA/RSN IE
 Try to find non-WPA AP
 0: 00:30:bd:fb:ca:31 ssid='ashke' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
    skip - blacklisted
 1: 00:13:10:96:62:bb ssid='linksys' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
    skip - SSID mismatch
    skip - SSID mismatch
 2: 00:18:f8:6a:0e:6b ssid='carlie' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
    skip - SSID mismatch
    skip - SSID mismatch
 3: 00:12:0e:54:6b:0f ssid='06B410521966' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
    skip - SSID mismatch
    skip - SSID mismatch
 4: 00:1c:df:7e:5b:0d ssid='Deck Entertainment, LLP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
    skip - SSID mismatch
    skip - SSID mismatch
 5: 00:18:01:81:1c:4a ssid='johnreynolds' wpa_ie_len=0 rsn_ie_len=0 caps=0x71
    skip - SSID mismatch
    skip - SSID mismatch
 No APs found - clear blacklist and try again
 Removed BSSID 00:30:bd:fb:ca:31 from blacklist (clear)
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 0: 00:30:bd:fb:ca:31 ssid='ashke' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
    selected based on WPA IE
    selected WPA AP 00:30:bd:fb:ca:31 ssid='ashke'
 Try to find non-WPA AP
 Trying to associate with 00:30:bd:fb:ca:31 (SSID='ashke' freq=2422 MHz)
 Cancelling scan request
 WPA: clearing own WPA/RSN IE
 Automatic auth_alg selection: 0x1
 wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1
 WPA: using IEEE 802.11i/D3.0
 WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
 WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
 WPA: clearing AP RSN IE
 WPA: using GTK TKIP
 WPA: using PTK TKIP
 WPA: using KEY_MGMT WPA-PSK
 WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
 No keys have been configured - skip key clearing
 wpa_driver_bsd_set_drop_unencrypted: enabled=1
 State: SCANNING -> ASSOCIATING
 wpa_driver_bsd_associate: ssid 'ashke' wpa ie len 24 pairwise 2 group 2 key mgmt 1
 wpa_driver_bsd_associate: set PRIVACY 1
 Setting authentication timeout: 10 sec 0 usec
 EAPOL: External notification - EAP success=0
 EAPOL: External notification - EAP fail=0
 EAPOL: External notification - portControl=Auto
 State: ASSOCIATING -> ASSOCIATED
 Associated to a new BSS: BSSID=00:30:bd:fb:ca:31
 No keys have been configured - skip key clearing
 Associated with 00:30:bd:fb:ca:31
 WPA: Association event - clear replay counter
 EAPOL: External notification - portEnabled=0
 EAPOL: External notification - portValid=0
 EAPOL: External notification - EAP success=0
 EAPOL: External notification - portEnabled=1
 EAPOL: SUPP_PAE entering state CONNECTING
 EAPOL: SUPP_BE entering state IDLE
 Setting authentication timeout: 10 sec 0 usec
 Cancelling scan request
 RX EAPOL from 00:30:bd:fb:ca:31
 RX EAPOL - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 00 5c b7 62 1b 6f da 13 6e 27 b2 4a 35 c0 89 f8 67 28 b6 d4 55 4e 23 c5 3a 68 f3 e6 47 2b 54 8c e6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 Setting authentication timeout: 10 sec 0 usec
 IEEE 802.1X RX: version=1 type=3 length=95
   EAPOL-Key type=254
   key_info 0x89 (ver=1 keyidx=0 rsvd=0 Pairwise Ack)
   key_length=32 key_data_length=0
   replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 00
   key_nonce - hexdump(len=32): 5c b7 62 1b 6f da 13 6e 27 b2 4a 35 c0 89 f8 67 28 b6 d4 55 4e 23 c5 3a 68 f3 e6 47 2b 54 8c e6
   key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
   key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
   key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
   key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 WPA: RX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 00 5c b7 62 1b 6f da 13 6e 27 b2 4a 35 c0 89 f8 67 28 b6 d4 55 4e 23 c5 3a 68 f3 e6 47 2b 54 8c e6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 State: ASSOCIATED -> 4WAY_HANDSHAKE
 WPA: RX message 1 of 4-Way Handshake from 00:30:bd:fb:ca:31 (ver=1)
 WPA: Renewed SNonce - hexdump(len=32): 8e 31 70 bc 1e 1d 24 47 29 e9 07 c6 23 9b 1f 6c 28 47 e3 e3 c1 01 fa a3 0f cc 05 ba 8e 0f d7 69
 WPA: PMK - hexdump(len=32): [REMOVED]
 WPA: PTK - hexdump(len=64): [REMOVED]
 WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
 WPA: Sending EAPOL-Key 2/4
 WPA: TX EAPOL-Key - hexdump(len=123): 01 03 00 77 fe 01 09 00 20 00 00 00 00 00 00 00 00 8e 31 70 bc 1e 1d 24 47 29 e9 07 c6 23 9b 1f 6c 28 47 e3 e3 c1 01 fa a3 0f cc 05 ba 8e 0f d7 69 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 1f bb d0 4a 9e e3 5c e5 76 34 f1 56 ee 90 c6 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
 RX EAPOL from 00:30:bd:fb:ca:31
 RX EAPOL - hexdump(len=123): 01 03 00 77 fe 01 c9 00 20 00 00 00 00 00 00 00 01 5c b7 62 1b 6f da 13 6e 27 b2 4a 35 c0 89 f8 67 28 b6 d4 55 4e 23 c5 3a 68 f3 e6 47 2b 54 8c e6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 19 ea 3c 6a 49 fb 35 81 f4 62 96 7e 9b c0 50 95 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
 IEEE 802.1X RX: version=1 type=3 length=119
   EAPOL-Key type=254
   key_info 0x1c9 (ver=1 keyidx=0 rsvd=0 Pairwise Install Ack MIC)
   key_length=32 key_data_length=24
   replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
   key_nonce - hexdump(len=32): 5c b7 62 1b 6f da 13 6e 27 b2 4a 35 c0 89 f8 67 28 b6 d4 55 4e 23 c5 3a 68 f3 e6 47 2b 54 8c e6
   key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
   key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
   key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
   key_mic - hexdump(len=16): 19 ea 3c 6a 49 fb 35 81 f4 62 96 7e 9b c0 50 95
 WPA: RX EAPOL-Key - hexdump(len=123): 01 03 00 77 fe 01 c9 00 20 00 00 00 00 00 00 00 01 5c b7 62 1b 6f da 13 6e 27 b2 4a 35 c0 89 f8 67 28 b6 d4 55 4e 23 c5 3a 68 f3 e6 47 2b 54 8c e6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 19 ea 3c 6a 49 fb 35 81 f4 62 96 7e 9b c0 50 95 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
 State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
 WPA: RX message 3 of 4-Way Handshake from 00:30:bd:fb:ca:31 (ver=1)
 WPA: IE KeyData - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
 WPA: Sending EAPOL-Key 4/4
 WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 01 09 00 20 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 51 5d a0 ab f1 73 0a ef 95 9c f1 fe e9 44 2b 1d 00 00
 WPA: Installing PTK to the driver.
 WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
 wpa_driver_bsd_set_key: alg=TKIP addr=00:30:bd:fb:ca:31 key_idx=0 set_tx=1 seq_len=6 key_len=32
 State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
 RX EAPOL from 00:30:bd:fb:ca:31
 RX EAPOL - hexdump(len=131): 01 03 00 7f fe 03 91 00 20 00 00 00 00 00 00 00 02 5c b7 62 1b 6f da 13 6e 27 b2 4a 35 c0 89 f8 67 28 b6 d4 55 4e 23 c5 3a 68 f3 e6 47 2b 54 8c e7 28 b6 d4 55 4e 23 c5 3a 68 f3 e6 47 2b 54 8c e8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 92 14 4d 9a 51 95 42 b9 92 a3 dd 3c 4a 88 23 4c 00 20 8c cc a9 e5 9e 22 ab de 49 da 88 03 ac 97 46 9b 55 7a 54 76 0e a2 98 38 f7 b9 43 ec 74 cd 51 f0
 IEEE 802.1X RX: version=1 type=3 length=127
   EAPOL-Key type=254
   key_info 0x391 (ver=1 keyidx=1 rsvd=0 Group Ack MIC Secure)
   key_length=32 key_data_length=32
   replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 02
   key_nonce - hexdump(len=32): 5c b7 62 1b 6f da 13 6e 27 b2 4a 35 c0 89 f8 67 28 b6 d4 55 4e 23 c5 3a 68 f3 e6 47 2b 54 8c e7
   key_iv - hexdump(len=16): 28 b6 d4 55 4e 23 c5 3a 68 f3 e6 47 2b 54 8c e8
   key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
   key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
   key_mic - hexdump(len=16): 92 14 4d 9a 51 95 42 b9 92 a3 dd 3c 4a 88 23 4c
 WPA: RX EAPOL-Key - hexdump(len=131): 01 03 00 7f fe 03 91 00 20 00 00 00 00 00 00 00 02 5c b7 62 1b 6f da 13 6e 27 b2 4a 35 c0 89 f8 67 28 b6 d4 55 4e 23 c5 3a 68 f3 e6 47 2b 54 8c e7 28 b6 d4 55 4e 23 c5 3a 68 f3 e6 47 2b 54 8c e8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 92 14 4d 9a 51 95 42 b9 92 a3 dd 3c 4a 88 23 4c 00 20 8c cc a9 e5 9e 22 ab de 49 da 88 03 ac 97 46 9b 55 7a 54 76 0e a2 98 38 f7 b9 43 ec 74 cd 51 f0
 WPA: RX message 1 of Group Key Handshake from 00:30:bd:fb:ca:31 (ver=1)
 State: GROUP_HANDSHAKE -> GROUP_HANDSHAKE
 WPA: Group Key - hexdump(len=32): [REMOVED]
 WPA: Installing GTK to the driver (keyidx=1 tx=0).
 WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
 wpa_driver_bsd_set_key: alg=TKIP addr=ff:ff:ff:ff:ff:ff key_idx=1 set_tx=0 seq_len=6 key_len=32
 WPA: Sending EAPOL-Key 2/2
 WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 03 11 00 20 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fe 62 2b 85 de e0 17 ab 1e cb 1d bf 73 00 da cb 00 00
 WPA: Key negotiation completed with 00:30:bd:fb:ca:31 [PTK=TKIP GTK=TKIP]
 Cancelling authentication timeout
 State: GROUP_HANDSHAKE -> COMPLETED
 CTRL-EVENT-CONNECTED - Connection to 00:30:bd:fb:ca:31 completed (auth) [id=0 id_str=]
 EAPOL: External notification - portValid=1
 EAPOL: External notification - EAP success=1
 EAPOL: SUPP_PAE entering state AUTHENTICATING
 EAPOL: SUPP_BE entering state SUCCESS
 EAP: EAP entering state DISABLED
 EAPOL: SUPP_PAE entering state AUTHENTICATED
 EAPOL: SUPP_BE entering state IDLE
 EAPOL: startWhen --> 0
 CTRL-EVENT-TERMINATING - signal 2 received
 Removing interface iwi0
 State: COMioctl[SIOCS80211, op 20, len 7]: Can't assign requested address
 PLETED -> DISCONNECTED
 wpa_driver_bsd_deauthenticate
 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_del_key: addr=00:30:bd:fb:ca:31 keyidx=0
 EAPOL: External notification - portEnabled=0
 EAPOL: SUPP_PAE entering state DISCONNECTED
 EAPOL: SUPP_BE entering state INITIALIZE
 EAPOL: External notification - portValid=0
 wpa_driver_bsd_set_wpa: enabled=0
 wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
 wpa_driver_bsd_set_drop_unencrypted: enabled=0
 wpa_driver_bsd_set_countermeasures: enabled=0
 No keys have been configured - skip key clearing
 Cancelling scan request
 Cancelling authentication timeout
 wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
 
 I'm willing to try to debug this further, or even try any patches that
 a developer thinks might fix/diagnose the issue.  Unfortunately, I
 can't upgrade to -CURRENT at the moment since this is a production
 machine.
 
 Adam

From: Adam K Kirchhoff <adamk@voicenet.com>
To: bug-followup@FreeBSD.org, adamk@voicenet.com
Cc:  
Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network
Date: Thu, 23 Apr 2009 06:31:56 -0400

 Can anyone at least confirm that the iwi and ath drivers work with
 802.11n networks with WPA?
 

From: Adam K Kirchhoff <adamk@voicenet.com>
To: bug-followup@FreeBSD.org, adamk@voicenet.com
Cc:  
Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network
Date: Mon, 11 May 2009 07:36:05 -0400

 Upgrading to the latest firmware from Intel (following these
 directions: http://forums.freebsd.org/showthread.php?t=3849 ) did not
 change anything.
 
 It did not, however, negatively impact anything, either.
 
 Adam

From: Adam K Kirchhoff <adamk@voicenet.com>
To: bug-followup@FreeBSD.org, adamk@voicenet.com
Cc:  
Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network
Date: Tue, 26 May 2009 07:58:33 -0400

 Since I finally had the chance to try -CURRENT, without my development
 work on this laptop, I decided to give it a shot this past weekend.  I
 am now running:
 
 FreeBSD scroll.ashke.com 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Sat May 23
 23:11:53 EDT 2009 root@scroll.ashke.com:/usr/obj/usr/src/sys/GENERIC
 i386
 
 Unfortunately, this has made no difference.  I have tried with both iwi
 and ath.  They were both cloned to wlan0 (at different times,
 obviously).  wpa_supplicant still does not see this network.  I ran
 'wpa_supplicant -Dbsd -iwlan0 -c/etc/wpa_supplicant.conf -dd' each for
 each driver.
 
 With iwi: 
 
 ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported
 Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'bsd' 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: 2 - start of a new network block
 scan_ssid=0 (0x0)
 ssid - hexdump_ascii(len=15):
      4d 63 6b 65 6c 6c 61 32 38 30 46 72 6f 6e 74      Mckella280Front 
 key_mgmt: 0x2
 pairwise: 0x8
 PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
 PSK (from passphrase) - hexdump(len=32): [REMOVED]
 Line 8: removed CCMP from group cipher list since it was not allowed for pairwise cipher
 Line: 10 - start of a new network block
 ssid - hexdump_ascii(len=5):
      61 73 68 6b 65                                    ashke           
 key_mgmt: 0x4
 wep_key0 - hexdump(len=13): [REMOVED]
 wep_tx_keyidx=0 (0x0)
 Line: 19 - start of a new network block
 key_mgmt: 0x4
 Priority group 0
    id=0 ssid='Mckella280Front'
    id=1 ssid='ashke'
    id=2 ssid=''
 Initializing interface (2) 'wlan0'
 Own MAC address: 00:13:ce:a8:10:ea
 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
 RSN: flushing PMKID list in the driver
 Setting scan request: 0 sec 100000 usec
 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
 Added interface wlan0
 State: DISCONNECTED -> SCANNING
 Starting AP scan (broadcast SSID)
 Trying to get current scan results first without requesting a new scan to speed up initial association
 Received 0 bytes of scan results (0 BSSes)
 Scan results: 0
 Cached scan results are empty - not posting
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 Try to find non-WPA AP
 No suitable AP found.
 Setting scan request: 0 sec 0 usec
 Starting AP scan (broadcast SSID)
 EAPOL: disable timer tick
 Received 0 bytes of scan results (0 BSSes)
 Scan results: 0
 CTRL-EVENT-SCAN-RESULTS 
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 Try to find non-WPA AP
 No suitable AP found.
 Setting scan request: 5 sec 0 usec
 Starting AP scan (broadcast SSID)
 Received 0 bytes of scan results (0 BSSes)
 Scan results: 0
 CTRL-EVENT-SCAN-RESULTS 
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 Try to find non-WPA AP
 No suitable AP found.
 Setting scan request: 5 sec 0 usec
 Starting AP scan (broadcast SSID)
 Received 0 bytes of scan results (0 BSSes)
 Scan results: 0
 CTRL-EVENT-SCAN-RESULTS 
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 Try to find non-WPA AP
 No suitable AP found.
 Setting scan request: 5 sec 0 usec
 Starting AP scan (broadcast SSID)
 CTRL-EVENT-TERMINATING - signal 2 received
 Removing interface wlan0
 State: SCANNING -> DISCONNECTED
 No keys have been configured - skip key clearing
 EAPOL: External notification - portEnabled=0
 EAPOL: External notification - portValid=0
 wpa_driver_bsd_set_wpa: enabled=0
 wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
 Failed to disable WPA in the driver.
 wpa_driver_bsd_set_drop_unencrypted: enabled=0
 wpa_driver_bsd_set_countermeasures: enabled=0
 No keys have been configured - skip key clearing
 Cancelling scan request
 Cancelling authentication timeout
 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=0
 ELOOP: remaining socket: sock=4 eloop_data=0x34006140 user_data=0x3400e040 handler=0x8069f50
 
 And with ath:
 
 ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported
 Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'bsd' 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: 2 - start of a new network block
 scan_ssid=0 (0x0)
 ssid - hexdump_ascii(len=15):
      4d 63 6b 65 6c 6c 61 32 38 30 46 72 6f 6e 74      Mckella280Front 
 key_mgmt: 0x2
 pairwise: 0x8
 PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
 PSK (from passphrase) - hexdump(len=32): [REMOVED]
 Line 8: removed CCMP from group cipher list since it was not allowed for pairwise cipher
 Line: 10 - start of a new network block
 ssid - hexdump_ascii(len=5):
      61 73 68 6b 65                                    ashke           
 key_mgmt: 0x4
 wep_key0 - hexdump(len=13): [REMOVED]
 wep_tx_keyidx=0 (0x0)
 Line: 19 - start of a new network block
 key_mgmt: 0x4
 Priority group 0
    id=0 ssid='Mckella280Front'
    id=1 ssid='ashke'
    id=2 ssid=''
 Initializing interface (2) 'wlan0'
 Own MAC address: 00:12:17:63:2d:a9
 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
 RSN: flushing PMKID list in the driver
 Setting scan request: 0 sec 100000 usec
 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
 Added interface wlan0
 State: DISCONNECTED -> SCANNING
 Starting AP scan (broadcast SSID)
 Trying to get current scan results first without requesting a new scan to speed up initial association
 Received 0 bytes of scan results (0 BSSes)
 Scan results: 0
 Cached scan results are empty - not posting
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 Try to find non-WPA AP
 No suitable AP found.
 Setting scan request: 0 sec 0 usec
 Starting AP scan (broadcast SSID)
 EAPOL: disable timer tick
 Received 0 bytes of scan results (0 BSSes)
 Scan results: 0
 CTRL-EVENT-SCAN-RESULTS 
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 Try to find non-WPA AP
 No suitable AP found.
 Setting scan request: 5 sec 0 usec
 Starting AP scan (broadcast SSID)
 Received 0 bytes of scan results (0 BSSes)
 Scan results: 0
 CTRL-EVENT-SCAN-RESULTS 
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 Try to find non-WPA AP
 No suitable AP found.
 Setting scan request: 5 sec 0 usec
 Starting AP scan (broadcast SSID)
 Received 0 bytes of scan results (0 BSSes)
 Scan results: 0
 CTRL-EVENT-SCAN-RESULTS 
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 Try to find non-WPA AP
 No suitable AP found.
 Setting scan request: 5 sec 0 usec
 CTRL-EVENT-TERMINATING - signal 2 received
 Removing interface wlan0
 State: SCANNING -> DISCONNECTED
 No keys have been configured - skip key clearing
 EAPOL: External notification - portEnabled=0
 EAPOL: External notification - portValid=0
 wpa_driver_bsd_set_wpa: enabled=0
 wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
 Failed to disable WPA in the driver.
 wpa_driver_bsd_set_drop_unencrypted: enabled=0
 wpa_driver_bsd_set_countermeasures: enabled=0
 No keys have been configured - skip key clearing
 Cancelling scan request
 Cancelling authentication timeout
 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=0
 ELOOP: remaining socket: sock=4 eloop_data=0x34006140 user_data=0x3400e040 handler=0x8069f50
 
 Is there anything else I can test?
 
 

From: Adam K Kirchhoff <akirchhoff135014@comcast.net>
To: bug-followup@FreeBSD.org, adamk@voicenet.com
Cc:  
Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network
Date: Tue, 30 Mar 2010 09:26:23 -0400

 This bug appears to be resolved now.  iwi and ath are both seeing the
 APs in question.  There is a separate, new issue with iwi, but I'll
 open up a new PR for it if I have to.
 
 Adam
State-Changed-From-To: open->closed 
State-Changed-By: bschmidt 
State-Changed-When: Mon Oct 18 13:08:13 UTC 2010 
State-Changed-Why:  
Originator reported this issue is solved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131153 
>Unformatted:
