[Prism54-devel] WPA Supplicant support for Prism54 driver

Luis R. Rodriguez mcgrof@ruslug.rutgers.edu
Sat, 10 Jan 2004 14:20:14 -0500 (EST)


Jouni,

I've integrated your patch. WPA support was something that none of us has
had on our priority list. I added your patch so that you it'd be easier
for you to submit further changes. Thanks for the work.

	Luis

On Fri, 9 Jan 2004, Jouni Malinen 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
>