ar6k with WPA

José Miguel Gonçalves jose.goncalves at inov.pt
Wed Sep 29 21:18:59 CEST 2010


Hi,

I am using the ar6k driver from openmoko (retrieved following the 
instructions at http://wireless.kernel.org/en/users/Drivers/ar6k), with 
kernel 2.6.29 and wpa_supplicant 0.6.10, in a embedded board based on 
Samsung's S3C2412 SoC with a AR6001 SDIO card.

While I've put the Wi-Fi to work in Ad-Hoc and Infrastructure mode using 
no encryption and using WEP encryption, I'm having problems in 
connecting to an AP with WAP or WAP2. Here is the log of one of such 
connections:

Jan  1 00:00:06 (none) user.info kernel: mmc0: new SDIO card at address 0001
Jan  1 00:00:07 (none) user.warn kernel: BMI Get Target Info: Exit (ver: 
0x20010009 type: 0x1)
Jan  1 00:00:07 (none) user.warn kernel: AR6000 Reg Code = 0x80000114
Jan  1 00:00:11 (none) daemon.notice wpa_supplicant[135]: Trying to 
associate with SSID 'A. Guidance'
Jan  1 00:00:11 (none) user.warn kernel: ar6000_ioctl_siwauth(): Unknown 
flag 0xc
Jan  1 00:00:11 (none) daemon.notice wpa_supplicant[135]: Association 
request to the driver failed
Jan  1 00:00:11 (none) user.warn kernel: AR6000 disconnected
Jan  1 00:00:13 (none) user.warn kernel: AR6000 connected event on freq 
5560 with bssid 68:ef:bd:17:d6:90  listenInterval=100, beaconInterval = 
102, beaconIeLen = 26 assocReqLen=72 assocRespLen =42
Jan  1 00:00:13 (none) user.warn kernel: Network: Infrastructure
Jan  1 00:00:13 (none) daemon.notice wpa_supplicant[135]: Associated 
with 68:ef:bd:17:d6:90
Jan  1 00:00:13 (none) daemon.warn wpa_supplicant[135]: WPA: Could not 
find AP from the scan results
Jan  1 00:00:13 (none) daemon.notice wpa_supplicant[135]: WPA: Key 
negotiation completed with 68:ef:bd:17:d6:90 [PTK=CCMP GTK=TKIP]
Jan  1 00:00:13 (none) daemon.notice wpa_supplicant[135]: 
CTRL-EVENT-CONNECTED - Connection to 68:ef:bd:17:d6:90 completed (auth) 
[id=0 id_str=]
Jan  1 00:00:13 (none) user.notice root: /etc/init.d/startip.sh wlan0 
CONNECTED
Jan  1 00:01:03 (none) daemon.notice wpa_supplicant[135]: WPA: Group 
rekeying completed with 68:ef:bd:17:d6:90 [GTK=TKIP]

The problem here (apart from the warning ar6000_ioctl_siwauth(): Unknown 
flag 0xc) is that, after successfully associating with the AP, I'm able 
to ping the board until the encryption key change notified by the log 
message "WPA: Group rekeying completed...". After that, the 
communication simply stops!

Any ideas what is happening? Anyone had a similar problem?

Best regards,
José Gonçalves




More information about the openmoko-kernel mailing list