Re: Wireless connection (WPA-EAP) stops working after a while

From: Sam Leffler <sam_at_freebsd.org>
Date: Sun, 29 Mar 2009 12:41:39 -0700
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
Received on Sun Mar 29 2009 - 17:41:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:45 UTC