Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Mar 2009 12:41:39 -0700
From:      Sam Leffler <sam@freebsd.org>
To:        Daniel Thiele <dthiele@gmx.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Wireless connection (WPA-EAP) stops working after a while
Message-ID:  <49CFCEF3.8020308@freebsd.org>
In-Reply-To: <49CEA474.9020302@gmx.net>
References:  <49C83038.40300@gmx.net> <49CAC1C0.9030506@freebsd.org> <49CEA474.9020302@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49CFCEF3.8020308>