[Prism54-devel] WPA Supplicant support for Prism54 driver

Aurelien slts@free.fr
Sun, 11 Jan 2004 18:49:41 +0100


Hi,
maybe you can help me on this : WPA-PSK keys are often given as a passphrase. To obtain the 256 bits key, some hashing is needed. Do you know any linux tool that does it ?

Thanks,

...And justice for all

On Fri, 9 Jan 2004 21:27:13 -0800
Jouni Malinen <jkmaline@cc.hut.fi> wrote:

> I have been looking into adding WPA Supplicant support for Prism54
> driver using wpa_supplicant that I originally implemented for Host AP
> driver (Prism2/2.5/3). I've attached a patch to add support for
> reporting WPA IEs in the scan results using a format that wpa_supplicant
> understands. This shows up as a custom text string in 'iwlist eth# scan'
> output.
> 
> WPA client mode requires that mlmeautolevel is set to
> DOT11_MLME_EXTENDED in order to receive Beacon and Probe Response frames
> with payload and to add WPA IE into (Re)Association Request. The
> attached patch enables this mode when WPA mode is enabled (iwpriv eth#
> set_wpa 1). However, this does not seem to work in the way I expected.
> 
> Has anyone used DOT11_MLME_EXTENDED or DOT11_MLME_INTERMEDIATE in client
> mode? It looks like the card is able to authenticate with an AP
> (DOT11_OID_AUTHENTICATEEX is received with a success code), but for some
> reason, association intent is not reported with DOT11_OID_ASSOCIATEEX.
> The firmware just continues trying to authenticate again after some
> time. This happens both when trying to use an AP in WPA mode and when
> using just plaintext open AP. I don't believe anything special would
> need to be done after authentication to trigger association, but maybe
> something is not set properly and the firwmare decides not to associate.
> 
> After this issue with association gets resolved, wpa_supplicant should
> be able to complete WPA key handshakes and set TKIP keys (some support
> for this was apparently added couple of days ago into the driver). This
> should be enough to get minimal WPA-PSK setup running with Prism54
> driver.
> 
> -- 
> Jouni Malinen                                            PGP id EFC895FA
>