Bug 150148

Summary: [ath] Atheros 5424/2424 - AR2425 stopped working with WPA2-PSK(AES) in 8.1-RELEASE [regression]
Product: Base System Reporter: Bartek Krawczyk <bbartlomiej>
Component: kernAssignee: Adrian Chadd <adrian>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Bartek Krawczyk 2010-08-31 14:20:01 UTC
Hello, I am using an atheros wireless card (as in subject) and it stopped working after upgrading to 8.1-release. I am using wpa_supplicant and WPA2-PSK (AES/CCMP). The log says it connected to the AP successfully but it doesn't send or recieve any data. I can't acquire a dhcp lease. I have just installed 8.0-release again and it works flawlessly. 
It's not the problem with the router (it works with linux on the same machine, and it works after reinstalling 8.0-release) nor with the IP settings (it doesn't work even if I use static IP, not the dhcp).

Here's output of /var/log/messages:
Aug 30 23:04:49 nc10 kernel: wlan0: Ethernet address: 00:24:2b:d1:9a:05
Aug 30 23:06:23 nc10 wpa_supplicant[1663]: CTRL-EVENT-SCAN-RESULTS 
Aug 30 23:06:23 nc10 wpa_supplicant[1663]: Trying to associate with 94:0c:6d:a1:71:91 (SSID='plastus' freq=2462 MHz)
Aug 30 23:06:23 nc10 kernel: wlan0: link state changed to UP
Aug 30 23:06:23 nc10 wpa_supplicant[1663]: Associated with 94:0c:6d:a1:71:91
Aug 30 23:06:24 nc10 wpa_supplicant[1663]: WPA: Key negotiation completed with 94:0c:6d:a1:71:91 [PTK=CCMP GTK=CCMP]
Aug 30 23:06:24 nc10 wpa_supplicant[1663]: CTRL-EVENT-CONNECTED - Connection to 94:0c:6d:a1:71:91 completed (auth) [id=0 id_str=]

rc.conf has:
wlans_ath0="wlan0"
ifconfig_wlan0="WPA DHCP"

Here's my dmesg:
http://pastebin.com/7dn5W63W

Here's ifconfig wlan0 scan:
SSID/MESH ID    BSSID              CHAN RATE   S:N     INT CAPS
NETIA-DF20BB    00:23:8e:df:20:bd    6   54M -86:-96  100 EP   WPA
plastus         94:0c:6d:a1:71:91   11   54M -76:-96  100 EP   RSN
neostrada_06bc  00:1a:6b:e8:6b:0e   10   54M -93:-96  100 EP  

wpa_supplicant.conf:
ctrl_interface_group=wheel
ctrl_interface=/var/run/wpa_supplicant/

network={
ssid="plastus"
psk="xxxxxxxxxx"
}

Here is wpa_supplicant -dd output:
http://pastebin.com/AE2m5hgq
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-09-06 07:55:54 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net

Over to maintainer(s).
Comment 2 Adrian Chadd freebsd_committer freebsd_triage 2010-12-04 13:18:56 UTC
Responsible Changed
From-To: freebsd-net->adrian

This is biting me in 11n support. I'll take it over.
Comment 3 Adrian Chadd freebsd_committer freebsd_triage 2010-12-04 15:34:34 UTC
Hi,

Please revert r204364 and get back to me.

Thanks,


Adrian
Comment 4 Adrian Chadd freebsd_committer freebsd_triage 2011-04-09 04:11:30 UTC
State Changed
From-To: open->closed

This has been fixed in -HEAD. Please test that out and let me know 
if it works for you.