Wireless connection (WPA-EAP) stops working after a while
Sam Leffler
sam at freebsd.org
Sun Mar 29 12:41:40 PDT 2009
Daniel Thiele wrote:
> Hi Sam,
>
> I ran tests with both a CURRENT from March 26 + (the manually updated)
> wpa_supplicant 0.6.9 and an older CURRENT from March 1 2000h +
> wpa_supplicant 0.5.11. I included the logs below. Unfortunately, in both
> cases I get the "WPA: Failed to set PTK to the driver" error and the
> wireless adapter stops working.
>
> wlan0: ieee80211_crypto_newkey: cipher 3 flags 0x3 keyix 4
> wlan0: ieee80211_crypto_newkey: unable to setup cipher AES-CCM
Here's the issue. The request to plumb AES PTK uses a fixed key index
and not IEEE80211_KEYIX_NONE (-1). This causes the ath driver to return
an error. I'll need to review code to understand what's wrong. Odd
that it doesn't happen with WPA-PSK as the mechanics are (should be)
identical.
Sam
More information about the freebsd-current
mailing list