Re: ath5k on the Acer Aspire One

Previous thread: [PATCH 0/2] Blackfin serial driver bug fixing by Bryan Wu on Friday, August 15, 2008 - 1:14 am. (4 messages)

Next thread: [PATCH 0/2] Blackfin Serial Drivers bug fixing (v2) by Bryan Wu on Friday, August 15, 2008 - 1:23 am. (5 messages)
From: J.A.
Date: Friday, August 15, 2008 - 1:21 am

I'm using 2.6.26.2 from Mandriva cooker.

I'm also thinking its a soft/encryption problem:

one:~# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -Dwext -d
Initializing interface 'wlan0' 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'
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=1
ap_scan=1
fast_reauth=1
Line 771: removed CCMP from group cipher list since it was not allowed for pairwise cipher
Priority group 0
   id=0 ssid='werewolf'
Initializing interface (2) 'wlan0'
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:1f:e2:bc:8c:01
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
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
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
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)
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: 0 sec 0 ...
From: Bob Copeland
Date: Friday, August 15, 2008 - 6:39 am

The encryption fixes I know about for WPA should already be in 2.6.26.  But
ath5k uses mac80211 for encryption so if it is encryption related, then it's
in the interface code between them, or else more wireless cards would have

It looks like you didn't get any scan results.  Does 'iwlist wlan0 scan'
work?

CCing ath5k-devel, you'll probably get more help there.

-- 
Bob Copeland %% www.bobcopeland.com
--

From: Bob Copeland
Date: Friday, August 15, 2008 - 6:41 am

BTW the original report you said you were using AR2425.  I believe
support for that was only added for 2.6.27.

-- 
Bob Copeland %% www.bobcopeland.com
--

From: Jaco Kroon
Date: Friday, August 15, 2008 - 9:36 am

Is this using WPA-PSK or WPA-EAP?  I know my card works with PSK but I'm 
seeing similar results with EAP.  Haven't had time to properly analyze 
the problem yet and my AP is in the office for the weekend.

Regards,

--

From: Bob Copeland
Date: Friday, August 15, 2008 - 11:11 am

PSK.  I'll claim ignorance on EAP though I don't know why it wouldn't work.
The change I was thinking of in 2.6.26 was related to some packets not being
decrypted properly (http://marc.info/?l=linux-wireless&m=121064141521711).
There was also this one related to association failures around .27-rc1:
http://marc.info/?l=linux-wireless&m=121732394028001.

Let us know what you find out.
-- 
Bob Copeland %% www.bobcopeland.com
--

Previous thread: [PATCH 0/2] Blackfin serial driver bug fixing by Bryan Wu on Friday, August 15, 2008 - 1:14 am. (4 messages)

Next thread: [PATCH 0/2] Blackfin Serial Drivers bug fixing (v2) by Bryan Wu on Friday, August 15, 2008 - 1:23 am. (5 messages)