Re: [rt2x00-users] [PATCH RFC] rt2500usb: disable broken HW encryption by default

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ondrej Zary
Date: Tuesday, March 23, 2010 - 8:09 am

On Tuesday 23 March 2010, Ivo Van Doorn wrote:

I was testing only with WPA2 before. I did some more testing today. The results:

No encryption - works always
WEP - sometimes works, sometimes not - same with and without HW encryption
WPA - sometimes works, sometimes not - same with and without HW encryption
WPA2 - never works with HW encryption
     - sometimes works, sometimes not without HW encryptionn

So it seems that there are two problems:
 1. random problems with any encryption
 2. WPA2 is broken with HW encryption

When the "random" problem appears, this appears in dmesg:
wlan1: authenticate with 00:13:d4:0f:f3:17 (try 1)
wlan1: authenticated
wlan1: associate with 00:13:d4:0f:f3:17 (try 1)
wlan1: RX AssocResp from 00:13:d4:0f:f3:17 (capab=0x411 status=0 aid=2)
wlan1: associated
phy0 -> rt2500usb_set_device_state: Error - Device failed to enter state 3 (-16).
phy0 -> rt2500usb_set_device_state: Error - Device failed to enter state 3 (-16).
No probe response from AP 00:13:d4:0f:f3:17 after 500ms, disconnecting.

Disabling call to rt2500usb_set_state() in rt2500usb_set_device_state() seems
to fix problem 1. After this change, WEP and WPA work always regardless of
HW encryption (and WPA2 works always without it).

-- 
Ondrej Zary
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [rt2x00-users] [PATCH RFC] rt2500usb: disable broken H ..., Ondrej Zary, (Tue Mar 23, 8:09 am)
Re: [rt2x00-users] [PATCH RFC] rt2500usb: disable broken H ..., Gertjan van Wingerde, (Tue Mar 23, 8:41 am)
[PATCH] rt2500usb: improve powersaving reliability, Ondrej Zary, (Wed Mar 24, 3:07 pm)
Re: [PATCH] rt2500usb: improve powersaving reliability, Ivo van Doorn, (Wed Mar 24, 3:15 pm)